momo.wxml 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. <view>
  2. <!-- banner -->
  3. <view class='momo-ban'>
  4. <image src='../../images/news/momo.png' class='momo-img'></image>
  5. </view>
  6. <!-- 内容 -->
  7. <view class='gift-box'>
  8. <!-- goodsList -->
  9. <view class='f-box f-flex-wrap f-justify-content-between'>
  10. <view class='goods-list' wx:for="{{goodsList}}" wx:key="id" data-id="{{item.id}}" bindtap='toGoodsDetail'>
  11. <image src='{{host}}/images/{{item.logo[0]}}' class='goods-img' mode='aspectFit'></image>
  12. <!-- <view class='goods-summary'></view> -->
  13. <view class='goods-title'>{{item.commodity_name}}</view>
  14. <view class='f-box'>
  15. <view wx:if="{{item.commodity_channel_price && loginStatic}}" class='c-theme'>¥{{item.commodity_channel_price}}</view>
  16. <view class='c-theme f-item {{item.commodity_channel_price && loginStatic ? "price-cancel" : ""}}'>¥{{item.commodity_sale}}</view>
  17. </view>
  18. </view>
  19. </view>
  20. <divider wx:if="{{!requestState && page != 1}}"></divider>
  21. <data-none wx:if="{{goodsList.length === 0}}"></data-none>
  22. </view>
  23. </view>
  24. <view class='ceng' bindtap='close' wx:if="{{filterStatic}}"></view>
  25. <!-- footer -->
  26. <!-- <view class='momo-footer'>
  27. <view class='mf-box f-box'>
  28. <navigator class='f-item' open-type="switchTab" wx:for="{{tabBar.list}}" url='{{item.pagePath}}'>
  29. <image src='{{item.iconPath}}' class='img'></image>
  30. <view>{{item.text}}</view>
  31. </navigator>
  32. </view>
  33. </view> -->