detail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865
  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 }}㎡</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. })
  314. uni.navigateTo({
  315. url: `/pages/affirmOrder/affirmOrder?info=${info}`
  316. })
  317. } else {
  318. uni.showToast({
  319. title: '该房间已售罄',
  320. icon: 'none',
  321. mask: true
  322. })
  323. }
  324. } else {
  325. uni.showToast({
  326. title: '请先登录',
  327. icon: 'none',
  328. mask: true
  329. })
  330. setTimeout(() => {
  331. uni.navigateTo({
  332. url: '/pages/login/login'
  333. })
  334. }, 1500)
  335. }
  336. },
  337. // 点击日期区域回调
  338. handleOpen() {
  339. this.$refs.calendar.open()
  340. },
  341. // 传入参数获取当前是星期几
  342. getWeek(time) {
  343. let date = new Date(time)
  344. let week = date.getDay()
  345. let weekList = ['日', '一', '二', '三', '四', '五', '六']
  346. let res = '周' + weekList[week]
  347. return res
  348. },
  349. // 获取今明两天的日期 YYYY-MM-DD
  350. getTimes() {
  351. let today = new Date()
  352. let tomorrow = new Date(today.getTime() + 24 * 60 * 60 * 1000)
  353. this.startTime = `${today.getFullYear()}-${(today.getMonth() + 1).toString().padStart(2, 0)}-${today.getDate().toString().padStart(2, 0)}`
  354. this.endTime = `${tomorrow.getFullYear()}-${(tomorrow.getMonth() + 1).toString().padStart(2, 0)}-${tomorrow.getDate().toString().padStart(2, 0)}`
  355. this.dayList = [this.startTime, this.endTime]
  356. this.earlyTime = this.startTime
  357. }
  358. }
  359. }
  360. </script>
  361. <style lang="scss" scoped>
  362. .container {
  363. display: flex;
  364. flex-direction: column;
  365. align-items: center;
  366. position: relative;
  367. min-height: 100vh;
  368. background-color: #ebeced;
  369. .banner {
  370. position: relative;
  371. margin-top: 20rpx;
  372. width: 750rpx;
  373. height: 422rpx;
  374. .img {
  375. width: 100%;
  376. height: 100%;
  377. }
  378. .slogan {
  379. position: absolute;
  380. top: 0;
  381. left: 0;
  382. display: flex;
  383. justify-content: center;
  384. align-items: center;
  385. width: 163rpx;
  386. height: 60rpx;
  387. background-color: rgba(255, 255, 255, 0.4);
  388. img {
  389. width: 125rpx;
  390. height: 44rpx;
  391. }
  392. }
  393. }
  394. .detail {
  395. z-index: 1;
  396. float: left;
  397. margin-top: -177rpx;
  398. box-sizing: border-box;
  399. padding: 0 30rpx 30rpx;
  400. width: 710rpx;
  401. border-radius: 10rpx;
  402. background-color: #fff;
  403. .detail_name {
  404. margin-top: 25rpx;
  405. font-size: 34rpx;
  406. font-weight: bold;
  407. }
  408. .detail_info {
  409. display: flex;
  410. justify-content: space-between;
  411. margin-top: 10rpx;
  412. .info_left {
  413. color: #999999;
  414. font-size: 20rpx;
  415. }
  416. .info_right {
  417. display: flex;
  418. align-items: center;
  419. color: #096562;
  420. font-size: 24rpx;
  421. img {
  422. margin-left: 6rpx;
  423. width: 10rpx;
  424. height: 20rpx;
  425. }
  426. }
  427. }
  428. .detail_group {
  429. display: flex;
  430. flex-wrap: wrap;
  431. margin-top: 5rpx;
  432. width: 450rpx;
  433. .group_item {
  434. display: flex;
  435. align-items: center;
  436. margin-right: 10rpx;
  437. margin-bottom: 10rpx;
  438. color: #999999;
  439. font-size: 20rpx;
  440. img {
  441. margin-right: 5rpx;
  442. width: 22rpx;
  443. height: 22rpx;
  444. }
  445. }
  446. }
  447. .address {
  448. display: flex;
  449. justify-content: space-between;
  450. margin-top: 8rpx;
  451. font-size: 28rpx;
  452. font-weight: bold;
  453. .address_left {
  454. width: 480rpx;
  455. overflow: hidden;
  456. text-overflow: ellipsis;
  457. white-space: nowrap;
  458. }
  459. .address_right {
  460. display: flex;
  461. .right_box {
  462. margin-left: 28rpx;
  463. width: 50rpx;
  464. height: 78rpx;
  465. img {
  466. width: 100%;
  467. height: 100%;
  468. }
  469. }
  470. }
  471. }
  472. .distance {
  473. margin-top: -35rpx;
  474. color: #999999;
  475. font-size: 24rpx;
  476. }
  477. }
  478. .body {
  479. float: left;
  480. margin-top: 20rpx;
  481. padding-bottom: 30rpx;
  482. width: 710rpx;
  483. border-radius: 10rpx;
  484. background-color: #fff;
  485. .body_header {
  486. display: flex;
  487. justify-content: space-around;
  488. box-sizing: border-box;
  489. padding: 0 30rpx;
  490. height: 150rpx;
  491. .header_start {
  492. display: flex;
  493. flex-direction: column;
  494. justify-content: center;
  495. align-items: center;
  496. width: 213rpx;
  497. height: 150rpx;
  498. font-size: 30rpx;
  499. .header_top {
  500. margin-bottom: 10rpx;
  501. color: #999999;
  502. font-size: 24rpx;
  503. }
  504. .header_bottom {
  505. font-size: 34rpx;
  506. font-weight: bold;
  507. }
  508. }
  509. .header_night {
  510. display: flex;
  511. justify-content: center;
  512. align-items: center;
  513. .night_line {
  514. width: 17rpx;
  515. height: 1rpx;
  516. background-color: #296de3;
  517. }
  518. .night_box {
  519. display: flex;
  520. align-items: center;
  521. justify-content: center;
  522. width: 81rpx;
  523. height: 46rpx;
  524. font-size: 24rpx;
  525. border-radius: 66rpx;
  526. border: 1rpx solid #296de3;
  527. }
  528. }
  529. .header_end {
  530. display: flex;
  531. flex-direction: column;
  532. justify-content: center;
  533. align-items: center;
  534. width: 213rpx;
  535. height: 150rpx;
  536. font-size: 30rpx;
  537. .header_top {
  538. margin-bottom: 10rpx;
  539. color: #999999;
  540. font-size: 24rpx;
  541. }
  542. .header_bottom {
  543. font-size: 34rpx;
  544. font-weight: bold;
  545. }
  546. }
  547. }
  548. .body_content {
  549. .body_box {
  550. box-sizing: border-box;
  551. padding: 0 30rpx;
  552. margin-bottom: 30rpx;
  553. display: flex;
  554. height: 193rpx;
  555. border-bottom: 1rpx solid #cccccc;
  556. .box_left {
  557. width: 213rpx;
  558. height: 161rpx;
  559. border-radius: 5rpx;
  560. img {
  561. width: 100%;
  562. height: 100%;
  563. }
  564. }
  565. .box_center {
  566. margin-left: 16rpx;
  567. .center_top {
  568. font-size: 34rpx;
  569. font-weight: bold;
  570. }
  571. .center_center {
  572. display: flex;
  573. flex-wrap: wrap;
  574. margin-top: 10rpx;
  575. color: #999999;
  576. font-size: 24rpx;
  577. .center_item {
  578. margin-right: 15rpx;
  579. }
  580. }
  581. .center_bottom {
  582. margin-top: 25rpx;
  583. .img {
  584. margin-right: 15rpx;
  585. width: 30rpx;
  586. height: 30rpx;
  587. }
  588. }
  589. }
  590. .box_right {
  591. display: flex;
  592. flex-direction: column;
  593. align-items: flex-end;
  594. margin-left: auto;
  595. margin-top: 20rpx;
  596. .right_price {
  597. color: #ff5733;
  598. font-size: 42rpx;
  599. text {
  600. font-size: 24rpx;
  601. }
  602. }
  603. .right_btn {
  604. display: flex;
  605. justify-content: center;
  606. align-items: center;
  607. margin-top: 10rpx;
  608. width: 100rpx;
  609. height: 66rpx;
  610. color: #fff;
  611. font-size: 36rpx;
  612. border-radius: 11rpx;
  613. background-color: #096562;
  614. }
  615. .inactive {
  616. background-color: #cccccc;
  617. }
  618. }
  619. }
  620. .body_pop {
  621. position: relative;
  622. height: 955rpx;
  623. border-radius: 22rpx 22rpx 0 0;
  624. background-color: #fff;
  625. overflow-y: auto;
  626. .pop_swiper {
  627. height: 422rpx;
  628. border-radius: 22rpx 22rpx 0 0;
  629. .pop_swiper_item {
  630. width: 100%;
  631. height: 100%;
  632. .img {
  633. width: 100%;
  634. height: 100%;
  635. border-radius: 22rpx 22rpx 0 0;
  636. }
  637. }
  638. }
  639. .pop_icon {
  640. position: absolute;
  641. top: 20rpx;
  642. right: 30rpx;
  643. width: 58rpx;
  644. height: 58rpx;
  645. }
  646. .pop_body {
  647. box-sizing: border-box;
  648. padding: 0 20rpx 30rpx;
  649. .body_title {
  650. margin-top: 30rpx;
  651. font-size: 32rpx;
  652. font-weight: bold;
  653. }
  654. .body_tags {
  655. display: flex;
  656. flex-wrap: wrap;
  657. margin-top: 20rpx;
  658. .tags_item {
  659. display: flex;
  660. align-items: center;
  661. margin-right: 76rpx;
  662. margin-bottom: 20rpx;
  663. color: #383838;
  664. font-size: 24rpx;
  665. .img {
  666. margin-right: 5rpx;
  667. width: 28rpx;
  668. height: 28rpx;
  669. }
  670. }
  671. }
  672. .body_title2 {
  673. margin-top: 20rpx;
  674. font-size: 28rpx;
  675. }
  676. .body_detail {
  677. display: flex;
  678. flex-direction: column;
  679. justify-content: space-between;
  680. // align-items: flex-end;
  681. box-sizing: border-box;
  682. padding: 20rpx 30rpx;
  683. margin-top: 18rpx;
  684. width: 710rpx;
  685. height: 266rpx;
  686. font-size: 24rpx;
  687. border-radius: 7rpx;
  688. background-color: #f2f2f2;
  689. .detail_old {
  690. text-align: end;
  691. text-decoration: line-through;
  692. }
  693. .detail_box {
  694. display: flex;
  695. justify-content: space-between;
  696. color: #808080;
  697. text {
  698. color: #ff5733;
  699. }
  700. }
  701. .detail_new {
  702. display: flex;
  703. justify-content: flex-end;
  704. align-items: center;
  705. font-size: 24rpx;
  706. .color {
  707. color: #ff5733;
  708. }
  709. .price {
  710. font-size: 36rpx;
  711. }
  712. .ml_10 {
  713. margin-left: 10rpx;
  714. }
  715. }
  716. }
  717. .body_bottom {
  718. display: flex;
  719. justify-content: space-between;
  720. align-items: center;
  721. margin-top: 250rpx;
  722. height: 80rpx;
  723. .bottom_left {
  724. display: flex;
  725. align-items: center;
  726. color: #333333;
  727. font-size: 24rpx;
  728. .img {
  729. margin-right: 10rpx;
  730. width: 48rpx;
  731. height: 48rpx;
  732. }
  733. }
  734. .bottom_right {
  735. display: flex;
  736. align-items: center;
  737. color: #ff5733;
  738. font-size: 40rpx;
  739. font-weight: bold;
  740. text {
  741. font-size: 24rpx;
  742. }
  743. .btn {
  744. display: flex;
  745. justify-content: center;
  746. align-items: center;
  747. margin-left: 30rpx;
  748. width: 238rpx;
  749. height: 80rpx;
  750. color: #fff;
  751. font-size: 32rpx;
  752. font-weight: 400;
  753. border-radius: 64rpx;
  754. background-color: #096562;
  755. }
  756. .inactive {
  757. background-color: #cccccc;
  758. }
  759. }
  760. }
  761. }
  762. }
  763. }
  764. .noData {
  765. display: flex;
  766. flex-direction: column;
  767. justify-content: center;
  768. align-items: center;
  769. padding-bottom: 20rpx;
  770. img {
  771. margin-top: 60rpx;
  772. width: 600rpx;
  773. height: 600rpx;
  774. }
  775. }
  776. }
  777. }
  778. </style>