comment.wxml 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!--pages/order/comment.wxml-->
  2. <view class="comment_container">
  3. <view class="comment_main">
  4. <view class="comment_goods_image">
  5. <image src="{{goods_image}}" mode='widthFix'></image>
  6. </view>
  7. <view class="rf">
  8. <view class="comment_expect">
  9. <view class="comment_general">描述符合</view>
  10. <view class="comment_ul ul">
  11. <view class="comment_star_background li" data-stype="miaoshu_no" bindtap='choseStar' data-sval="1" style="{{miaoshu_no>0?'background-position: -30px 50%;':'background-position: 0px 50%;'}}">
  12. </view>
  13. <view class="comment_star_background li" data-stype="miaoshu_no" bindtap='choseStar' data-sval="2" style="{{miaoshu_no>1?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  14. <view class="comment_star_background li" data-stype="miaoshu_no" bindtap='choseStar' data-sval="3" style="{{miaoshu_no>2?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  15. <view class="comment_star_background li" data-stype="miaoshu_no" bindtap='choseStar' data-sval="4" style="{{miaoshu_no>3?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  16. <view class="comment_star_background li" data-stype="miaoshu_no" bindtap='choseStar' data-sval="5" style="{{miaoshu_no>4?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  17. </view>
  18. </view>
  19. <view class="comment_expect">
  20. <view class="comment_ul ul">
  21. <view class="comment_star_background li" data-stype="price_no" bindtap='choseStar' data-sval="1" style="{{price_no>0?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  22. <view class="comment_star_background li" data-stype="price_no" bindtap='choseStar' data-sval="2" style="{{price_no>1?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  23. <view class="comment_star_background li" data-stype="price_no" bindtap='choseStar' data-sval="3" style="{{price_no>2?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  24. <view class="comment_star_background li" data-stype="price_no" bindtap='choseStar' data-sval="4" style="{{price_no>3?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  25. <view class="comment_star_background li" data-stype="price_no" bindtap='choseStar' data-sval="5" style="{{price_no>4?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  26. </view>
  27. <view class="comment_general">价格合理</view>
  28. </view>
  29. <view class="comment_expect">
  30. <view class="comment_ul ul">
  31. <view class="comment_star_background li" data-stype="zhiliang_no" bindtap='choseStar' data-sval="1" style="{{zhiliang_no>0?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  32. <view class="comment_star_background li" data-stype="zhiliang_no" bindtap='choseStar' data-sval="2" style="{{zhiliang_no>1?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  33. <view class="comment_star_background li" data-stype="zhiliang_no" bindtap='choseStar' data-sval="3" style="{{zhiliang_no>2?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  34. <view class="comment_star_background li" data-stype="zhiliang_no" bindtap='choseStar' data-sval="4" style="{{zhiliang_no>3?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  35. <view class="comment_star_background li" data-stype="zhiliang_no" bindtap='choseStar' data-sval="5" style="{{zhiliang_no>4?'background-position: -30px 50%;':'background-position: 0px 50%;'}}"></view>
  36. </view>
  37. <view class="comment_general">质量满意</view>
  38. </view>
  39. </view>
  40. <view class="form-group">
  41. <view class="label">图片</view>
  42. <view class="xo-weixin-blt-upload" bindtap='choseImg'>
  43. <view class="ul">
  44. <view class="li">
  45. <view id="image_uploader_selector" >
  46. <view id="image_uploader_indicate">+</view>
  47. </view>
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. <view class="form-group">
  53. <view class="xo-weixin-blt-upload">
  54. <view class="ul">
  55. <view class="li" wx:for="{{thumb_img}}">
  56. <view class="xo-weixin-blt-upload-btn span">
  57. <image src="{{item}}" style="width:53px; height:53px; vertical-align:top;"></image>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <textarea bindinput="textinput" placeholder="亲,您对这个商品满意吗?您的评价会帮助我们选择更好的商品哦!" class="comment_content" name="textarea"/>
  65. <view class="comment_commit_button" bindtap='sub_comment'>提交评价</view>
  66. </view>