nps.wxml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <view class='wrap {{inputFocus?"focus":""}}' wx:if='{{show}}'>
  2. <view class='icon-hidden' bindtap='close'></view>
  3. <view class="page" >
  4. <view class='activity' wx:if="{{!detailStatus}}">
  5. <view class='activity-name'>
  6. <view class="title subtitleColor">感谢儿童参加</view>
  7. <view class="title">{{title}}</view>
  8. <text class='sname'>{{sname}}</text>
  9. </view>
  10. <view class="title subtitleColor ">您的评价让我们做的更好!</view>
  11. </view>
  12. <view class="title">您对此次活动的总体评价</view>
  13. <view class="star" bindtap="bindstar">
  14. <image src="{{star >= 1?'../../images/star_real.png':'../../images/star.png'}}" data-index="1" />
  15. <image src="{{star >= 2?'../../images/star_real.png':'../../images/star.png'}}" data-index="2" />
  16. <image src="{{star >= 3?'../../images/star_real.png':'../../images/star.png'}}" data-index="3" />
  17. <image src="{{star >= 4?'../../images/star_real.png':'../../images/star.png'}}" data-index="4" />
  18. <image src="{{star == 5?'../../images/star_real.png':'../../images/star.png'}}" data-index="5" />
  19. </view>
  20. <!-- detail start -->
  21. <view wx:if="{{detailStatus}}">
  22. <view class="star-tit">{{star == 1 ?'非常不满意':star == 2 ?'不满意':star==3?'一般':star==4?'满意':'非常满意'}}</view>
  23. <view class="recommend-title">综合您和孩子体验,您有多大可能推荐活动给您的朋友?请选择</view>
  24. <view class="recommend-level"><text>肯定不推荐</text><text>肯定推荐</text></view>
  25. <view class="recommend">
  26. <view class='recommend-item {{recomLevel==item?"subtitleColor-bg":""}}' wx:for="{{recommendArr}}" wx:key="{{item}}" bindtap='recommend' data-number='{{item}}' >{{item}}</view>
  27. </view>
  28. <!-- 文案 start -->
  29. <view class="star-option" >
  30. <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>
  31. <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>
  32. </view>
  33. <!-- 文案 end -->
  34. <!-- 评语 start -->
  35. <textarea class='textarea' placeholder="请填写您的评分原因及活动后孩子和您的心得感受、意见建议等(请认真填写,提交后有幸运刮奖哦)" placeholder-class="place" value="{{content}}" maxlength="200" bindblur="bindblur" bindinput='bindinput' bindfocus='bindfocus' adjust-position></textarea>
  36. <!-- 评语 end -->
  37. <!-- 图片 start -->
  38. <view class="images">
  39. <view class="images-col imgbox" wx:for="{{uploadImg}}" wx:key="unique">
  40. <image class="images-col" src="{{item}}" mode="aspectFill" />
  41. <view class="delBox" bindtap="delImg" data-index="{{index}}"><view class="del"></view></view>
  42. </view>
  43. <view class="images-col add-box" bindtap="chooseImg" hidden="{{uploadImg.length >= 8}}"></view>
  44. </view>
  45. <!-- 图片 end -->
  46. <view class="bar-bottom button.button-warn sub" bindtap="submit">提交评价</view>
  47. </view>
  48. <!-- detail end -->
  49. </view>
  50. </view>
  51. <view class='nps' wx:if='{{show}}'></view>