newRevisit.wxml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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. <view class="duoren" wx:if="{{bookServantList.length>1}}">
  34. <text>本次服务为多人服务,请为每位服务者评价</text>
  35. </view>
  36. <view wx:for="{{bookServantList}}" wx:for-item="bk" wx:for-index="bkindex" wx:key="bkindex">
  37. <!-- 是否满意 -->
  38. <view class="service-satisfy">
  39. <view class="satisfy-title">
  40. <view class="dot"></view>
  41. <!-- <view class="text">您对本次的服务是否满意?</view> -->
  42. <view class="name">服务者[{{bk.workerName}}]</view>
  43. <view class="skill">服务项目:{{bk.skillName}}</view>
  44. <view class="msg">已对服务者匿名</view>
  45. </view>
  46. <view class="satisfy-select">
  47. <view data-satisfy="1" data-bkindex="{{bkindex}}" class="{{bk.satisfy=='1'?'yes':''}}" bindtap="selectSatisfy">满意</view>
  48. <view data-satisfy="2" data-bkindex="{{bkindex}}" class="{{bk.satisfy=='2'?'no':''}}" bindtap="selectSatisfy">不满意</view>
  49. <view data-satisfy="3" data-bkindex="{{bkindex}}" class="{{bk.satisfy=='3'?'common':''}}" bindtap="selectSatisfy">一般</view>
  50. </view>
  51. <!-- 满意 -->
  52. <view class="satisfy-result" wx:if="{{bk.satisfy==1}}">
  53. <view>感谢您的认可,您的认可是我们前行的动力!
  54. 如果有需求,您可以长期购买周期单,可以指定阿姨,价格更优惠!</view>
  55. </view>
  56. <!-- 一般 -->
  57. <view class="satisfy-common" wx:if="{{bk.satisfy==3}}">
  58. 诚邀您对我们提出宝贵意见,我们会积极改进,为您提供更好的服务。
  59. </view>
  60. <!-- 不满意 -->
  61. <view class="satisfy-common" wx:if="{{bk.satisfy==2}}">
  62. 抱歉给您带来不好的服务体验,我们的工作人员会在第一时间联系您提供后续服务!
  63. </view>
  64. </view>
  65. <!-- 一般备注 -->
  66. <view class="remark-wrapper" wx:if="{{bk.satisfy==3}}">
  67. <view class="tips">1. 请输入您想和我们说的话:</view>
  68. <textarea bindinput="remarkInput" data-idx="{{bkindex}}" placeholder="感谢您的耐心与支持" class="textarea" value="{{bk.remark}}"
  69. placeholder-style="color: #E8E8E8;font-size:30rpx;" />
  70. </view>
  71. <!-- 题目 -->
  72. <view class="topic-block" wx:if="{{bk.satisfy==2}}">
  73. <!-- 题目选择 -->
  74. <view class="topic-item">
  75. <view class="issue">
  76. 1. 请选择您发现的问题?
  77. </view>
  78. <view class="answer">
  79. <view wx:for="{{bk.consultList}}" wx:key="index"
  80. class="{{item.checked?'selected-answer':'common-answer'}} answer-item" data-checked="{{item.checked}}"
  81. data-index="{{index}}" data-bkindex="{{bkindex}}" bindtap="questionClick">
  82. {{item.name}}
  83. </view>
  84. </view>
  85. </view>
  86. <view class="topic-item" wx:for="{{bk.questionList}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1">
  87. <view class="issue">
  88. <view class="dot"></view>
  89. <view>
  90. <text>{{item1.name}}</text>
  91. <text class="refer">具体问题</text>
  92. </view>
  93. </view>
  94. <view class="answer">
  95. <view wx:for="{{item1.children}}" wx:for-item="item2" wx:for-index="index2" wx:key="index2"
  96. class="{{item1.consultId==item2.id?'selected-answer':'common-answer'}} answer-item" data-id="{{item2.id}}"
  97. data-answer="{{item2.name}}" data-index1="{{index1}}" data-bkindex="{{bkindex}}" bindtap="answerClick">
  98. {{item2.name}}
  99. </view>
  100. </view>
  101. </view>
  102. </view>
  103. <view class="remark-wrapper" wx:if="{{bk.satisfy==2}}">
  104. <view class="tips">2. 请输入具体问题描述:</view>
  105. <textarea bindinput="detailInput" data-idx="{{bkindex}}" placeholder="感谢您的耐心与支持" class="textarea" value="{{bk.detail}}"
  106. placeholder-style="color: #E8E8E8;font-size:30rpx;" />
  107. <!-- 图片上传 -->
  108. <view class="upload-wrapper">
  109. <view class="img-item" wx:for="{{bk.imgList}}" wx:key="index">
  110. <image mode="aspectFill" src="{{item}}" class="user-upload" bindtap="previewImg" data-bkindex="{{bkindex}}" data-img="{{item}}"></image>
  111. <image class="close-img" mode="aspectFill" src="/static/images/icon-close.png" bindtap="delImg"
  112. data-index="{{index}}" data-bkindex="{{bkindex}}">
  113. </image>
  114. </view>
  115. <view class="upload" bindtap="uploadImg" data-bkindex="{{bkindex}}">
  116. <image mode="aspectFill" src="/static/images/icon-add.png"></image>
  117. <view>上传照片</view>
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. <view class="submit-btn" bindtap="sumitRevisit" wx:if="{{!isFinished&&isCanSumit}}">提交</view>
  123. <view class="submit-btn disable-btn" wx:else>提交</view>
  124. <!-- 底部背景 -->
  125. <image src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/revisit-bottom.png" mode="widthFix" class="bottom-img">
  126. </image>
  127. <!-- 加企微 -->
  128. <view wx:if="{{qrImg}}" style="display: flex;align-items: center;height: 100%;justify-content:center;flex-direction: column;">
  129. <view class="qr-title">
  130. <div class="sub-title2">鲸致生活管家</div>
  131. <div style="padding: 20rpx;height: 400rpx;">
  132. <image class="qrcode" show-menu-by-longpress="{{true}}" src="{{qrImg}}" />
  133. </div>
  134. <text class="qr-title1" wx:if="{{qrImg}}">长按识别二维码</text>
  135. <text class="qr-title2" wx:if="{{qrImg}}">添加我的企业微信</text>
  136. </view>
  137. </view>
  138. <!-- 手机号一键授权 -->
  139. <view wx:if="{{ loginShow }}" bindtap="onOverlayHide">
  140. <view class="wrapper">
  141. <view class="block">
  142. <button class="submit-btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">手机号一键登录</button>
  143. </view>
  144. </view>
  145. </view>
  146. </view>