index.wxml 1.6 KB

12345678910111213141516171819202122
  1. <view class='goodList'>
  2. <block wx:for="{{bastList}}" wx:key='index'>
  3. <view bindtap="goDetail" data-items='{{item}}' class='item acea-row row-between-wrapper'>
  4. <view class='pictrue'>
  5. <image src='{{item.image}}'></image>
  6. <text class="pictrue_log pictrue_log_class" wx:if="{{item.activity && item.activity.type ==='1'}}">秒杀</text>
  7. <text class="pictrue_log pictrue_log_class" wx:if="{{item.activity && item.activity.type === '2'}}">砍价</text>
  8. <text class="pictrue_log pictrue_log_class" wx:if="{{item.activity && item.activity.type === '3'}}">拼团</text>
  9. </view>
  10. <view class='underline'>
  11. <view class='text'>
  12. <view class='line1'>{{item.store_name}}</view>
  13. <view class='money font-color'>¥<text class='num'>{{item.price}}</text></view>
  14. <view class='vip-money acea-row row-middle' wx:if='{{item.vip_price && item.vip_price > 0}}'>¥{{item.vip_price || 0}}<image src='/images/vip.png'></image><text class='num'>已售{{item.sales}}{{item.unit_name}}</text></view>
  15. <view class='vip-money acea-row row-middle' wx:else><text class='num'>已售{{item.sales}}{{item.unit_name}}</text></view>
  16. </view>
  17. </view>
  18. <view class='iconfont icon-gouwuche cart-color acea-row row-center-wrapper'></view>
  19. </view>
  20. </block>
  21. </view>