|
@@ -1,26 +1,16 @@
|
1
|
1
|
<template>
|
2
|
|
-<div>
|
|
2
|
+<div class="chart-index">
|
3
|
3
|
<el-row class="top-info" :gutter="20">
|
4
|
4
|
<el-col :span="8">
|
5
|
|
- <div class="grid-content">
|
6
|
|
- <p>{{echartsInfo.selectUserCount}}</p>
|
7
|
|
- <span>总用户</span>
|
8
|
|
- </div>
|
|
5
|
+ <card label="总用户">{{echartsInfo.selectUserCount}}</card>
|
9
|
6
|
</el-col>
|
10
|
7
|
<el-col :span="8">
|
11
|
|
- <div class="grid-content">
|
12
|
|
- <p>{{echartsInfo.selectRegisteredCount}}</p>
|
13
|
|
- <span>总注册用户</span>
|
14
|
|
- </div>
|
|
8
|
+ <card label="总注册用户">{{echartsInfo.selectRegisteredCount}}</card>
|
15
|
9
|
</el-col>
|
16
|
10
|
<el-col :span="8">
|
17
|
|
- <div @click="toNewUsers()" class="grid-content">
|
18
|
|
- <p class="under-line">{{echartsInfo.selectRecentlyCount}}</p>
|
19
|
|
- <span class="under-line">最近7天新增</span>
|
20
|
|
- </div>
|
|
11
|
+ <card label="最近7天新增" @click="toNewUsers()" class="under-line" >{{echartsInfo.selectRecentlyCount}}</card>
|
21
|
12
|
</el-col>
|
22
|
13
|
</el-row>
|
23
|
|
- <select-building></select-building>
|
24
|
14
|
<p class="title under-line" @click="toUserSource()">用户来源</p>
|
25
|
15
|
<span class="title-desc under-line" @click="toUserSource()">最近7天</span>
|
26
|
16
|
<el-row :gutter="20" :style="{ height: '560px',margin:'20px 0',border:'1px solid #eee',borderRadius:'5px'}">
|
|
@@ -82,6 +72,7 @@ const {
|
82
|
72
|
export default {
|
83
|
73
|
components: {
|
84
|
74
|
XLine: () => import('@/components/charts/XLine.vue'),
|
|
75
|
+ Card: () => import('./components/Card'),
|
85
|
76
|
},
|
86
|
77
|
data() {
|
87
|
78
|
return {
|
|
@@ -539,6 +530,10 @@ export default {
|
539
|
530
|
</script>
|
540
|
531
|
|
541
|
532
|
<style lang="scss" scoped>
|
|
533
|
+.chart-index {
|
|
534
|
+ background-color: transparent !important;
|
|
535
|
+}
|
|
536
|
+
|
542
|
537
|
p {
|
543
|
538
|
margin: 0;
|
544
|
539
|
}
|