12345678910111213141516171819202122232425262728 |
- <view id="{{independentID}}" class="goods-card {{lite ? 'lite' : ''}}" bind:tap="clickHandle" data-goods="{{ goods }}">
- <view class="goods-card__main">
- <view class="goods-card__thumb" bind:tap="clickThumbHandle">
- <t-image wx:if="{{ !!goods.imageUrl }}" t-class="goods-card__img" src="{{ goods.imageUrl }}" mode="aspectFill" lazy-load />
- <t-icon wx:if="{{goods.hasDraw}}" prefix="hn" name="m3d" size="32rpx" t-class="flatimg" />
- </view>
- <view class="goods-card__body">
- <view class="goods-card__upper">
- <view wx:if="{{ goods.title }}" class="goods-card__title">
- {{ goods.title }}
- </view>
- <view wx:if="{{ goods.tags && !!goods.tags.length }}" class="goods-card__tags">
- <view wx:for="{{ goods.tags }}" wx:key="index" wx:for-item="tag" class="goods-card__tag" data-index="{{index}}">
- {{tag}}
- </view>
- </view>
- </view>
- <view class="goods-card__down">
- <price wx:if="{{ goods.price }}" wr-class="spec-for-price" symbol-class="spec-for-symbol" symbol="{{currency}}" price="{{goods.price}}" />
- <!-- <price wx:if="{{ goods.originPrice && isValidityLinePrice }}" wr-class="goods-card__origin-price" symbol="{{currency}}" price="{{goods.originPrice}}" type="delthrough" /> -->
- <!-- <t-icon class="goods-card__add-cart" name="cart" id="{{independentID}}-cart" data-id="{{independentID}}" catchtap="addCartHandle" size="48rpx" color="#FA550F" /> -->
- <!-- <view wx:if="goods.HasDraw">
- 3D
- </view> -->
- </view>
- </view>
- </view>
- </view>
|