newRevisit.wxml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <view>
  2. <!-- 头部背景 -->
  3. <image src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/revisit-top.png" mode="aspectFill" class="top-img">
  4. </image>
  5. <view class="top-block">
  6. <view class="title">尊敬的客户,您的反馈是我们提供更好的服务的基石:</view>
  7. <view class="slogan">您的满意是我们服务第一优先级</view>
  8. </view>
  9. <!-- 服务信息 -->
  10. <view class="service-block">
  11. <view class="title">
  12. <view>服务信息</view>
  13. <!-- <view class="view-detail" bindtap="goDetail">查看订单详情</view> -->
  14. </view>
  15. <view class="content">
  16. <view class="service-times">
  17. {{tradeOrder.serviceNumber}}
  18. </view>
  19. <view class="item">
  20. <text>服务内容:</text>
  21. {{tradeOrder.itemName}}
  22. </view>
  23. <view class="item">
  24. <text>服务时间:</text>
  25. {{tradeOrder.beginDate}} {{tradeOrder.serviceTime}}
  26. </view>
  27. <view class="item">
  28. <text>服务人员:</text>
  29. {{tradeOrder.workerName}}
  30. </view>
  31. </view>
  32. </view>
  33. <!-- 是否满意 -->
  34. <view class="service-satisfy">
  35. <view class="satisfy-title">
  36. <view class="dot"></view>
  37. <view class="text">您对本次的服务是否满意?</view>
  38. </view>
  39. <view class="satisfy-select">
  40. <view data-satisfy="1" class="{{satisfy=='1'?'yes':''}}" bindtap="selectSatisfy">满意</view>
  41. <view data-satisfy="2" class="{{satisfy=='2'?'no':''}}" bindtap="selectSatisfy">不满意</view>
  42. <view data-satisfy="3" class="{{satisfy=='3'?'common':''}}" bindtap="selectSatisfy">一般</view>
  43. </view>
  44. <!-- 满意 -->
  45. <view class="satisfy-result" wx:if="{{satisfy==1}}">
  46. <view>感谢您的认可,您的认可是我们前行的动力!
  47. 如果有需求,您可以长期购买周期单,可以指定阿姨,价格更优惠!</view>
  48. </view>
  49. <!-- 一般 -->
  50. <view class="satisfy-common" wx:if="{{satisfy==3}}">
  51. 诚邀您对我们提出宝贵意见,我们会积极改进,为您提供更好的服务。
  52. </view>
  53. <!-- 不满意 -->
  54. <view class="satisfy-common" wx:if="{{satisfy==2}}">
  55. 抱歉给您带来不好的服务体验,我们的工作人员会在第一时间联系您提供后续服务!
  56. </view>
  57. </view>
  58. <!-- 一般备注 -->
  59. <view class="remark-wrapper" wx:if="{{satisfy==3}}">
  60. <view class="tips">1. 请输入您想和我们说的话:</view>
  61. <textarea bindinput="remarkInput" placeholder="感谢您的耐心与支持" class="textarea" value="{{remark}}" placeholder-style="color: #E8E8E8;font-size:30rpx;"/>
  62. </view>
  63. <!-- 题目 -->
  64. <view class="topic-block" wx:if="{{satisfy==2}}">
  65. <!-- 题目选择 -->
  66. <view class="topic-item">
  67. <view class="issue">
  68. 1. 请选择您发现的问题?
  69. </view>
  70. <view class="answer">
  71. <view wx:for="{{consultList}}" wx:key="index" class="{{item.checked?'selected-answer':'common-answer'}} answer-item" data-checked="{{item.checked}}"
  72. data-index="{{index}}" bindtap="questionClick">
  73. {{item.name}}
  74. </view>
  75. </view>
  76. </view>
  77. <view class="topic-item" wx:for="{{questionList}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1">
  78. <view class="issue">
  79. <view class="dot"></view>
  80. <view>
  81. <text>{{item1.name}}</text>
  82. <text class="refer">具体问题</text>
  83. </view>
  84. </view>
  85. <view class="answer">
  86. <view wx:for="{{item1.children}}" wx:for-item="item2" wx:for-index="index2" wx:key="index2" class="{{item1.consultId==item2.id?'selected-answer':'common-answer'}} answer-item" data-id="{{item2.id}}" data-answer="{{item2.name}}" data-index1="{{index1}}" bindtap="answerClick">
  87. {{item2.name}}
  88. </view>
  89. </view>
  90. </view>
  91. </view>
  92. <view class="remark-wrapper" wx:if="{{satisfy==2}}">
  93. <view class="tips">2. 请输入具体问题描述:</view>
  94. <textarea bindinput="detailInput" placeholder="感谢您的耐心与支持" class="textarea" value="{{detail}}" placeholder-style="color: #E8E8E8;font-size:30rpx;"/>
  95. <!-- 图片上传 -->
  96. <view class="upload-wrapper">
  97. <view class="img-item" wx:for="{{imgList}}" wx:key="index">
  98. <image mode="aspectFill" src="{{item}}" class="user-upload" bindtap="previewImg" data-img="{{item}}" ></image>
  99. <image class="close-img" mode="aspectFill" src="/static/images/icon-close.png" bindtap="delImg" data-index="{{index}}">
  100. </image>
  101. </view>
  102. <view class="upload" bindtap="uploadImg">
  103. <image mode="aspectFill" src="/static/images/icon-add.png"></image>
  104. <view>上传照片</view>
  105. </view>
  106. </view>
  107. </view>
  108. <view class="submit-btn" bindtap="sumitRevisit" wx:if="{{!isFinished}}">提交</view>
  109. <view class="submit-btn disable-btn" wx:else>提交
  110. </view>
  111. <!-- 底部背景 -->
  112. <image src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/revisit-bottom.png" mode="widthFix" class="bottom-img"></image>
  113. <view wx:if="{{ loginShow }}" bindtap="onOverlayHide">
  114. <view class="wrapper">
  115. <view class="block" >
  116. <button class="submit-btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">手机号一键登录</button>
  117. </view>
  118. </view>
  119. </view>
  120. </view>