LeftModel.vue
3.76 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
<template>
<div class="model">
<div class="model-title x-center">
<div class="text">数据资源</div>
</div>
<div class="model-content">
<template v-for="(item, index) in resourceList">
<div
class="group"
:key="index"
>
<div class="group-title">{{item.title}}</div>
<div class="item-box">
<template v-for="(i,ind) in item.list">
<div
class="item flex"
:key="ind"
>
<div class="icon">
<img :src="iconList[index]">
</div>
<span
class="text"
v-html="i.text"
></span>
</div>
</template>
</div>
</div>
</template>
</div>
<div class="gif">
<div class="gif-text">数据接入<br>网关</div>
<img src="@/assets/images/factor/factor-left.gif" />
</div>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
iconList: [
require('@/assets/images/factor/factor-left-1.png'),
require('@/assets/images/factor/factor-left-2.png'),
require('@/assets/images/factor/factor-left-3.png'),
],
resourceList: [
{
title: '智能网联终端',
list: [
{ text: '车机中控', icon: '' },
{ text: 'T-BOX', icon: '' },
{ text: '激光雷达', icon: '' },
{ text: '摄像头', icon: '' }
]
},
{
title: '汽车产业链数据',
list: [
{ text: '车 企', icon: '' },
{ text: '经销门店', icon: '' },
{ text: '汽车保险公司', icon: '' },
{ text: '汽车金融公司', icon: '' }
]
},
{
title: '公共数据',
list: [
{ text: '政府统计数据', icon: '' },
{ text: '公共服务数据', icon: '' },
{ text: '环境与资源<br/>数据', icon: '' },
{ text: '交通与基础设施<br/>数据', icon: '' },
{ text: '地理空间数据', icon: '' },
{ text: '互联网与社交<br/>媒体数据', icon: '' }
]
},
]
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
@import url('./model.scss');
.model {
background-image: url('../../../assets/images/factor/factor-left.png');
left: 80px;
.gif {
position: absolute;
width: 221px;
height: 46.44vh;
top: 16.6vh;
right: -172px;
&-text {
color: #fff;
position: absolute;
text-align: center;
top: 12.58vh;
right: 48px;
font-size: 18px;
}
}
.model-content {
padding-top: 4.04vh;
}
.group {
display: flex;
flex-direction: column;
align-items: center;
.group-title {
background: linear-gradient(to right, #01a4f9, #6df5f9);
-webkit-background-clip: text;
color: transparent;
font-weight: 700;
font-size: 20px;
letter-spacing: 0.71px;
margin: 0.38vh 0;
font-family: SourceHanSansCN-Bold;
}
.item-box {
width: 588px;
border: 4px dashed #3a72b6;
box-sizing: border-box;
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 2.6vh 18px;
gap: 1.35vh 14px;
.item {
flex-direction: column;
width: 125px;
.icon {
width: 100px;
height: 8.75vh;
}
.text {
font-weight: 700;
font-size: 16px;
color: #5eb9ff;
line-height: 2.12vh;
text-align: center;
margin-top: -0.67vh;
}
}
}
}
}
</style>