index.wxml 1.3 KB

12345678910111213141516171819202122
  1. <view class='promotionGood'>
  2. <block wx:for="{{benefit}}" wx:key='index'>
  3. <view class='item acea-row row-between-wrapper' bindtap="goDetail" data-items='{{item}}'>
  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='text'>
  11. <view class='name line1'>{{item.store_name}}</view>
  12. <view class='sp-money acea-row'>
  13. <view class='moneyCon'>促销价: ¥<text class='num'>{{item.price}}</text></view>
  14. </view>
  15. <view class='acea-row row-between-wrapper'>
  16. <view class='money'>日常价:¥{{item.ot_price}}</view>
  17. <view>仅剩:{{item.stock}}{{item.unit_name}}</view>
  18. </view>
  19. </view>
  20. </view>
  21. </block>
  22. </view>