index.vue
24.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
<template>
<div class="marketing-home">
<div class="title">
营销效果概览页
<span class="title-tips">根据门店日常的营销运营情况,可查看优惠券、秒杀活动营销,微店以及会员类的数据效果。</span>
</div>
<div class="home-top">
<!-- 概览+客户分群 -->
<div class="home-left">
<div class="marketing">
<div class="marketing-item border" v-for="(item, index) in list" :key="index">
<div class="marketing-title">
<div>
{{ item.title }}
<!-- <img class="marketing-icon" src="@/assets/edit.png" alt /> -->
</div>
<img class="marketing-img" src="@/assets/icon-d.png" alt />
</div>
<div class="marketing-content">{{ item.content }}</div>
<div class="marketing-btn">
<GLButton style="width: 118px;" display="disabled" type="primary" :size="size" :fn="item.linkName" @click="jumpPage(item.path)">{{ item.linkName }}</GLButton>
<!-- <el-button
style="width: 118px;"
:disabled="!$globalState.routers.find(i => i.compath == item.path)"
type="primary"
size="small"
@click="jumpPage(item.path)"
>{{item.linkName}}</el-button>-->
</div>
</div>
</div>
<!-- 客户分群 -->
<div class="customer-group">
<div class="title">营销数据</div>
<div class="customer-content">
<!-- 券类营销 -->
<div class="border coupons">
<div class="name">优惠券数据</div>
<div class="coupons-content">
<div class="coupons-left">
<div class="data-item">
<span class="data-title w-90">
总发放量
<el-popover placement="top-start" width="200" trigger="hover" content="配置优惠券的总张数。">
<img slot="reference" :src="iconUrl" alt />
</el-popover>
<!-- <img :src="iconUrl" alt /> -->
</span>
<span class="date-content">
<span class="data-num">{{ coupon.totalStock ? coupon.totalStock : '--' }}</span>
张
</span>
</div>
<div class="data-item">
<span class="data-title w-90">
领取量
<el-popover placement="top-start" width="300" trigger="hover" content="发放给用户且已被领取的优惠券总张数。">
<img slot="reference" :src="iconUrl" alt />
</el-popover>
<!-- <img :src="iconUrl" alt /> -->
</span>
<span class="date-content">
<span class="data-num">{{ coupon.totalIssue ? coupon.totalIssue : '--' }}</span>
张
</span>
</div>
<div class="data-item">
<span class="data-title w-90">
核销量
<el-popover placement="top-start" width="220" trigger="hover" content="核销用户优惠券的总张数。">
<img slot="reference" :src="iconUrl" alt />
</el-popover>
<!-- <img :src="iconUrl" alt /> -->
</span>
<span class="date-content">
<span class="data-num">{{ coupon.totalVerification ? coupon.totalVerification : '--' }}</span>
张
</span>
</div>
<div class="data-last">
<span class="data-name">核销率</span>
<span class="data-percentage">{{ coupon.verificationRate ? coupon.verificationRate : '--' }}</span>
</div>
</div>
<div class="pie-box">
<PieChart :list.sync="coupon.list" class="coupons-right"></PieChart>
<div v-show="!coupon.list" class="no-data">暂无数据</div>
</div>
</div>
</div>
<!-- 秒杀活动 -->
<div class="border activity">
<div class="name">秒杀活动</div>
<div class="data-item">
<span class="data-title w-118">
参与活动总人数
<el-popover placement="top-start" width="270" trigger="hover" content="参与活动且购买活动商品的总人数。">
<img slot="reference" :src="iconUrl" alt />
</el-popover>
<!-- <img :src="iconUrl" alt /> -->
</span>
<span class="date-content">
<span class="data-num">{{ merchant.saleAmount ? merchant.saleAmount : '--' }}</span>
人
</span>
</div>
<div class="data-item">
<span class="data-title w-118">
浏览量
<el-popover placement="top-start" width="255" trigger="hover" content="用户进入活动页面的总浏览次数。">
<img slot="reference" :src="iconUrl" alt />
</el-popover>
<!-- <img :src="iconUrl" alt /> -->
</span>
<span class="date-content">
<span class="data-num">{{ merchant.viewAmount ? merchant.viewAmount : '--' }}</span>
次
</span>
</div>
<div class="data-item">
<span class="data-title w-118">
累计销售额
<el-popover placement="top-start" width="240" trigger="hover" content="用户购买活动商品的总销售额。">
<img slot="reference" :src="iconUrl" alt />
</el-popover>
<!-- <img :src="iconUrl" alt /> -->
</span>
<span class="date-content">
<span class="data-num">{{ merchant.salePrice ? merchant.salePrice : '--' }}</span>
元
</span>
</div>
</div>
</div>
</div>
</div>
<!-- 会员数据 -->
<div class="home-right border">
<div class="membership-data">
<div class="title">会员数据</div>
<div class="data-item" style="margin-top: 10px;">
<span class="data-title w-118">总会员数</span>
<span class="date-content">
<span class="data-num">{{ equity.totalMembership ? equity.totalMembership : '--' }}</span>
人
</span>
</div>
<div class="data-item" style="margin-top: 10px;">
<span class="data-title w-118">今日新增</span>
<span class="date-content">
<span class="data-num">{{ equity.todayMembership ? equity.todayMembership : '--' }}</span>
人
</span>
</div>
<div class="data-item" style="margin-top: 10px;">
<div class="data-half" style="margin-right: 20px;">
<span class="data-half-name">周同比</span>
<span :class="[equity.weekFlag ? 'data-red-percentage data-half-red' : 'data-green-percentage data-half-green']">
<span :class="[equity.weekFlag ? 'data-red-triangle' : 'data-green-triangle']"></span>
<span>{{ equity.lastWeekDayMemberShipCompared ? equity.lastWeekDayMemberShipCompared : '--' }}</span>
</span>
</div>
<div class="data-half">
<span class="data-half-name">日环比</span>
<span :class="[equity.dayFlag ? 'data-red-percentage data-half-red' : 'data-green-percentage data-half-green']">
<span :class="[equity.dayFlag ? 'data-red-triangle' : 'data-green-triangle']"></span>
<span>{{ equity.yesterdayMembershipSequential ? equity.yesterdayMembershipSequential : '--' }}</span>
</span>
</div>
</div>
</div>
<div class="packages-sold">
<div class="title">
<span>套餐总售卖</span>
<span class="sold-num">
{{ equity.totalSales }}
<span>单</span>
</span>
</div>
<div class="bar-box">
<BarChart :list.sync="equity.countMerchantOrderList"></BarChart>
<div class="no-data" v-show="!equity.countMerchantOrderList">暂无数据</div>
</div>
<div>
<div class="data-item">
<span class="data-title w-118">累计产值</span>
<span class="date-content">
<span class="data-num orange">{{ equity.totalProductionValue ? equity.totalProductionValue : '--' }}</span>
元
</span>
</div>
<div class="data-tips">注:仅体现套餐售卖数最多的前5类</div>
</div>
</div>
</div>
</div>
<div class="border home-bottom">
<div class="bottom-title">
<div class="bottom-text">微店数据</div>
<div class="bottom-time">
<div class="bottom-btn">
<el-button :style="currentTime == 'week' ? '' : blackColor" type="text" @click="storeData('week')">本周</el-button>
<el-button :style="currentTime == 'month' ? '' : blackColor" type="text" @click="storeData('month')">本月</el-button>
<el-button :style="currentTime == 'year' ? '' : blackColor" type="text" @click="storeData('year')">全年</el-button>
</div>
<el-date-picker class="bottom-picker" v-model="date" type="daterange" size="small" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="dateChange"></el-date-picker>
</div>
</div>
<div class="bottom-content">
<div class="line-box">
<LineChart :list.sync="order.list"></LineChart>
<div v-show="!order.list" class="no-data">暂无数据</div>
</div>
<div class="bottom-right">
<div class="bottom-right-boxs">
<div class="bottom-right-item">
<div class="item-content">
<img src="@/assets/icon-amount.png" alt />
<div>
<div>成交金额</div>
<div class="item-number">
{{ order.totalAmount ? order.totalAmount : '--' }}
<span>元</span>
</div>
</div>
</div>
<!-- <div class="item-chain">
<span>同比上月</span>
<span class="green-num">0.3%</span>
</div>-->
</div>
<div class="bottom-right-item">
<div class="item-content">
<img src="@/assets/icon-order.png" alt />
<div>
<div>订单总数</div>
<div class="item-number">
{{ order.totalCount ? order.totalCount : '--' }}
<span>单</span>
</div>
</div>
</div>
<!-- <div class="item-chain">
<span>同比上月</span>
<span class="red-num">0.3%</span>
</div>-->
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
const iconUrl =
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAFoTx1HAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAADqADAAQAAAABAAAADgAAAAC98Dn6AAAB7klEQVQoFVVSQUhUURQ9981sVFyYRRHuFFq1CGlZC3etnBlMRhMXQwhtCqIQJBA3gSSi1EpkNqkjCjOjm1YWuGojBVO7Fi0K2qQLF6H453bO+/ODLvz37z333PvOu+8BtImCf0K56J8VYKLoC9HRMlnwRxaRgB0kOHDDz5gl/0hZBaaFwGl3H65j577nygV/ITCM71pinRo1GiF4zm8jqzkr5dEtluiTJZ9zx8fYTEBmbP5D/tSY3wnaRUwB0rbdsAH5SYK3sW2l4r1/jnFIsUMElmsNmxdB7JGsUnGUWvQz+XkHXtXqNsxx/KL/Zg+oS5xxi8A2T8SqNe0az3NANyfVJD4N5ripZDTDrc1da8kn/i1QxGya4eq4Kl8aui7hblRLUd/JXCSxxXarBJ9T8fuYFLsztiqTv4NjXUTh2rZteEhiP8OKiiIez3+CFoWubdXtpUDe1XAbmJEfQLxpRxFPRz7T1ccz6BFkl6okRzHFOJ5ccbnkr8l5LF8mrl5Pnv5gJksJjmlD/wclv9121ClxeqthH4TJQh5fLhIMaa7LOrRuIk2la89lfO29ghuU/69IHBatqIZfOhgWv2OXhUIOi/FCnDpoZuYqaCaYpYJ5gvf+m6pInUE9Y5NRhoPCdGl80fscyFK1aqfCZH8B0rPa9foo7e4AAAAASUVORK5CYII='
import PieChart from './components/pieChart'
import BarChart from './components/barChart'
import LineChart from './components/lineChart'
import * as dayjs from 'dayjs'
export default {
name: 'home',
components: {
PieChart,
BarChart,
LineChart
},
data() {
return {
iconUrl,
list: [
{
title: '日常关怀',
content: '群发工具可把通知、祝福、活动等消息批量发送给客户,员工可对客户进行后续的服务。',
linkName: '群发关怀信息',
path: '/customerTransform/index'
},
{
title: '会员套餐',
content: '会员套餐由门店根据服务项目自主创建,客户购买后可到店享受服务,门店可通过扫码进行次数核销。',
linkName: '设置会员套餐',
path: '/memberCenter/setmeal'
},
{
title: '商品销售',
content: '商品管理可对门店创建的商品进行自主上下架,管理商品的销售订单。',
linkName: '上架商品',
path: '/productStore/index'
}
],
date: [],
order: {
list: []
},
coupon: {
list: []
},
equity: {
countMerchantOrderList: []
},
merchant: {},
blackColor: 'color: #000;',
currentTime: ''
}
},
mounted() {
const start = new Date()
this.$set(this.date, 0, start.setTime(start.getTime() - 3600 * 1000 * 24 * 14))
this.$set(this.date, 1, new Date())
this.init(this.date)
},
methods: {
init(date) {
this.couponStatistical()
this.timePeriodStatistics({
dataStartDateStr: dayjs(date[0]).format('YYYY-MM-DD'),
dataEndDateStr: dayjs(date[1]).format('YYYY-MM-DD')
})
this.equityStatistical()
this.merchantStatistical()
},
dateChange(val, pointUnit = 1) {
const params = {
dataStartDateStr: dayjs(val[0]).format('YYYY-MM-DD'),
dataEndDateStr: dayjs(val[1]).format('YYYY-MM-DD'),
pointUnit
}
this.timePeriodStatistics(params)
},
storeData(name) {
let startTime, endTime
let now = new Date()
let nowDayOfWeek = now.getDay()
let nowDay = now.getDate()
let nowMonth = now.getMonth()
let nowYear = now.getFullYear()
this.currentTime = name
switch (name) {
case 'week':
startTime = new Date(nowYear, nowMonth, nowDay - nowDayOfWeek)
endTime = new Date()
// endTime = new Date(nowYear, nowMonth, nowDay + 6 - nowDayOfWeek)
this.$set(this.date, 0, startTime)
this.$set(this.date, 1, endTime)
this.dateChange(this.date)
break
case 'month':
startTime = new Date(nowYear, nowMonth, 1)
endTime = new Date()
// endTime = new Date(nowYear, nowMonth + 1, 0)
this.$set(this.date, 0, startTime)
this.$set(this.date, 1, endTime)
this.dateChange(this.date)
break
case 'year':
startTime = new Date(nowYear, 0, 1)
endTime = new Date()
// endTime = new Date(nowYear, 11, 31)
this.$set(this.date, 0, startTime)
this.$set(this.date, 1, endTime)
this.dateChange(this.date, 2)
break
}
},
jumpPage(path) {
this.$router.push(path)
},
couponStatistical() {
const params = {
discountTypes: [2, 3, 4]
}
this.$apis.home.couponStatistical(params).then(res => {
this.coupon = res
})
},
equityStatistical() {
this.$apis.home
.equityStatistical({})
.then(res => {
this.equity = res
this.equity.weekFlag = this.equity.lastWeekDayMemberShipCompared.indexOf('-') == -1
this.equity.dayFlag = this.equity.yesterdayMembershipSequential.indexOf('-') == -1
})
.catch(err => {
this.equity.countMerchantOrderList = ''
})
},
merchantStatistical() {
this.$apis.home.merchantStatistical({}).then(res => {
this.merchant = res
})
},
timePeriodStatistics(params) {
this.$apis.home.timePeriodStatistics(params).then(res => {
if (res) {
this.order = res
}
})
}
}
}
</script>
<style lang="scss" scope>
.border {
padding: 20px;
background: #ffffff;
// box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
}
.orange {
color: #fe9c1c;
}
.data {
&-item {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 20px;
}
&-last {
display: flex;
align-items: center;
margin-top: 16px;
justify-content: flex-end;
}
&-title {
display: inline-flex;
align-items: center;
justify-content: flex-end;
font-size: 14px;
color: #666;
img {
margin-left: 6px;
}
}
&-content {
color: #333;
font-size: 12px;
}
&-num {
font-size: 22px;
font-weight: 500;
}
&-name {
font-size: 14px;
color: #a3a3a3;
}
&-tips {
font-size: 14px;
color: #a3a3a3;
margin-top: 14px;
}
&-percentage {
font-size: 14px;
color: #5850ff;
margin-left: 10px;
}
&-half {
display: inline-flex;
justify-content: space-between;
width: 50%;
font-size: 12px;
&-name {
color: #979797;
}
&-red {
color: #eb4e4e;
}
&-green {
color: #2cca74;
}
}
&-red-percentage {
display: inline-flex;
align-items: flex-start;
}
&-green-percentage {
display: inline-flex;
align-items: flex-end;
}
&-red-triangle {
display: inline-block;
margin-top: -4px;
border-width: 6.5px;
margin-right: 2px;
border-style: dashed dashed solid dashed;
border-color: transparent transparent #eb4e4e transparent;
}
&-green-triangle {
display: inline-block;
margin-bottom: -4px;
border-width: 6.5px;
margin-right: 2px;
border-style: solid dashed dashed dashed;
border-color: #2cca74 transparent transparent transparent;
}
}
.marketing-home {
.title {
font-size: 20px;
font-weight: 500;
color: #333;
line-height: 20px;
vertical-align: middle;
margin-bottom: 20px;
.title-tips {
margin-left: 10px;
color: #565656;
font-size: 14px;
}
}
.home-top {
display: flex;
width: 100%;
.home-left {
margin-right: 20px;
width: 75%;
min-width: 885px;
.marketing {
display: flex;
margin-bottom: 20px;
&-item {
position: relative;
width: 33%;
height: 260px;
min-width: 275px;
box-sizing: border-box;
margin-right: 20px;
&:last-child {
margin-right: 0;
}
}
&-title {
display: flex;
justify-content: space-between;
font-size: 20px;
color: #333;
margin-bottom: 15px;
}
&-icon {
width: 16px;
height: 16px;
margin-left: 10px;
}
&-img {
width: 101px;
height: 57px;
}
&-content {
font-size: 14px;
font-weight: 500;
color: #333333;
line-height: 20px;
margin-bottom: 20px;
max-height: 80px;
min-width: 235px;
// word-break: keep-all;
// white-space: pre-line;
// -webkit-box-orient: vertical;
// -webkit-line-clamp: 4;
// // white-space:
// overflow: hidden;
// text-overflow: ellipsis;
}
&-btn {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
text-align: center;
// margin-bottom: 10px;
}
}
.customer-content {
display: flex;
justify-content: space-between;
}
.coupons {
// width: 570px;
width: calc(67% - 11px);
// width: 66.6%;
box-sizing: border-box;
&-content {
display: inline-flex;
width: 100%;
}
&-left {
width: 50%;
}
&-right {
// flex: 1;
// width: 50%;
display: inline-block;
}
}
.activity {
display: inline-block;
min-width: 275px;
width: calc(33% - 9px);
// width: calc(33.3% - 20px);
box-sizing: border-box;
}
.name {
font-size: 16px;
color: #333;
}
.w-118 {
width: 118px;
}
.w-90 {
width: 90px;
}
}
.home-right {
// flex: 1;
width: 25%;
height: 560px;
min-width: 240px;
box-sizing: border-box;
.membership-data {
padding-bottom: 20px;
border-bottom: 2px solid #f0f0f0;
}
.packages-sold {
.title {
display: flex;
justify-content: space-between;
font-size: 14px;
color: #666;
margin-top: 20px;
margin-bottom: 18px;
.sold-num {
font-size: 22px;
color: #333;
span {
font-size: 12px;
}
}
}
}
}
}
.home-bottom {
// width: 1160px;
width: 100%;
box-sizing: border-box;
margin-top: 20px;
.bottom {
// &-title {
// display: flex;
// justify-content: space-between;
// }
&-text {
font-size: 20px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
line-height: 20px;
margin-bottom: 20px;
}
&-btn {
display: inline-block;
}
&-time {
margin-left: 36px;
width: 31.5%;
}
&-picker {
// width: 240px;
// width: 25%;
width: calc(100% - 130px);
margin-left: 20px;
}
&-content {
display: flex;
justify-content: space-between;
}
&-right {
min-width: 240px;
width: 270px;
height: 210px;
background: #f9f9fc;
border-radius: 3px;
&-boxs {
margin: 24px 24px 31px 24px;
}
&-item {
font-size: 16px;
color: #333;
&:first-child {
border-bottom: 1px solid #e5e5e5;
padding-bottom: 31px;
}
&:last-child {
padding-top: 24px;
}
.item-content {
display: flex;
img {
width: 48px;
height: 48px;
margin-right: 10px;
}
.item-number {
margin-top: 6px;
font-size: 22px;
font-weight: 500;
span {
font-size: 12px;
}
}
}
.item-chain {
margin-left: 58px;
margin-top: 10px;
font-size: 12px;
color: #979797;
.green-num {
margin-left: 5px;
color: #2cca74;
&::before {
content: '';
margin-bottom: -6px;
display: inline-block;
border-width: 6.5px;
margin-right: 2px;
border-style: solid dashed dashed dashed;
border-color: #2cca74 transparent transparent transparent;
}
}
.red-num {
margin-left: 5px;
color: #eb4e4e;
&::before {
content: '';
margin-bottom: 1px;
display: inline-block;
border-width: 6.5px;
margin-right: 2px;
border-style: dashed dashed solid dashed;
border-color: transparent transparent #eb4e4e transparent;
}
}
}
}
}
}
}
}
.line-box {
position: relative;
height: 196px;
width: 76.7%;
min-width: 890px;
}
.bar-box {
position: relative;
width: 100%;
height: 240px;
}
.pie-box {
position: relative;
width: 50%;
height: 185px;
}
.no-data {
position: absolute;
background-color: #ffffff;
width: 100%;
height: 100%;
top: 0;
display: flex;
justify-content: center;
align-items: center;
color: #666;
}
</style>