index.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857
  1. <template>
  2. <view style="height:calc(100vh - var(--window-bottom))">
  3. <div style="background:#fff">
  4. <div class="home-box">
  5. <div class="select-top">
  6. <uni-data-select style="border: none;flex: none;" iconColor="#FFF" :clear="false" v-model="hotelIds" :localdata="range" @change="change"></uni-data-select>
  7. </div>
  8. <div class="grid-data">
  9. <div>
  10. <div>今日总收款/元</div>
  11. <div style="font-size: 18px;">{{todayTotalIncome}}</div>
  12. </div>
  13. <div>
  14. <div>在住/空置</div>
  15. <div style="font-size: 18px;">{{roomData.checkInRoomData}}/{{roomData.allRoomData - roomData.checkInRoomData}}</div>
  16. </div>
  17. <div>
  18. <div>入住率</div>
  19. <div style="font-size: 18px;">{{(((roomData.checkInRoomData/roomData.allRoomData) || 0).toFixed(2))*100}}%</div>
  20. </div>
  21. <div style="margin-top:10px;">
  22. <div>今日总收入/元</div>
  23. <div style="font-size: 18px;">{{todayIncome.reduce((pre, cur) => pre+cur.amount,0 ) || 0}}</div>
  24. </div>
  25. <div style="margin-top:10px;">
  26. <div>平均房价/元</div>
  27. <div style="font-size: 18px;">{{roomData.housingPrices}}</div>
  28. </div>
  29. <div style="margin-top:10px;">
  30. <div>RevPAR</div>
  31. <div v-if="roomData.checkInRoomData/roomData.allRoomData!=0 && roomData.allRoomData!=0" style="font-size: 18px;">{{((roomData.housingPrices*roomData.allRoomData)/(roomData.checkInRoomData/roomData.allRoomData).toFixed(2)).toFixed(2)}}</div>
  32. <div v-else style="font-size: 18px;">{{0}}</div>
  33. </div>
  34. </div>
  35. <div class="card">
  36. <div style="display:flex;justify-content:flex-end;align-items:center;">
  37. <u-icon name="arrow-right"></u-icon>
  38. </div>
  39. <div class="card-data">
  40. <div @click="roomOrders(1)">
  41. <div style="font-size: 20px; font-weight: 600;">{{roomData.todayLeaveRoomData}}</div>
  42. <div style="font-size: 12px;">今日预离</div>
  43. </div>
  44. <div @click="handleToPredetemine(1)">
  45. <div style="font-size: 20px; font-weight: 600;">{{roomData.todayArriveRoomData}}</div>
  46. <div style="font-size: 12px;">今日预抵</div>
  47. </div>
  48. <div>
  49. <div style="font-size: 20px; font-weight: 600;">{{roomData.todayArrearsRoomData}}</div>
  50. <div style="font-size: 12px;color:red">欠费</div>
  51. </div>
  52. <div>
  53. <div style="font-size: 20px; font-weight: 600;">{{roomData.dirtyRoomData}}</div>
  54. <div style="font-size: 12px;">脏房</div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. <div class="grid-tabbar">
  60. <div v-for="(item, index) in tabbarList" @click="handleToPage(item)" :key="index" style="display:flex;flex-direction:column;align-items:center;width:20%;margin-top:10px;">
  61. <image :src="item.icon" style="width:30px;height:30px;" />
  62. <div class="tbr-name">{{item.name}}</div>
  63. </div>
  64. </div>
  65. <div class="notice">
  66. 公告<span style="border-right:3px solid rgb(255, 141, 26);margin:0 5px"></span>公告内容公告内容公告内容公告内容
  67. </div>
  68. </div>
  69. <div class="content-card">
  70. <div class="content-card-top">
  71. <div>
  72. <span>今日收入</span>/元
  73. </div>
  74. <div @click="handleToIncome">
  75. <u-icon name="arrow-right"></u-icon>
  76. </div>
  77. </div>
  78. <div class="content-card-btm">
  79. <div v-for="(item, index) in todayIncome" :key="index">
  80. <div>{{item.amount}}</div>
  81. <div>{{item.name}}</div>
  82. </div>
  83. </div>
  84. </div>
  85. <div class="content-card">
  86. <div class="content-card-top">
  87. <div>
  88. <span>收款方式</span>/元
  89. </div>
  90. <div @click="handleToBusinessAnalysis">
  91. <u-icon name="arrow-right"></u-icon>
  92. </div>
  93. </div>
  94. <div class="content-card-btm">
  95. <div v-for="(item, index) in paymentMethod" :key="index">
  96. <div>{{item.amount}}</div>
  97. <div>{{item.name}}</div>
  98. </div>
  99. <!-- <div>
  100. <div>35280.00</div>
  101. <div>微信</div>
  102. </div>
  103. <div>
  104. <div>7890.00</div>
  105. <div>支付宝</div>
  106. </div> -->
  107. </div>
  108. </div>
  109. <div class="content-card">
  110. <div class="content-card-top">
  111. <div>
  112. <span>在住来源</span>/间
  113. </div>
  114. <div @click="toBusiness">
  115. <u-icon name="arrow-right"></u-icon>
  116. </div>
  117. </div>
  118. <div class="content-card-btm">
  119. <div v-for="(item, index) in staySource" :key="index">
  120. <div>{{item.count}}</div>
  121. <div>{{item.name}}</div>
  122. </div>
  123. <!-- <div>
  124. <div>123</div>
  125. <div>美团</div>
  126. </div>
  127. <div>
  128. <div>123</div>
  129. <div>携程</div>
  130. </div>
  131. <div>
  132. <div>123</div>
  133. <div>飞猪</div>
  134. </div> -->
  135. </div>
  136. </div>
  137. <div class="content-card">
  138. <div class="content-card-top">
  139. <div>
  140. <span>房态</span>/间
  141. </div>
  142. <div @click="toRoomType">
  143. <u-icon name="arrow-right"></u-icon>
  144. </div>
  145. </div>
  146. <div class="content-card-btm">
  147. <div v-for="(item, index) in roomStatus" :key="index">
  148. <div>{{item.count}}</div>
  149. <div>{{item.name}}</div>
  150. </div>
  151. <!-- <div>
  152. <div>123</div>
  153. <div>住脏</div>
  154. </div>
  155. <div>
  156. <div>123</div>
  157. <div>空净</div>
  158. </div>
  159. <div>
  160. <div>123</div>
  161. <div>空脏</div>
  162. </div>
  163. <div>
  164. <div>123</div>
  165. <div>维修</div>
  166. </div> -->
  167. </div>
  168. </div>
  169. <div class="content-card" v-if="true">
  170. <div class="content-card-top">
  171. <div>
  172. <span>收支情况</span>/元
  173. <uni-data-select style="width:80px;border: none;flex: none;" :clear="false" v-model="incomeValue" :localdata="incomeRange" @change="incomeChange"></uni-data-select>
  174. </div>
  175. <div @click="toIncomeDetail">
  176. <u-icon name="arrow-right"></u-icon>
  177. </div>
  178. </div>
  179. <div class="content-card-btm">
  180. <div>
  181. <div>{{incomeAndExpenditure.reduce((pre, cur)=> pre+cur.money,0)}}</div>
  182. <div>收入</div>
  183. </div>
  184. <div>
  185. <div>{{incomeAndExpenditure.reduce((pre, cur)=> pre+cur.zc_money,0)}}</div>
  186. <div>支出</div>
  187. </div>
  188. <div>
  189. <div>{{incomeAndExpenditure.reduce((pre, cur)=> pre+cur.jy_money,0)}}</div>
  190. <div>结余</div>
  191. </div>
  192. </div>
  193. </div>
  194. <div class="content-card" v-if="false">
  195. <div class="content-card-top">
  196. <div>
  197. <span>收支一览</span>/元
  198. <uni-data-select style="width:80px;border: none;flex: none;" :clear="false" v-model="incomeValue" :localdata="incomeRange" @change="generalChange"></uni-data-select>
  199. </div>
  200. <div>></div>
  201. </div>
  202. <div class="">
  203. <LineCharts />
  204. </div>
  205. </div>
  206. <div style="height:100px;">
  207. </div>
  208. <div style="width:100vw;height:var(--window-bottom);"></div>
  209. </view>
  210. </template>
  211. <script>
  212. import LineCharts from '../../components/echarts/line.vue';
  213. import {
  214. getHotelList,
  215. getRevPAR,
  216. getTodayIncome,
  217. getTodayTotalIncome,
  218. getStaySource,
  219. getRoomStatus,
  220. getIncomeAndExpenditure
  221. } from '../../utils/api.js';
  222. import {
  223. mapState
  224. } from 'vuex';
  225. export default {
  226. components: {
  227. LineCharts
  228. },
  229. data() {
  230. return {
  231. // value: 0,
  232. range: [{
  233. value: 0,
  234. text: "全部"
  235. },
  236. {
  237. value: 1,
  238. text: "沙县大酒店"
  239. },
  240. {
  241. value: 2,
  242. text: "游泳"
  243. },
  244. ],
  245. incomeRange: [{
  246. value: 1,
  247. text: "近七日"
  248. },
  249. {
  250. value: 2,
  251. text: "本月"
  252. },
  253. {
  254. value: 3,
  255. text: "近半年"
  256. },
  257. {
  258. value: 4,
  259. text: "本年度"
  260. },
  261. ],
  262. incomeValue: 1,
  263. tabbarList: [{
  264. name: '退房',
  265. icon: '../../static/alisvg/tuifang1.svg',
  266. },
  267. {
  268. name: '审核',
  269. icon: '../../static/alisvg/shenhe.svg',
  270. },
  271. {
  272. name: '客房服务',
  273. icon: '../../static/alisvg/wodekefu.svg',
  274. },
  275. {
  276. name: '预定',
  277. icon: '../../static/alisvg/yuding.svg',
  278. },
  279. {
  280. name: '记账本',
  281. icon: '../../static/alisvg/jizhangben.svg',
  282. },
  283. {
  284. name: '财务报表',
  285. icon: '../../static/alisvg/jurassic_report-caiwu.svg',
  286. },
  287. {
  288. name: '经营分析',
  289. icon: '../../static/alisvg/jingyingfenxi.svg',
  290. },
  291. {
  292. name: '客单',
  293. icon: '../../static/alisvg/24gf-building2.svg',
  294. },
  295. {
  296. name: 'POS消费',
  297. icon: '../../static/alisvg/24gl-cart4.svg',
  298. },
  299. {
  300. name: '更多',
  301. icon: '../../static/alisvg/gengduo.svg',
  302. },
  303. {
  304. name: '交接班',
  305. icon: '../../static/alisvg/qiehuan2.svg',
  306. },
  307. {
  308. name: '商品订单',
  309. icon: '../../static/alisvg/24gf-cart4.svg',
  310. },
  311. {
  312. name: '远期房态',
  313. icon: '../../static/alisvg/ico_jiudianguanli_yuanqifangtai.svg',
  314. },
  315. {
  316. name: '异动表',
  317. icon: '../../static/alisvg/24gf-bag.svg',
  318. },
  319. {
  320. name: '收支明细',
  321. icon: '../../static/alisvg/jurassic_report-caiwu.svg',
  322. }
  323. ],
  324. RevPAR: 0,
  325. hotelIds: uni.getStorageSync('hotelId'),
  326. // housingPrices: 0, //平均房价
  327. todayIncome: [{
  328. name: '押金',
  329. amount: 0
  330. },
  331. {
  332. name: '房费',
  333. amount: 0
  334. },
  335. {
  336. name: '商品',
  337. amount: 0
  338. }
  339. ], //今日收入统计
  340. todayTotalIncome: 0, //今日总收款
  341. roomData: {
  342. //房间总数
  343. allRoomData: 0,
  344. //入住总数
  345. checkInRoomData: 0,
  346. //平均房价
  347. housingPrices: 0,
  348. // 今日预离
  349. todayLeaveRoomData: 0,
  350. //今日预抵
  351. todayArriveRoomData: 0,
  352. //今日欠费
  353. todayArrearsRoomData: 0,
  354. //脏房
  355. dirtyRoomData: 0,
  356. },
  357. //收款方式
  358. paymentMethod: [{
  359. name: '现金',
  360. amount: 0
  361. },
  362. {
  363. name: '微信',
  364. amount: 0
  365. },
  366. {
  367. name: '支付宝',
  368. amount: 0
  369. }
  370. ],
  371. //在住来源
  372. staySource: [{
  373. name: '散客',
  374. count: 0
  375. },
  376. {
  377. name: '美团',
  378. count: 0
  379. }
  380. ],
  381. //房态统计
  382. roomStatus: [{
  383. name: '住净',
  384. count: 0
  385. },
  386. {
  387. name: '住脏',
  388. count: 0
  389. },
  390. {
  391. name: '空净',
  392. count: 0
  393. },
  394. {
  395. name: '空脏',
  396. count: 0
  397. },
  398. {
  399. name: '维修',
  400. count: 0
  401. },
  402. ],
  403. //收支情况
  404. incomeAndExpenditure: [],
  405. };
  406. },
  407. computed: {
  408. ...mapState({
  409. hotelIdList: state => state.hotelIdList,
  410. hotelId: state => state.hotelId
  411. }),
  412. IncomeAndExpenditure(){
  413. },
  414. },
  415. watch: {
  416. hotelIdList(newVal) {
  417. console.log(newVal);
  418. this.range = newVal.map(item => ({
  419. value: item.id,
  420. text: item.name
  421. }))
  422. },
  423. hotelIds(newVal, oldVal){
  424. if (newVal != oldVal) {
  425. this.onload()
  426. }
  427. }
  428. },
  429. onShow(){
  430. console.log('newValhotelIdCopy',uni.getStorageSync('hotelId'));
  431. this.hotelIds = uni.getStorageSync('hotelId')
  432. },
  433. async mounted() {
  434. // this.onload()
  435. await this.getHotel();
  436. this.onload()
  437. },
  438. methods: {
  439. //获取酒店数据
  440. async getHotel() {
  441. let data = await getHotelList()
  442. if (data.code == 200) {
  443. this.$nextTick(() => {
  444. this.$store.commit('setHotelIdList', data.result.records)
  445. let cacheStore = uni.getStorageSync("hotelId")
  446. if(cacheStore) {
  447. this.hotelIds = cacheStore
  448. this.$store.commit('setHotelId', cacheStore)
  449. } else {
  450. this.hotelIds = data.result.records[0].id
  451. uni.setStorageSync("hotelId",data.result.records[0].id)
  452. this.$store.commit('setHotelId', data.result.records[0].id)
  453. }
  454. this.onload()
  455. })
  456. }
  457. return data
  458. },
  459. onload() {
  460. let str = new Date().toLocaleDateString()
  461. //后一天
  462. let end = new Date(new Date().getTime() + 24 * 60 * 60 * 1000).toLocaleDateString()
  463. str = str.replace(/\//g, '-')
  464. end = end.replace(/\//g, '-')
  465. // 房间数据统计
  466. getRevPAR().then(res => {
  467. if (res.code == 200 && res.result.length > 0) {
  468. this.roomData.allRoomData = res.result[0]
  469. this.roomData.checkInRoomData = res.result[1]
  470. this.roomData.housingPrices = res.result[2]
  471. this.roomData.todayLeaveRoomData = res.result[3]
  472. this.roomData.todayArriveRoomData = res.result[4]
  473. this.roomData.todayArrearsRoomData = res.result[5]
  474. this.roomData.dirtyRoomData = res.result[6]
  475. }
  476. })
  477. //今日收入统计
  478. getTodayIncome().then(res => {
  479. if (res.code == 200 && res.result.length > 0) {
  480. console.log(res.result);
  481. this.todayIncome = res.result
  482. } else {
  483. this.todayIncome = [{
  484. name: '押金',
  485. amount: 0
  486. },
  487. {
  488. name: '房费',
  489. amount: 0
  490. },
  491. {
  492. name: '商品',
  493. amount: 0
  494. }
  495. ]
  496. }
  497. })
  498. //今日总收款
  499. getTodayTotalIncome({
  500. startTime: str,
  501. endTime: end
  502. // startTime: '2023-04-27',
  503. // endTime: '2023-04-28'
  504. }).then(res => {
  505. this.todayTotalIncome = 0
  506. if (res.code == 200 && res.result.records.length > 0) {
  507. let brr = []
  508. let data = res.result.records
  509. data.forEach(item => {
  510. let arr = []
  511. arr = Object.keys(item).filter(items => items != 'department' && items != 'hotel_name')
  512. brr = Object.keys(item).filter(items => items == '现金' || items == '微信' || items == '支付宝')
  513. console.log(arr);
  514. arr.forEach(ele => {
  515. this.todayTotalIncome += parseFloat(item[ele]) * 1
  516. })
  517. })
  518. let obj = {}
  519. let copy = []
  520. brr.forEach((item, i) => {
  521. console.log(obj);
  522. copy.push({
  523. name: item,
  524. amount: data.reduce((pre, cur) => {
  525. return pre + cur[item]
  526. }, 0)
  527. })
  528. })
  529. this.paymentMethod = copy
  530. // console.log('2222222222', copy);
  531. // console.log(this.todayTotalIncome);
  532. } else {
  533. this.todayTotalIncome = 0
  534. }
  535. })
  536. //在住来源
  537. getStaySource().then(res => {
  538. if (res.code == 200 && res.result.length > 0) {
  539. this.staySource = res.result
  540. // console.log('%cindex.vue line:463 this.staySource', 'color: white; background-color: #007acc;', this.staySource);
  541. }
  542. })
  543. getRoomStatus().then(res => {
  544. if (res.code == 200 && res.result.length > 0) {
  545. this.roomStatus = res.result
  546. } else {
  547. this.roomStatus = [{
  548. name: '住净',
  549. count: 0
  550. },
  551. {
  552. name: '住脏',
  553. count: 0
  554. },
  555. {
  556. name: '空净',
  557. count: 0
  558. },
  559. {
  560. name: '空脏',
  561. count: 0
  562. },
  563. {
  564. name: '维修',
  565. count: 0
  566. },
  567. ]
  568. }
  569. })
  570. this.getIncomeAndExpenditure(this.incomeValue)
  571. },
  572. /**
  573. * 获取收支情况
  574. */
  575. getIncomeAndExpenditure(section){
  576. getIncomeAndExpenditure({section:section}).then(res=>{
  577. console.log(res);
  578. if (res.code == 200) {
  579. this.incomeAndExpenditure = res.result
  580. }
  581. })
  582. },
  583. change(e) {
  584. console.log("e:", e);
  585. // this.hotelIds = e
  586. this.$store.commit('setHotelId', e)
  587. uni.setStorageSync('hotelId', e)
  588. this.onload()
  589. },
  590. roomOrders(idx) {
  591. uni.navigateTo({
  592. url: `/pages/roomOrders/roomOrders?current=${idx}`
  593. })
  594. },
  595. handleToPredetemine(idx) {
  596. uni.navigateTo({
  597. url: `/pages/predetermine/predetermine?current=${idx}`
  598. })
  599. },
  600. handleToPage(e) {
  601. console.log(e);
  602. if (e.name == '远期房态') {
  603. uni.navigateTo({
  604. url: '/components/longTermHousingStatus/longTermHousingStatus'
  605. })
  606. }
  607. if (e.name == '客单') {
  608. this.roomOrders(0)
  609. }
  610. if (e.name == '预定') {
  611. this.handleToPredetemine(0)
  612. }
  613. if (e.name == '经营分析') {
  614. uni.navigateTo({
  615. url: '/components/businessAnalysis/businessAnalysis'
  616. })
  617. }
  618. if (e.name == '收支明细') {
  619. uni.navigateTo({
  620. url: '/components/incomeDetail/incomeDetail'
  621. })
  622. }
  623. if (e.name == '客房服务') {
  624. uni.navigateTo({
  625. url: '/components/roomService/roomService'
  626. })
  627. }
  628. },
  629. handleToIncome(){
  630. uni.navigateTo({
  631. url: '/components/incomeDetail/incomeDetail'
  632. })
  633. },
  634. handleToBusinessAnalysis(){
  635. uni.navigateTo({
  636. url: `/components/businessAnalysis/businessAnalysis?current=${1}`
  637. })
  638. },
  639. toBusiness(){
  640. uni.navigateTo({
  641. url: `/components/businessAnalysis/businessAnalysis?current=${4}`
  642. })
  643. },
  644. toRoomType(){
  645. uni.switchTab({
  646. url:'/pages/roomStateDiagram/roomStateDiagram'
  647. })
  648. },
  649. toIncomeDetail(){
  650. uni.navigateTo({
  651. url: '/components/incomeDetail/incomeDetail'
  652. })
  653. },
  654. incomeChange(e) {
  655. console.log("e:", e);
  656. console.log(this.incomeValue);
  657. // this.
  658. this.getIncomeAndExpenditure(e)
  659. },
  660. generalChange(e) {
  661. console.log("e:", e);
  662. }
  663. },
  664. };
  665. </script>
  666. <style lang="scss" scoped>
  667. page {
  668. width: 100%;
  669. height: 100%;
  670. background-color: #f5f5f5;
  671. z-index: -20 !important;
  672. }
  673. .home-box {
  674. // height: 200px;
  675. // width: 200px;
  676. background-color: rgb(0, 186, 173);
  677. border-radius: 0 0 10% 10%;
  678. }
  679. .select-top {
  680. // width: 100px;
  681. display: flex;
  682. justify-content: center;
  683. align-items: center;
  684. /deep/.uni-select {
  685. border: none !important;
  686. text-align: center;
  687. }
  688. /deep/.uni-select__input-text {
  689. color: #fff;
  690. }
  691. }
  692. .card {
  693. width: 80%;
  694. height: 100px;
  695. background-color: #fff;
  696. border: 1px solid rgb(0, 186, 173);
  697. margin: auto;
  698. border-radius: 5px;
  699. //阴影
  700. box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  701. margin-top: 10px;
  702. // padding: 10px;
  703. display: flex;
  704. flex-direction: column;
  705. }
  706. .card-data {
  707. display: flex;
  708. justify-content: space-around;
  709. align-items: center;
  710. flex: 1;
  711. >div {
  712. display: flex;
  713. flex-direction: column;
  714. align-items: center;
  715. justify-content: space-between;
  716. width: 25%;
  717. height: 45px;
  718. }
  719. }
  720. .grid-data {
  721. // display: grid;
  722. // grid-template-columns: repeat(3, 1fr);
  723. // grid-template-rows: repeat(2, 1fr);
  724. // grid-gap: 30px 10px;
  725. display: flex;
  726. flex-wrap: wrap;
  727. color: #fff;
  728. }
  729. .grid-data>div {
  730. /* background-color: #fff; */
  731. /* border: 1px solid #eee; */
  732. width: 33%;
  733. display: flex;
  734. justify-content: space-between;
  735. flex-direction: column;
  736. align-items: center;
  737. height: 50px;
  738. font-size: 12px;
  739. }
  740. .grid-tabbar {
  741. // display: grid;
  742. // grid-template-columns: repeat(5, 1fr);
  743. // grid-template-rows: repeat(3, 1fr);
  744. // gap: 10px;
  745. display: flex;
  746. flex-wrap: wrap;
  747. margin-top: 10px;
  748. background: #fff;
  749. }
  750. .tbr-name{
  751. font-size: .8rem;
  752. }
  753. // .grid-tabbar>div{
  754. // width: 20%;
  755. // margin: 10px 0;
  756. // }
  757. // .bgco {
  758. // position: fixed;
  759. // background-color: rgb(0, 186, 173);
  760. // height: 250px;
  761. // width: 100%;
  762. // z-index: -1;
  763. // top: 0;
  764. // border-bottom-left-radius: 20%;
  765. // border-bottom-right-radius: 20%;
  766. // }
  767. .notice {
  768. border-top: 1px solid #00000040;
  769. margin-top: 10px;
  770. padding: 10px;
  771. border-bottom: 1px solid #000;
  772. background: #fff;
  773. }
  774. .content-card {
  775. margin-top: 5px;
  776. background: #fff;
  777. border-bottom: 1px solid #000;
  778. .content-card-top {
  779. display: flex;
  780. justify-content: space-between;
  781. align-items: center;
  782. padding: 10px;
  783. // border-bottom: 1px solid #00000040;
  784. div:nth-child(1) {
  785. display: flex;
  786. align-items: center;
  787. // justify-content: center;
  788. width: 200px;
  789. span {
  790. font-size: 18px;
  791. font-weight: bold;
  792. }
  793. }
  794. >div {
  795. >span {
  796. font-size: 18px;
  797. font-weight: bold;
  798. }
  799. }
  800. }
  801. .content-card-btm {
  802. display: flex;
  803. justify-content: space-around;
  804. align-items: center;
  805. padding: 10px;
  806. height: 45px;
  807. >div {
  808. display: flex;
  809. flex-direction: column;
  810. align-items: center;
  811. justify-content: space-between;
  812. height: 100%;
  813. div:nth-child(2) {
  814. font-size: 12px;
  815. }
  816. }
  817. }
  818. }
  819. </style>