index.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825
  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="width:auto;border: none;flex: none;" :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)}}%</div>
  20. </div>
  21. <div>
  22. <div>今日总收入/元</div>
  23. <div style="font-size: 18px;">{{todayIncome.reduce((pre, cur) => pre+cur.amount,0 ) || 0}}</div>
  24. </div>
  25. <div>
  26. <div>平均房价/元</div>
  27. <div style="font-size: 18px;">{{roomData.housingPrices}}</div>
  28. </div>
  29. <div>
  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">
  61. <image :src="item.icon" style="width:30px;height:30px;" />
  62. <div>{{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: 0,
  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. },
  424. async mounted() {
  425. // this.onload()
  426. await this.getHotel();
  427. this.onload()
  428. },
  429. methods: {
  430. //获取酒店数据
  431. async getHotel() {
  432. let data = await getHotelList()
  433. if (data.code == 200) {
  434. this.$nextTick(() => {
  435. this.$store.commit('setHotelIdList', data.result.records)
  436. this.hotelIds = data.result.records[0].id
  437. this.$store.commit('setHotelId', data.result.records[0].id)
  438. })
  439. }
  440. return data
  441. },
  442. onload() {
  443. let str = new Date().toLocaleDateString()
  444. //后一天
  445. let end = new Date(new Date().getTime() + 24 * 60 * 60 * 1000).toLocaleDateString()
  446. str = str.replace(/\//g, '-')
  447. end = end.replace(/\//g, '-')
  448. // 房间数据统计
  449. getRevPAR().then(res => {
  450. if (res.code == 200 && res.result.length > 0) {
  451. this.roomData.allRoomData = res.result[0]
  452. this.roomData.checkInRoomData = res.result[1]
  453. this.roomData.housingPrices = res.result[2]
  454. this.roomData.todayLeaveRoomData = res.result[3]
  455. this.roomData.todayArriveRoomData = res.result[4]
  456. this.roomData.todayArrearsRoomData = res.result[5]
  457. this.roomData.dirtyRoomData = res.result[6]
  458. }
  459. })
  460. //今日收入统计
  461. getTodayIncome().then(res => {
  462. if (res.code == 200 && res.result.length > 0) {
  463. console.log(res.result);
  464. this.todayIncome = res.result
  465. } else {
  466. this.todayIncome = [{
  467. name: '押金',
  468. amount: 0
  469. },
  470. {
  471. name: '房费',
  472. amount: 0
  473. },
  474. {
  475. name: '商品',
  476. amount: 0
  477. }
  478. ]
  479. }
  480. })
  481. //今日总收款
  482. getTodayTotalIncome({
  483. startTime: str,
  484. endTime: end
  485. }).then(res => {
  486. if (res.code == 200 && res.result.records.length > 0) {
  487. let brr = []
  488. let data = res.result.records
  489. data.forEach(item => {
  490. let arr = []
  491. arr = Object.keys(item).filter(items => items != 'department' && items != 'hotel_name')
  492. brr = Object.keys(item).filter(items => items == '现金' || items == '微信' || items == '支付宝')
  493. console.log(arr);
  494. arr.forEach(ele => {
  495. this.todayTotalIncome += item[ele] * 1
  496. })
  497. })
  498. let obj = {}
  499. let copy = []
  500. brr.forEach((item, i) => {
  501. console.log(obj);
  502. copy.push({
  503. name: item,
  504. amount: data.reduce((pre, cur) => {
  505. return pre + cur[item]
  506. }, 0)
  507. })
  508. })
  509. this.paymentMethod = copy
  510. // console.log('2222222222', copy);
  511. // console.log(this.todayTotalIncome);
  512. } else {
  513. this.todayTotalIncome = 0
  514. }
  515. })
  516. //在住来源
  517. getStaySource().then(res => {
  518. if (res.code == 200 && res.result.length > 0) {
  519. this.staySource = res.result
  520. // console.log('%cindex.vue line:463 this.staySource', 'color: white; background-color: #007acc;', this.staySource);
  521. }
  522. })
  523. getRoomStatus().then(res => {
  524. if (res.code == 200 && res.result.length > 0) {
  525. this.roomStatus = res.result
  526. } else {
  527. this.roomStatus = [{
  528. name: '住净',
  529. count: 0
  530. },
  531. {
  532. name: '住脏',
  533. count: 0
  534. },
  535. {
  536. name: '空净',
  537. count: 0
  538. },
  539. {
  540. name: '空脏',
  541. count: 0
  542. },
  543. {
  544. name: '维修',
  545. count: 0
  546. },
  547. ]
  548. }
  549. })
  550. this.getIncomeAndExpenditure(this.incomeValue)
  551. },
  552. /**
  553. * 获取收支情况
  554. */
  555. getIncomeAndExpenditure(section){
  556. getIncomeAndExpenditure({section:section}).then(res=>{
  557. console.log(res);
  558. if (res.code == 200) {
  559. this.incomeAndExpenditure = res.result
  560. }
  561. })
  562. },
  563. change(e) {
  564. console.log("e:", e);
  565. this.hotelIds = e
  566. this.$store.commit('setHotelId', e)
  567. this.onload()
  568. },
  569. roomOrders(idx) {
  570. uni.navigateTo({
  571. url: `/pages/roomOrders/roomOrders?current=${idx}`
  572. })
  573. },
  574. handleToPredetemine(idx) {
  575. uni.navigateTo({
  576. url: `/pages/predetermine/predetermine?current=${idx}`
  577. })
  578. },
  579. handleToPage(e) {
  580. console.log(e);
  581. if (e.name == '远期房态') {
  582. uni.navigateTo({
  583. url: '/components/longTermHousingStatus/longTermHousingStatus'
  584. })
  585. }
  586. if (e.name == '客单') {
  587. this.roomOrders(0)
  588. }
  589. if (e.name == '预定') {
  590. this.handleToPredetemine(0)
  591. }
  592. if (e.name == '经营分析') {
  593. uni.navigateTo({
  594. url: '/components/businessAnalysis/businessAnalysis'
  595. })
  596. }
  597. if (e.name == '收支明细') {
  598. uni.navigateTo({
  599. url: '/components/incomeDetail/incomeDetail'
  600. })
  601. }
  602. if (e.name == '客房服务') {
  603. uni.navigateTo({
  604. url: '/components/roomService/roomService'
  605. })
  606. }
  607. },
  608. handleToIncome(){
  609. uni.navigateTo({
  610. url: '/components/incomeDetail/incomeDetail'
  611. })
  612. },
  613. handleToBusinessAnalysis(){
  614. uni.navigateTo({
  615. url: `/components/businessAnalysis/businessAnalysis?current=${1}`
  616. })
  617. },
  618. toBusiness(){
  619. uni.navigateTo({
  620. url: `/components/businessAnalysis/businessAnalysis?current=${4}`
  621. })
  622. },
  623. toRoomType(){
  624. uni.switchTab({
  625. url:'/pages/roomStateDiagram/roomStateDiagram'
  626. })
  627. },
  628. toIncomeDetail(){
  629. uni.navigateTo({
  630. url: '/components/incomeDetail/incomeDetail'
  631. })
  632. },
  633. incomeChange(e) {
  634. console.log("e:", e);
  635. console.log(this.incomeValue);
  636. // this.
  637. this.getIncomeAndExpenditure(e)
  638. },
  639. generalChange(e) {
  640. console.log("e:", e);
  641. }
  642. },
  643. };
  644. </script>
  645. <style lang="scss" scoped>
  646. page {
  647. width: 100%;
  648. height: 100%;
  649. background-color: #f5f5f5;
  650. z-index: -20 !important;
  651. }
  652. .home-box {
  653. // height: 200px;
  654. // width: 200px;
  655. background-color: rgb(0, 186, 173);
  656. border-radius: 0 0 20% 20%;
  657. }
  658. .select-top {
  659. // width: 100px;
  660. display: flex;
  661. justify-content: center;
  662. align-items: center;
  663. /deep/.uni-select {
  664. border: none !important;
  665. text-align: center;
  666. }
  667. /deep/.uni-select__input-text {
  668. color: #fff;
  669. }
  670. }
  671. .card {
  672. width: 80%;
  673. height: 100px;
  674. background-color: #fff;
  675. border: 1px solid rgb(0, 186, 173);
  676. margin: auto;
  677. border-radius: 5px;
  678. //阴影
  679. box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  680. margin-top: 10px;
  681. // padding: 10px;
  682. display: flex;
  683. flex-direction: column;
  684. }
  685. .card-data {
  686. display: flex;
  687. justify-content: space-around;
  688. align-items: center;
  689. flex: 1;
  690. >div {
  691. display: flex;
  692. flex-direction: column;
  693. align-items: center;
  694. justify-content: space-between;
  695. width: 25%;
  696. height: 45px;
  697. }
  698. }
  699. .grid-data {
  700. display: grid;
  701. grid-template-columns: repeat(3, 1fr);
  702. grid-template-rows: repeat(2, 1fr);
  703. grid-gap: 30px 10px;
  704. color: #fff;
  705. }
  706. .grid-data>div {
  707. /* background-color: #fff; */
  708. /* border: 1px solid #eee; */
  709. display: flex;
  710. justify-content: space-between;
  711. flex-direction: column;
  712. align-items: center;
  713. height: 50px;
  714. font-size: 12px;
  715. }
  716. .grid-tabbar {
  717. display: grid;
  718. grid-template-columns: repeat(5, 1fr);
  719. grid-template-rows: repeat(3, 1fr);
  720. gap: 10px;
  721. margin-top: 20px;
  722. background: #fff;
  723. }
  724. // .bgco {
  725. // position: fixed;
  726. // background-color: rgb(0, 186, 173);
  727. // height: 250px;
  728. // width: 100%;
  729. // z-index: -1;
  730. // top: 0;
  731. // border-bottom-left-radius: 20%;
  732. // border-bottom-right-radius: 20%;
  733. // }
  734. .notice {
  735. border-top: 1px solid #00000040;
  736. margin-top: 10px;
  737. padding: 10px;
  738. border-bottom: 1px solid #000;
  739. background: #fff;
  740. }
  741. .content-card {
  742. margin-top: 5px;
  743. background: #fff;
  744. border-bottom: 1px solid #000;
  745. .content-card-top {
  746. display: flex;
  747. justify-content: space-between;
  748. align-items: center;
  749. padding: 10px;
  750. // border-bottom: 1px solid #00000040;
  751. div:nth-child(1) {
  752. display: flex;
  753. align-items: center;
  754. // justify-content: center;
  755. width: 200px;
  756. span {
  757. font-size: 18px;
  758. font-weight: bold;
  759. }
  760. }
  761. >div {
  762. >span {
  763. font-size: 18px;
  764. font-weight: bold;
  765. }
  766. }
  767. }
  768. .content-card-btm {
  769. display: flex;
  770. justify-content: space-around;
  771. align-items: center;
  772. padding: 10px;
  773. height: 45px;
  774. >div {
  775. display: flex;
  776. flex-direction: column;
  777. align-items: center;
  778. justify-content: space-between;
  779. height: 100%;
  780. div:nth-child(2) {
  781. font-size: 12px;
  782. }
  783. }
  784. }
  785. }
  786. </style>