index.vue 25 KB

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