consult.wxml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <view>
  2. <view class="box1" wx:if="{{topicList.length}}">
  3. <view class="hot-title">
  4. <view class="line"></view>
  5. <view class="title">擅长话题</view>
  6. </view>
  7. <view class="radio-box1 radio-self1">
  8. <radio-group bindchange="msgChange">
  9. <label class="radio" wx:for="{{topicList}}" wx:key="{{item.id}}">
  10. <radio value="{{item.id}}" checked="{{item.checked}}" /><text>{{item.topicName}}</text>
  11. </label>
  12. </radio-group>
  13. </view>
  14. <view class="content" wx:if="{{content}}">
  15. {{content}}
  16. </view>
  17. <view class="price" wx:if="{{price}}">
  18. <text class="p1">¥</text>
  19. <text class="p2">{{price}}</text>
  20. <text class="p1">{{'元'}}</text>
  21. </view>
  22. </view>
  23. <!-- wx:if="{{isGroup}}" -->
  24. <view class="box2" wx:if="{{groupList3.length}}">
  25. <view class="top-box">
  26. <view class="name">参与拼团</view>
  27. <view class="more-word" bindtap="more">更多拼团<i class="iconfont1 icon-jinrujiantouxiao icon-right"></i></view>
  28. </view>
  29. <!-- wx:if="{{groupList3.length}}" -->
  30. <block>
  31. <view class="pin-item" wx:for="{{groupList3}}">
  32. <view class="img-name">
  33. <image mode="aspectFill" src="{{item.memberPhoto}}" class="img" />
  34. <view class="name">{{item.vipName}}</view>
  35. </view>
  36. <view class="right-box">
  37. <view class="nums">({{item.thenGroupNumberPeople}}/{{item.groupNumberPeople}})还差<text style="color:#FF0000">{{ item.groupNumberPeople - item.thenGroupNumberPeople }}</text>人拼成</view>
  38. <!-- <image mode="aspectFill" expertId src="{{appAssetsUrl2}}wjxy/tuanbtn.png" memberId data-meetId="{{ item.meetId }}" bindtap="joinGroup" class="tuan-btn" /> -->
  39. <view class="tuan-btn" data-expertId="{{ item.expertId }}" data-meetId="{{ item.meetId }}" data-memberId="{{ item.memberId }}" bindtap="joinGroup">立即参团</view>
  40. </view>
  41. </view>
  42. </block>
  43. <!-- <view wx:else class="empty">暂无数据</view> -->
  44. </view>
  45. <view class="box3">
  46. <view class="name">拼团方式</view>
  47. <view class="radio-box2 radio-self1">
  48. <radio-group bindchange="pinChange">
  49. <label class="radio">
  50. <radio value="0" checked="true" /><text>1V1</text>
  51. </label>
  52. <label class="radio">
  53. <radio value="1" /><text>发起拼团</text>
  54. </label>
  55. </radio-group>
  56. </view>
  57. <view class="pin-nums" wx:if="{{!onePer}}">
  58. <view class="name">拼团人数</view>
  59. <view class="radio-box3 radio-self1">
  60. <radio-group bindchange="perChange">
  61. <label class="radio">
  62. <radio value="2" /><text>2</text>
  63. </label>
  64. <label class="radio">
  65. <radio value="3" /><text>3</text>
  66. </label>
  67. <label class="radio">
  68. <radio value="4" /><text>4</text>
  69. </label>
  70. <label class="radio">
  71. <radio value="5" /><text>5</text>
  72. </label>
  73. </radio-group>
  74. </view>
  75. </view>
  76. </view>
  77. <view class="line"></view>
  78. <!-- 预约申请 -->
  79. <view class="box4">
  80. <view class="hot-title">
  81. <view class="line"></view>
  82. <view class="title">预约申请</view>
  83. </view>
  84. <view class="title1">预约方式</view>
  85. <view class="item radio-self1">
  86. <label class="radio4">
  87. <!-- color="#FFDC2F" -->
  88. <radio value="5" checked="true" /><text>线下请教</text>
  89. </label>
  90. </view>
  91. <view class="title1">约见场地</view>
  92. <view class="item borbot">
  93. <!-- <picker bindchange="addressChange" value="{{addressIndex}}" range="{{addressArray}}">
  94. </picker> -->
  95. <view class="address-pick" bindtap="showAddress">
  96. <view class="picker">
  97. {{addressArray[addressIndex].name}}
  98. </view>
  99. <i class="iconfont1 icon-jinrujiantouxiao icon-right"></i>
  100. </view>
  101. </view>
  102. <view class="title1">预约时间</view>
  103. <view class="item borbot">
  104. <view class="item-date-time">
  105. <i class="iconfont1 icon-date date-icon"></i>
  106. <picker mode="date" value="{{date}}" start="{{startDate}}" bindchange="bindDateChange">
  107. <view class="picker-date">
  108. {{date}}
  109. </view>
  110. </picker>
  111. <!-- <picker mode="time" value="{{time}}" bindchange="timeChange">
  112. <view class="time-pick">
  113. {{time}}
  114. </view>
  115. </picker> -->
  116. <picker mode="multiSelector" bindchange="bindMultiPickerChange" range="{{timelist}}">
  117. <view class="time-pick">
  118. {{timelist[0][hourIndex]}}:{{timelist[1][minuteIndex]}}
  119. </view>
  120. </picker>
  121. </view>
  122. <view class="see-free" bindtap="showTime" wx:if="{{timeList.length > 0}}">查看行家空闲时间段</view>
  123. </view>
  124. <view class="title1">预约内容</view>
  125. <view class="item">
  126. <textarea class="textarea" bindinput="putblur" value="{{contents}}" placeholder="请输入预约具体内容" placeholder-style="color:#BFBFBF;font-size: 26rpx;" />
  127. </view>
  128. <view class="title1">请教流程</view>
  129. <view class="progress">
  130. <view class="progress-img">
  131. <image mode="aspectFill" src="{{appAssetsUrl2}}wjxy/progress1.png" class="img1" />
  132. <image mode="aspectFill" src="{{appAssetsUrl2}}wjxy/progressright.png" class="right1" />
  133. <image mode="aspectFill" src="{{appAssetsUrl2}}wjxy/progress2.png" class="img2" />
  134. <image mode="aspectFill" src="{{appAssetsUrl2}}wjxy/progressright.png" class="right2" />
  135. <image mode="aspectFill" src="{{appAssetsUrl2}}wjxy/progress3.png" class="img3" />
  136. <image mode="aspectFill" src="{{appAssetsUrl2}}wjxy/progressright.png" class="right3" />
  137. <image mode="aspectFill" src="{{appAssetsUrl2}}wjxy/progress4.png" class="img4" />
  138. <image mode="aspectFill" src="{{appAssetsUrl2}}wjxy/progressright.png" class="right4" />
  139. <image mode="aspectFill" src="{{appAssetsUrl2}}wjxy/progress5.png" class="img5" />
  140. </view>
  141. <view class="progress-word">
  142. <view style="">预约</view>
  143. <view style="margin-left: 95rpx;">支付</view>
  144. <view style="margin-left: 94rpx;">行家接收</view>
  145. <view style="margin-left: 95rpx;">请教</view>
  146. <view style="margin-left: 94rpx;">评价</view>
  147. </view>
  148. </view>
  149. <view class="tip">注意:行家6天未确认系统将自动取消订单</view>
  150. </view>
  151. <view style="bottom: {{bottomLeft}}px;" class="btn-sub" bindtap="submit" wx:if="{{payPrice}}">发起预约 ({{payPrice}})元</view>
  152. <view style="bottom: {{bottomLeft}}px;" class="btn-sub" bindtap="submit" wx:else>请先选择拼团方式</view>
  153. <!-- 可约时间段 -->
  154. <popup2 id='popup' title='选择时间段' self="{{true}}" truecontent="{{['']}}" btn_no='' btn_ok='' bind:error="_error" bind:success="_success" data-name="popup">
  155. <view slot="content" wx:if="{{timeList}}" style="width: 85%;padding: 40rpx 30rpx;">
  156. <view class="time-item" wx:for="{{timeList}}">
  157. <view class="week-word">{{item.week}}</view>
  158. <view class="time-box" wx:if="{{item.checked}}">
  159. <view class="start-box">
  160. <i class="iconfont1 icon-31shijian icon-time"></i>
  161. <text>{{item.startTime}}</text>
  162. </view>
  163. <view class="zhi">至</view>
  164. <view class="start-box">
  165. <i class="iconfont1 icon-31shijian icon-time"></i>
  166. <text>{{item.endTime}}</text>
  167. </view>
  168. </view>
  169. <view wx:else class="time-box">无空闲</view>
  170. </view>
  171. </view>
  172. <view slot="btn" class="selt-btn">
  173. <view bindtap="know" class="i-know">确定</view>
  174. </view>
  175. </popup2>
  176. <!-- 更多拼团 -->
  177. <popup2 id='popup1' title='正在拼团' self="{{true}}" truecontent="{{['']}}" btn_no='' btn_ok='' bind:error="_error" bind:success="_success" data-name="popup1">
  178. <view slot="content" style="width: 85%;padding: 40rpx 30rpx;">
  179. <view wx:for="{{groupList}}">
  180. <view class="ping-item" wx:if="{{item.expertId}}">
  181. <view class="img-info">
  182. <image mode="aspectFill" src="{{item.memberPhoto}}" class="img-head" />
  183. <view class="info-box">
  184. <view class="name">{{item.headOfTheGroup}}</view>
  185. <view class="bot-box">
  186. 还差<text style="color:#FF0000;">{{ item.groupNumberPeople - item.thenGroupNumberPeople }}</text>人拼成 <text style="margin-left:28rpx;">剩余<text style="color:#FF0000;">{{ item.difftime }}</text></text>
  187. </view>
  188. </view>
  189. </view>
  190. <!-- <image wx:if="{{!item.IsFinish}}" data-meetId="{{ item.meetId }}" bindtap="joinGroup" mode="aspectFill" src="{{appAssetsUrl2}}wjxy/tuanbtn.png" class="tuan-btn" /> item.TimeText-->
  191. <view wx:if="{{item.difftime != '已结束!'}}" data-expertId="{{ item.expertId }}" class="tuan-btn" data-meetId="{{ item.meetId }}" data-memberId="{{ item.memberId }}" bindtap="joinGroup">立即参团</view>
  192. <view wx:else class="end-btn">立即参团</view>
  193. </view>
  194. </view>
  195. </view>
  196. <!-- <view slot="btn" class="selt-btn">
  197. <view bindtap="know" class="i-know">确定</view>
  198. </view> -->
  199. </popup2>
  200. <!-- 约见场地底部弹框 -->
  201. <view class="address-popup" style="bottom: {{bottomLeft}}px;" wx:if="{{addressPopup}}">
  202. <view class="title-box">
  203. <view class="title">选择场地</view>
  204. <view class="cancel-word" bindtap="hiddenAddress">取消</view>
  205. </view>
  206. <view class="line-popup"></view>
  207. <!-- :indicator-style="indicatorStyle" -->
  208. <picker-view value="{{addressIndex}}" immediate-change="{{true}}" bindchange="bindChange" bindpickstart="pickstart" bindpickend="pickend" indicator-class="type-item" class="picker-view">
  209. <picker-view-column>
  210. <view class="pick-item" wx:for="{{addressArray}}">
  211. <view class="item {{ addressIndex == index ? 'active-type' : ''}}">{{item.name}}</view>
  212. <view class="detail-word {{ addressIndex == index ? 'active-detail' : ''}}" data-id="{{item.id}}" bindtap="toStoreDetail">查看场地详情</view>
  213. </view>
  214. </picker-view-column>
  215. </picker-view>
  216. <view class="pick-btn" bindtap="confirmAddress">确定</view>
  217. </view>
  218. <!-- 阴影 -->
  219. <view class="yin" wx:if="{{addressPopup}}"></view>
  220. <view style="height: 140rpx;width: 100%;"></view>
  221. <view style="height: {{bottomLeft}}px;width: 100%;"></view>
  222. <view style="height: {{bottomLeft}}px;width: 100%;position: fixed;bottom: 0;background: white;z-index: 20;"></view>
  223. </view>