detail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862
  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="startTime"
  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. },
  183. onLoad(options) {
  184. this.getTimes()
  185. this.hotelId = options.id
  186. this.distance = options.distance === 'undefined' ? false : options.distance
  187. uni.getSetting({
  188. success: (res) => {
  189. this.showLocation = res.authSetting['scope.userLocation']
  190. this.getHotelInfo()
  191. }
  192. })
  193. },
  194. methods: {
  195. async getHotelInfo() {
  196. const res = await this.$myRequest({
  197. url: '/mhotel/ahpgetHouseByHotelId.action',
  198. data: {
  199. hotelId: this.hotelId,
  200. queryStartTime: this.startTime,
  201. queryEndTime: this.endTime
  202. }
  203. })
  204. // console.log(res)
  205. if (res.code === 200) {
  206. this.info = res.data.data
  207. this.list = res.data.data.houseList
  208. }
  209. },
  210. // 选择日期确定回调
  211. handleConfirm(e) {
  212. this.startTime = e.range.before
  213. this.endTime = e.range.after
  214. this.dayList = e.range.data
  215. this.nightNum = e.range.data.length - 1
  216. this.getHotelInfo()
  217. },
  218. // 点击地图图标回调
  219. handleMap(item) {
  220. if (this.showLocation) {
  221. let lat = item.hpositionWens.split(',')[0] * 1
  222. let lng = item.hpositionWens.split(',')[1] * 1
  223. uni.openLocation({
  224. latitude: lat,
  225. longitude: lng,
  226. name: item.hname,
  227. address: item.hposition,
  228. success: () => {}
  229. })
  230. } else {
  231. uni.showModal({
  232. content: '当前没有定位权限,是否去设置打开?',
  233. confirmText: '确认',
  234. cancelText: '取消',
  235. success: (res) => {
  236. if (res.confirm) {
  237. uni.openSetting({
  238. success: (res) => {
  239. this.showLocation = true
  240. this.handleMap(item)
  241. }
  242. })
  243. } else {
  244. uni.showToast({
  245. title: '获取定位权限失败,无法使用地图功能',
  246. icon: 'none',
  247. mask: true
  248. })
  249. }
  250. }
  251. })
  252. }
  253. },
  254. // 点击电话图标回调
  255. handlePhone(phone) {
  256. uni.makePhoneCall({
  257. phoneNumber: phone
  258. })
  259. },
  260. // 点击弹窗关闭图标回调
  261. handleClosePop() {
  262. this.showPage = false
  263. this.$refs.popup.close()
  264. },
  265. // 点击每一个户型回调
  266. handleLookDetail(item) {
  267. this.roomInfo = item
  268. this.showPage = true
  269. this.$refs.popup.open('bottom')
  270. },
  271. // 点击设施详情回调
  272. goPageDetailInfo() {
  273. uni.navigateTo({
  274. url: `/pages/detailInfo/detailInfo?hotelId=${this.hotelId}`
  275. })
  276. },
  277. // 点击 订 预定 按钮回调
  278. goPageAffOrder(item) {
  279. let flag = uni.getStorageSync('openid')
  280. if (flag) {
  281. if (!this.startTime) {
  282. uni.showToast({
  283. title: '请选择入住时间',
  284. icon: 'none'
  285. })
  286. return
  287. }
  288. if (!this.endTime) {
  289. uni.showToast({
  290. title: '请选择离店时间',
  291. icon: 'none'
  292. })
  293. return
  294. }
  295. if (item.remainRooms * 1 > 0) {
  296. this.$refs.popup.close()
  297. this.showPage = false
  298. let info = JSON.stringify({
  299. nightNum: this.nightNum,
  300. startTimeDay: this.startTime.slice(8, 10),
  301. startTimeMonth: this.startTime.slice(5, 7),
  302. startTimeWeek: this.getWeek(this.startTime),
  303. endTimeDay: this.endTime.slice(8, 10),
  304. endTimeMonth: this.endTime.slice(5, 7),
  305. endTimeWeek: this.getWeek(this.endTime),
  306. item: item,
  307. queryStartTime: this.startTime,
  308. queryEndTime: this.endTime,
  309. dayList: this.dayList,
  310. hTypeName: this.info.hTypeName
  311. })
  312. uni.navigateTo({
  313. url: `/pages/affirmOrder/affirmOrder?info=${info}`
  314. })
  315. } else {
  316. uni.showToast({
  317. title: '该房间已售罄',
  318. icon: 'none',
  319. mask: true
  320. })
  321. }
  322. } else {
  323. uni.showToast({
  324. title: '请先登录',
  325. icon: 'none',
  326. mask: true
  327. })
  328. setTimeout(() => {
  329. uni.navigateTo({
  330. url: '/pages/login/login'
  331. })
  332. }, 1500)
  333. }
  334. },
  335. // 点击日期区域回调
  336. handleOpen() {
  337. this.$refs.calendar.open()
  338. },
  339. // 传入参数获取当前是星期几
  340. getWeek(time) {
  341. let date = new Date(time)
  342. let week = date.getDay()
  343. let weekList = ['日', '一', '二', '三', '四', '五', '六']
  344. let res = '周' + weekList[week]
  345. return res
  346. },
  347. // 获取今明两天的日期 YYYY-MM-DD
  348. getTimes() {
  349. let today = new Date()
  350. let tomorrow = new Date(today.getTime() + 24 * 60 * 60 * 1000)
  351. this.startTime = `${today.getFullYear()}-${(today.getMonth() + 1).toString().padStart(2, 0)}-${today.getDate().toString().padStart(2, 0)}`
  352. this.endTime = `${tomorrow.getFullYear()}-${(tomorrow.getMonth() + 1).toString().padStart(2, 0)}-${tomorrow.getDate().toString().padStart(2, 0)}`
  353. this.dayList = [this.startTime, this.endTime]
  354. }
  355. }
  356. }
  357. </script>
  358. <style lang="scss" scoped>
  359. .container {
  360. display: flex;
  361. flex-direction: column;
  362. align-items: center;
  363. position: relative;
  364. min-height: 100vh;
  365. background-color: #ebeced;
  366. .banner {
  367. position: relative;
  368. margin-top: 20rpx;
  369. width: 750rpx;
  370. height: 422rpx;
  371. .img {
  372. width: 100%;
  373. height: 100%;
  374. }
  375. .slogan {
  376. position: absolute;
  377. top: 0;
  378. left: 0;
  379. display: flex;
  380. justify-content: center;
  381. align-items: center;
  382. width: 163rpx;
  383. height: 60rpx;
  384. background-color: rgba(255, 255, 255, 0.4);
  385. img {
  386. width: 125rpx;
  387. height: 44rpx;
  388. }
  389. }
  390. }
  391. .detail {
  392. z-index: 1;
  393. float: left;
  394. margin-top: -177rpx;
  395. box-sizing: border-box;
  396. padding: 0 30rpx 30rpx;
  397. width: 710rpx;
  398. border-radius: 10rpx;
  399. background-color: #fff;
  400. .detail_name {
  401. margin-top: 25rpx;
  402. font-size: 34rpx;
  403. font-weight: bold;
  404. }
  405. .detail_info {
  406. display: flex;
  407. justify-content: space-between;
  408. margin-top: 10rpx;
  409. .info_left {
  410. color: #999999;
  411. font-size: 20rpx;
  412. }
  413. .info_right {
  414. display: flex;
  415. align-items: center;
  416. color: #096562;
  417. font-size: 24rpx;
  418. img {
  419. margin-left: 6rpx;
  420. width: 10rpx;
  421. height: 20rpx;
  422. }
  423. }
  424. }
  425. .detail_group {
  426. display: flex;
  427. flex-wrap: wrap;
  428. margin-top: 5rpx;
  429. width: 450rpx;
  430. .group_item {
  431. display: flex;
  432. align-items: center;
  433. margin-right: 10rpx;
  434. margin-bottom: 10rpx;
  435. color: #999999;
  436. font-size: 20rpx;
  437. img {
  438. margin-right: 5rpx;
  439. width: 22rpx;
  440. height: 22rpx;
  441. }
  442. }
  443. }
  444. .address {
  445. display: flex;
  446. justify-content: space-between;
  447. margin-top: 8rpx;
  448. font-size: 28rpx;
  449. font-weight: bold;
  450. .address_left {
  451. width: 480rpx;
  452. overflow: hidden;
  453. text-overflow: ellipsis;
  454. white-space: nowrap;
  455. }
  456. .address_right {
  457. display: flex;
  458. .right_box {
  459. margin-left: 28rpx;
  460. width: 50rpx;
  461. height: 78rpx;
  462. img {
  463. width: 100%;
  464. height: 100%;
  465. }
  466. }
  467. }
  468. }
  469. .distance {
  470. margin-top: -35rpx;
  471. color: #999999;
  472. font-size: 24rpx;
  473. }
  474. }
  475. .body {
  476. float: left;
  477. margin-top: 20rpx;
  478. padding-bottom: 30rpx;
  479. width: 710rpx;
  480. border-radius: 10rpx;
  481. background-color: #fff;
  482. .body_header {
  483. display: flex;
  484. justify-content: space-around;
  485. box-sizing: border-box;
  486. padding: 0 30rpx;
  487. height: 150rpx;
  488. .header_start {
  489. display: flex;
  490. flex-direction: column;
  491. justify-content: center;
  492. align-items: center;
  493. width: 213rpx;
  494. height: 150rpx;
  495. font-size: 30rpx;
  496. .header_top {
  497. margin-bottom: 10rpx;
  498. color: #999999;
  499. font-size: 24rpx;
  500. }
  501. .header_bottom {
  502. font-size: 34rpx;
  503. font-weight: bold;
  504. }
  505. }
  506. .header_night {
  507. display: flex;
  508. justify-content: center;
  509. align-items: center;
  510. .night_line {
  511. width: 17rpx;
  512. height: 1rpx;
  513. background-color: #296de3;
  514. }
  515. .night_box {
  516. display: flex;
  517. align-items: center;
  518. justify-content: center;
  519. width: 81rpx;
  520. height: 46rpx;
  521. font-size: 24rpx;
  522. border-radius: 66rpx;
  523. border: 1rpx solid #296de3;
  524. }
  525. }
  526. .header_end {
  527. display: flex;
  528. flex-direction: column;
  529. justify-content: center;
  530. align-items: center;
  531. width: 213rpx;
  532. height: 150rpx;
  533. font-size: 30rpx;
  534. .header_top {
  535. margin-bottom: 10rpx;
  536. color: #999999;
  537. font-size: 24rpx;
  538. }
  539. .header_bottom {
  540. font-size: 34rpx;
  541. font-weight: bold;
  542. }
  543. }
  544. }
  545. .body_content {
  546. .body_box {
  547. box-sizing: border-box;
  548. padding: 0 30rpx;
  549. margin-bottom: 30rpx;
  550. display: flex;
  551. height: 193rpx;
  552. border-bottom: 1rpx solid #cccccc;
  553. .box_left {
  554. width: 213rpx;
  555. height: 161rpx;
  556. border-radius: 5rpx;
  557. img {
  558. width: 100%;
  559. height: 100%;
  560. }
  561. }
  562. .box_center {
  563. margin-left: 16rpx;
  564. .center_top {
  565. font-size: 34rpx;
  566. font-weight: bold;
  567. }
  568. .center_center {
  569. display: flex;
  570. flex-wrap: wrap;
  571. margin-top: 10rpx;
  572. color: #999999;
  573. font-size: 24rpx;
  574. .center_item {
  575. margin-right: 15rpx;
  576. }
  577. }
  578. .center_bottom {
  579. margin-top: 25rpx;
  580. .img {
  581. margin-right: 15rpx;
  582. width: 30rpx;
  583. height: 30rpx;
  584. }
  585. }
  586. }
  587. .box_right {
  588. display: flex;
  589. flex-direction: column;
  590. align-items: flex-end;
  591. margin-left: auto;
  592. margin-top: 20rpx;
  593. .right_price {
  594. color: #ff5733;
  595. font-size: 42rpx;
  596. text {
  597. font-size: 24rpx;
  598. }
  599. }
  600. .right_btn {
  601. display: flex;
  602. justify-content: center;
  603. align-items: center;
  604. margin-top: 10rpx;
  605. width: 100rpx;
  606. height: 66rpx;
  607. color: #fff;
  608. font-size: 36rpx;
  609. border-radius: 11rpx;
  610. background-color: #096562;
  611. }
  612. .inactive {
  613. background-color: #cccccc;
  614. }
  615. }
  616. }
  617. .body_pop {
  618. position: relative;
  619. height: 955rpx;
  620. border-radius: 22rpx 22rpx 0 0;
  621. background-color: #fff;
  622. overflow-y: auto;
  623. .pop_swiper {
  624. height: 422rpx;
  625. border-radius: 22rpx 22rpx 0 0;
  626. .pop_swiper_item {
  627. width: 100%;
  628. height: 100%;
  629. .img {
  630. width: 100%;
  631. height: 100%;
  632. border-radius: 22rpx 22rpx 0 0;
  633. }
  634. }
  635. }
  636. .pop_icon {
  637. position: absolute;
  638. top: 20rpx;
  639. right: 30rpx;
  640. width: 58rpx;
  641. height: 58rpx;
  642. }
  643. .pop_body {
  644. box-sizing: border-box;
  645. padding: 0 20rpx 30rpx;
  646. .body_title {
  647. margin-top: 30rpx;
  648. font-size: 32rpx;
  649. font-weight: bold;
  650. }
  651. .body_tags {
  652. display: flex;
  653. flex-wrap: wrap;
  654. margin-top: 20rpx;
  655. .tags_item {
  656. display: flex;
  657. align-items: center;
  658. margin-right: 76rpx;
  659. margin-bottom: 20rpx;
  660. color: #383838;
  661. font-size: 24rpx;
  662. .img {
  663. margin-right: 5rpx;
  664. width: 28rpx;
  665. height: 28rpx;
  666. }
  667. }
  668. }
  669. .body_title2 {
  670. margin-top: 20rpx;
  671. font-size: 28rpx;
  672. }
  673. .body_detail {
  674. display: flex;
  675. flex-direction: column;
  676. justify-content: space-between;
  677. // align-items: flex-end;
  678. box-sizing: border-box;
  679. padding: 20rpx 30rpx;
  680. margin-top: 18rpx;
  681. width: 710rpx;
  682. height: 266rpx;
  683. font-size: 24rpx;
  684. border-radius: 7rpx;
  685. background-color: #f2f2f2;
  686. .detail_old {
  687. text-align: end;
  688. text-decoration: line-through;
  689. }
  690. .detail_box {
  691. display: flex;
  692. justify-content: space-between;
  693. color: #808080;
  694. text {
  695. color: #ff5733;
  696. }
  697. }
  698. .detail_new {
  699. display: flex;
  700. justify-content: flex-end;
  701. align-items: center;
  702. font-size: 24rpx;
  703. .color {
  704. color: #ff5733;
  705. }
  706. .price {
  707. font-size: 36rpx;
  708. }
  709. .ml_10 {
  710. margin-left: 10rpx;
  711. }
  712. }
  713. }
  714. .body_bottom {
  715. display: flex;
  716. justify-content: space-between;
  717. align-items: center;
  718. margin-top: 250rpx;
  719. height: 80rpx;
  720. .bottom_left {
  721. display: flex;
  722. align-items: center;
  723. color: #333333;
  724. font-size: 24rpx;
  725. .img {
  726. margin-right: 10rpx;
  727. width: 48rpx;
  728. height: 48rpx;
  729. }
  730. }
  731. .bottom_right {
  732. display: flex;
  733. align-items: center;
  734. color: #ff5733;
  735. font-size: 40rpx;
  736. font-weight: bold;
  737. text {
  738. font-size: 24rpx;
  739. }
  740. .btn {
  741. display: flex;
  742. justify-content: center;
  743. align-items: center;
  744. margin-left: 30rpx;
  745. width: 238rpx;
  746. height: 80rpx;
  747. color: #fff;
  748. font-size: 32rpx;
  749. font-weight: 400;
  750. border-radius: 64rpx;
  751. background-color: #096562;
  752. }
  753. .inactive {
  754. background-color: #cccccc;
  755. }
  756. }
  757. }
  758. }
  759. }
  760. }
  761. .noData {
  762. display: flex;
  763. flex-direction: column;
  764. justify-content: center;
  765. align-items: center;
  766. padding-bottom: 20rpx;
  767. img {
  768. margin-top: 60rpx;
  769. width: 600rpx;
  770. height: 600rpx;
  771. }
  772. }
  773. }
  774. }
  775. </style>