index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743
  1. <template>
  2. <view class="page" :style="{'padding-top':mt+'px'}">
  3. <c-nav-bar title="房态" :showIcon="false" :titleStyle="titleStyle" bgColor="transparent"></c-nav-bar>
  4. <view class="leftFixed" v-if="leftData.length!=0" :style="{'top':(mt+2)+'px'}">
  5. <view class="tj" :style="{'top':mt+'px'}"></view>
  6. <view class="year">
  7. <u-icon name="calendar-fill" color="#B9C2D2" size="40" style="margin-bottom:10rpx;"></u-icon>
  8. <text style="font-size: 24rpx;">2024</text>
  9. </view>
  10. <view v-for="(item,key,i) in leftData" :key="i"
  11. :class="indexArr[i]!=key.split('-')[0]?'mg0 fixedItem':'fixedItem'">
  12. <view class="head" v-if="indexArr[i]==key.split('-')[0]" style="margin-top: 16rpx;">
  13. <!-- <text>{{key.split('-')[0]}}F</text> -->
  14. <view class="roomType" :style="{'left':scrollLeft+'px'}">{{key.split('-')[1]}}-{{key.split('-')[2]}}</view>
  15. <view class="rightIcon" @click="open(i,key.split('-')[0],false)" v-if="opens[i]">
  16. <text>收起</text>
  17. <u-icon name="arrow-up-fill" size="18" style="margin-left: 10rpx;"></u-icon>
  18. </view>
  19. <view class="rightIcon" @click="open(i,key.split('-')[0],true)" v-else>
  20. <text>展开</text>
  21. <u-icon name="arrow-down-fill" size="18" style="margin-left: 10rpx;"></u-icon>
  22. </view>
  23. </view>
  24. <template v-if="opens[i]">
  25. <!-- <view class="roomType" :style="{'left':scrollLeft+'px'}">{{key.split('-')[1]}}</view> -->
  26. <text v-for="(item2,index2) in item" class="roomNumber">
  27. {{item2.roomNumber}}
  28. </text>
  29. </template>
  30. </view>
  31. </view>
  32. <view>
  33. <view class="content">
  34. <view class="tj" :style="{'top':mt+'px'}">
  35. <view class="item">
  36. <text class="label">{{info.bookRooms||0}}</text>
  37. <text>待入住</text>
  38. </view>
  39. <view class="item">
  40. <text class="label">{{info.checkinRooms||0}}</text>
  41. <text>已入住</text>
  42. </view>
  43. <view class="item">
  44. <text class="label">{{info.checkoutRooms||0}}</text>
  45. <text>已退房</text>
  46. </view>
  47. </view>
  48. <view class="date">
  49. <view class="item">
  50. <u-icon name="calendar-fill" color="#B9C2D2" size="40" style="margin-bottom:10rpx;"></u-icon>
  51. <text style="font-size: 24rpx;">2024</text>
  52. </view>
  53. <view class="item" v-for="(item,keynme,index) in xdata" :key="index">
  54. <text>{{item.rentDate.substring(5)}}</text>
  55. <text>{{weeks[item.rentWeek]}}</text>
  56. <text>剩{{item.spareRooms||0}}间</text>
  57. </view>
  58. </view>
  59. <view style="height:18rpx"></view>
  60. <view class="floorData" v-if="leftData.length!=0">
  61. <view v-for="(item,key,i) in leftData" :key="i">
  62. <view class="head" v-if="indexArr[i]==key.split('-')[0]" style="opacity: 0;">
  63. <!-- <text>{{key.split('-')[0]}}F</text> -->
  64. <view class="roomType" :style="{'left':scrollLeft+'px'}">{{key.split('-')[1]}}-{{key.split('-')[2]}}</view>
  65. <view class="rightIcon" @click="open(i,key.split('-')[0],false)" v-if="opens[i]">
  66. <text>收起</text>
  67. <u-icon name="arrow-up-fill" size="18" style="margin-left: 10rpx;"></u-icon>
  68. </view>
  69. <view class="rightIcon" @click="open(i,key.split('-')[0],true)" v-else>
  70. <text>展开</text>
  71. <u-icon name="arrow-down-fill" size="18" style="margin-left: 10rpx;"></u-icon>
  72. </view>
  73. </view>
  74. <template v-if="opens[i]">
  75. <!-- <view class="roomType" style="opacity: 0;">{{key.split('-')[1]}}</view> -->
  76. <view class="table">
  77. <view class="tr" v-for="(item2,index2) in item" :key="index2">
  78. <view class="td" :style="{'left':scrollLeft+'px'}">{{item2.roomNumber}}</view>
  79. <view class="td" v-for="(roomData,ind) in xdata" :key="ind"
  80. :class="'s'+delDataStatus(item2.roomNumber,item2.houseBaseId,roomData.roomDataList,'status')">
  81. <!-- 空置房-->
  82. <template
  83. v-if="delDataStatus(item2.roomNumber,item2.houseBaseId,roomData.roomDataList,'status') == 1">
  84. <view v-if="disTabCli(roomData) == 1" class="cellBox disT">
  85. ¥{{item2.roomNumber|delDataStatus(item2.houseBaseId,roomData.roomDataList,'price')}}
  86. </view>
  87. <view v-else
  88. @click="check(item2.roomNumber,item2.houseBaseId,roomData,i + '-'+index2+ '-'+ ind)"
  89. class="cellBox">
  90. ¥{{item2.roomNumber|delDataStatus(item2.houseBaseId,roomData.roomDataList,'price')}}
  91. </view>
  92. </template>
  93. <template v-else>
  94. <view
  95. @click="tabCli(item2.roomNumber,item2.houseBaseId,roomData.roomDataList)"
  96. class="tdP">
  97. <text>{{item2.roomNumber|delDataStatus(item2.houseBaseId,roomData.roomDataList,'guestName')}}</text>
  98. <text>{{item2.roomNumber|delDataStatus(item2.houseBaseId,roomData.roomDataList,'status')}}</text>
  99. </view>
  100. </template>
  101. <!-- 点击时状态 -->
  102. <view class="cover" v-if="checkPosition.indexOf(i + '-'+index2+ '-'+ ind) > -1"
  103. @click="check(item2.roomNumber,item2.houseBaseId,roomData,i + '-'+index2+ '-'+ ind)">
  104. <u-icon name="checkbox-mark" size="36" color="#fff"></u-icon>
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. </template>
  110. </view>
  111. </view>
  112. </view>
  113. <view class="opration" v-if="checkDataRoomId.length!=0">
  114. <text @click="areaShow=true">关房</text>
  115. <text @click="createOrder()">预订</text>
  116. </view>
  117. </view>
  118. <Tabbar :tabbarIndex="1"></Tabbar>
  119. <!-- 关房 -->
  120. <u-picker :itemHeight="88" :immediateChange="true" :show="areaShow" :columns="areaTxt" title="房态选择"
  121. :defaultIndex="passengerDefault" @cancel="areaShow=false;clearData();"
  122. @confirm="passengerConfirm"></u-picker>
  123. </view>
  124. </template>
  125. <script>
  126. var that;
  127. export default {
  128. data() {
  129. return {
  130. homestayId: uni.getStorageSync('homestayId') || 0,
  131. areaShow: false,
  132. passengerDefault: [0],
  133. info: {},
  134. areaTxt: [
  135. ['清洁中', '暂停使用', '保留房', '空置房']
  136. ],
  137. area: [{
  138. label: '清洁中',
  139. id: 4
  140. }, {
  141. label: '暂停使用',
  142. id: 5
  143. }, {
  144. label: '保留房',
  145. id: 6
  146. }, {
  147. label: '空置房',
  148. id: 0
  149. }],
  150. titleStyle: {
  151. fontSize: '34rpx',
  152. fontWeight: "bold",
  153. },
  154. dateArr: [1, 2, 3, 4, 5],
  155. xdata: [], //纵向列
  156. leftData: [], //横向列,
  157. indexArr: [], //楼层索引,
  158. indexHouseBaseIdArr:[],
  159. indexNameArr: [], //楼层Id索引,
  160. opens: [],
  161. statusTxt: {
  162. '-2': '待支付',
  163. '-1': '待确定',
  164. '1': '已预订',
  165. '2': '已入住',
  166. '3': '已退房',
  167. '4': '清洁中',
  168. '5': '暂停使用',
  169. '6': '保留房',
  170. },
  171. weeks: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
  172. checkPosition: [],
  173. checkDataDate: [],
  174. checkPrice: [],
  175. checkDataRoomId: [],
  176. checkStatus: '',
  177. scrollLeft: 0
  178. }
  179. },
  180. mounted() {
  181. that = this;
  182. this.getLeftData();
  183. this.getData();
  184. this.getTj();
  185. },
  186. filters: {
  187. delDataStatus(roomNumber, id, roomId, name) {
  188. for (let i = 0; i < roomId.length; i++) {
  189. if (id == roomId[i].houseBaseId && roomNumber == roomId[i].roomNumber) {
  190. if (name == "status") {
  191. return that.statusTxt[roomId[i][name]]
  192. } else {
  193. return roomId[i][name] || ''
  194. }
  195. }
  196. }
  197. },
  198. },
  199. methods: {
  200. init() {
  201. this.getLeftData();
  202. this.getData();
  203. this.$forceUpdate();
  204. },
  205. getTj() {
  206. this.$api.get('/merchant/hotel/room/state/getRoomStateCount', {
  207. homestayId: this.homestayId
  208. }).then(res => {
  209. if (res.data.code == 0) {
  210. this.info = res.data.data;
  211. }
  212. })
  213. },
  214. scroll(e) {
  215. //this.scrollLeft = e.detail.scrollLeft; // div 到左边的距离
  216. },
  217. //关房
  218. tabCli(roomNumber, id, roomId) {
  219. if (roomNumber) {
  220. let obj = {};
  221. for (let i = 0; i < roomId.length; i++) {
  222. if (id == roomId[i].houseBaseId && roomNumber == roomId[i].roomNumber) {
  223. obj = roomId[i];
  224. }
  225. }
  226. //已预订,已入住 待确认 待支付
  227. if (obj.status == 1 || obj.status == 2 || obj.status == -1 || obj.status == -2) {
  228. let orderId = obj.orderId;
  229. uni.navigateTo({
  230. url: "/pages/house/orderInfo?orderId=" + orderId
  231. })
  232. //到详情
  233. } else {
  234. //更改状态
  235. this.areaShow = true;
  236. this.checkDataRoomId = [obj.id];
  237. this.checkStatus = obj.status;
  238. }
  239. }
  240. },
  241. //确定关房
  242. passengerConfirm(e) {
  243. let status = this.area[e.indexs[0]].id;
  244. this.$api.post('/merchant/hotel/room/state/updRoomState', {
  245. roomIds: this.checkDataRoomId,
  246. status: status
  247. }).then(res => {
  248. if (res.data.code == 0) {
  249. this.clearData();
  250. this.areaShow = false;
  251. this.init()
  252. } else {
  253. this.$showToast(res.data.msg);
  254. }
  255. })
  256. },
  257. //新增订单
  258. createOrder() {
  259. this.clearData()
  260. uni.navigateTo({
  261. url: '/pages/house/createOrder?roomId=' + this.checkDataRoomId
  262. })
  263. },
  264. //展开收起
  265. open(i, F, val) {
  266. this.opens[i] = !this.opens[i];
  267. let list = this.leftData;
  268. for (var i = 0; i < Object.keys(list).length; i++) {
  269. var index = i; // 索引
  270. var key = Object.keys(list)[i].split('-')[0]; // key
  271. if (F == key) {
  272. this.opens[index] = val;
  273. }
  274. }
  275. this.$forceUpdate();
  276. },
  277. delDataStatus(roomNumber, id, roomId, name) {
  278. for (let i = 0; i < roomId.length; i++) {
  279. if (id == roomId[i].houseBaseId && roomNumber == roomId[i].roomNumber) {
  280. return roomId[i][name] + 1;
  281. }
  282. }
  283. },
  284. disTabCli(roomData) {
  285. if (new Date(roomData.rentDate).Format('yyyy-MM-dd') < new Date().Format('yyyy-MM-dd')) {
  286. return 1
  287. }
  288. },
  289. clearData() {
  290. setTimeout(() => {
  291. this.checkDataDate = [];
  292. this.checkPrice = [];
  293. this.checkDataRoomId = [];
  294. this.checkPosition = [];
  295. }, 1500);
  296. },
  297. //选择房间
  298. check(roomNumber, id, item, position) {
  299. for (let i = 0; i < item.roomDataList.length; i++) {
  300. if (
  301. id == item.roomDataList[i].houseBaseId &&
  302. roomNumber == item.roomDataList[i].roomNumber
  303. ) {
  304. //宫格位置标识
  305. if (item.roomDataList[i].status == 0) {
  306. if (this.checkPosition.indexOf(position) < 0) {
  307. this.checkPosition.push(position);
  308. } else {
  309. let index = this.checkPosition.findIndex(
  310. (pos) => pos == position
  311. ); //选中的索引位置
  312. this.checkPosition.splice(index, 1);
  313. }
  314. //房间id
  315. if (this.checkDataRoomId.indexOf(item.roomDataList[i].id) < 0) {
  316. this.checkDataRoomId.push(item.roomDataList[i].id);
  317. } else {
  318. let index = this.checkDataRoomId.findIndex(
  319. (roomId) => roomId == item.roomDataList[i].id
  320. );
  321. this.checkDataRoomId.splice(index, 1);
  322. }
  323. //日期
  324. if (this.checkPosition.indexOf(position) > -1) {
  325. this.checkDataDate.push(item.rentDate);
  326. this.checkPrice.push(item.roomDataList[i].price)
  327. } else {
  328. let index = this.checkDataDate.findIndex(
  329. (date) => date == item.rentDate
  330. );
  331. this.checkDataDate.splice(index, 1);
  332. //价格
  333. let index2 = this.checkPrice.findIndex(
  334. (price) => price == item.price
  335. );
  336. this.checkPrice.splice(index2, 1);
  337. }
  338. if (this.checkPosition.length == 0) {
  339. this.checkDataDate = [];
  340. this.checkPrice = [];
  341. }
  342. }
  343. }
  344. }
  345. },
  346. getLeftData() {
  347. this.$api.get(`/merchant/hotel/room/state/getHouseCategoryData/${this.homestayId}`).then(res => {
  348. if (res.data.code == 0) {
  349. // for (let i; i < res.data.data.length; i++) {
  350. // res.data.data[i].open = true;
  351. // }
  352. for (let i in res.data.data) {
  353. console.log(i)
  354. console.log(res.data.data)
  355. let F = i.split('-')[0];
  356. let houseBaseId=res.data.data[i][0].houseBaseId;
  357. //indexNameArr
  358. if (this.indexArr.indexOf(F)||this.indexHouseBaseIdArr.indexOf(houseBaseId) < 0) {
  359. this.indexArr.push(F);
  360. this.indexHouseBaseIdArr.push(houseBaseId)
  361. this.opens.push(true)
  362. } else {
  363. this.indexArr.push('');
  364. this.indexHouseBaseIdArr.push('')
  365. this.opens.push(true)
  366. }
  367. }
  368. this.leftData = res.data.data;
  369. }
  370. })
  371. },
  372. getData() {
  373. this.$api.get('/merchant/hotel/room/state/getDateRoomList', {
  374. homestayId: this.homestayId,
  375. nowDate: '',
  376. status: ''
  377. }).then(res => {
  378. if (res.data.code == 0) {
  379. this.xdata = res.data.data;
  380. }
  381. })
  382. }
  383. }
  384. }
  385. </script>
  386. <style scoped lang="less">
  387. .opration {
  388. height: 140rpx;
  389. padding: 0 30rpx;
  390. background-color: #fff;
  391. position: fixed;
  392. bottom: 0;
  393. left: 0;
  394. width: 100%;
  395. z-index: 9;
  396. display: flex;
  397. align-items: center;
  398. justify-content: space-between;
  399. box-sizing: border-box;
  400. text {
  401. display: inline-block;
  402. width: 160rpx;
  403. text-align: center;
  404. line-height: 56rpx;
  405. border: 1rpx solid #D1D1D1;
  406. height: 56rpx;
  407. border-radius: 64rpx;
  408. font-size: 24rpx;
  409. color: #999;
  410. &:last-child {
  411. background-color: #1372FF;
  412. color: #fff;
  413. border: 0;
  414. }
  415. }
  416. }
  417. .page {
  418. background: #F3F4F4;
  419. padding-bottom: 40rpx;
  420. box-sizing: border-box;
  421. overflow-x: auto;
  422. .content {}
  423. }
  424. .tj {
  425. padding: 30rpx 0;
  426. text-align: center;
  427. height: 140rpx;
  428. box-sizing: border-box;
  429. position: absolute;
  430. width: 750rpx;
  431. left: 0;
  432. display: flex;
  433. justify-content: space-between;
  434. background-color: #fff;
  435. .item {
  436. display: flex;
  437. flex-direction: column;
  438. align-items: center;
  439. width: 100px;
  440. flex: 1;
  441. }
  442. text {
  443. font-size: 24rpx;
  444. color: #999;
  445. &.label {
  446. font-size: 40rpx;
  447. color: #333;
  448. font-weight: bold;
  449. }
  450. }
  451. }
  452. .date {
  453. display: flex;
  454. position: relative;
  455. border: 1rpx solid #E9F0F5;
  456. // padding-bottom: 19rpx;
  457. margin-top: 140rpx;
  458. .item {
  459. min-width: 140rpx;
  460. width: 140rpx;
  461. height: 136rpx;
  462. display: flex;
  463. flex-direction: column;
  464. align-items: center;
  465. justify-content: center;
  466. font-size: 20rpx;
  467. border-right: 1rpx solid #E9F0F5;
  468. background-color: #fff;
  469. &:last-child {
  470. border: 0;
  471. }
  472. text {
  473. &:nth-child(2) {
  474. margin: 6rpx 0;
  475. }
  476. }
  477. }
  478. }
  479. .head,
  480. .roomType {
  481. padding: 0 30rpx 0 0;
  482. display: flex;
  483. width: 400rpx;
  484. // justify-content: space-between;
  485. }
  486. .head {
  487. // position: absolute;
  488. // top: 0;
  489. // left: 0;
  490. margin-top: 16rpx;
  491. width: 750rpx;
  492. display: flex;
  493. box-sizing: border-box;
  494. justify-content: space-between;
  495. &>text {
  496. &:first-child {
  497. font-size: 32rpx;
  498. margin-right: 30rpx;
  499. }
  500. }
  501. .rightIcon {
  502. display: flex;
  503. align-items: center;
  504. font-size: 24rpx;
  505. color: #1F2425;
  506. }
  507. }
  508. .roomType {
  509. // position: absolute;
  510. // top: 40rpx;
  511. // left: 0;
  512. color: #333;
  513. font-size: 24rpx;
  514. position: relative;
  515. padding-left: 34rpx;
  516. margin: 20rpx 0 16rpx;
  517. &::after {
  518. position: absolute;
  519. content: "";
  520. height: 24rpx;
  521. width: 5rpx;
  522. background-color: #1372FF;
  523. left: 20rpx;
  524. top: 4rpx;
  525. z-index: 1;
  526. }
  527. }
  528. .floorData {
  529. .table {
  530. // border: 1rpx solid #E9F0F5;
  531. width: auto;
  532. min-width: 100%;
  533. .tr {
  534. display: flex;
  535. align-items: center;
  536. background-color: #fff;
  537. position: relative;
  538. &:last-child {
  539. border: 0;
  540. }
  541. .td {
  542. display: flex;
  543. align-items: center;
  544. justify-content: center;
  545. position: relative;
  546. width: 140rpx;
  547. min-width: 140rpx;
  548. height: 110rpx;
  549. border-right: 1rpx solid #E9F0F5;
  550. background-color: #fff;
  551. color: #1F2425;
  552. font-size: 24rpx;
  553. box-sizing: border-box;
  554. border-bottom: 1rpx solid #E9F0F5;
  555. .tdP,
  556. .cellBox {
  557. display: flex;
  558. width: 100%;
  559. height: 100%;
  560. flex-direction: column;
  561. align-items: center;
  562. justify-content: center;
  563. &.disT {
  564. color: #ccc;
  565. }
  566. }
  567. &:last-child {
  568. border: 0;
  569. }
  570. //已预订
  571. &.s2 {
  572. background-color: rgba(29, 202, 104, 0.1);
  573. color: rgb(29, 202, 104);
  574. text {
  575. &:first-child {
  576. margin-bottom: 6rpx;
  577. color: #1F2425;
  578. }
  579. }
  580. }
  581. // 已入住
  582. &.s3 {
  583. color: rgb(19, 114, 255);
  584. background-color: rgba(19, 114, 255, 0.1);
  585. text {
  586. &:first-child {
  587. margin-bottom: 6rpx;
  588. color: #1F2425;
  589. }
  590. }
  591. }
  592. // 已退房
  593. &.s4 {
  594. color: rgb(219, 41, 195);
  595. background-color: rgba(219, 41, 195, 0.1);
  596. }
  597. //待确定
  598. &.s0 {
  599. color: rgb(25, 185, 197);
  600. background-color: rgba(25, 185, 197, 0.1);
  601. }
  602. //清洁中
  603. &.s5 {
  604. color: rgb(237, 86, 86);
  605. background-color: rgba(237, 86, 86, 0.1);
  606. }
  607. //暂停使用
  608. &.s6 {
  609. color: rgb(41, 60, 115);
  610. background-color: rgba(41, 60, 115, 0.1);
  611. }
  612. //保留房
  613. &.s7 {
  614. color: rgb(132, 68, 244);
  615. background-color: rgba(132, 68, 244, 0.1);
  616. }
  617. }
  618. }
  619. .cover {
  620. position: absolute;
  621. top: 0;
  622. left: 0;
  623. bottom: 0;
  624. right: 0;
  625. background-color: #1372FF;
  626. color: #fff;
  627. text-align: center;
  628. display: flex;
  629. flex-direction: column;
  630. justify-content: center;
  631. align-items: center;
  632. }
  633. }
  634. }
  635. .small {
  636. padding-top: 68rpx !important;
  637. .roomType {
  638. top: 0 !important;
  639. }
  640. }
  641. .pd0 {
  642. padding: 0 !important;
  643. }
  644. .leftFixed {
  645. width: 72rpx;
  646. position: absolute;
  647. left: 0;
  648. // top: 232rpx;
  649. z-index: 1;
  650. .tj {
  651. width: 0;
  652. position: relative;
  653. }
  654. .year {
  655. min-width: 130rpx;
  656. width: 130rpx;
  657. height: 136rpx;
  658. display: flex;
  659. flex-direction: column;
  660. align-items: center;
  661. justify-content: center;
  662. font-size: 20rpx;
  663. border-right: 1rpx solid #E9F0F5;
  664. background-color: #fff;
  665. margin-bottom: 18rpx;
  666. }
  667. .fixedItem {
  668. display: flex;
  669. flex-direction: column;
  670. .roomNumber {
  671. height: 110rpx;
  672. display: flex;
  673. align-items: center;
  674. border-bottom: 1rpx solid #E9F0F5;
  675. width: 130rpx;
  676. background-color: #fff;
  677. box-shadow: 3px 0 10px #efefef;
  678. box-sizing: border-box;
  679. justify-content: center;
  680. // &:first-child{height: 84rpx;border-top: 1rpx solid #E9F0F5;}
  681. }
  682. }
  683. }
  684. </style>