index.wxml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <view class="pageContainer">
  2. <!--index.wxml-->
  3. <scroll-view class="scrollarea" bounces="false" scroll-y="{{popupShow ? false : true}}" type="list">
  4. <view class="container">
  5. <view class="goodsSection">
  6. <view class="goodsIntro">
  7. <view class="images">
  8. <block wx:for="{{goodsImgList}}" wx:key="index">
  9. <!-- bind:tap="onPreivewGoodsImg" -->
  10. <image mode="widthFix" data-src="{{item}}" src="{{item}}"></image>
  11. </block>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="bottom-section">
  16. <view class="orders" bind:tap="onOrder">
  17. <image src="./images/icon-order.png" />
  18. <text>我的订单</text>
  19. </view>
  20. <view class="orders" bind:tap="onBuyGoods">
  21. <image src="./images/icon-buy.png" />
  22. <text>申请加入</text>
  23. </view>
  24. </view>
  25. <van-popup show="{{ popupShow }}" safe-area-inset-bottom="{{false}}" lock-scroll="{{true}}" bind:close="onClose" position="bottom" round z-index="101">
  26. <view class="popup-section">
  27. <image bind:tap="onClose" src="./images/icon-close-1.png" class="iconClose"></image>
  28. <!-- wx:if="{{popupShow}}" -->
  29. <!-- <view class="popup-mask" bind:tap="onClose"></view> -->
  30. <!-- <view class="popup-container">
  31. </view> -->
  32. </view>
  33. </van-popup>
  34. </view>
  35. </scroll-view>
  36. </view>