thinkphp html中if判断写法

<if condition="$val == 1">

  1

<else />

  2

</if>

posted @ 2020-07-25 14:51  bubuchu  阅读(2186)  评论(0编辑  收藏  举报