标签:array lse ref sel style get 标签 php name
<ul>
<volist name="monthArray" id="monthItem">
<if condition="$monthItem eq I(‘get.monthParam‘) ">
<li>
<a href="{:U(‘accountInfo‘, array(‘monthParam‘=>$monthItem))}"
class="selectItem">{$monthItem}</a>
</li>
<else/>
<li>
<a href="{:U(‘accountInfo‘, array(‘monthParam‘=>$monthItem))}">{$monthItem}</a>
</li>
</if>
</volist>
</ul>
thinkphp <if>标签 condition中可以写PHP的判断逻辑
标签:array lse ref sel style get 标签 php name
原文地址:https://www.cnblogs.com/yuzhould/p/9290158.html