fzqk.vue
2.43 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
<template>
<div class="fzqk">
<div class="home-title">
<span class="title-name">发证情况</span>
<span class="title-more">更多>></span>
</div>
<div class="home-content">
<div class="top">
<div class="img">
<img :src="imgSrc" alt="" />
</div>
<div class="word">
<div class="name">发证总量</div>
<div class="num">{{ fzzl }}</div>
<div class="unit">本</div>
</div>
</div>
<div class="bottom">
<div class="name">证书</div>
<div class="smallnum">{{ zs }}</div>
<div class="unit">本</div>
</div>
<div class="bottom">
<div class="name">证明</div>
<div class="smallnum">{{ zm }}</div>
<div class="unit">本</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: "fzqk",
components: {},
data () {
return {
fzzl: 132176,
zs: 54237,
zm: 77939,
imgSrc: require("./images/zs.png"),
};
},
methods: {},
};
</script>
<style scoped lang="scss">
@import "./home.scss";
.fzqk {
width: 100%;
height: 100%;
.top {
width: 100%;
height: 50%;
display: flex;
align-items: center;
.img {
width: 100px;
height: 100px;
img {
width: 80px;
height: 80px;
border-radius: 50%;
background: #0f93f6;
margin: 10px;
}
}
.word {
width: calc(100% - 100px);
height: 80px;
padding-left: 20px;
}
}
.bottom {
width: 50%;
height: 50%;
float: left;
}
.name {
font-size: 16px;
color: #606266;
width: 100%;
height: 40px;
line-height: 40px;
}
.num,
.smallnum {
display: inline-block;
font-size: 30px;
color: #0f93f6;
height: 40px;
line-height: 40px;
}
.smallnum {
font-size: 20px;
}
.unit {
display: inline-block;
font-size: 14px;
color: #606266;
height: 40px;
line-height: 40px;
}
}
</style>