detail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866
  1. <template>
  2. <view class="container" :style="'overflow:' + (showPage ? 'hidden' : 'visible')" v-if="info">
  3. <!-- 顶部民宿图片区域 -->
  4. <view class="banner">
  5. <img class="img" mode="aspectFill" :src="info.hotelFileInfoList[0].url" />
  6. <view class="slogan">
  7. <img src="../../static/index/slogan.png" />
  8. </view>
  9. </view>
  10. <!-- 民宿详细信息区域 -->
  11. <view class="detail">
  12. <view class="detail_name">{{ info.hotel_name }}</view>
  13. <view class="detail_info">
  14. <view class="info_left">{{ info.fitupTime }}装修 | {{ info.openTime }}开业</view>
  15. <view class="info_right" @click="goPageDetailInfo">
  16. 设施/详情
  17. <img src="../../static/index/right.png" />
  18. </view>
  19. </view>
  20. <view class="detail_group">
  21. <view class="group_item" v-for="item in info.hconfigList" :key="item.id">
  22. <img :src="item.fileUrl" />
  23. {{ item.name }}
  24. </view>
  25. </view>
  26. <view class="address">
  27. <view class="address_left">{{ info.hposition }}</view>
  28. <view class="address_right">
  29. <view class="right_box" @click="handleMap(info)">
  30. <img src="../../static/index/map.png" />
  31. </view>
  32. <view class="right_box" @click="handlePhone(info.managerPhone)">
  33. <img src="../../static/index/phone.png" />
  34. </view>
  35. </view>
  36. </view>
  37. <view class="distance" v-if="distance">距离我{{ distance }}km</view>
  38. </view>
  39. <!-- 房型信息区域 -->
  40. <view class="body">
  41. <!-- 选择日期区域 -->
  42. <view class="body_header" @click="handleOpen">
  43. <view class="header_start">
  44. <view class="header_top">{{ getWeek(startTime) }}入住</view>
  45. <view class="header_bottom">{{ startTime.slice(5, 7) }}月{{ startTime.slice(8, 10) }}日</view>
  46. </view>
  47. <view class="header_night">
  48. <view class="night_line"></view>
  49. <view class="night_box">{{ nightNum }}晚</view>
  50. <view class="night_line"></view>
  51. </view>
  52. <view class="header_end">
  53. <view class="header_top">{{ getWeek(endTime) }}离店</view>
  54. <view class="header_bottom">{{ endTime.slice(5, 7) }}月{{ endTime.slice(8, 10) }}日</view>
  55. </view>
  56. </view>
  57. <!-- 日历组件 -->
  58. <uv-calendars
  59. ref="calendar"
  60. range
  61. title="选择日期"
  62. start-text="住店"
  63. end-text="离店"
  64. color="#096562"
  65. confirmColor="#096562"
  66. :startDate="earlyTime"
  67. @confirm="handleConfirm"
  68. />
  69. <!-- 房型列表区域 -->
  70. <view class="body_content" v-if="list.length">
  71. <!-- 每一个房型盒子区域 -->
  72. <view class="body_box" v-for="item in list" :key="item.id" @click="handleLookDetail(item)">
  73. <view class="box_left">
  74. <img mode="aspectFill" :src="item.fileInfoList[0].url" />
  75. </view>
  76. <view class="box_center">
  77. <view class="center_top">{{ item.hName }}</view>
  78. <view class="center_center">
  79. <view class="center_item" v-if="item.hAreas">{{ item.hAreas }}㎡ 剩余{{ item.remainRooms }}间</view>
  80. </view>
  81. <view class="center_bottom">
  82. <img v-for="item2 in item.hConfigList" :key="item2.id" class="img" :src="item2.fileUrl" />
  83. </view>
  84. </view>
  85. <view class="box_right">
  86. <view class="right_price">
  87. <text>¥</text>
  88. {{ item.price }}
  89. </view>
  90. <view class="right_btn" :class="{ inactive: item.remainRooms * 1 <= 0 }" @click.stop="goPageAffOrder(item)">订</view>
  91. </view>
  92. </view>
  93. <!-- 点击房型弹窗区域 -->
  94. <uv-popup ref="popup" bgColor="none" :safeAreaInsetBottom="false">
  95. <view class="body_pop">
  96. <!-- 轮播图区域 -->
  97. <swiper indicator-dots circular indicator-color="#FFFFFF" indicator-active-color="#096562" class="pop_swiper">
  98. <swiper-item class="pop_swiper_item" v-for="item in roomInfo.fileInfoList" :key="item.id">
  99. <img class="img" :src="item.url" />
  100. </swiper-item>
  101. </swiper>
  102. <!-- 轮播图关闭图标区域 -->
  103. <img class="pop_icon" src="../../static/index/close.png" @click="handleClosePop" />
  104. <view class="pop_body">
  105. <view class="body_title">{{ roomInfo.hName }}</view>
  106. <view class="body_tags">
  107. <view class="tags_item">
  108. <img class="img" src="../../static/index/place.png" />
  109. {{ roomInfo.hAreas }}㎡
  110. </view>
  111. <view class="tags_item" v-for="item2 in roomInfo.hConfigList" :key="item2.id">
  112. <img class="img" :src="item2.fileUrl" />
  113. {{ item2.name }}
  114. </view>
  115. </view>
  116. <view class="body_title2">费用明细</view>
  117. <view class="body_detail">
  118. <!-- <view class="detail_old">¥{{ roomInfo.price }}</view> -->
  119. <!-- <view class="detail_box">
  120. 黄金会员9折
  121. <text>-¥25</text>
  122. </view>
  123. <view class="detail_box">
  124. 活动
  125. <text>-¥2.5</text>
  126. </view> -->
  127. <view class="detail_new">
  128. 每间每晚
  129. <view class="ml_10 color">¥</view>
  130. <view class="price color">{{ roomInfo.price }}</view>
  131. </view>
  132. </view>
  133. <view class="body_bottom">
  134. <view class="bottom_left" @click="handlePhone(info.managerPhone)">
  135. <img class="img" src="../../static/index/phone2.png" />
  136. 联系商家
  137. </view>
  138. <view class="bottom_right">
  139. <text>¥</text>
  140. {{ roomInfo.price }}
  141. <view class="btn" :class="{ inactive: roomInfo.remainRooms * 1 <= 0 }" @click="goPageAffOrder(roomInfo)">预定</view>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. </uv-popup>
  147. </view>
  148. <view class="noData" v-else>
  149. <img src="../../static/images/noData.png" />
  150. 暂无数据
  151. </view>
  152. </view>
  153. </view>
  154. </template>
  155. <script>
  156. export default {
  157. data() {
  158. return {
  159. // 滚动穿透控制
  160. showPage: false,
  161. // 房型数据数组
  162. list: [],
  163. // 住几晚
  164. nightNum: 1,
  165. // 选择日期数组
  166. dayList: [],
  167. // 酒店信息
  168. info: null,
  169. // 房间信息
  170. roomInfo: {},
  171. // 民宿Id
  172. hotelId: '',
  173. // 是否有定位权限
  174. showLocation: false,
  175. // 是否展示距离
  176. distance: '',
  177. // 入住时间 YYYY-MM-DD
  178. startTime: '',
  179. // 离店时间 YYYY-MM-DD
  180. endTime: '',
  181. // 日历可以选择的最早日期
  182. earlyTime: ''
  183. }
  184. },
  185. onLoad(options) {
  186. this.getTimes()
  187. this.hotelId = options.id
  188. this.distance = options.distance === 'undefined' ? false : options.distance
  189. uni.getSetting({
  190. success: (res) => {
  191. this.showLocation = res.authSetting['scope.userLocation']
  192. this.getHotelInfo()
  193. }
  194. })
  195. },
  196. methods: {
  197. async getHotelInfo() {
  198. const res = await this.$myRequest({
  199. url: '/mhotel/ahpgetHouseByHotelId.action',
  200. data: {
  201. hotelId: this.hotelId,
  202. queryStartTime: this.startTime,
  203. queryEndTime: this.endTime
  204. }
  205. })
  206. // console.log(res)
  207. if (res.code === 200) {
  208. this.info = res.data.data
  209. this.list = res.data.data.houseList
  210. }
  211. },
  212. // 选择日期确定回调
  213. handleConfirm(e) {
  214. this.startTime = e.range.before
  215. this.endTime = e.range.after
  216. this.dayList = e.range.data
  217. this.nightNum = e.range.data.length - 1
  218. this.getHotelInfo()
  219. },
  220. // 点击地图图标回调
  221. handleMap(item) {
  222. if (this.showLocation) {
  223. let lat = item.hpositionWens.split(',')[0] * 1
  224. let lng = item.hpositionWens.split(',')[1] * 1
  225. uni.openLocation({
  226. latitude: lat,
  227. longitude: lng,
  228. name: item.hname,
  229. address: item.hposition,
  230. success: () => {}
  231. })
  232. } else {
  233. uni.showModal({
  234. content: '当前没有定位权限,是否去设置打开?',
  235. confirmText: '确认',
  236. cancelText: '取消',
  237. success: (res) => {
  238. if (res.confirm) {
  239. uni.openSetting({
  240. success: (res) => {
  241. this.showLocation = true
  242. this.handleMap(item)
  243. }
  244. })
  245. } else {
  246. uni.showToast({
  247. title: '获取定位权限失败,无法使用地图功能',
  248. icon: 'none',
  249. mask: true
  250. })
  251. }
  252. }
  253. })
  254. }
  255. },
  256. // 点击电话图标回调
  257. handlePhone(phone) {
  258. uni.makePhoneCall({
  259. phoneNumber: phone
  260. })
  261. },
  262. // 点击弹窗关闭图标回调
  263. handleClosePop() {
  264. this.showPage = false
  265. this.$refs.popup.close()
  266. },
  267. // 点击每一个户型回调
  268. handleLookDetail(item) {
  269. this.roomInfo = item
  270. this.showPage = true
  271. this.$refs.popup.open('bottom')
  272. },
  273. // 点击设施详情回调
  274. goPageDetailInfo() {
  275. uni.navigateTo({
  276. url: `/pages/detailInfo/detailInfo?hotelId=${this.hotelId}`
  277. })
  278. },
  279. // 点击 订 预定 按钮回调
  280. goPageAffOrder(item) {
  281. let flag = uni.getStorageSync('openid')
  282. if (flag) {
  283. if (!this.startTime) {
  284. uni.showToast({
  285. title: '请选择入住时间',
  286. icon: 'none'
  287. })
  288. return
  289. }
  290. if (!this.endTime) {
  291. uni.showToast({
  292. title: '请选择离店时间',
  293. icon: 'none'
  294. })
  295. return
  296. }
  297. if (item.remainRooms * 1 > 0) {
  298. this.$refs.popup.close()
  299. this.showPage = false
  300. let info = JSON.stringify({
  301. nightNum: this.nightNum,
  302. startTimeDay: this.startTime.slice(8, 10),
  303. startTimeMonth: this.startTime.slice(5, 7),
  304. startTimeWeek: this.getWeek(this.startTime),
  305. endTimeDay: this.endTime.slice(8, 10),
  306. endTimeMonth: this.endTime.slice(5, 7),
  307. endTimeWeek: this.getWeek(this.endTime),
  308. item: item,
  309. queryStartTime: this.startTime,
  310. queryEndTime: this.endTime,
  311. dayList: this.dayList,
  312. hTypeName: this.info.hTypeName,
  313. hotelName: this.info.hotel_name
  314. })
  315. uni.navigateTo({
  316. url: `/pages/affirmOrder/affirmOrder?info=${info}`
  317. })
  318. } else {
  319. uni.showToast({
  320. title: '该房间已售罄',
  321. icon: 'none',
  322. mask: true
  323. })
  324. }
  325. } else {
  326. uni.showToast({
  327. title: '请先登录',
  328. icon: 'none',
  329. mask: true
  330. })
  331. setTimeout(() => {
  332. uni.navigateTo({
  333. url: '/pages/login/login'
  334. })
  335. }, 1500)
  336. }
  337. },
  338. // 点击日期区域回调
  339. handleOpen() {
  340. this.$refs.calendar.open()
  341. },
  342. // 传入参数获取当前是星期几
  343. getWeek(time) {
  344. let date = new Date(time)
  345. let week = date.getDay()
  346. let weekList = ['日', '一', '二', '三', '四', '五', '六']
  347. let res = '周' + weekList[week]
  348. return res
  349. },
  350. // 获取今明两天的日期 YYYY-MM-DD
  351. getTimes() {
  352. let today = new Date()
  353. let tomorrow = new Date(today.getTime() + 24 * 60 * 60 * 1000)
  354. this.startTime = `${today.getFullYear()}-${(today.getMonth() + 1).toString().padStart(2, 0)}-${today.getDate().toString().padStart(2, 0)}`
  355. this.endTime = `${tomorrow.getFullYear()}-${(tomorrow.getMonth() + 1).toString().padStart(2, 0)}-${tomorrow.getDate().toString().padStart(2, 0)}`
  356. this.dayList = [this.startTime, this.endTime]
  357. this.earlyTime = this.startTime
  358. }
  359. }
  360. }
  361. </script>
  362. <style lang="scss" scoped>
  363. .container {
  364. display: flex;
  365. flex-direction: column;
  366. align-items: center;
  367. position: relative;
  368. min-height: 100vh;
  369. background-color: #ebeced;
  370. .banner {
  371. position: relative;
  372. margin-top: 20rpx;
  373. width: 750rpx;
  374. height: 422rpx;
  375. .img {
  376. width: 100%;
  377. height: 100%;
  378. }
  379. .slogan {
  380. position: absolute;
  381. top: 0;
  382. left: 0;
  383. display: flex;
  384. justify-content: center;
  385. align-items: center;
  386. width: 163rpx;
  387. height: 60rpx;
  388. background-color: rgba(255, 255, 255, 0.4);
  389. img {
  390. width: 125rpx;
  391. height: 44rpx;
  392. }
  393. }
  394. }
  395. .detail {
  396. z-index: 1;
  397. float: left;
  398. margin-top: -177rpx;
  399. box-sizing: border-box;
  400. padding: 0 30rpx 30rpx;
  401. width: 710rpx;
  402. border-radius: 10rpx;
  403. background-color: #fff;
  404. .detail_name {
  405. margin-top: 25rpx;
  406. font-size: 34rpx;
  407. font-weight: bold;
  408. }
  409. .detail_info {
  410. display: flex;
  411. justify-content: space-between;
  412. margin-top: 10rpx;
  413. .info_left {
  414. color: #999999;
  415. font-size: 20rpx;
  416. }
  417. .info_right {
  418. display: flex;
  419. align-items: center;
  420. color: #096562;
  421. font-size: 24rpx;
  422. img {
  423. margin-left: 6rpx;
  424. width: 10rpx;
  425. height: 20rpx;
  426. }
  427. }
  428. }
  429. .detail_group {
  430. display: flex;
  431. flex-wrap: wrap;
  432. margin-top: 5rpx;
  433. width: 450rpx;
  434. .group_item {
  435. display: flex;
  436. align-items: center;
  437. margin-right: 10rpx;
  438. margin-bottom: 10rpx;
  439. color: #999999;
  440. font-size: 20rpx;
  441. img {
  442. margin-right: 5rpx;
  443. width: 22rpx;
  444. height: 22rpx;
  445. }
  446. }
  447. }
  448. .address {
  449. display: flex;
  450. justify-content: space-between;
  451. margin-top: 8rpx;
  452. font-size: 28rpx;
  453. font-weight: bold;
  454. .address_left {
  455. width: 480rpx;
  456. overflow: hidden;
  457. text-overflow: ellipsis;
  458. white-space: nowrap;
  459. }
  460. .address_right {
  461. display: flex;
  462. .right_box {
  463. margin-left: 28rpx;
  464. width: 50rpx;
  465. height: 78rpx;
  466. img {
  467. width: 100%;
  468. height: 100%;
  469. }
  470. }
  471. }
  472. }
  473. .distance {
  474. margin-top: -35rpx;
  475. color: #999999;
  476. font-size: 24rpx;
  477. }
  478. }
  479. .body {
  480. float: left;
  481. margin-top: 20rpx;
  482. padding-bottom: 30rpx;
  483. width: 710rpx;
  484. border-radius: 10rpx;
  485. background-color: #fff;
  486. .body_header {
  487. display: flex;
  488. justify-content: space-around;
  489. box-sizing: border-box;
  490. padding: 0 30rpx;
  491. height: 150rpx;
  492. .header_start {
  493. display: flex;
  494. flex-direction: column;
  495. justify-content: center;
  496. align-items: center;
  497. width: 213rpx;
  498. height: 150rpx;
  499. font-size: 30rpx;
  500. .header_top {
  501. margin-bottom: 10rpx;
  502. color: #999999;
  503. font-size: 24rpx;
  504. }
  505. .header_bottom {
  506. font-size: 34rpx;
  507. font-weight: bold;
  508. }
  509. }
  510. .header_night {
  511. display: flex;
  512. justify-content: center;
  513. align-items: center;
  514. .night_line {
  515. width: 17rpx;
  516. height: 1rpx;
  517. background-color: #296de3;
  518. }
  519. .night_box {
  520. display: flex;
  521. align-items: center;
  522. justify-content: center;
  523. width: 81rpx;
  524. height: 46rpx;
  525. font-size: 24rpx;
  526. border-radius: 66rpx;
  527. border: 1rpx solid #296de3;
  528. }
  529. }
  530. .header_end {
  531. display: flex;
  532. flex-direction: column;
  533. justify-content: center;
  534. align-items: center;
  535. width: 213rpx;
  536. height: 150rpx;
  537. font-size: 30rpx;
  538. .header_top {
  539. margin-bottom: 10rpx;
  540. color: #999999;
  541. font-size: 24rpx;
  542. }
  543. .header_bottom {
  544. font-size: 34rpx;
  545. font-weight: bold;
  546. }
  547. }
  548. }
  549. .body_content {
  550. .body_box {
  551. box-sizing: border-box;
  552. padding: 0 30rpx;
  553. margin-bottom: 30rpx;
  554. display: flex;
  555. height: 193rpx;
  556. border-bottom: 1rpx solid #cccccc;
  557. .box_left {
  558. width: 213rpx;
  559. height: 161rpx;
  560. border-radius: 5rpx;
  561. img {
  562. width: 100%;
  563. height: 100%;
  564. }
  565. }
  566. .box_center {
  567. margin-left: 16rpx;
  568. .center_top {
  569. font-size: 34rpx;
  570. font-weight: bold;
  571. }
  572. .center_center {
  573. display: flex;
  574. flex-wrap: wrap;
  575. margin-top: 10rpx;
  576. color: #999999;
  577. font-size: 24rpx;
  578. .center_item {
  579. margin-right: 15rpx;
  580. }
  581. }
  582. .center_bottom {
  583. margin-top: 25rpx;
  584. .img {
  585. margin-right: 15rpx;
  586. width: 30rpx;
  587. height: 30rpx;
  588. }
  589. }
  590. }
  591. .box_right {
  592. display: flex;
  593. flex-direction: column;
  594. align-items: flex-end;
  595. margin-left: auto;
  596. margin-top: 20rpx;
  597. .right_price {
  598. color: #ff5733;
  599. font-size: 42rpx;
  600. text {
  601. font-size: 24rpx;
  602. }
  603. }
  604. .right_btn {
  605. display: flex;
  606. justify-content: center;
  607. align-items: center;
  608. margin-top: 10rpx;
  609. width: 100rpx;
  610. height: 66rpx;
  611. color: #fff;
  612. font-size: 36rpx;
  613. border-radius: 11rpx;
  614. background-color: #096562;
  615. }
  616. .inactive {
  617. background-color: #cccccc;
  618. }
  619. }
  620. }
  621. .body_pop {
  622. position: relative;
  623. height: 955rpx;
  624. border-radius: 22rpx 22rpx 0 0;
  625. background-color: #fff;
  626. overflow-y: auto;
  627. .pop_swiper {
  628. height: 422rpx;
  629. border-radius: 22rpx 22rpx 0 0;
  630. .pop_swiper_item {
  631. width: 100%;
  632. height: 100%;
  633. .img {
  634. width: 100%;
  635. height: 100%;
  636. border-radius: 22rpx 22rpx 0 0;
  637. }
  638. }
  639. }
  640. .pop_icon {
  641. position: absolute;
  642. top: 20rpx;
  643. right: 30rpx;
  644. width: 58rpx;
  645. height: 58rpx;
  646. }
  647. .pop_body {
  648. box-sizing: border-box;
  649. padding: 0 20rpx 30rpx;
  650. .body_title {
  651. margin-top: 30rpx;
  652. font-size: 32rpx;
  653. font-weight: bold;
  654. }
  655. .body_tags {
  656. display: flex;
  657. flex-wrap: wrap;
  658. margin-top: 20rpx;
  659. .tags_item {
  660. display: flex;
  661. align-items: center;
  662. margin-right: 76rpx;
  663. margin-bottom: 20rpx;
  664. color: #383838;
  665. font-size: 24rpx;
  666. .img {
  667. margin-right: 5rpx;
  668. width: 28rpx;
  669. height: 28rpx;
  670. }
  671. }
  672. }
  673. .body_title2 {
  674. margin-top: 20rpx;
  675. font-size: 28rpx;
  676. }
  677. .body_detail {
  678. display: flex;
  679. flex-direction: column;
  680. justify-content: space-between;
  681. // align-items: flex-end;
  682. box-sizing: border-box;
  683. padding: 20rpx 30rpx;
  684. margin-top: 18rpx;
  685. width: 710rpx;
  686. height: 266rpx;
  687. font-size: 24rpx;
  688. border-radius: 7rpx;
  689. background-color: #f2f2f2;
  690. .detail_old {
  691. text-align: end;
  692. text-decoration: line-through;
  693. }
  694. .detail_box {
  695. display: flex;
  696. justify-content: space-between;
  697. color: #808080;
  698. text {
  699. color: #ff5733;
  700. }
  701. }
  702. .detail_new {
  703. display: flex;
  704. justify-content: flex-end;
  705. align-items: center;
  706. font-size: 24rpx;
  707. .color {
  708. color: #ff5733;
  709. }
  710. .price {
  711. font-size: 36rpx;
  712. }
  713. .ml_10 {
  714. margin-left: 10rpx;
  715. }
  716. }
  717. }
  718. .body_bottom {
  719. display: flex;
  720. justify-content: space-between;
  721. align-items: center;
  722. margin-top: 250rpx;
  723. height: 80rpx;
  724. .bottom_left {
  725. display: flex;
  726. align-items: center;
  727. color: #333333;
  728. font-size: 24rpx;
  729. .img {
  730. margin-right: 10rpx;
  731. width: 48rpx;
  732. height: 48rpx;
  733. }
  734. }
  735. .bottom_right {
  736. display: flex;
  737. align-items: center;
  738. color: #ff5733;
  739. font-size: 40rpx;
  740. font-weight: bold;
  741. text {
  742. font-size: 24rpx;
  743. }
  744. .btn {
  745. display: flex;
  746. justify-content: center;
  747. align-items: center;
  748. margin-left: 30rpx;
  749. width: 238rpx;
  750. height: 80rpx;
  751. color: #fff;
  752. font-size: 32rpx;
  753. font-weight: 400;
  754. border-radius: 64rpx;
  755. background-color: #096562;
  756. }
  757. .inactive {
  758. background-color: #cccccc;
  759. }
  760. }
  761. }
  762. }
  763. }
  764. }
  765. .noData {
  766. display: flex;
  767. flex-direction: column;
  768. justify-content: center;
  769. align-items: center;
  770. padding-bottom: 20rpx;
  771. img {
  772. margin-top: 60rpx;
  773. width: 600rpx;
  774. height: 600rpx;
  775. }
  776. }
  777. }
  778. }
  779. </style>