zyShop.wxml 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
  2. <cu-custom bgColor="bg-color" isBack="{{true}}" title="中义商城"></cu-custom>
  3. <view class="zyShopContent">
  4. <view class="className">
  5. <scroll-view scroll-y enable-back-to-top>
  6. <block wx:for="{{listClassify}}" wx:for-item="item" wx:for-index="index" wx:key="index">
  7. <view bindtap="goIfy" data-id="{{item.id}}" class="{{goodId == item.id ?'active':''}}">
  8. <text>{{item.name}}</text>
  9. </view>
  10. </block>
  11. </scroll-view>
  12. </view>
  13. <view class="goods">
  14. <scroll-view scroll-y enable-back-to-top>
  15. <block wx:for="{{goodsByClassifyList}}" wx:for-item="item" wx:for-index="index" wx:key="index">
  16. <view class="goodsInfo" bindtap="goGoodsInfo" data-item="{{item}}">
  17. <view>
  18. <image src="{{item.banners}}"></image>
  19. </view>
  20. <view class="content">
  21. <text>{{item.name}}</text>
  22. <view>
  23. <text>{{item.tags}}</text>
  24. </view>
  25. <text>价格:<text>{{item.price}}</text></text>
  26. </view>
  27. </view>
  28. </block>
  29. </scroll-view>
  30. </view>
  31. </view>
  32. <view class="but">
  33. <view bindtap="exchange">订单记录</view>
  34. </view>