-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
182 lines (178 loc) · 11 KB
/
index.html
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
<html>
<head>
<meta charset="utf-8" />
<title>中正智控 - 2018国内汽车行业概况</title>
<link
href="https://cdn.bootcss.com/normalize/8.0.1/normalize.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="chart_table_t.css">
<style>
.wrapper { width: 100%; height: 100%; overflow: hidden; }
.content { width: 100%; height: 100%; display: flex; flex-direction: column; background-color: #020b3b; background: url(bg01.png) center no-repeat; }
.content > .title { height: 60px; margin-bottom: 10px; background: url(header.png) center no-repeat; text-align: center;}
.content > .title > span { line-height: 50px; font-size: 20px; display: inline-block; background-image: -webkit-gradient(linear,37.219838% 34.532506%,37.425669% 93.178216%,from(white),to(#6becd7),color-stop(.37,#6becd7)); -webkit-text-fill-color: transparent; -webkit-background-clip:text; color: #4097e5; }
.body { flex: 1; display: flex; flex-direction: row; }
.body > .space { flex: 0; }
.body > .left { flex: 12; display: flex; flex-direction: column; }
.body > .left > .top { flex: 16; display: flex; }
.body > .left > .bottom { flex: 8; display: flex; }
.body > .left > .bottom > .chart-container .left { flex: 12; display: flex; }
.body > .left > .bottom > .chart-container .right { flex: 12; display: flex; }
.body > .center { flex: 0; }
.body > .right { flex: 12; display: flex; flex-direction: column; }
.body > .right > .top { flex: 8; display: flex; }
.body > .right > .top > .chart-container .left { display: flex; flex: 1; }
.body > .right > .top > .chart-container .right { display: flex; flex: 1; }
.body > .right > .middle { flex: 0; display: flex; }
.body > .right > .bottom { flex: 16; display: flex; }
.body > .right > .bottom > .chart-container .left { flex: 12; display: flex; }
.body > .right > .bottom > .chart-container .right { flex: 12; display: flex; }
.chart, .chart-container { width: 100%; height: 100%; }
.chart-pie-a { display: flex; }
.chart-pie-a > div { flex: 12; display: flex; }
.chart-wrapper { position: relative; padding: 10px; box-sizing: border-box; }
.chart-container { position: relative; display: flex; border: 1px solid rgba(255, 255, 255, 0.1); box-sizing: border-box; border-radius: 4px; flex-direction: column; }
.chart-content { position: relative; display: flex; flex: 1; }
.chart-container .title { text-align: center; }
.chart-container .title > span { font-size: 15px; display: inline-block; padding: 8px 40px; border: 1px solid #4097e5; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; text-shadow: 0 0 2px #4097e5, 0 0 4px cyan, 0 0 10px dodgerblue, 0 0 80px blue; color: white; filter: saturate(60%); }
/* 边角样式 */
.corner { position: absolute; width: 30px; height: 30px; }
.corner::after { content: ""; position: absolute; width: 16px; height: 16px; }
.corner.rt { right: -1px; top: -1px; border-right: 1px solid rgba(255, 255, 255, 0.2); border-top: 1px solid rgba(255, 255, 255, 0.2); border-top-right-radius: 4px; }
.corner.rt::after { top: -1px; right: -1px; border-right: 2px solid #4097e5; border-top: 2px solid #4097e5; border-top-right-radius: 4px; }
.corner.rb { right: -1px; bottom: -1px; border-right: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); border-bottom-right-radius: 4px; }
.corner.rb::after { bottom: -1px; right: -1px; border-right: 2px solid #4097e5; border-bottom: 2px solid #4097e5; border-bottom-right-radius: 4px; }
.corner.lt { left: -1px; top: -1px; border-left: 1px solid rgba(255, 255, 255, 0.2); border-top: 1px solid rgba(255, 255, 255, 0.2); border-top-left-radius: 4px; }
.corner.lt::after { top: -1px; left: -1px; border-left: 2px solid #4097e5; border-top: 2px solid #4097e5; border-top-left-radius: 4px; }
.corner.lb { left: -1px; bottom: -1px; border-left: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); border-bottom-left-radius: 4px; }
.corner.lb::after { left: -1px; bottom: -1px; border-left: 2px solid #4097e5; border-bottom: 2px solid #4097e5; border-bottom-left-radius: 4px; }
</style>
</head>
<body>
<div class="wrapper">
<div class="content">
<div class="title">
<span>2018国内汽车行业概况</span>
</div>
<div class="body">
<div class="space"></div>
<div class="left">
<div class="top chart-wrapper">
<div class='chart-container' style="flex-direction: column;">
<div class="title">
<span>2018国内各省汽车产量</span>
</div>
<div class="chart-content">
<div id="chart-map" class="chart"></div>
</div>
</div>
</div>
<div class="bottom chart-wrapper">
<div class='chart-container'>
<div class="title">
<span>2018国内汽车产量情况</span>
</div>
<div class="chart-content">
<div class="left">
<div id="chart-line-t" class="chart"></div>
</div>
<div class="right">
<div id="chart-line-p" class="chart"></div>
</div>
</div>
</div>
</div>
</div>
<div class="center">
<!-- <div id="chart-map" class="chart"></div> -->
<!-- <div id="chart-line-p" class="chart"></div> -->
<!-- <div id="chart-line-t" class="chart"></div> -->
<!-- <div id="chart-pie-b" class="chart"></div> -->
<!-- <div id="chart-table-t" class="chart"></div> -->
<!-- <div class="chart chart-pie-a">
<div id="chart-pie-a-left"></div>
<div id="chart-pie-a-right"></div>
</div> -->
<!-- <div id="chart-radar" class="chart"></div> -->
<!-- <div id="chart-dash" class="chart"></div> -->
</div>
<div class="right">
<div class="top chart-wrapper">
<div class='chart-container'>
<div class="title">
<span>2018国内汽车销量情况</span>
</div>
<div class="chart-content">
<div class="left">
<div id="chart-pie-b" class="chart"></div>
</div>
<div class="right">
<div class="chart chart-pie-a">
<div id="chart-pie-a-left"></div>
<div id="chart-pie-a-right"></div>
</div>
</div>
</div>
</div>
</div>
<div class="middle"></div>
<div class="bottom chart-wrapper">
<div class="chart-container">
<div class="title">
<span>2018国内汽车服务满意度</span>
</div>
<div class="chart-content">
<div class="left">
<div id="chart-radar" class="chart"></div>
</div>
<div class="right">
<div id="chart-table-t" class="chart"></div>
</div>
</div>
</div>
</div>
</div>
<div class="space"></div>
</div>
</div>
</div>
<!-- <script src="http://api.map.baidu.com/getscript?v=2.0&ak=LMhOLFt0YNFLvtQWdAuHSGS1aXdoC2uB"></script> -->
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/echarts/4.2.1/echarts.min.js"></script>
<script src="https://cdn.bootcss.com/echarts/4.2.1/extension/bmap.min.js"></script>
<script src="https://cdn.bootcss.com/echarts/4.2.0-rc.2/extension/dataTool.min.js"></script>
<!-- <script
type="text/javascript"
src="http://echarts.baidu.com/gallery/vendors/echarts/map/js/china.js"
></script> -->
<script src="china.js"></script>
<script>
// 命名空间
let yvan = {}
yvan.pcolor = '#4097e5' // 主色
yvan.pcolor50 = '#626685' // 主色50
yvan.pcolor400 = '#183b77' //主色400
yvan.pcolor500 = '#3883f6'
yvan.ncolor = '#020b3b' // 中性色
yvan.acolor_p = '#ad2ae7' // 辅色紫色
yvan.acolor_p400 = '#906BF9'
yvan.acolor_c = '#6becd7' // 辅色青色
yvan.acolor_c600 = '#01E17E'
yvan.acolor_y = 'yellow' // 辅色黄色
yvan.acolor_y800 = '#e79430' // 辅色橘黄色
yvan.acolor_o = '#e56966' // 辅色橙色
// 添加边角样式
$('.chart-container').append($('<div class="corner rt"></div><div class="corner rb"></div><div class="corner lt"></div><div class="corner lb"></div>'))
</script>
<script></script>
<script src="chart_map.js"></script>
<script src="chart_line_p.js"></script>
<script src="chart_line_t.js"></script>
<script src="chart_pie_b.js"></script>
<script src="chart_pie_a.js"></script>
<script src="chart_table_t.js"></script>
<script src="chart_radar.js"></script>
<!-- <script src="chart_dash.js"></script> -->
</body>
</html>