thinkphp if条件的写法 xiaoming 2023-01-19 135 0 <if condition="($name eq 1) OR ($name gt 100) "> value1 <elseif condition="$name eq 2"/>value2 <else /> value3 </if>