grabOrders.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. <!-- 抢单详情 -->
  2. <!-- 预约下单 -->
  3. <template>
  4. <view class="body" :style="'padding-top:'+bottomHeight">
  5. <view class="bg-box">
  6. <!-- 导航 -->
  7. <view class="ss-flex-2 ss-col-center ss-margin-width2" style="position: relative;">
  8. <view class="ss-flex-2 ss-col-center">
  9. <text class="textIcon icon-fanhui icon-navigation" @click="backPage"></text>
  10. <view style="margin-left: 15rpx;color:#fff;font-size:28rpx;">抢单详情</view>
  11. </view>
  12. <view class="ss-flex-1"></view>
  13. <text class="textIcon icon-kefu icon-navigation"></text>
  14. <text class="textIcon icon-tongzhiguanli icon-navigation" style="margin-left: 30rpx;"></text>
  15. </view>
  16. <!-- 选择地址框 -->
  17. <!-- <view class="public-box top-box-info ss-flex-2 ss-col-center" style="padding:20rpx 10rpx;">
  18. <text class="textIcon icon-ditu" style="font-size: 30rpx;color: #35AEC9;"></text>
  19. <view class="ss-flex-2" style="flex-wrap:wrap;margin-left:20rpx;">
  20. <view class="add-title">选择您的地址与联系方式</view>
  21. <view class="add-message">技师将到达指定地址服务,清晰地址有助于更快到达</view>
  22. </view>
  23. <view class="ss-flex=1"></view>
  24. <text class="textIcon icon-gengduo" style="font-size: 32rpx;color: #333;font-weight: 750;"></text>
  25. </view> -->
  26. <!-- 安心购 -->
  27. <view class="public-box top-box-info ss-flex-2 ss-col-center">
  28. <text class="textIcon icon-anquan" style="font-size: 28rpx;color: #36AFCA;"></text>
  29. <view style="font-size:24rpx;color:#4FBAD0;margin-left:5rpx;">安心购</view>
  30. <view class="vertical-line"></view>
  31. <view style="font-size:22rpx;color:#4FBAD0;margin-left:5rpx;">
  32. 未服务全额退.爽约包退.不满意重服务.全程保障
  33. </view>
  34. </view>
  35. </view>
  36. <!-- 中部 -->
  37. <view class="list-wrap" style="margin-top:-140rpx">
  38. <scroll-view scroll-y="true" class="list">
  39. <!-- 服务项目信息 -->
  40. <view class="service-box">
  41. <!-- 左右布局 -->
  42. <view class="ss-flex-2" v-for="i in 3" style="margin-bottom: 10rpx;">
  43. <view style="width:180rpx;">
  44. <image class="wh" referrerpolicy="no-referrer"
  45. src="/static/lanhu_shouye/pskrims113novhztuh3djro4dewm6siic9cbfccd-f457-4e94-a2a5-bf7808d1dd3f.png" />
  46. </view>
  47. <view class="ss-flex-1" style="margin-left: 10rpx;margin-top: 5rpx;">
  48. <!-- 服务大项 -->
  49. <view class="ss-flex-2 ss-col-center">
  50. <view>精油按摩</view>
  51. <view class="ss-flex-2 ss-col-center ss-row-center" style="margin-left: 10rpx;">
  52. <text class="textIcon icon-chenghao"
  53. style="font-size: 30rpx;color:#C3C4C4;padding-top: 10rpx;"></text>
  54. <view style="font-size: 28rpx;color:#C3C4C4;padding-top: 4rpx;">2</view>
  55. </view>
  56. <view class="ss-flex-1"></view>
  57. <view class="ss-flex-2 ss-col-center ss-row-center">
  58. <text class="textIcon icon-fenzhong" style="font-size: 22rpx;color:#3A4450;"></text>
  59. <view style="font-size: 20rpx;color:#3A4450;margin-left: 10rpx;padding-top: 5rpx;">
  60. 80分钟</view>
  61. </view>
  62. </view>
  63. <!-- 服务小项 -->
  64. <view class="ss-flex-2 event-wrap" style="margin-top: 5rpx;flex-wrap: wrap;">
  65. <view class="ss-flex-2" v-for="i in 4">
  66. <view class="event-box">舒缓疲劳{{i}}</view>
  67. <view class="line-box"></view>
  68. </view>
  69. </view>
  70. <!-- 价格以及预约 -->
  71. <view class="ss-flex-2 ss-col-center" style="margin-top: 10rpx;">
  72. <view class="ss-flex-2 ss-col-center ss-row-center">
  73. <text class="textIcon icon-renminbi1688 icon-rmb"></text>
  74. <view class="maney-number-box">498.00</view>
  75. </view>
  76. <view class="ss-flex-1"></view>
  77. </view>
  78. </view>
  79. </view>
  80. <view style="width: 100%;height:20rpx;"></view>
  81. <view class="ss-flex-2 ss-col-center">
  82. <view style="font-size: 27rpx;color:#44484B;font-weight: 600;min-width: 120rpx;">抢单技师</view>
  83. <view class="ss-flex-1"></view>
  84. <view style="font-size: 22rpx;color:#5AB8D1;" class="ss-flex-2 ss-col-center">
  85. <view style="width:40rpx;height:40rpx" v-for="it in 10">
  86. <image class="wh" style="border-radius: 20rpx;" referrerpolicy="no-referrer"
  87. src="/static/lanhu_shouye/pskrims113novhztuh3djro4dewm6siic9cbfccd-f457-4e94-a2a5-bf7808d1dd3f.png" />
  88. </view>
  89. </view>
  90. <text class="textIcon icon-gengduo" @click="jumpTechnicianList"
  91. style="font-size: 30rpx;color:#44484B;font-weight: 650;margin-left: 20rpx;"></text>
  92. </view>
  93. <view class="ss-flex-2 ss-col-center" style="margin-top: 10rpx;">
  94. <view style="font-size: 27rpx;color:#44484B;font-weight: 600;">服务时间</view>
  95. <view class="ss-flex-1"></view>
  96. <view style="font-size: 22rpx;color:#5AB8D1;">2024-07-02 15:14:41</view>
  97. <text class="textIcon icon-gengduo"
  98. style="font-size: 30rpx;color:#44484B;font-weight: 650;margin-left: 20rpx;"></text>
  99. </view>
  100. <view class="ss-flex-2 ss-col-center" style="margin-top: 10rpx;">
  101. <view style="font-size: 27rpx;color:#44484B;font-weight: 600;min-width: 120rpx;">服务地址</view>
  102. <view class="ss-flex-1"></view>
  103. <view style="font-size: 22rpx;color:#5AB8D1;">山东省烟台市莱山区华庭路橡树湾小区10-515哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈</view>
  104. </view>
  105. <view class="ss-flex-2 ss-col-center" style="margin-top: 10rpx;">
  106. <view style="font-size: 27rpx;color:#44484B;font-weight: 600;">出行方式</view>
  107. <view class="ss-flex-1"></view>
  108. <view style="font-size: 22rpx;color:#5AB8D1;">请选择出行方式</view>
  109. <text class="textIcon icon-gengduo"
  110. style="font-size: 30rpx;color:#44484B;font-weight: 650;margin-left: 20rpx;"></text>
  111. </view>
  112. <view style="margin-top: 10rpx;font-size: 16rpx;color: #97999B;">
  113. 注:单程30公里,预计需要40分钟,当前车费预估参考滴滴快车计费标准
  114. </view>
  115. </view>
  116. <!-- 会员卡 -->
  117. <view class="public-box member-box" style="margin-top: 20rpx;" v-if="isShow">
  118. <view class="ss-flex-2">
  119. <view class="ss-flex-2 ss-col-center member-item-box">
  120. <text class="textIcon icon-huiyuan"
  121. style="font-size: 30rpx;color: #EF8338;font-weight: 650;"></text>
  122. <view style="color: #EF8338;font-size: 24rpx;font-weight: 650;">会员卡套餐</view>
  123. </view>
  124. <view class="ss-flex-1"></view>
  125. <view class="check-info-box">勾选开通</view>
  126. </view>
  127. <view class="ss-flex-2 ss-col-center" style="margin-left: 50rpx;">
  128. <text style="font-size: 22rpx;color: #555;font-weight: 650;">开通月卡会员本单可立省</text>
  129. <text class="textIcon icon-renminbi1688"
  130. style="font-size: 24rpx;color: #E40214;font-weight: 650;"></text>
  131. <text style="font-size: 22rpx;color: #E40214;font-weight: 650;">11.95</text>
  132. <view class="ss-flex-1"></view>
  133. <text class="textIcon icon-renminbi1688"
  134. style="font-size: 33rpx;color: #E50315;font-weight: 650;"></text>
  135. <text style="font-size: 32rpx;color: #E50315;font-weight: 650;">38</text>
  136. <view style="margin-left: 10rpx;">
  137. <text class="textIcon icon-renminbi1688"
  138. style="font-size: 24rpx;color: #919190;font-weight: 650;text-decoration: line-through;"></text>
  139. <text
  140. style="font-size: 22rpx;color: #919190;font-weight: 650;text-decoration: line-through;">40</text>
  141. </view>
  142. <uni-data-checkbox style="margin-left: 40rpx;" selectedColor="#F4AB78" multiple
  143. v-model="checkbox" :localdata="hobby"></uni-data-checkbox>
  144. </view>
  145. <view style="margin-left: 50rpx;" class="ss-flex-2 ss-col-center">
  146. <text style="font-size: 19rpx;color:#F19250;">开通嘀咚到位会员卡&nbsp;享受多重会员权益</text>
  147. <text class="textIcon icon-kongxinwenhao"
  148. style="font-size: 22rpx;color: #F19250;font-weight: 650;margin-left: 10rpx;;"></text>
  149. <view class="ss-flex-1"></view>
  150. </view>
  151. <view class="ss-flex-2 ss-row-center">
  152. <view class="ss-flex-2 ss-col-center more-member-box">
  153. <text style="font-size: 18rpx;color: #F29758;">更多会员套餐</text>
  154. <text class="textIcon icon-xiangxiashuangjiantou"
  155. style="font-size: 20rpx;color: #F19250;font-weight: 650;margin-left: 10rpx;;"></text>
  156. </view>
  157. </view>
  158. </view>
  159. <!-- 价钱明细以及优惠卷 -->
  160. <view class="price-box public-box" v-if="isShow">
  161. <view style="font-size: 30rpx;color: #414851;font-weight: 550;">价格明细</view>
  162. <view class="ss-flex-2 ss-row-center" style="margin-top: 10rpx;">
  163. <view style="font-size: 27rpx;color: #555;">套餐总价</view>
  164. <view class="ss-flex-1"></view>
  165. <view class="ss-flex-2 ss-row-center" style="margin-right: 50rpx;">
  166. <text class="textIcon icon-renminbi1688" style="font-size: 30rpx;color: #555;font-weight: 650;"></text>
  167. <text style="font-size: 28rpx;color: #555;">398.00</text>
  168. </view>
  169. </view>
  170. <view class="ss-flex-2 ss-row-center" style="margin-top: 10rpx;">
  171. <view style="font-size: 27rpx;color: #555;">出行路费</view>
  172. <view class="ss-flex-1"></view>
  173. <view class="ss-flex-2 ss-row-center" style="margin-right: 50rpx;">
  174. <text class="textIcon icon-renminbi1688" style="font-size: 30rpx;color: #555;font-weight: 650;"></text>
  175. <text style="font-size: 28rpx;color: #555;">98.00</text>
  176. </view>
  177. </view>
  178. <view class="ss-flex-2 ss-row-center" style="margin-top: 10rpx;">
  179. <view style="font-size: 27rpx;color: #555;">通用优惠卷</view>
  180. <text class="textIcon icon-youhuijuan" style="font-size: 35rpx;font-weight: 650;color:#FF3938;margin-left:5rpx;"></text>
  181. <view class="ss-flex-1"></view>
  182. <view class="ss-flex-2 ss-row-center">
  183. <text class="textIcon icon-renminbi1688" style="font-size: 30rpx;color: #E92C3A;font-weight: 650;"></text>
  184. <text style="font-size: 28rpx;color: #E92C3A;">-10.00</text>
  185. </view>
  186. <text class="textIcon icon-gengduo" style="font-size: 32rpx;color: #555;font-weight: 650;width:50rpx;text-align:right;margin-top:3rpx;"></text>
  187. </view>
  188. <view class="ss-flex-2 ss-row-center ss-row-left" style="margin-top: 30rpx;">
  189. <text class="textIcon icon-weibiaoti-" style="font-size: 33rpx;color: #E92C3A;"></text>
  190. <text style="font-size: 24rpx;color: #E92C3A;">已为您选择最佳优惠</text>
  191. </view>
  192. <view style="width: 100%;height: 2rpx;background-color: #D6D6D9;margin-top: 10rpx;"></view>
  193. <view class="ss-flex-2 ss-row-center ss-row-right" style="padding:10rpx;margin-top: 20rpx;">
  194. <view class="ss-flex-2 ss-col-center">
  195. <text style="font-size: 32rpx;color: #333;font-weight: 650;">已优惠</text>
  196. <text class="textIcon icon-renminbi1688" style="font-size: 30rpx;color: #E92C3A;font-weight: 650;"></text>
  197. <text style="font-size: 32rpx;color: #E92C3A;">10.00</text>
  198. </view>
  199. <view class="ss-flex-2 ss-col-center" style="margin-left: 40rpx;">
  200. <text style="font-size: 32rpx;color: #333;font-weight: 650;">需支付</text>
  201. <text class="textIcon icon-renminbi1688" style="font-size: 30rpx;color: #333;font-weight: 650;"></text>
  202. <text style="font-size: 32rpx;color: #333;">416.00</text>
  203. </view>
  204. </view>
  205. </view>
  206. <!-- 备注 -->
  207. <view class="public-box price-box" style="box-sizing: border-box;">
  208. <textarea class="text-area-box-info" maxlength="300" auto-height disabled placeholder="请提前告知特殊情况(选填)"/>
  209. <!-- 自己定的一些常用语 -->
  210. <view class="ss-flex-2 ss-row-center ss-row-left" style="flex-wrap: wrap;">
  211. <view class="expressions-box" v-for="i in 7">
  212. 肌肉拉伤233
  213. </view>
  214. </view>
  215. </view>
  216. <!-- 号码保护 -->
  217. <view class="ss-flex-2 ss-row-center ss-col-center public-box price-box" style="margin-top: 20rpx;">
  218. <view>
  219. <view class="ss-flex-2 ss-row-center ss-col-center ss-row-left">
  220. <text class="textIcon icon-yuyinyinsixiaohao" style="font-size: 30rpx;color: #36AFCA;font-weight: 650;"></text>
  221. <text style="font-size: 28rpx;color: #333;font-weight: 650;margin-left: 5rpx;">号码保护</text>
  222. </view>
  223. <view style="font-size: 20rpx;color: #A8A8A8;margin-top: 10rpx;">
  224. 隐藏手机号,保护隐私,通话录音,保驾护航
  225. </view>
  226. </view>
  227. <view class="ss-flex-1"></view>
  228. <text class="textIcon icon-gengduo" style="font-size: 30rpx;color: #333;font-weight: 650;"></text>
  229. </view>
  230. <view style="width:100%;height:20rpx;"></view>
  231. </scroll-view>
  232. </view>
  233. <!-- 底部结算 -->
  234. <view class="bottom-info-box ss-flex-2 ss-row-center ss-col-center">
  235. <view style="color:#fff;margin-left:30rpx;" v-if="isShow">
  236. <view class="ss-flex-2 ss-col-center">
  237. <text>合计:</text>
  238. <text class="textIcon icon-renminbi1688" style="font-size: 34rpx;color: #fff;font-weight: 650;"></text>
  239. <text style="color:#fff;font-weight:650;">465.25</text>
  240. </view>
  241. <view class="ss-flex-2 ss-col-center" style="font-size:24rpx;margin-top:15rpx;">
  242. <text>已优惠:</text>
  243. <text class="textIcon icon-renminbi1688" style="font-size: 24rpx;color: #fff;font-weight: 650;"></text>
  244. <text style="color:#fff;">10.00</text>
  245. </view>
  246. </view>
  247. <view class="ss-flex-1"></view>
  248. <view class="settlement-box" v-if="isShow">立即结算</view>
  249. <view class="settlement-box" v-else @click="offerReward">立即悬赏</view>
  250. </view>
  251. <!-- 悬赏弹窗 -->
  252. <uni-popup ref="popup" background-color="#fff" :is-mask-click="false">
  253. <view class="reward-popup-box">
  254. <view class="reward-title">悬赏抢单</view>
  255. <view class="two-title">悬赏规则</view>
  256. <view class="rule-info-box">1.起商价</view>
  257. <view class="rule-info-box">2.悬赏好处</view>
  258. <view class="rule-info-box">3.不悬赏自动取消订单</view>
  259. <view class="ss-flex-2 ss-col-center" style="margin-top: 30rpx;">
  260. <view class="colse-box" @click="closeInfo">先等等</view>
  261. <view class="confirm-box" style="margin-left: 20rpx;" @click="closeInfo">立即悬赏</view>
  262. </view>
  263. <view class="dimension-box">
  264. 或者你想
  265. <text style="color: #E98A3D;">修改备注/</text>
  266. <text style="color: #E98A3D;">服务地址/</text>
  267. <text style="color: #E98A3D;">联系电话</text>
  268. </view>
  269. </view>
  270. </uni-popup>
  271. </view>
  272. </template>
  273. <script setup>
  274. import {
  275. reactive,
  276. ref
  277. } from 'vue';
  278. import {
  279. computed
  280. } from 'vue';
  281. import {
  282. onLoad,
  283. onPageScroll,
  284. onPullDownRefresh,
  285. onReady,
  286. onReachBottom,
  287. onShow
  288. } from '@dcloudio/uni-app';
  289. import sheep from '@/sheep';
  290. import $share from '@/sheep/platform/share';
  291. // 隐藏原生tabBar
  292. uni.hideTabBar();
  293. // 返回上一页
  294. const backPage = async () => {
  295. uni.navigateBack({
  296. delta: 1
  297. })
  298. }
  299. // 跳转到抢单技师列表
  300. const jumpTechnicianList=async()=>{
  301. uni.navigateTo({
  302. url: '/pages/XDHome/technicianList/technicianList'
  303. });
  304. }
  305. // 是否选择了技师
  306. const isShow=ref(false)
  307. // 勾选开通会员
  308. const checkbox = ref([0])
  309. const hobby = ref([{
  310. text: "",
  311. value: 0
  312. }])
  313. // 悬赏
  314. const popup=ref()
  315. // 打开悬赏弹窗
  316. const offerReward=async()=>{
  317. popup.value.open('center')
  318. }
  319. // 关闭悬赏弹窗
  320. const closeInfo=async()=>{
  321. popup.value.close('center')
  322. }
  323. //获取顶部安全距离
  324. const app = uni.getSystemInfoSync()
  325. const bottomHeightOne = (app.statusBarHeight) + 'rpx'
  326. const bottomHeight = ref(bottomHeightOne)
  327. onLoad((option) => {
  328. console.log(option.item, '获取的项目信息数据')
  329. })
  330. </script>
  331. <style scoped>
  332. /deep/ .uni-data-checklist .checklist-group .checklist-box .checkbox__inner {
  333. border-radius: 16rpx !important;
  334. border: 2rpx solid #F49F64 !important;
  335. }
  336. /deep/.uni-popup .uni-popup__wrapper{
  337. width: 65%;
  338. border-radius: 10rpx;
  339. box-sizing: border-box;
  340. }
  341. </style>
  342. <style scoped lang="scss">
  343. .dimension-box{
  344. font-size: 18rpx;
  345. color: #474C4F;
  346. margin-top:10rpx;
  347. padding-left:5rpx
  348. }
  349. .confirm-box{
  350. font-size: 22rpx;
  351. color: #E9853E;
  352. background-color: #FFF8EF;
  353. box-sizing: border-box;
  354. padding: 5rpx 40rpx;
  355. border: 1rpx solid #F7B279;
  356. border-radius: 5rpx;
  357. letter-spacing: 2rpx;
  358. }
  359. .colse-box{
  360. font-size: 22rpx;
  361. color: #444;
  362. background-color: #EFEEF1;
  363. box-sizing: border-box;
  364. padding: 5rpx 40rpx;
  365. border-radius: 5rpx;
  366. letter-spacing: 2rpx;
  367. }
  368. .rule-info-box{
  369. font-size: 25rpx;
  370. color: #464646;
  371. margin-top: 10rpx;
  372. font-weight: 600;
  373. letter-spacing: 2rpx;
  374. }
  375. .two-title{
  376. font-size: 22rpx;
  377. color: #161616;
  378. }
  379. .reward-title{
  380. margin-top: 5rpx;
  381. text-align: center;
  382. font-size: 28rpx;
  383. color: #55AEC3;
  384. }
  385. .reward-popup-box{
  386. width: 100%;
  387. min-height: 150rpx;
  388. box-sizing: border-box;
  389. padding: 10rpx 25rpx;
  390. }
  391. .settlement-box{
  392. font-size:26rpx;
  393. padding:15rpx;
  394. padding-left:50rpx;
  395. padding-right:50rpx;
  396. margin-right:30rpx;
  397. background-color:#fff;
  398. color:#35AEC9;
  399. font-weight: 650;
  400. border-radius: 10rpx;
  401. }
  402. .bottom-info-box{
  403. width: 100%;
  404. height: 120rpx;
  405. background-color: #2EAFCF;
  406. }
  407. .expressions-box{
  408. font-size: 22rpx;
  409. color: #8E8E8E;
  410. background-color: #EEEEF0;
  411. border-radius: 10rpx;
  412. margin-top: 10rpx;
  413. margin-right: 10rpx;
  414. padding: 5rpx 20rpx;
  415. }
  416. .text-area-box-info{
  417. background-color: #EEEEF0;
  418. font-size: 22rpx;
  419. width:100%;
  420. min-height: 140rpx;
  421. border-radius: 10rpx;
  422. padding:10rpx;
  423. box-sizing: border-box;
  424. }
  425. .price-box{
  426. background-color: #fff;
  427. border-radius: 20rpx;
  428. box-shadow: 5rpx 5rpx 5rpx rgba(0, 0, 0, .2);
  429. margin-top: 20rpx;
  430. box-sizing: border-box;
  431. padding: 15rpx;
  432. }
  433. .check-info-box {
  434. font-size: 20rpx;
  435. color: #F2A066;
  436. border: 2rpx solid #F2A066;
  437. border-radius: 15rpx;
  438. margin-right: 70rpx;
  439. height: 35rpx;
  440. padding: 3rpx;
  441. padding-left: 10rpx;
  442. padding-right: 10rpx;
  443. ;
  444. box-sizing: border-box;
  445. margin-top: 10rpx;
  446. }
  447. .more-member-box {
  448. margin-top: 20rpx;
  449. padding: 5rpx 40rpx;
  450. box-sizing: border-box;
  451. background-color: #FBD9C0;
  452. border-top-right-radius: 30rpx;
  453. border-top-left-radius: 30rpx;
  454. }
  455. .member-item-box {
  456. background-color: #FBD9C0;
  457. padding: 10rpx 30rpx;
  458. box-sizing: border-box;
  459. border-top-left-radius: 20rpx;
  460. border-bottom-right-radius: 40rpx;
  461. }
  462. .member-box {
  463. background-color: #FFF8F0;
  464. border-radius: 20rpx;
  465. box-shadow: 5rpx 5rpx 5rpx rgba(0, 0, 0, .2);
  466. box-sizing: border-box;
  467. }
  468. .maney-number-box {
  469. font-size: 30rpx;
  470. color: #E60012;
  471. margin-left: 5rpx;
  472. padding-top: 5rpx;
  473. font-weight: 650;
  474. }
  475. .icon-rmb {
  476. font-size: 30rpx;
  477. color: #E60012;
  478. font-weight: 700;
  479. }
  480. .line-box {
  481. width: 2rpx;
  482. height: 30rpx;
  483. background-color: #D2D3D5;
  484. margin-left: 10rpx;
  485. margin-right: 10rpx;
  486. }
  487. .event-box {
  488. font-size: 22rpx;
  489. color: #909295;
  490. height: 30rpx;
  491. line-height: 30rpx;
  492. box-sizing: border-box;
  493. }
  494. .event-wrap {
  495. width: 100%;
  496. max-height: 60rpx;
  497. min-height: 60rpx;
  498. overflow-y: auto;
  499. }
  500. .service-box {
  501. width: 95%;
  502. margin-left: 2.5%;
  503. background-color: #fff;
  504. box-sizing: border-box;
  505. border-radius: 10rpx;
  506. padding: 10rpx;
  507. padding-bottom: 30rpx;
  508. box-shadow: 5rpx 5rpx 5rpx rgba(0, 0, 0, .3);
  509. }
  510. .add-message {
  511. font-size: 18rpx;
  512. color: #A2A2A2;
  513. }
  514. .add-title {
  515. font-size: 23rpx;
  516. color: #3E464F;
  517. font-weight: 650;
  518. ‌letter-spacing: 2px;
  519. }
  520. .top-box-info {
  521. margin-top: 30rpx;
  522. padding: 10rpx 20rpx;
  523. background-color: #fff;
  524. border-radius: 10rpx;
  525. }
  526. .icon-navigation {
  527. font-size: 32rpx;
  528. color: #fff;
  529. font-weight: 700;
  530. }
  531. .bg-box {
  532. width: 100%;
  533. height: 300rpx;
  534. background: url('@/static/top-bg.png') no-repeat;
  535. background-size: 100% 100%;
  536. box-sizing: border-box;
  537. }
  538. // 上中下布局样式
  539. .body {
  540. display: flex;
  541. flex-direction: column;
  542. height: 100vh;
  543. // background: linear-gradient(to bottom, #08A3E9, #F8FCFF);
  544. background-color: #EFEEF1;
  545. }
  546. .head {
  547. text-align: center;
  548. }
  549. // 中部滚动
  550. .list-wrap {
  551. flex-grow: 1;
  552. position: relative;
  553. }
  554. .list {
  555. position: absolute;
  556. top: 0;
  557. left: 0;
  558. right: 0;
  559. bottom: 0;
  560. }
  561. .list-scroll-view {
  562. display: flex;
  563. flex-direction: row;
  564. flex-wrap: wrap;
  565. justify-content: space-between;
  566. margin-left: 2vw;
  567. margin-right: 2vw;
  568. }
  569. .course-card {
  570. width: 47vw;
  571. margin-top: 10px;
  572. margin-bottom: 10px;
  573. }
  574. // 底部
  575. .tools {
  576. display: flex;
  577. flex-direction: row;
  578. justify-content: space-between;
  579. }
  580. .tools-item {
  581. width: 45px;
  582. text-align: center;
  583. font-size: 14px;
  584. padding: 20px;
  585. }
  586. </style>