detail.vue 18 KB

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