commentPost.wxml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <view class="container">
  2. <view class="list-group" style="margin-top: 0px;">
  3. <view class="list-cell">
  4. <view class="list-cell-hd">
  5. <image style="width: 80rpx;height:80rpx;" src="/static/images/rider.png"></image>
  6. </view>
  7. <view class="list-cell-bd">
  8. <view class="list-label" style="padding-left: 20rpx;">
  9. {{orderInfo.shipping_name}}
  10. </view>
  11. </view>
  12. <view class="list-cell-ft" style="font-size: .7em;">
  13. 小伙伴都挺不容易的,能不能给个好评,亲 ^_^
  14. </view>
  15. </view>
  16. </view>
  17. <view class="service-box">
  18. <view class="service-item">
  19. <text class="label">服务态度</text>
  20. <view class="star-box">
  21. <text class="star {{ mannerScore > index ? 'checked' : '' }}" bindtap="handleScore" wx:for="{{5}}" wx:key="{{index}}" data-score="{{index + 1}}" data-aim="mannerScore">★</text>
  22. </view>
  23. <text class="desc">{{handleDesc[mannerScore -1]}}</text>
  24. </view>
  25. <!-- <view class="service-item">
  26. <text class="label">配送速度</text>
  27. <view class="star-box">
  28. <text class="star {{ speedScore > index ? 'checked' : '' }}" bindtap="handleScore" wx:for="{{5}}" wx:key="{{index}}" data-score="{{index + 1}}" data-aim="speedScore">★</text>
  29. </view>
  30. <text class="desc">{{handleDesc[speedScore -1]}}</text>
  31. </view> -->
  32. </view>
  33. <view class="goods-list" wx:for="{{goodsList}}" wx:key="{{num}}" wx:for-index="num">
  34. <view class="list-group">
  35. <view class="list-cell">
  36. <view class="list-cell-hd">
  37. <image style="width: 100rpx;height:100rpx;" src="{{item.list_pic_url}}"></image>
  38. </view>
  39. <view class="list-cell-bd" style="padding-left: 20rpx;">
  40. <view class="list-label">
  41. {{item.goods_name}}
  42. </view>
  43. <view class="list-label-desc">
  44. 规格:{{item.goods_specification_name_value}}
  45. </view>
  46. </view>
  47. </view>
  48. <view class="service-item" style="padding-left:20px">
  49. <text class="label">商品质量</text>
  50. <view class="star-box">
  51. <text class="star {{ goodsList[num].score > index ? 'checked' : '' }}" bindtap="handleScore" wx:for="{{5}}" wx:key="{{index}}" data-score="{{index + 1}}" data-aim="{{ 'goodsList['+num+'].score' }}">★</text>
  52. </view>
  53. <text class="desc">{{handleDesc[goodsList[num].score -1]}}</text>
  54. </view>
  55. <view class="input-box">
  56. <textarea class="content" bindinput="bindInpuntValue" auto-height data-goods-index="{{num}}" maxlength="140" placeholder="留言经过筛选后,对所有人可见" />
  57. <text class="count">{{goodsList[num].comment.length}}/140</text>
  58. </view>
  59. <view class="pic-box">
  60. <view class="pic-item" wx:for="{{goodsList[num].pics}}" wx:key="index">
  61. <image src="{{item}}" bindtap="previewPic" data-urls="{{goodsList[num].pics}}"></image>
  62. <text class="pic-delete" bindtap="handleDelete" data-src="{{item}}" data-pics="{{goodsList[num].pics}}" data-goods-index="{{num}}">x</text>
  63. </view>
  64. <view class="pic-item pic-handle" wx:if="{{goodsList[num].pics.length < 3}}" bindtap="chooseImageTap" data-pics="{{goodsList[num].pics}}" data-goods-index="{{num}}">
  65. <image src="/static/images/photo_icon.png"></image>
  66. <text class="desc">添加图片</text>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="btn-box">
  72. <button type="primary" bindtap="onPost">发 布</button>
  73. </view>
  74. </view>
  75. <view class="drawer_box" wx:if="{{coupon.name}}">
  76. <view class="drawer_title">恭喜你获取一张优惠券</view>
  77. <view style="margin: 5px 10px;">
  78. <view class="coupon-box coupon-box1 coupon-box-g">
  79. <view class="coupon-bg coupon-bg1">
  80. <view>
  81. <text class="coupon-currency">¥</text>{{ coupon.type_money }}</view>
  82. <view class="coupon-type" wx:if="{{coupon.send_type==4}}">新人专享</view>
  83. </view>
  84. <view class="coupon-info">
  85. <view class="coupon-title">{{ coupon.name }}</view>
  86. <view class="coupon-desc">
  87. <view>{{ coupon.use_start_date }}-{{ coupon.use_end_date }}</view>
  88. <view>{{ null!=item.coupon_txt?item.coupon_txt:"" }}</view>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. <view class="btn_ok" bindtap="couponClickBack">确定</view>
  94. </view>