您现在的位置是:首页 >>NotepadNotepad

if里面含有if的判断

zhang2019-09-02 23:01:40【Notepad】人已围观

简介:
{cxcms:content sort=1 num=5 order=order} <li{if:[c...


{cxcms:content sort=1 num=5 order=order}
<li{if:[content:i]=1} class="hover"{end if}><a class="school-a tanlan" data-agl-cvt="1">[content:title]</a> </li>
{/cxcms:content}
<li>
<a class="school-a tanlan" data-agl-cvt="1" style="font-size: 15px; color: #FC6C6C;">省内其他热门高校>></a>
</li>
</ul>
</div>

<div class="school-all" id="school-all1">
{cxcms:content sort=1 num=5 order=order}
<div class="school-box"{if:[content:i]=1} style="display: block;"{end if}>
<div class="school-pic">
<img src="[content:pic]" width="366" height="150" alt="">
</div>
<ul class="sul1">
<li>
<i class="school-icon"></i>
<div class="school-words">
<h3 class="school-h3">院校优势</h3>
<p class="school-p">[content:C_yxys]</p>
</div>
</li>
<li>
<i class="school-icon"></i>
<div class="school-words">
<h3 class="school-h3">热门专业:<strong>[content:C_rmzy]</strong></h3>
<p class="school-p">[content:desc]</p>
</div>
</li>
</ul>
<div class="school-btns">
<button type="button" class="school-btna tanlan"
data-agl-cvt="1">了解报考条件</button>
<button type="button" class="school-btnb tanlan"
data-agl-cvt="1">更多热门专业</button>
</div>
</div>
{/cxcms:content}

</div>
</div>
<div class="school-list fr">
<div class="school-menu" id="school-menu2">
<ul>
{cxcms:content sort=1 num=10 order=order}{if:[content:i]>5}

<li{if1:[content:i]=6} class="hover"{end if1} ><a class="school-a tanlan" data-agl-cvt="1">[content:title]</a>
</li>
{end if} {/cxcms:content}

<li>
<a class="school-a tanlan" data-agl-cvt="1"
style="font-size: 15px; color: #FC6C6C;">国内其他热门高校>></a>
</li>
</ul>
</div>
<div class="school-all" id="school-all2">
{cxcms:content sort=1 num=10 order=order}{if:[content:i]>5}
<div class="school-box"{if1:[content:i]=6} style="display: block;"{end if1}>
<div class="school-pic">
<img src="[content:pic]" width="366" height="150" alt="">
</div>
<ul class="sul1">
<li>
<i class="school-icon"></i>
<div class="school-words">
<h3 class="school-h3">院校优势</h3>
<p class="school-p">[content:C_yxys]</p>
</div>
</li>
<li>
<i class="school-icon"></i>
<div class="school-words">
<h3 class="school-h3">热门专业:<strong>[content:C_rmzy]</strong></h3>
<p class="school-p">[content:desc]</p>
</div>
</li>
</ul>
<div class="school-btns">
<button type="button" class="school-btna tanlan"
data-agl-cvt="1">了解报考条件</button>
<button type="button" class="school-btnb tanlan"
data-agl-cvt="1">更多热门专业</button>
</div>
</div>
{end if} {/cxcms:content}


文章评论

    评论加载中...

标签云

站点信息

  • 建站时间:2018-11-17
  • 文章统计:141篇文章
  • 微信交流:扫描二维码,添加我
在线客服
在线客服
在线咨询:
点击这里给我发消息技术交流
点击这里给我发消息技术交流
点击这里给我发消息技术交流
电话咨询:
(微信同步)
15629136039
微信二维码