<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']))}>';">