summaryModule.vue
1.12 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
<template>
<div class="content">
<div class="top">
<div class="cycleSty" :style="{backgroundColor:itemData.color}"></div>
<div class="numSty">{{itemData.num}}</div>
</div>
<div class="titleSty">
{{itemData.title}}
</div>
</div>
</template>
<script>
export default {
name: "summaryModule",
props:{
itemData:{
type:Object,
default:{}
}
},
data(){
return{
}
}
}
</script>
<style lang="scss" scoped>
.content{
width: 100%;
background-color: #fafafa;
padding:10px 10px 10px 20px;
.top{
display: flex;
align-items: center;
.numSty{
margin-left: 5px;
font-family: 'Arial Normal', 'Arial', sans-serif;
font-weight: 400;
font-style: normal;
letter-spacing: normal;
color: #333333;
line-height: normal;
font-size: 18px;
}
.cycleSty{
width: 8px;
height: 8px;
border-radius: 50%;
}
}
.titleSty{
margin-top: 10px;
font-family: '苹方 中等', '苹方', sans-serif;
font-weight: 400;
font-style: normal;
color: #7F8295;
font-size: 14px;
}
}
</style>