thinkphp模板條件,多條件判斷語句,onclick事件

<if condition="!empty($eleshop_cate) && !empty($shop_id)">

</if>

 

2、onclick事件:

<img src="<{:config_img($item['photo'])}>" style="height: 100px;width: 100px" onclick="location.href='<{:U('ele/ycdetail',array('product_id'=>$item['product_id']))}>';">
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章