You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
1.1 KiB

<view id="{{goods.model_id}}" class="goods-card" data-goods="{{ goods }}">
<view class="goods-card__main">
<view class="goods-card__thumb">
<block wx:if="{{goods.finish_flag == 1}}">
<t-image t-class="goods-card__img" catch:tap="clickHandle" src="{{ goods.target_img_url }}?x-oss-process=image/resize,w_150,limit_0" mode="aspectFill" lazy-load />
<t-icon name="/static/images/ljt.png" size="24" catch:tap="onDelTap" t-class="close_icon" />
</block>
<block wx:elif="{{goods.finish_flag == 0}}">
<t-image t-class="goods-card__img" src="http://hzkc.oss-cn-beijing.aliyuncs.com/Images/temp/temp1.png" mode="aspectFill"/>
<t-icon name="/static/images/ljt.png" size="24" catch:tap="onDelTap" t-class="close_icon" />
</block>
<block wx:else>
<t-image t-class="goods-card__img" src="http://hzkc.oss-cn-beijing.aliyuncs.com/Images/temp/temp2.png" mode="aspectFill"/>
<t-icon name="/static/images/ljt.png" size="24" catch:tap="onDelTap" t-class="close_icon" />
</block>
</view>
</view>
</view>