comment.wxml 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <view class="bar-bottom sub-evaluate button.button-warn sub" bindtap="submit">提交评论</view>
  2. <view class="page{{datas.atype == 1 ? ' product':''}}">
  3. <block wx:if="{{datas.atype == 0}}">
  4. <view class="modular modular-pad">
  5. <view class="modal-label">
  6. <view class="title">您对此次活动的评价</view>
  7. <view class="comment-content">
  8. <view class="star" data-type='star' bindtap="bindstar">
  9. <image src="{{star >= 1?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="1" />
  10. <image src="{{star >= 2?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="2" />
  11. <image src="{{star >= 3?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="3" />
  12. <image src="{{star >= 4?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="4" />
  13. <image src="{{star == 5?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="5" />
  14. </view>
  15. <view class="star-tit">{{star == 1 ?'非常不满意':star == 2 ?'不满意':star==3?'一般':star==4?'满意':'非常满意'}}</view>
  16. </view>
  17. </view>
  18. <view class="modal-label">
  19. <view class="title">您对宝大大(客服)这次服务的评价</view>
  20. <view class="comment-content">
  21. <view class="star" bindtap="bindstar">
  22. <image src="{{cusStar >= 1?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="1" />
  23. <image src="{{cusStar >= 2?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="2" />
  24. <image src="{{cusStar >= 3?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="3" />
  25. <image src="{{cusStar >= 4?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="4" />
  26. <image src="{{cusStar == 5?'../../../images/star_real.png':'../../../images/star.png'}}" data-index="5" />
  27. </view>
  28. <view class="star-tit">{{cusStar == 1 ?'非常不满意':cusStar == 2 ?'不满意':cusStar==3?'一般':cusStar==4?'满意':'非常满意'}}</view>
  29. </view>
  30. </view>
  31. </view>
  32. </block>
  33. <view class="modular modular-pad">
  34. <view class="modal-label">
  35. <block wx:if="{{datas.atype == 0}}">
  36. <view class="recommend-title">综合您和孩子体验,您有多大可能推荐活动给您的朋友?请选择</view>
  37. <view class="recommend-level"><text>肯定不推荐</text><text>肯定推荐</text></view>
  38. <view class="recommend">
  39. <block wx:for="{{recommendArr}}" wx:key="*this">
  40. <view class='recommend-item {{recomLevel == item ? "active" : ""}}' bindtap='recommend' data-number='{{item}}'>{{item}}</view>
  41. </block>
  42. </view>
  43. <view class="star-option">
  44. <view class="option {{item.cet?'cet':'opt'}}" wx:for="{{one}}" wx:key="unique" hidden="{{star == 3 || star == 4 || star == 5}}" bindtap="chooseOpt" data-index="{{index}}">{{item.txt}}</view>
  45. <view class="option {{item.cet?'cet':'opt'}}" wx:for="{{two}}" wx:key="unique" hidden="{{star == 1 || star == 2}}" bindtap="chooseOpt" data-index="{{index}}">{{item.txt}}</view>
  46. </view>
  47. </block>
  48. <textarea type='text' class='textarea' cursor-spacing="90" placeholder="{{datas.atype == '0'?'参加活动后孩子有什么变化心得,您对活动感受(请认真填写,每次评价后有幸运刮奖哦)':'请输入对商品的评价'}}" placeholder-class="place" value="{{content}}" maxlength="10000" bindblur="bindblur" bindinput='bindblur'></textarea>
  49. <view class="images">
  50. <view class="imgbox" wx:for="{{uploadImg}}" wx:key="unique">
  51. <image class="images-col" src="{{item}}" mode="aspectFill" />
  52. <view class="delBox" bindtap="delImg" data-index="{{index}}"><view class="del"></view></view>
  53. </view>
  54. <view class="add-box" bindtap="chooseImg" hidden="{{uploadImg.length >= 8}}">
  55. <text class='icon-mini-error'></text>
  56. </view>
  57. </view>
  58. <view class="tip">注:最大仅支持上传10M的图片</view>
  59. </view>
  60. </view>
  61. </view>