123456789101112131415161718192021222324252627282930313233343536373839 |
- <view
- class="list"
- wx:for="{{listData}}"
- wx:key="id"
- data-item="{{item}}"
- bind:tap="jumpGoodsDetail">
- <view class="goods-cover-wrap">
- <image
- class="goods-cover"
- mode="widthFix"
- src="{{item.product_img_url}}"></image>
- </view>
- <view class="goods-describe">
- <view class="name-wrap {{item.product_sale_at === 0 ? 'has-tag' : ''}}">
- <view class="name">{{item.product_title}}</view>
- <view class="tag" wx:if="{{item.product_sale_at === 0}}">预售</view>
- </view>
- <view class="price-wrap">
- <view class="now">
- <view class="unit">¥</view>
- <view class="yuan">{{tools.fen2YuanAndJiao(item.product_all_price).yuan}}</view>
- <view class="jiao">{{tools.fen2YuanAndJiao(item.product_all_price).jiao}}</view>
- </view>
- <view class="old">¥{{tools.fen2Yuan(item.product_price)}}</view>
- </view>
- <view class="star-words">{{item.product_desc}}</view>
- <view
- class="key-words-list"
- wx:if="{{tools.formatProductLable(item.product_recommend_lable).length > 0}}">
- <view
- class="key-words"
- wx:for="{{tools.formatProductLable(item.product_recommend_lable)}}"
- wx:key="item">
- <text class="value">{{item}}</text>
- </view>
- </view>
- </view>
- </view>
- <wxs src="../../components/wxs/index.wxs" module="tools"></wxs>
|