toolkitConfirm.wxml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <view class="container">
  2. <view class="top">
  3. <view class="tool-name" wx:if="{{toolkitType==1}}">上线礼包</view>
  4. <view class="tool-name" wx:if="{{toolkitType==2}}">晋升礼包</view>
  5. <view>待领取</view>
  6. </view>
  7. <view class="goods-block">
  8. <view class="goods-item" wx:for="{{detailList}}" wx:key="index" bindtap="showSpec" data-columns="{{item.pickerProps}}" data-skus="{{item.pickerSkus}}" data-index="{{index}}">
  9. <image src="{{item.commodityPic}}" mode="aspectFit" class="goods-img" >
  10. </image>
  11. <view class="goods-info" >
  12. <view class="goods-name">
  13. <view class="left">商品名称:{{item.name}}</view>
  14. <view class="right">x{{item.num}}</view>
  15. </view>
  16. <view class="goods-spec" >
  17. <view class="spec">商品规格:{{item.finalChoiceName}}</view>
  18. <!-- <van-icon name="arrow" color="#2a2a2a" /> -->
  19. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-right.png" class="arrow"></image>
  20. </view>
  21. <view class="goods-price">¥ {{item.pickerPrice}}
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="tips">商品规格选错了,点击修改</view>
  27. <view class="confirm-btn" bindtap="confirmSpec">
  28. 确认保存
  29. </view>
  30. </view>
  31. <!-- 弹框 -->
  32. <van-popup show="{{showPicker}}" position="bottom">
  33. <van-picker show-toolbar columns="{{columns}}"
  34. title="请选择规格"
  35. bind:cancel="pickerCancel" bind:confirm="pickerConfirm"
  36. />
  37. </van-popup>