addmeet.wxml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <!--pages/my/meet/detail.wxml-->
  2. <view class="service-detail-container">
  3. <view class="meet-people">
  4. <view class="people-info">
  5. <image class="people-avatar" src="{{expertDetail.expertPhoto}}"></image>
  6. <text class="people-name">{{expertDetail.name ? expertDetail.name : expertDetail.vipName}}</text>
  7. <view class="more-box">
  8. <button class="status-btn group-status" wx:if="{{detail.process == 1}}">支付成功</button>
  9. <button class="status-btn group-status" wx:if="{{detail.process == 2}}">行家接受</button>
  10. <button class="status-btn group-status" wx:if="{{detail.process == 3}}">完成请教</button>
  11. <button class="status-btn" wx:if="{{detail.process == 0}}">预约</button>
  12. <button class="status-btn dispose-status" wx:if="{{detail.process == -1}}">已拒绝</button>
  13. <button class="canceled" wx:if="{{detail.process == -2}}">已取消</button>
  14. <button class="status-btn finish-status" wx:if="{{detail.meetType == 4}}">评价</button>
  15. <!-- <button class="status-btn group-status" wx:if="{{detail.meetType == 0}}">拼团中</button>
  16. <button class="status-btn" wx:if="{{detail.meetType == 1}}">预约中</button>
  17. <button class="status-btn dispose-status" wx:if="{{detail.meetType == 2}}">处理中</button>
  18. <button class="status-btn finish-status" wx:if="{{detail.meetType == 3}}">已完成</button> -->
  19. <text class="look-more" bindtap="lookMore">
  20. <text>查看更多</text>
  21. <text class="iconfont icon-xiayibu more-right-arrow"></text>
  22. </text>
  23. </view>
  24. </view>
  25. <view class="box">{{expertDetail.jobTitle}}</view>
  26. <view class="box">地址:<text wx:if="{{expertDetail.provinceStr}}">{{expertDetail.provinceStr}}</text><text wx:if="{{expertDetail.cityStr}}">{{expertDetail.cityStr}}</text><text wx:if="{{expertDetail.areaStr}}">{{expertDetail.areaStr}}</text></view>
  27. <view class="box">请教:<text class="consult">{{expertDetail.consultNumber}}</text>人</view>
  28. <view class="box tag">
  29. <text>擅长标签:</text>
  30. <text class="label-tag" wx:for="{{expertDetail.goodLabelsStr}}" wx:key="{{index}}">{{item}}</text>
  31. </view>
  32. </view>
  33. <!-- <view class="bg-line"></view> -->
  34. <view class="header" wx:if="{{detail.groupWay == 1}}">
  35. <view class="title">
  36. <text class="label">拼团方式:<text class="text">拼团</text></text>
  37. <text class="label">拼团人数:<text class="text">{{groupList.length}}/{{detail.groupNumberPeople}}</text></text>
  38. </view>
  39. <block>
  40. <view class="invite-person">
  41. <text wx:if="{{detail.meetType == 0 && detail.process == 0}}">再邀<text class="person-num"> {{detail.groupNumberPeople - groupList.length}} </text>人,立即成团</text>
  42. <text wx:if="{{detail.process == -3}}">很遗憾,拼团失败</text>
  43. <text wx:if="{{ detail.process == -2}}">拼团已取消</text>
  44. </view>
  45. <view class="count-down" wx:if="{{detail.meetType == 0 && detail.process == 0}}">
  46. <text>距离拼团结束:</text>
  47. <view class="down-box">
  48. <text class="num">{{h}}</text><text class="colon">:</text>
  49. <text class="num">{{m}}</text><text class="colon">:</text>
  50. <text class="num">{{s}}</text>
  51. </view>
  52. </view>
  53. <block wx:if="{{detail.process == -3 || detail.process == -2}}">
  54. <view class="dashed"></view>
  55. <view class="result">
  56. <text class="result-status">未拼成</text>
  57. <text>款项将原路退还</text>
  58. </view>
  59. </block>
  60. </block>
  61. <view class="succeed" wx:if="{{detail.process > 0}}">恭喜您,拼团成功!</view>
  62. <view class="photo">
  63. <view class="img-box" wx:for="{{groupList}}" wx:key="{{item.memberId}}">
  64. <image class="img {{index == 0 ? 'first-img' : ''}}" src="{{item.headPortrait}}"></image>
  65. </view>
  66. <view class="empty-img" wx:if="{{groupList.length < detail.groupNumberPeople}}">?</view>
  67. </view>
  68. <view class="share-text" wx:if="{{detail.process == -3 || detail.process == -2 || detail.meetType == 0}}">分享到3个以上群,成功率高达90%</view>
  69. </view>
  70. <view class="gary"></view>
  71. <view class="detail">
  72. <view class="title" wx:if="{{detail.groupWay == 0}}">
  73. <text class="label">拼团方式:<text class="text">1v1</text></text>
  74. </view>
  75. <view class="title">请教流程</view>
  76. <view class="flow">
  77. <view class="flow-introduce">
  78. <image class="flow-img" src="{{appAssetsUrl2}}wjxy/progress1.png"></image>
  79. <text>预约</text>
  80. </view>
  81. <image class="right-arrow" src="{{appAssetsUrl2}}wjxy/progressright.png"></image>
  82. <view class="flow-introduce">
  83. <image class="flow-img" src="{{appAssetsUrl2}}wjxy/progress2.png"></image>
  84. <text>支付</text>
  85. </view>
  86. <image class="right-arrow" src="{{appAssetsUrl2}}wjxy/progressright.png"></image>
  87. <view class="flow-introduce">
  88. <image class="flow-img" src="{{appAssetsUrl2}}wjxy/progress3.png"></image>
  89. <text>行家接受</text>
  90. </view>
  91. <image class="right-arrow" src="{{appAssetsUrl2}}wjxy/progressright.png"></image>
  92. <view class="flow-introduce">
  93. <image class="flow-img" style="width:27rpx;height:30rpx;" src="{{appAssetsUrl2}}wjxy/progress4.png"></image>
  94. <text>请教</text>
  95. </view>
  96. <image class="right-arrow" src="{{appAssetsUrl2}}wjxy/progressright.png"></image>
  97. <view class="flow-introduce">
  98. <image class="flow-img" src="{{appAssetsUrl2}}wjxy/progress5.png"></image>
  99. <text>评价</text>
  100. </view>
  101. </view>
  102. <view class="title">请教流程</view>
  103. <view class="label tip">
  104. <text class="label-text">预约话题:</text>
  105. <text>#{{detail.topicName}}</text>
  106. </view>
  107. <view class="label">
  108. <text class="label-text">原价:</text>
  109. <text style="margin-top:0;" class="price">¥<text class="num">{{detail.meetPrice}}</text>元</text>
  110. </view>
  111. <view class="label" wx:if="{{detail.groupWay == 1}}">
  112. <text class="label-text">拼团价:</text>
  113. <text style="margin-top:0;" class="price">¥<text class="num">{{detail.payPrice}}</text>元</text>
  114. </view>
  115. <view class="label">
  116. <text class="label-text">实付:</text>
  117. <text style="margin-top:0;" class="price">¥<text class="num">{{detail.payPrice ? detail.payPrice : 0}}</text>元</text>
  118. </view>
  119. <view class="label" wx:if="{{detail.pointsDeduction}}">
  120. <text class="label-text">积分抵扣:</text>
  121. <text style="margin-top:0;" class="price">¥<text class="num">{{detail.pointsDeduction}}</text>元</text>
  122. </view>
  123. <view class="label">
  124. <text class="label-text">预约方式:</text>
  125. <text>{{detail.type == 0 ? '线下请教' : ''}}</text>
  126. </view>
  127. <view class="label">
  128. <text class="label-text">约见场地:</text>
  129. <text>{{detail.storeName}}</text>
  130. </view>
  131. <view class="label">
  132. <text class="label-text">预约时间:</text>
  133. <text>{{detail.meetTime}}</text>
  134. </view>
  135. <view class="label">
  136. <text class="label-text">预约内容:</text>
  137. <text>{{detail.content}}</text>
  138. </view>
  139. <view class="label">
  140. <text class="label-text">订单编号:</text>
  141. <text>{{detail.orderNumber}}</text>
  142. </view>
  143. <view class="label" wx:if="{{detail.process > 0}}">
  144. <text class="label-text">订单时间:</text>
  145. <text>{{detail.payTime}}</text>
  146. </view>
  147. <view class="label" wx:if="{{detail.process > 0}}">
  148. <text class="label-text">支付时间:</text>
  149. <text>{{detail.payTime}}</text>
  150. </view>
  151. <!-- <view class="label">
  152. <text class="label-text">订单状态:</text>
  153. <text>待处理</text>
  154. </view> -->
  155. <block>
  156. <view class="label" wx:if="{{detail.process > 1}}">
  157. <text class="label-text">确认时间:</text>
  158. <text>{{detail.verifyTime}}</text>
  159. </view>
  160. <view class="label" wx:if="{{detail.process > 2}}">
  161. <text class="label-text">完成时间:</text>
  162. <text>{{detail.completeTime}}</text>
  163. </view>
  164. </block>
  165. <!-- <block>
  166. <view class="label">
  167. <text class="label-text">拒绝原因</text>
  168. <text>不好意思,该时间段不方便。</text>
  169. </view>
  170. <view class="label">
  171. <text class="label-text">拒绝时间:</text>
  172. <text>2021-11-11 12:00</text>
  173. </view>
  174. </block> -->
  175. </view>
  176. <view class="gary"></view>
  177. <view class="share" wx:if="{{detail.process >= 3 && detail.groupWay == 1}}">
  178. <view class="title">心得分享</view>
  179. <view wx:for="{{list}}" wx:key="{{item.id}}">
  180. <view class="share-people">
  181. <image class="avater" src="{{item.memberphoto}}"></image>
  182. <text>{{item.vipName}}</text>
  183. <text class="time">{{item.createTime}}</text>
  184. </view>
  185. <view class="share-text">
  186. {{item.content}}
  187. </view>
  188. </view>
  189. </view>
  190. <view class="footer">
  191. <block>
  192. <view class="text" wx:if="{{detail.process >= 3}}">
  193. 服务已完成,感谢您的支持!
  194. </view>
  195. <view class="text refuse-text" wx:if="{{detail.process == -1}}">
  196. 抱歉,行家拒绝了服务
  197. </view>
  198. <block wx:if="{{detail.groupWay == 1}}">
  199. <view class="text refuse-text" wx:if="{{detail.process == -2}}">
  200. 拼团已取消
  201. </view>
  202. <view class="text refuse-text" wx:if="{{detail.process == -3}}">
  203. 拼团超时,已关闭
  204. </view>
  205. </block>
  206. </block>
  207. <!-- @ApiModelProperty(value = "请教流程 -1 拒绝请教 0预约 1支付成功 2行家接受 3完成请教 4评价")
  208. private Integer process;
  209. @ApiModelProperty(value = "请教类型 0 拼团中 1预约中 2处理中 3已完成")
  210. private Integer meetType; -->
  211. <view class="btn-box">
  212. <button class="btn orange-btn" bindtap="addsub">立即参团</button>
  213. </view>
  214. </view>
  215. <view class="contactBox" wx:if="{{isShowContact}}">
  216. <view class="box">
  217. <view class="contactItem" data-phone="{{expertDetail.phone}}" bindtap="contactPhone">
  218. <text>{{expertDetail.name}}</text>
  219. <text>{{expertDetail.phone}}</text>
  220. </view>
  221. <view class="gary"></view>
  222. <view class="cancel" bindtap="cancelContact">取消</view>
  223. </view>
  224. </view>
  225. <popup2 id='popup2' title='取消预约' content="{{['']}}" btn_no='我再想想' btn_ok='确认取消' bind:error="_error" bind:success="_success" data-name="popup">
  226. <view slot="content" style="width: 85%;padding: 44rpx 0 38rpx 0;">
  227. 取消后预约订单关闭,您将不能 和对方继续沟通,确认取消吗?
  228. </view>
  229. </popup2>
  230. </view>