grouponDetail.wxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <view class="container">
  2. <view class="progress">
  3. <view class="item-a">
  4. <van-steps steps="{{ steps }}" active="{{ active }}" active-icon="{{ activeIcon }}"
  5. active-color="{{ activeColor }}" />
  6. </view>
  7. <view class="item-c" wx:if="{{groupon.status === 1}}">
  8. <view class="l">
  9. 开团还缺
  10. <van-tag type="danger">{{rules.discountMember - joiners.length}}</van-tag>
  11. </view>
  12. <view class="r">
  13. <button class="btn active" open-type="share">邀请参团</button>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="menu-list-pro">
  18. <view class="h">
  19. <view class="label">参与团购 ( {{joiners.length}}人)</view>
  20. <view class="status">查看全部</view>
  21. </view>
  22. <view class="menu-list-item" wx:for-items="{{joiners}}" wx:key="id" data-id="{{item.id}}">
  23. <image class="icon" src="{{item.avatar}}"></image>
  24. <text class="txt">{{item.nickname}}</text>
  25. </view>
  26. </view>
  27. <view class="order-goods">
  28. <view class="h">
  29. <view class="label">商品信息</view>
  30. </view>
  31. <view class="goods">
  32. <view class="item" wx:for="{{orderGoods}}" wx:key="id">
  33. <view class="img">
  34. <image src="{{item.picUrl}}"></image>
  35. </view>
  36. <view class="info">
  37. <view class="t">
  38. <text class="name">{{item.goodsName}}</text>
  39. <text class="number">x{{item.number}}</text>
  40. </view>
  41. <view class="attr">{{item.goodsSpecificationValues}}</view>
  42. <view class="price">¥{{item.retailPrice}}</view>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="order-bottom">
  47. <view class="total">
  48. <view class="t">
  49. <text class="label">商品合计:</text>
  50. <text class="txt">¥{{orderInfo.goodsPrice}}</text>
  51. </view>
  52. <view class="t">
  53. <text class="label">商品运费:</text>
  54. <text class="txt">¥{{orderInfo.freightPrice}}</text>
  55. </view>
  56. </view>
  57. <view class="pay-fee">
  58. <text class="label">商品实付:</text>
  59. <text class="txt">¥{{orderInfo.actualPrice}}</text>
  60. </view>
  61. </view>
  62. </view>
  63. </view>