index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  1. <template>
  2. <view v-if="isLogin">
  3. <!-- 背景图 -->
  4. <view class="index-bg">
  5. <image src="../../static/pages/images/self/indexBg.png"></image>
  6. </view>
  7. <!-- 数据 -->
  8. <view class="data-box">
  9. <view>
  10. <view class="ljsy">{{statisticData.totalProfit?statisticData.totalProfit:0}}</view>
  11. <view class="ljsy-label">累计收益(元)</view>
  12. </view>
  13. <view class="jy ddflex">
  14. <view>
  15. <view class="jy-data">{{statisticData.todayOrderCount?statisticData.todayOrderCount:0}}</view>
  16. <view class="jy-label">今日订单数</view>
  17. </view>
  18. <view class="jy-line"></view>
  19. <view>
  20. <view class="jy-data"><text style="font-size: 22rpx;font-weight: 400;">¥</text>{{statisticData.todayTurnover?statisticData.todayTurnover:0}}</view>
  21. <view class="jy-label">今日营业额</view>
  22. </view>
  23. <view class="jy-line"></view>
  24. <view>
  25. <view class="jy-data"><text style="font-size: 22rpx;font-weight: 400;">¥</text>{{statisticData.todayProfit?statisticData.todayProfit:0}}</view>
  26. <view class="jy-label">今日收益额</view>
  27. </view>
  28. </view>
  29. </view>
  30. <!-- 总数 -->
  31. <view class="total-box ddflex">
  32. <view class="fflex" v-if="!userInfo.storeId">
  33. <view class="total-label">商家总数</view>
  34. <view class="total-data">{{statisticData.merchantCount?statisticData.merchantCount:0}}</view>
  35. </view>
  36. <view v-if="!userInfo.storeId" class="total-data-line"></view>
  37. <view class="fflex" v-if="!userInfo.storeId">
  38. <view class="total-label">门店总数</view>
  39. <view class="total-data">{{statisticData.storeCount?statisticData.storeCount:0}}</view>
  40. </view>
  41. <view v-if="!userInfo.storeId" class="total-data-line"></view>
  42. <view class="fflex">
  43. <view class="total-label">设备总数</view>
  44. <view class="total-data">{{statisticData.batteryCount?statisticData.batteryCount:0}}</view>
  45. </view>
  46. <view class="total-data-line"></view>
  47. <view class="fflex">
  48. <view class="total-label">订单总数</view>
  49. <view class="total-data">{{statisticData.totalOrderCount?statisticData.totalOrderCount:0}}</view>
  50. </view>
  51. </view>
  52. <!-- nav -->
  53. <view v-if="!userInfo.storeId" class="nav-box ddflex">
  54. <view class="nav-item">
  55. <image class="nav-item-icon" src="../../static/pages/images/wdsj.png" @click="jumpUrl('/pages/myStore/myStore')"></image>
  56. <view class="nav-item-title">我的商家</view>
  57. </view>
  58. <view class="nav-item" @click="jumpUrl('/pages/myMerchant/myMerchant')">
  59. <image class="nav-item-icon" src="../../static/pages/images/wdmd.png"></image>
  60. <view class="nav-item-title">我的门店</view>
  61. </view>
  62. <view class="nav-item" v-if="!userInfo.storeId&&!userInfo.merchantId" @click="jumpUrl('/mine/myUser/myUser')">
  63. <image class="nav-item-icon" src="../../static/pages/images/wdyh.png"></image>
  64. <view class="nav-item-title">我的用户</view>
  65. </view>
  66. <view class="nav-item" @click="jumpUrl('/pages/operationData/operationData')">
  67. <image class="nav-item-icon" src="../../static/pages/images/yysj.png"></image>
  68. <view class="nav-item-title">运营数据</view>
  69. </view>
  70. </view>
  71. <view v-if="userInfo.storeId" class="nav-box ddflex" style="padding: 10rpx 30rpx;justify-content: space-between;" @click="jumpUrl('/pages/operationData/operationData')">
  72. <view class="nav-item ddflex">
  73. <image class="nav-item-icon" src="../../static/pages/images/yysj.png"></image>
  74. <view class="nav-item-title">运营数据</view>
  75. </view>
  76. <image style="width: 36rpx;height:36rpx;" src="../../static/pages/images/ssicon.png"></image>
  77. </view>
  78. <!-- 图表统计 -->
  79. <view class="echart-box">
  80. <view class="echart-box-header ddflex">
  81. <view class="echart-box-title">交易趋势</view>
  82. <view class="echart-box-timeType ddflex">
  83. <view :class="'echart-box-timeType-item '+(timeType==1?'echart-box-timeType-item-acitve':'')"
  84. @click="timeTypeChange(1)">今日</view>
  85. <view :class="'echart-box-timeType-item '+(timeType==2?'echart-box-timeType-item-acitve':'')"
  86. @click="timeTypeChange(2)">近7日</view>
  87. <view :class="'echart-box-timeType-item '+(timeType==3?'echart-box-timeType-item-acitve':'')"
  88. @click="timeTypeChange(3)">近30日</view>
  89. </view>
  90. </view>
  91. <view style="height:500rpx">
  92. <l-echart ref="chart" @finished="init"></l-echart>
  93. </view>
  94. </view>
  95. <!-- 图表统计 -->
  96. <view class="echart-box">
  97. <view class="echart-box-header ddflex">
  98. <view class="echart-box-title">商家营业额排名</view>
  99. <view class="echart-box-timeType ddflex">
  100. <view :class="'echart-box-timeType-item '+(storeType==1?'echart-box-timeType-item-acitve':'')"
  101. @click="storeTypeChange(1)">商户</view>
  102. <view :class="'echart-box-timeType-item '+(storeType==2?'echart-box-timeType-item-acitve':'')"
  103. @click="storeTypeChange(2)">门店</view>
  104. </view>
  105. </view>
  106. <view>
  107. <l-echart ref="chart2" @finished="init"></l-echart>
  108. </view>
  109. </view>
  110. <!-- 图表统计 -->
  111. <view class="echart-box">
  112. <view class="echart-box-header ddflex">
  113. <view class="echart-box-title">设备状态</view>
  114. </view>
  115. <view class="ddflex">
  116. <view class="fflex" style="height: 250rpx;">
  117. <l-echart ref="chart4" @finished="init"></l-echart>
  118. </view>
  119. <view class="fflex" style="height: 250rpx;">
  120. <l-echart ref="chart5" @finished="init"></l-echart>
  121. </view>
  122. <view class="fflex" style="height: 250rpx;">
  123. <l-echart ref="chart6" @finished="init"></l-echart>
  124. </view>
  125. </view>
  126. <view class="echart-line"></view>
  127. <view class="ddflex">
  128. <view style="width: 100%;height: 300rpx;">
  129. <l-echart ref="chart3" @finished="init"></l-echart>
  130. </view>
  131. </view>
  132. </view>
  133. <view class="guide" @tap="hideGuide" v-if="first">
  134. <image src="/static/pages/images/guide.png" mode="widthFix"></image>
  135. </view>
  136. <foot channel="home" :isUpdate="isUpdate"></foot>
  137. </view>
  138. <view v-else>
  139. <view class="wei-login" v-if="!isLogin">
  140. <image :src="picUrlss + 'wei_login.png'"></image>
  141. <view>暂未登录</view>
  142. <navigator url="/pages/authorize/authorize" hover-class="none" class="cart-login">立即登录</navigator>
  143. </view>
  144. <foot channel="home" :isUpdate="isUpdate"></foot>
  145. </view>
  146. </template>
  147. <script>
  148. //index.js
  149. //获取应用实例
  150. const app = getApp();
  151. const req = require('../../utils/request.js');
  152. const api = require('../../utils/api.js');
  153. const utils = require('../../utils/util.js');
  154. const mes = require('../../utils/requestmessage.js');
  155. const route = require('../../utils/route');
  156. const QQMapWX = require("../../utils/qqmap.js");
  157. import foot from '../../components/nav-bar/index';
  158. import footerCopyright from '../../components/footer-copyright/footer-copyright';
  159. import LEchart from '../../components/l-echart/l-echart.vue';
  160. import * as echarts from '../../utils/echarts.min.js'
  161. export default {
  162. data() {
  163. return {
  164. picUrlss: req.public.picUrls,
  165. systems: {},
  166. bottomBlankHeight: app.globalData.isIPhoneX ? 68 : 0,
  167. pxToRpxScale: 0,
  168. rpxTopxScale: 0,
  169. isLogin:false,
  170. timeType: 1, //统计时间 1.按日 2.按月 3.按季度
  171. storeType:1,//营业额查询1.商家 2.门店
  172. statisticData:{},//统计数据
  173. echartData:{},//曲线图
  174. storeRanking:{},//营业额排行
  175. userInfo:{},
  176. // 交易趋势图表数据
  177. option: {
  178. tooltip: {
  179. trigger: 'axis',
  180. axisPointer: {
  181. type: 'shadow'
  182. },
  183. confine: true
  184. },
  185. legend: {
  186. data: ['订单数', '订单金额','收益金额'],
  187. x: 'center', //可设定图例在左、右、居中
  188. y: 'top', //可设定图例在上、下、居中
  189. padding: [15, 0, 0, 0]
  190. },
  191. grid: {
  192. left: 0,
  193. right: 8,
  194. bottom: 5,
  195. top: 45,
  196. containLabel: true
  197. },
  198. xAxis: [{
  199. type: 'category',
  200. data: [],
  201. axisLine: {
  202. lineStyle: {
  203. color: '#999999'
  204. }
  205. },
  206. axisLabel: {
  207. color: '#666666',
  208. // interval: 0,
  209. }
  210. }],
  211. yAxis: [{
  212. type: 'value',
  213. axisTick: {
  214. show: false
  215. },
  216. axisLine: {
  217. lineStyle: {
  218. color: '#999999'
  219. }
  220. },
  221. axisLabel: {
  222. color: '#666666'
  223. }
  224. }],
  225. series: [{
  226. name: '订单数',
  227. type: 'line',
  228. data: [],
  229. showSymbol: false,
  230. smooth: true,
  231. itemStyle: {
  232. // 颜色
  233. color: '#5F50E6',
  234. // 给bar设置倒角
  235. barBorderRadius: [15, 15, 0, 0]
  236. }
  237. },
  238. {
  239. name: '订单金额',
  240. type: 'line',
  241. data: [],
  242. showSymbol: false,
  243. smooth: true,
  244. itemStyle: {
  245. // 颜色
  246. color: '#FF7D00',
  247. // 给bar设置倒角
  248. barBorderRadius: [15, 15, 0, 0]
  249. }
  250. },
  251. {
  252. name: '收益金额',
  253. type: 'line',
  254. data: [],
  255. showSymbol: false,
  256. smooth: true,
  257. itemStyle: {
  258. // 颜色
  259. color: '#FFDC0F',
  260. // 给bar设置倒角
  261. barBorderRadius: [15, 15, 0, 0]
  262. }
  263. },
  264. ]
  265. },
  266. // 商家营业额排名
  267. option2: {
  268. tooltip: {
  269. trigger: 'axis',
  270. axisPointer: {
  271. type: 'shadow'
  272. },
  273. confine: true
  274. },
  275. grid: {
  276. left: -60,
  277. right: 5,
  278. bottom: 40,
  279. top: 40,
  280. containLabel: true
  281. },
  282. xAxis: [{
  283. type: 'value',
  284. // data: [],
  285. show: false,
  286. axisLine: {
  287. lineStyle: {
  288. color: '#999999'
  289. }
  290. },
  291. axisLabel: {
  292. color: '#666666',
  293. // interval: 0,
  294. },
  295. splitLine:{
  296. show:false // 不显示网格线
  297. },
  298. }],
  299. yAxis: [{
  300. type: 'category',
  301. axisTick: {
  302. show: false
  303. },
  304. data: [],
  305. axisLine: {
  306. lineStyle: {
  307. color: '#999999'
  308. }
  309. },
  310. axisLabel: {
  311. color: '#666666',
  312. // inside:true,
  313. width:10,
  314. padding: [-20, -100, 0, 10],
  315. verticalAlign:'top',
  316. align:'left'
  317. },
  318. }],
  319. series: [{
  320. name: '营业额',
  321. type: 'bar',
  322. label: {
  323. normal: {
  324. show: true,
  325. position: 'right',
  326. color: '#4c4a4a',
  327. formatter:'¥{c}',
  328. padding: [-20, 5, 0, -100],
  329. verticalAlign:'top',
  330. align:'right'
  331. },
  332. },
  333. data: [],
  334. barWidth: 5,
  335. itemStyle: {
  336. // 颜色
  337. color: '#FF770F',
  338. // 给bar设置倒角
  339. barBorderRadius: [0, 15, 15, 0]
  340. }
  341. }]
  342. },
  343. // 设备状态
  344. option3: {
  345. title: {
  346. text: '设备出租比例',
  347. textStyle: {
  348. fontSize: 14
  349. },
  350. left: '70%',
  351. top: '30%'
  352. },
  353. tooltip: {
  354. trigger: 'axis',
  355. axisPointer: {
  356. type: 'shadow'
  357. },
  358. confine: true
  359. },
  360. legend: {
  361. data: ['已租', '未租'],
  362. x: 'right', //可设定图例在左、右、居中
  363. y: '50%', //可设定图例在上、下、居中
  364. itemHeight:5,
  365. itemWidth:20
  366. },
  367. grid: {
  368. left: 0,
  369. containLabel: true
  370. },
  371. series: [{
  372. name: '设备出租比例',
  373. type: 'pie',
  374. center: ['30%', '50%'],
  375. radius: ['60%', '80%'],
  376. label: {
  377. show: false
  378. },
  379. data: [{
  380. value: 1055,
  381. name: '未租',
  382. itemStyle: {
  383. color: "#FF770F"
  384. }
  385. },
  386. {
  387. value: 735,
  388. name: '已租',
  389. itemStyle: {
  390. color: "#EAECF5"
  391. }
  392. }
  393. ]
  394. }]
  395. },
  396. // 已租设备
  397. option4: {
  398. title: {
  399. text: '已租设备',
  400. textStyle: {
  401. fontSize: 14,
  402. fontWeight: 500
  403. },
  404. left: 'center',
  405. bottom: '0'
  406. },
  407. series: [{
  408. type: 'pie',
  409. radius: ['60%', '70%'],
  410. label: {
  411. normal: {
  412. show: true,
  413. position: 'center',
  414. color: '#4c4a4a',
  415. formatter:'{c}',
  416. },
  417. emphasis: { //中间文字显示 
  418. show: true,
  419. textStyle:{
  420. }
  421. }
  422. },
  423. data: [{
  424. value: 1055,
  425. name: '已租',
  426. itemStyle: {
  427. color: "#0FCB27"
  428. }
  429. },
  430. {
  431. value: 735,
  432. name: '未租',
  433. itemStyle: {
  434. color: "#EAECF5"
  435. }
  436. }
  437. ]
  438. }]
  439. },
  440. // 未租设备
  441. option5: {
  442. title: {
  443. text: '未租设备',
  444. textStyle: {
  445. fontSize: 14,
  446. fontWeight: 500
  447. },
  448. left: 'center',
  449. bottom: '0'
  450. },
  451. series: [{
  452. type: 'pie',
  453. center: ['50%', '50%'],
  454. radius: ['60%', '70%'],
  455. label: {
  456. normal: {
  457. show: true,
  458. position: 'center',
  459. color: '#4c4a4a',
  460. formatter:'{c}',
  461. },
  462. emphasis: { //中间文字显示 
  463. show: true,
  464. textStyle:{
  465. }
  466. }
  467. },
  468. data: [{
  469. value: 1055,
  470. name: '未租设备',
  471. itemStyle: {
  472. color: "#666464"
  473. }
  474. },
  475. {
  476. value: 735,
  477. name: '已租设备',
  478. itemStyle: {
  479. color: "#EAECF5"
  480. }
  481. }
  482. ]
  483. }]
  484. },
  485. // 到期设备
  486. option6: {
  487. title: {
  488. text: '到期设备',
  489. textStyle: {
  490. fontSize: 14,
  491. fontWeight: 500
  492. },
  493. left: 'center',
  494. bottom: '0'
  495. },
  496. series: [{
  497. type: 'pie',
  498. center: ['50%', '50%'],
  499. radius: ['60%', '70%'],
  500. label: {
  501. normal: {
  502. show: true,
  503. position: 'center',
  504. color: '#4c4a4a',
  505. formatter:'{c}',
  506. },
  507. emphasis: { //中间文字显示 
  508. show: true,
  509. textStyle:{
  510. }
  511. }
  512. },
  513. data: [{
  514. value: 1055,
  515. name: '到期',
  516. itemStyle: {
  517. color: "#FF770F"
  518. }
  519. },
  520. {
  521. value: 735,
  522. name: '未到期',
  523. itemStyle: {
  524. color: "#EAECF5"
  525. }
  526. }
  527. ]
  528. }]
  529. },
  530. };
  531. },
  532. components: {
  533. foot,
  534. footerCopyright,
  535. LEchart
  536. },
  537. props: {},
  538. onLoad: async function(options) {
  539. },
  540. async onShow() {
  541. if(req.isLogins(false)){
  542. this.isLogin = true
  543. await this.getEchartData()
  544. await this.getStatisticData()
  545. await this.getStoreData()
  546. this.init()
  547. this.getUserInfo()
  548. }else{
  549. this.isLogin = false
  550. }
  551. },
  552. onUnload() {},
  553. onHide() {},
  554. onReachBottom() {},
  555. methods: {
  556. jumpUrl(url){
  557. if(req.isLogins(true)){
  558. uni.navigateTo({
  559. url:url
  560. })
  561. }
  562. },
  563. // 统计时间切换
  564. async timeTypeChange(val) {
  565. if (this.timeType == val) return false
  566. this.timeType = val
  567. await this.getEchartData()
  568. this.init()
  569. },
  570. // 营业额切换
  571. async storeTypeChange(val) {
  572. if (this.storeType == val) return false
  573. this.storeType = val
  574. await this.getStoreData()
  575. this.init()
  576. },
  577. init() {
  578. this.$refs.chart.init(echarts, async chart => {
  579. // let echartData = await this.getEchartData()
  580. this.option.yAxis[0].axisLabel.fontSize = 13 * this.rpxTopxScale
  581. this.option.xAxis[0].axisLabel.fontSize = 13 * this.rpxTopxScale
  582. this.option.legend.itemHeight = 10 * this.rpxTopxScale
  583. this.option.legend.itemWidth = 40 * this.rpxTopxScale
  584. if(this.echartData.orderList.length>0){
  585. this.option.xAxis[0].data = this.echartData.orderList.map(item=>{return item.showTime})
  586. this.option.series[0].data = this.echartData.orderList.map(item=>{return item.orderCount})
  587. }
  588. if(this.echartData.profitList.length>0){
  589. this.option.series[1].data = this.echartData.profitList.map(item=>{return item.profit})
  590. }
  591. if(this.echartData.turnoverList.length>0){
  592. this.option.series[2].data = this.echartData.turnoverList.map(item=>{return item.turnover})
  593. }
  594. chart.setOption(this.option);
  595. });
  596. if (this.$refs.chart2) {
  597. this.$refs.chart2.init(echarts, async chart => {
  598. // let echartData = await this.getEchartData()
  599. if(this.storeRanking.length>0){
  600. this.option2.yAxis[0].data = this.storeRanking.map(item=>{return item.name})
  601. this.option2.series[0].data = this.storeRanking.map(item=>{return item.turnover})
  602. }
  603. chart.setOption(this.option2);
  604. });
  605. }
  606. if (this.$refs.chart3) {
  607. this.$refs.chart3.init(echarts, async chart => {
  608. this.option3.title.textStyle.fontSize = 28 * this.rpxTopxScale
  609. this.option3.legend.itemHeight = 10 * this.rpxTopxScale
  610. this.option3.legend.itemWidth = 40 * this.rpxTopxScale
  611. this.option3.series[0].data[0].value = this.statisticData.noLeaseCount
  612. this.option3.series[0].data[1].value = this.statisticData.leaseCount
  613. chart.setOption(this.option3);
  614. });
  615. }
  616. if (this.$refs.chart4) {
  617. this.$refs.chart4.init(echarts, async chart => {
  618. this.option4.title.textStyle.fontSize = 24 * this.rpxTopxScale
  619. this.option4.series[0].data[0].value = this.statisticData.leaseCount
  620. this.option4.series[0].data[1].value = this.statisticData.noLeaseCount
  621. this.option4.series[0].label.normal.formatter = ()=>{return this.statisticData.leaseCount}
  622. chart.setOption(this.option4);
  623. });
  624. }
  625. if (this.$refs.chart5) {
  626. this.$refs.chart5.init(echarts, async chart => {
  627. this.option5.title.textStyle.fontSize = 24 * this.rpxTopxScale
  628. this.option5.series[0].data[0].value = this.statisticData.noLeaseCount
  629. this.option5.series[0].data[1].value = this.statisticData.leaseCount
  630. this.option4.series[0].label.normal.formatter = ()=>{return this.statisticData.noLeaseCount}
  631. chart.setOption(this.option5);
  632. });
  633. }
  634. if (this.$refs.chart6) {
  635. this.$refs.chart6.init(echarts, async chart => {
  636. this.option6.title.textStyle.fontSize = 24 * this.rpxTopxScale
  637. this.option6.series[0].data[0].value = this.statisticData.expireCount
  638. this.option6.series[0].data[1].value =Number(this.statisticData.batteryCount) - Number(this.statisticData.leaseCount)
  639. this.option6.series[0].label.normal.formatter = ()=>{return this.statisticData.expireCount}
  640. chart.setOption(this.option6);
  641. });
  642. }
  643. },
  644. // 获取图表数据
  645. getEchartData() {
  646. return new Promise((r, j) => {
  647. req.getRequest('/admin/v2/statistic/chart', {type: this.timeType}, res => {
  648. this.echartData = res
  649. console.log('statistic chart', res)
  650. r(res)
  651. })
  652. })
  653. },
  654. // 获取营业额数据
  655. getStoreData() {
  656. return new Promise((r, j) => {
  657. req.getRequest('/admin/v2/statistic/ranking', {type: this.storeType}, res => {
  658. this.storeRanking = res
  659. console.log('statistic ranking', res)
  660. r(res)
  661. })
  662. })
  663. },
  664. // 获取图表数据
  665. getStatisticData() {
  666. return new Promise((r, j) => {
  667. req.getRequest('/admin/v2/statistic/top', {}, res => {
  668. console.log('statistic top', res)
  669. this.statisticData = res
  670. r(res)
  671. })
  672. })
  673. },
  674. // 获取当前用户
  675. getUserInfo(){
  676. req.getRequest('/admin/v2/userInfo',{},res=>{
  677. this.userInfo = res
  678. })
  679. }
  680. },
  681. mounted() {
  682. const systemInfo = uni.getSystemInfoSync();
  683. // px转换到rpx的比例
  684. let pxToRpxScale = 750 / systemInfo.windowWidth;
  685. this.pxToRpxScale = pxToRpxScale
  686. this.rpxTopxScale = systemInfo.windowWidth / 750
  687. let systems = {
  688. ktxStatusHeight: systemInfo.statusBarHeight * pxToRpxScale, // 状态栏的高度
  689. navigationHeight: 44 * pxToRpxScale // 导航栏的高度
  690. };
  691. systems.barHeight = systems.ktxStatusHeight + systems.navigationHeight;
  692. this.systems = systems;
  693. }
  694. };
  695. </script>
  696. <style>
  697. @import './index.css';
  698. </style>