technicianDetails.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614
  1. <!-- 技师详情 -->
  2. <template>
  3. <view class="body" :style="'padding-top:'+bottomHeight">
  4. <!-- 头部 -->
  5. <view style="margin-top: 20rpx;padding: 10rpx;">
  6. <!-- 导航标题 -->
  7. <view class="ss-flex ss-w-100">
  8. <view class="ss-flex">
  9. <view style="width:40rpx;height:40rpx;">
  10. <image referrerpolicy="no-referrer"
  11. src="/static/lanhu_shouye/6461e1be91dd49c48afbbacf664a38ec_mergeImage.png"
  12. class="icon-image"></image>
  13. </view>
  14. <view style="font-size:26rpx;color:#fff;margin-left:15rpx;">
  15. 技师详情
  16. </view>
  17. </view>
  18. <view class="ss-flex-1"></view>
  19. <view style="width:40rpx;height:40rpx;">
  20. <image referrerpolicy="no-referrer"
  21. src="/static/lanhu_shouye/61f5a7931f9d41caafd7d60ec1efadb4_mergeImage.png"
  22. class="icon-image"></image>
  23. </view>
  24. <view style="width:40rpx;height:40rpx;margin-left:15rpx;margin-right:15rpx;">
  25. <image referrerpolicy="no-referrer"
  26. src="/static/lanhu_shouye/psza2ppvfwx4d6fnhi4tcrcfmrgvqf7x4jb799f8f8-619e-4a58-9606-3e6cd5bf62c6.png"
  27. class="icon-image"></image>
  28. </view>
  29. </view>
  30. </view>
  31. <!-- 展图 -->
  32. <view class="preview-image">
  33. <view style="width: 100%;height: 450rpx;">
  34. <image class="icon-image" referrerpolicy="no-referrer"
  35. src="/static/lanhu_shouye/pszi35kdgsf3i6jobpzdylr9ge44ptvsr8600fdbdf-7ea4-42ee-9cba-c4712696f803.png" />
  36. </view>
  37. <!-- 左上角查看形象照 -->
  38. <view class="left-just-box ss-flex-2 ss-col-center">
  39. <view style="width:25rpx;height:25rpx;" @click="previewImageInfo">
  40. <image referrerpolicy="no-referrer"
  41. src="/static/lanhu_shouye/psza2ppvfwx4d6fnhi4tcrcfmrgvqf7x4jb799f8f8-619e-4a58-9606-3e6cd5bf62c6.png"
  42. class="icon-image"></image>
  43. </view>
  44. <view style="font-size: 20rpx;color:#777881;margin-left:5rpx;margin-top: 15rpx;">点击可查看形象照</view>
  45. </view>
  46. <!-- 可预约时间 -->
  47. <!-- 底部标签 -->
  48. <view class="bottom-flag-box ss-flex-2 ss-row-around">
  49. <view class="ss-flex-2 ss-col-center" v-for="item in 4" :key="item">
  50. <text class="textIcon icon-shoucang1" style="font-size: 28rpx;color: #fff;"></text>
  51. <view style="margin-left: 5rpx;font-size: 20rpx;color: #fff;">实名认证</view>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="title-box">她的推荐</view>
  56. <view class="recommend-list">
  57. <XD-swiper :current="1" :interval="5000" :duration="1000" :multipleItems="5" :height="'130rpx'" :imageHeight="'130rpx'" :swiperList="swiperListOne">
  58. </XD-swiper>
  59. </view>
  60. <view style="width:100%;height:5rpx;">
  61. </view>
  62. <!-- 添加滑动 -->
  63. <view class="list-wrap">
  64. <scroll-view scroll-y="true" class="list">
  65. <!-- 详情信息 -->
  66. <view class="technicianDetails-box">
  67. <view class="ss-flex-2">
  68. <view class="technician-name">王&nbsp;琳</view>
  69. <view class="ss-flex-1 flags-box">
  70. <view class="flag-box ss-flex-2 ss-col-center">
  71. <text class="textIcon icon-dianpu" style="font-size: 22rpx;color: #fff;"></text>
  72. <view style="margin-left: 5rpx;">秋水伊人</view>
  73. </view>
  74. <view class="flag-box" v-for="i in 5" :key="i*5">
  75. 新人
  76. </view>
  77. </view>
  78. <!-- 收藏 -->
  79. <view class="ss-flex-2 ss-col-center">
  80. <text class="textIcon icon-shoucang1" style="font-size: 34rpx;color: #777;"></text>
  81. <view style="margin-left: 5rpx;font-size: 24rpx;">收藏</view>
  82. </view>
  83. </view>
  84. <!-- 技师信息 -->
  85. <uni-tooltip style="margin-top: 5rpx;" content="哈哈哈哈哈哈哈,哈哈哈哈哈哈哈,哈哈哈哈哈哈哈,哈哈哈哈哈哈哈,哈哈哈哈哈哈哈,哈哈哈哈哈哈哈,哈哈哈哈哈哈哈" placement="bottom">
  86. <view class="text-info-box">
  87. 正规绿色服务。从业六年有余,精通推拿spa,希望给你带来舒适轻松的体验。请放心下单。
  88. </view>
  89. </uni-tooltip>
  90. <!-- 评价 -->
  91. <view class="ss-flex-2" style="margin-top: 20rpx;font-size: 26rpx;">
  92. <view class="ss-flex-2 ss-col-center">
  93. <text class="textIcon icon-tuijian-xuanzhong" style="color: #D51517;"></text>
  94. <view style="margin-left: 5rpx;font-size: 18rpx;color: #6C7177;"><text style="color:#1B94D3;">80%</text>认为形象优秀</view>
  95. </view>
  96. <view class="ss-flex-2 ss-col-center" style="margin-left: 30rpx;">
  97. <text class="textIcon icon-tuijian-xuanzhong" style="color: #D51517;"></text>
  98. <view style="margin-left: 5rpx;font-size: 18rpx;color: #6C7177;"><text style="color:#1B94D3;">80%</text>认为态度很好</view>
  99. </view>
  100. <view class="ss-flex-2 ss-col-center" style="margin-left: 30rpx;">
  101. <text class="textIcon icon-tuijian-xuanzhong" style="color: #D51517;"></text>
  102. <view style="margin-left: 5rpx;font-size: 18rpx;color: #6C7177;"><text style="color:#1B94D3;">80%</text>认为手法专业</view>
  103. </view>
  104. </view>
  105. <!-- 综合信息 -->
  106. <view class="ss-flex-2" style="margin-top: 20rpx;font-size: 26rpx;flex-wrap:wrap;padding:5rpx;">
  107. <view class="ss-flex-2 ss-col-center">
  108. <text class="textIcon icon-shoucang"></text>
  109. <view style="margin-left: 5rpx;font-size: 20rpx;color:#1B94D3;">4.8</view>
  110. </view>
  111. <view class="ss-flex-2 ss-col-center" style="margin-left: 20rpx;">
  112. <text class="textIcon icon-fill_xiaohuomiao"></text>
  113. <view style="margin-left: 5rpx;font-size: 20rpx;">已接<text style="color:#1B94D3;">99+</text>单</view>
  114. </view>
  115. <view class="ss-flex-2 ss-col-center" style="margin-left: 20rpx;">
  116. <text class="textIcon icon-ditu"></text>
  117. <view style="margin-left: 5rpx;font-size: 22rpx;color:#1B94D3;">1.68km</view>
  118. </view>
  119. <view style="font-size:18rpx;margin-left:10rpx;margin-top:10rpx;color: #4E555C;">芝罘区哈</view>
  120. <view class="ss-flex-1"></view>
  121. <view class="ss-flex-2 ss-col-center">
  122. <text class="textIcon icon-renzheng" style="font-size: 20rpx;"></text>
  123. <view style="margin-left: 5rpx;font-size: 18rpx;color:#4E555C;">点击查看资格认证</view>
  124. </view>
  125. </view>
  126. </view>
  127. <!-- 技师推荐的优秀技师 -->
  128. <!-- <view class="title-box">她的推荐</view>
  129. <view class="recommend-list">
  130. <XD-swiper :current="1" :interval="5000" :duration="1000" :multipleItems="5" :height="'130rpx'" :imageHeight="'130rpx'" :swiperList="swiperListOne">
  131. </XD-swiper>
  132. </view> -->
  133. <!-- 中部 -->
  134. <view class="switch-info ss-flex-2">
  135. <view class="switch-item-box" :style="switchIndex==1?'color:#3C4652;font-size:27rpx;font-weight:650;':'padding-top:5rpx;'" @click="onSwitch(1)">服务项目</view>
  136. <view class="switch-item-box" :style="switchIndex==2?'color:#3C4652;font-size:27rpx;font-weight:650;':'padding-top:5rpx;'" @click="onSwitch(2)">客户评价(5555)</view>
  137. <view class="ss-flex-1">
  138. </view>
  139. <view v-if="switchIndex==2" style="font-size: 17rpx;margin-right: 10rpx;color: #535E67;margin-top: 12rpx;">
  140. 查看全部15条评价
  141. </view>
  142. </view>
  143. <!-- 服务项目列表 -->
  144. <view class="list-wrap2" v-show="switchIndex==1">
  145. <!-- <scroll-view scroll-y="true" class="list"> -->
  146. <view class="list-scroll-view" style="padding:10rpx;margin-top: 10rpx;border-radius: 5rpx;" v-for="item in listData" :key="item.id">
  147. <!-- 左右布局 -->
  148. <view style="width:168rpx;height:168rpx;" class="ss-flex">
  149. <image class="icon-image" referrerpolicy="no-referrer"
  150. src="/static/lanhu_shouye/pskrims113novhztuh3djro4dewm6siic9cbfccd-f457-4e94-a2a5-bf7808d1dd3f.png" />
  151. </view>
  152. <view class="ss-flex-1" style="padding-left:10rpx;">
  153. <!-- 服务大项 -->
  154. <view class="ss-flex-2 ss-col-center">
  155. <view class="major-items">精油按摩</view>
  156. <view class="ss-flex-1"></view>
  157. <view class="ss-flex-2 ss-col-center">
  158. <text class="textIcon icon-renzheng" style="font-size: 24rpx;"></text>
  159. <view style="margin-left: 5rpx;font-size: 16rpx;color:#4E555C;">80分钟</view>
  160. </view>
  161. <view style="font-size: 16rpx;color: #BFBFBF;margin-left: 30rpx;">
  162. 已预约1167+
  163. </view>
  164. </view>
  165. <!-- 服务小项 -->
  166. <view class="ss-flex-2" style="margin-top: 5rpx;">
  167. <view class="small-items">精油按摩</view>
  168. <view class="vertical-line"></view>
  169. <view class="small-items">舒缓疲劳</view>
  170. </view>
  171. <!-- 预留位置 -->
  172. <view class="ss-flex-1" style="min-height:60rpx;">
  173. </view>
  174. <view class="ss-flex-2 ss-col-center">
  175. <view class="ss-flex-2 ss-col-center">
  176. <text class="textIcon icon-renzheng" style="font-size: 32rpx;color: red;"></text>
  177. <view style="margin-left: 3rpx;font-size: 25rpx;color:red;">999.98</view>
  178. </view>
  179. <view class="horizontal-line">会员价:999.89</view>
  180. <view class="ss-flex-1"></view>
  181. <!-- 加减 -->
  182. <view>
  183. <su-number-box :min="0" :max="10" :step="1" v-model="item.number" @change="onNumberChange($event, item)" />
  184. </view>
  185. </view>
  186. </view>
  187. </view>
  188. <!-- </scroll-view> -->
  189. </view>
  190. <!-- 技师评价列表 -->
  191. <view class="list-wrap2" v-show="switchIndex==2" style="background-color: #fff;border-radius: 10rpx;">
  192. <!-- <scroll-view scroll-y="true" class="list" style="background-color: #fff;border-radius: 10rpx;"> -->
  193. <view class="list-scroll-view" style="padding:10rpx;margin-top: 10rpx;flex-wrap: wrap;" v-for="i in 5">
  194. <view class="ss-flex-2">
  195. <view style="width:50rpx;height:50rpx;">
  196. <image class="icon-image" referrerpolicy="no-referrer"
  197. src="/static/lanhu_shouye/0ec6b37287b9470080da66761c7acb4a_mergeImage.png" />
  198. </view>
  199. <view style="margin-left: 20rpx;">
  200. <view class="ss-flex-2">
  201. <view style="font-size: 25rpx;font-weight: 650;">
  202. 用户898989
  203. </view>
  204. <view class="ss-flex-2 ss-col-center" style="margin-left: 20rpx;">
  205. <text class="textIcon icon-shoucang" style="font-size: 28rpx;"></text>
  206. <view style="margin-left: 5rpx;font-size: 23rpx;color:#009FE8;font-weight: 700;">5.0</view>
  207. </view>
  208. <view class="ss-flex-1"></view>
  209. </view>
  210. <view style="font-size: 21rpx;color: #A0A1A1;">
  211. 11-18 凌晨 01:35 泰式SPA
  212. </view>
  213. </view>
  214. </view>
  215. <!-- 评价语 -->
  216. <view class="ss-flex-2" style="margin-top: 20rpx;font-size: 26rpx;margin-left: 70rpx;">
  217. <view class="ss-flex-2 ss-col-center radius-box">
  218. <text class="textIcon icon-tuijian-xuanzhong" style="color: #D51517;"></text>
  219. <view style="margin-left: 5rpx;font-size: 18rpx;color: #777;">认为形象优秀</view>
  220. </view>
  221. <view class="ss-flex-2 ss-col-center radius-box" style="margin-left: 30rpx;">
  222. <text class="textIcon icon-tuijian-xuanzhong" style="color: #D51517;"></text>
  223. <view style="margin-left: 5rpx;font-size: 18rpx;color: #777;">认为态度很好</view>
  224. </view>
  225. <view class="ss-flex-2 ss-col-center radius-box" style="margin-left: 30rpx;">
  226. <text class="textIcon icon-tuijian-xuanzhong" style="color: #D51517;"></text>
  227. <view style="margin-left: 5rpx;font-size: 18rpx;color: #777;">认为手法专业</view>
  228. </view>
  229. </view>
  230. <!-- 客户打分 -->
  231. <view style="font-size: 24rpx;color:#605A58;margin-top: 20rpx;margin-left: 70rpx;">
  232. 客户打了【<text>5.0</text>分】,但是没留下文字评价
  233. </view>
  234. <!-- 评价语 -->
  235. <view class="ss-flex-2" style="flex-wrap: wrap;margin-left: 70rpx;margin-top: 10rpx;">
  236. <text class="text-info-box-two">
  237. 本人比照片好看
  238. </text>
  239. <view class="text-info-box-two">
  240. 本人比照片好看234
  241. </view>
  242. <view class="text-info-box-two">
  243. 本人比照片好看3424
  244. </view>
  245. <view class="text-info-box-two">
  246. 本人比照片好看4243
  247. </view>
  248. <view class="text-info-box-two">
  249. 本人比照
  250. </view>
  251. </view>
  252. <!-- 横线 -->
  253. <view style="height: 2rpx;background-color: #939396;margin-top: 20rpx;width: 100%;">
  254. </view>
  255. </view>
  256. <!-- </scroll-view> -->
  257. </view>
  258. </scroll-view>
  259. </view>
  260. </view>
  261. </template>
  262. <script setup>
  263. import {
  264. computed,
  265. ref
  266. } from 'vue';
  267. import {
  268. onLoad,
  269. onPageScroll,
  270. onPullDownRefresh
  271. } from '@dcloudio/uni-app';
  272. import sheep from '@/sheep';
  273. import $share from '@/sheep/platform/share';
  274. const swiperListOne=ref([
  275. {
  276. imageUrl:'/static/lanhu_shouye/pserz4p1s8x8wkob1c0bat390gscqet6q2w9869d84a-bcd7-4f8a-a669-dda68333c1f2.png',
  277. id:1,
  278. name:'王琳',
  279. flag:true
  280. },
  281. {
  282. imageUrl:'/static/lanhu_shouye/pserz4p1s8x8wkob1c0bat390gscqet6q2w9869d84a-bcd7-4f8a-a669-dda68333c1f2.png',
  283. id:2,
  284. name:'王琳',
  285. flag:false
  286. },
  287. {
  288. imageUrl:'/static/lanhu_shouye/pserz4p1s8x8wkob1c0bat390gscqet6q2w9869d84a-bcd7-4f8a-a669-dda68333c1f2.png',
  289. id:3,
  290. name:'王琳',
  291. flag:true
  292. },
  293. {
  294. imageUrl:'/static/lanhu_shouye/pserz4p1s8x8wkob1c0bat390gscqet6q2w9869d84a-bcd7-4f8a-a669-dda68333c1f2.png',
  295. id:4,
  296. name:'王琳',
  297. flag:true
  298. },
  299. {
  300. imageUrl:'/static/lanhu_shouye/pserz4p1s8x8wkob1c0bat390gscqet6q2w9869d84a-bcd7-4f8a-a669-dda68333c1f2.png',
  301. id:5,
  302. name:'王琳',
  303. flag:true
  304. },
  305. {
  306. imageUrl:'/static/lanhu_shouye/pserz4p1s8x8wkob1c0bat390gscqet6q2w9869d84a-bcd7-4f8a-a669-dda68333c1f2.png',
  307. id:6,
  308. name:'王琳',
  309. flag:true
  310. },
  311. {
  312. imageUrl:'/static/lanhu_shouye/pserz4p1s8x8wkob1c0bat390gscqet6q2w9869d84a-bcd7-4f8a-a669-dda68333c1f2.png',
  313. id:7,
  314. name:'王琳',
  315. flag:true
  316. }
  317. ])
  318. //服务项目和客户评价功能
  319. const switchIndex=ref(1)
  320. const onSwitch = async(num)=>{
  321. console.log(num,'iiiiiiiiiiiii')
  322. switchIndex.value=num
  323. }
  324. const listData=ref([
  325. {
  326. id:1,
  327. price:240,
  328. allManey:0,
  329. number:0
  330. },
  331. {
  332. id:2,
  333. price:220,
  334. allManey:0,
  335. number:0
  336. },
  337. {
  338. id:3,
  339. price:270,
  340. allManey:0,
  341. number:0
  342. },
  343. {
  344. id:4,
  345. price:499,
  346. allManey:0,
  347. number:0
  348. }
  349. ])
  350. const onNumberChange=async(e, listItem)=>{
  351. console.log(e,listItem,'fffffffff')
  352. }
  353. // 预览图片
  354. const urlw=ref([ // 需要预览的图片链接列表
  355. 'https://www.baidu.com/link?url=8cEPzke9onGTBA2ZWTUbkzKwPv5Y6C6HQpYtP9xWrhtFrdpR9ot3IaDtEdn_-loYphiC0rJlFMWKkbrd2zi2hWyH5Agrl2Jwanxs2yCXv-5w8GlYBkTR6IPU-rVjMHD_XNaSlh4S6rRmcjAnrdMMWZmKQg1cS3aJhQPtPQAjxOIDa0rkpssWq2N0L_2n434QnVo0zAL_q6tTzQDqirJE4D95_FdsEnDIefD6tEOnSChKcgcXMWKIjGjEBaWwECzahg2VYf_fmr2LF4438OzM3ZbsvDbTIyfDc0q3X7x-5qQmhNDoM_WzaZId2-R8eK-9UwUKExZypFZCp-JQ4LhIaMqVgFzyCkmF57SDRRApQoITrTwBFTWW-xace5U6Xp9Mz3j9OyrsvVl1nstSC43mfVtxOLXgmqvmjU3-88fchxkPhi0lBdqBxDVDP5eIiKqRETu8H1iPUhF_3N_f6gWfdC84E97G6NASLG7VDKaHKGpfXj_2716d3h3GUqoBv-qSgFvqqOfm8xf9HCqlKIKMCremQd68HUhj9D6Tg8oB_FPbyrkdqoTsnl4Y3uRBAS4TKDHCEW4Zlp3zTcZviGigjQBdC1M-qJibwVEIex-uSrcWmx5ZW-MQMElGny4GClsuLlwcQ3vHU3rlFUg4HL5-KUm5s7SKkU-tW-H7coehVvDESekeU_uSpLDAb8NVBIu0WRQf1c15tiwtkGBpejAgz-Eb4BGytJXbpRuAnM-Kbepz09X-rHkfknzWZKlSXMhLXQrLqzaaEjHI2LfyvIS1zRkjHvovv-EbN7k97WhN0Ta&wd=&eqid=b520cb760063b2d10000000266ce800c',
  356. 'https://www.baidu.com/link?url=MiESB-K4vnga6d6Ok1rP17gWCJJdM9Gx3hsmG74NeWnxE5guq02SorvPc741hEWLAES9Brl1sXDBJSWbmgqRDLC3VnR4TWiUDmtnALTuYHPFtm36GuqSKn1Oo9VDvT5lwPttN715KPW4I4wwPSQ2mC7E76kSQxQvefieRuYoGX0MAF9fQBkfsVn2518tRfkecEyUoTrUMF3_Gbl3fCd_IFjM1xLCB7Il6NNNmfHDUbpq_j7_Wlm8FIxbJ2c-6FDfDbxKfUB4bPhMWSykGguYdduWJRQPue4nKEBVDRkj3E3QkL8-iBOG3pr7MlI17pa45DNy2XjHRyVvf2mW26EpmE_My7uBJbHsbG5V2ume8BXexmt-7-ilrJRuBaiidCmT1aBvfj7Vw_-SwX4RA4cCAptMIAu6RofEPSbk6fAXQB4iQJwe6oLQ-YgznLMEKMD9amFO_c1q1t5pO80ooGmcuUj2h1scyHzyp5jHxpPU_WLySwYRhEOMycmjNLu8XeFETrwXP7qZgMHWB5jTHcwzDQnA4AgkUf3Zh7a9-nI_UBcVsp8QbRjj8uzX4-zAGsXdSIIFbWyymFY6f6nZjmxGkh19Q7B6YwtZRZy7nU1U9Wd_C2TsqLd_DrRsqJOVo55TbzzYDNa4s2c_GjucAQ57x8ALkr0IV9FcPJqlzNitOrENd_I8aNHwxjQOo-p_EFyrnkMcsyqGJePpZUnCiAt61D-7kgWZKW020k5OglEEXRO75RYoJ_eAqjjtakXTze9-KSuSLWjV5eIr8E1mqFSWYMqL7wSF5sKmKKDqsv4iURO&wd=&eqid=b520cb760063b2d10000000266ce800c'
  357. ])
  358. const previewImageInfo=async()=>{
  359. uni.previewImage({
  360. urls: urlw.value,
  361. longPressActions: {
  362. itemList: ['发送给朋友', '保存图片', '收藏'],
  363. success: function(data) {
  364. console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
  365. },
  366. fail: function(err) {
  367. console.log(err.errMsg);
  368. }
  369. }
  370. });
  371. // uni.chooseImage({
  372. // count: 6,
  373. // sizeType: ['original', 'compressed'],
  374. // sourceType: ['album'],
  375. // success: function(res) {
  376. // console.log(res,'iiiiiiiiiiiiiiiii')
  377. // // 预览图片
  378. // uni.previewImage({
  379. // urls: res.tempFilePaths,
  380. // longPressActions: {
  381. // itemList: ['发送给朋友', '保存图片', '收藏'],
  382. // success: function(data) {
  383. // console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
  384. // },
  385. // fail: function(err) {
  386. // console.log(err.errMsg);
  387. // }
  388. // }
  389. // });
  390. // }
  391. // });
  392. }
  393. //获取顶部安全距离
  394. const app = uni.getSystemInfoSync()
  395. const bottomHeightOne = (app.statusBarHeight) + 'rpx'
  396. const bottomHeight = ref(bottomHeightOne)
  397. </script>
  398. <style scoped lang="scss">
  399. .text-info-box-two{
  400. font-size: 22rpx;
  401. padding: 5rpx 15rpx;
  402. border-radius: 15rpx;
  403. background-color: #EFEFEF;
  404. color: #717477;
  405. margin-top: 10rpx;
  406. margin-left: 10rpx;
  407. }
  408. .radius-box{
  409. background-color: #EFEFEF;
  410. border-radius: 15rpx;
  411. padding: 5rpx 15rpx;
  412. }
  413. .horizontal-line{
  414. font-size: 16rpx;
  415. color: #999;
  416. text-decoration: line-through;
  417. margin-left:10rpx;
  418. margin-top:5rpx;
  419. }
  420. .vertical-line{
  421. width: 2rpx;
  422. background-color: #999;
  423. margin-left: 10rpx;
  424. margin-right: 10rpx;
  425. }
  426. .small-items{
  427. font-size: 24rpx;
  428. color: #858689;
  429. }
  430. .major-items{
  431. font-size: 28rpx;
  432. color: #3E4651;
  433. letter-spacing: 2rpx;
  434. }
  435. .switch-item-box{
  436. font-size: 24rpx;
  437. color: #7B7C7E;
  438. box-sizing: border-box;
  439. margin-left: 20rpx;
  440. }
  441. .switch-info{
  442. width: 100%;
  443. box-sizing: border-box;
  444. margin-top:20rpx
  445. }
  446. .title-box{
  447. margin-top: 10rpx;
  448. font-size: 28rpx;
  449. color: #212C3B;
  450. padding-left: 5rpx;
  451. width: 95%;
  452. margin-left: 2.5%;
  453. box-sizing: border-box;
  454. }
  455. .recommend-list{
  456. width: 95%;
  457. margin-left: 2.5%;
  458. white-space: nowrap;
  459. overflow-x: auto;
  460. background-color: #fff;
  461. padding: 10rpx 5rpx;
  462. box-sizing: border-box;
  463. border-radius: 5rpx;
  464. margin-top: 10rpx;
  465. }
  466. .text-info-box{
  467. width: 100%;
  468. font-size: 23rpx;
  469. color: #494F56;
  470. display: -webkit-box;
  471. -webkit-box-orient: vertical;
  472. -webkit-line-clamp: 2;
  473. overflow: hidden;
  474. text-overflow: ellipsis;
  475. min-height: 60rpx;
  476. }
  477. .flag-box{
  478. font-size: 16rpx !important;
  479. height: 22rpx;
  480. line-height: 22rpx;
  481. padding-left: 15rpx;
  482. padding-right: 15rpx;
  483. box-sizing: border-box;
  484. color: #fff;
  485. background-color: #E57F3A;
  486. border-radius: 10rpx;
  487. margin-right: 10rpx;
  488. margin-top: 5rpx;
  489. }
  490. .flags-box{
  491. display: flex;
  492. flex-wrap: wrap;
  493. margin-left: 10rpx;
  494. }
  495. .technician-name{
  496. font-size: 50rpx;
  497. color: #192332;
  498. font-weight: 650;
  499. }
  500. .technicianDetails-box{
  501. position:realtive;
  502. width: 100%;
  503. box-sizing: border-box;
  504. background-color: #fff;
  505. border-radius: 15rpx;
  506. margin-top: 20rpx;
  507. min-height: 300rpx;
  508. padding: 15rpx;
  509. }
  510. .bottom-flag-box{
  511. position: absolute;
  512. left: 0rpx;
  513. right:0rpx;
  514. bottom: 0rpx;
  515. width: 100%;
  516. height: 70rpx;
  517. background-color: #5EB9C8;
  518. border-bottom-left-radius: 15rpx;
  519. border-bottom-right-radius: 15rpx;
  520. }
  521. .left-just-box{
  522. position: absolute;
  523. left: 20rpx;
  524. top: 10rpx;
  525. width: 80%;
  526. height: 40rpx;
  527. }
  528. .preview-image{
  529. position: relative;
  530. width: 95%;
  531. margin-left: 2.5%;
  532. box-sizing: border-box;
  533. }
  534. .icon-image{
  535. width: 100%;
  536. height:100%;
  537. }
  538. // 上中下布局样式
  539. .textIcon{
  540. font-family:iconfont;
  541. color:#1B94D3;
  542. }
  543. .body {
  544. display: flex;
  545. flex-direction: column;
  546. height: calc(100vh - 3px);
  547. background: linear-gradient(to bottom, #08A3E9, #fff);
  548. box-sizing: border-box;
  549. letter-spacing: 2rpx;
  550. }
  551. .head {
  552. text-align: center;
  553. }
  554. // 中部滚动
  555. .list-wrap {
  556. flex-grow: 1;
  557. position: relative;
  558. margin-top: 5rpx;
  559. width: 95%;
  560. margin-left: 2.5%;
  561. box-sizing: border-box;
  562. }
  563. .list-wrap2 {
  564. flex-grow: 1;
  565. position: relative;
  566. margin-top: 5rpx;
  567. width: 100%;
  568. box-sizing: border-box;
  569. }
  570. .list {
  571. position: absolute;
  572. top: 0;
  573. left: 0;
  574. right: 0;
  575. bottom: 0;
  576. }
  577. .list-scroll-view {
  578. display: flex;
  579. background-color: #fff;
  580. }
  581. .course-card {
  582. width: 47vw;
  583. margin-top: 10px;
  584. margin-bottom: 10px;
  585. }
  586. // 底部
  587. .tools {
  588. display: flex;
  589. flex-direction: row;
  590. justify-content: space-between;
  591. }
  592. .tools-item {
  593. width: 45px;
  594. text-align: center;
  595. font-size: 14px;
  596. padding: 20px;
  597. }
  598. </style>