12345678910111213141516171819202122232425262728293031323334353637 |
- <view
- class="goods-item"
- bind:tap="jumpGoodsDetail">
- <view class="goods-cover-wrap">
- <image
- class="goods-cover"
- mode="widthFix"
- src="{{item.product_img_url}}"></image>
- </view>
- <view class="name-wrap">
- <view
- class="tag"
- wx:if="{{item.product_is_select === 1}}">精选
- </view>
- <view class="name {{item.product_is_select === 1 ? 'has-tag' : ''}}">{{item.product_title}}</view>
- </view>
- <view class="dessciption">{{item.product_desc}}</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="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="index">
- <text class="value">{{item}}</text>
- </view>
- </view>
- </view>
- <wxs src="../../components/wxs/index.wxs" module="tools"></wxs>
|