Skip to content

Commit 5788935

Browse files
author
潘卓然 Parn Deedlit
authored
Merge pull request #61 from MapGIS/modify_zy
【示例网站】【样式修改】
2 parents a585fc7 + 56da08e commit 5788935

File tree

8 files changed

+300
-321
lines changed

8 files changed

+300
-321
lines changed

website/public/static/demo/config/config-headers.json

Lines changed: 37 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
"menus": [
66
{
77
"title": "概述",
8-
"icon": "iconico",
8+
"icon": "icongaishu",
99
"links": [["核心服务", "详细服务", "调用方式", "四大引擎选择", "下载"]],
1010
"hightlights": [[false, false, false, false, false]],
1111
"routes": [["/total/core", "/total/detail", "/total/use", "/total/select", "/total/download"]]
1212
},
1313
{
1414
"title": "插件",
15-
"icon": "iconchajian1",
15+
"icon": "iconchajian",
1616
"links": [["插件列表", "详细图表", "插件标签", "提交bug", "其他"]],
1717
"hightlights": [[false, false, false, false, false]],
1818
"routes": [["/total/plugins", "/total/detailChart", "/total/pluginTags", "/total/bugCommit", "/total/other"]]
1919
},
2020
{
2121
"title": "协议",
22-
"icon": "iconxieyiqueren",
22+
"icon": "iconxieyi",
2323
"links": [["epsg", "geojson"]],
2424
"hightlights": [[false, false]],
2525
"routes": [["/standard/epsg", "/standard/geojson"]]
@@ -32,8 +32,8 @@
3232
"menus": [
3333
{
3434
"title": "产品",
35-
"icon": "icon3chanpin",
36-
"links": [["产品介绍", "资源下载", "开发环境", "开发授权", "模块介绍", "相关产品", "三方产品", "新特性", "开始开发"]],
35+
"icon": "iconchanpinjieshao",
36+
"links": [["产品介绍"]],
3737
"hightlights": [[true, false, false, false, false, false, false, false, false]],
3838
"routes": [
3939
[
@@ -51,29 +51,18 @@
5151
},
5252
{
5353
"title": "开发指南",
54-
"icon": "iconicon_zhinan",
54+
"icon": "iconkaifazhinan",
5555
"links": [
5656
[
57-
"准备",
58-
"数据准备",
59-
"数据处理",
60-
"数据发布",
61-
"新建网站",
62-
"引入开发包",
63-
"数据可视化",
64-
"视图设置",
65-
"标题添加",
66-
"量算分析",
67-
"数据查询",
68-
"可视化效果"
57+
"开发指南"
6958
]
7059
],
7160
"hightlights": [[false, false, false, false, false, false, false, false, false, false, false, false]],
7261
"routes": [["/guide/component/development_component", "", "", "", "", "", "", "", "", "", "", ""]]
7362
},
7463
{
75-
"title": "在线示例",
76-
"icon": "iconkaifashili",
64+
"title": "开发示例",
65+
"icon": "iconzaixianshili",
7766
"links": [
7867
[
7968
"Cesium示例",
@@ -85,8 +74,8 @@
8574
"routes": [["/gallery/vue-cesium#raster", "/gallery/vue-mapboxgl#vue-layer", "/storybook/index.html"]]
8675
},
8776
{
88-
"title": "在线API",
89-
"icon": "iconAPIwendang",
77+
"title": "开发API",
78+
"icon": "iconsanfangAPI",
9079
"links": [["Cesium-API", "MapboxGL-API"]],
9180
"hightlights": [[false, false]],
9281
"routes": [["http://120.78.82.242:8891", "http://120.78.82.242:8892"]]
@@ -99,8 +88,8 @@
9988
"menus": [
10089
{
10190
"title": "产品",
102-
"icon": "icon3chanpin",
103-
"links": [["产品介绍", "资源下载", "开发环境", "开发授权", "模块介绍", "相关产品", "三方产品", "新特性", "开始开发"]],
91+
"icon": "iconchanpinjieshao",
92+
"links": [["产品介绍"]],
10493
"hightlights": [[true, false, false, false, false, false, false, false, false]],
10594
"routes": [
10695
[
@@ -118,29 +107,18 @@
118107
},
119108
{
120109
"title": "开发指南",
121-
"icon": "iconicon_zhinan",
110+
"icon": "iconkaifazhinan",
122111
"links": [
123112
[
124-
"准备",
125-
"数据准备",
126-
"数据处理",
127-
"数据发布",
128-
"新建网站",
129-
"引入开发包",
130-
"数据可视化",
131-
"视图设置",
132-
"标题添加",
133-
"量算分析",
134-
"数据查询",
135-
"可视化效果"
113+
"开发指南"
136114
]
137115
],
138116
"hightlights": [[false, false, false, false, false, false, false, false, false, false, false, false]],
139117
"routes": [["/guide/cesium/development_cesium", "", "", "", "", "", "", "", "", "", "", ""]]
140118
},
141119
{
142120
"title": "常见问题",
143-
"icon": "iconwentidan",
121+
"icon": "iconchangjianwenti",
144122
"hightlights": [[false, true, true, true]],
145123
"links": [["OGC-WMTS", "Vue-基本引入", "Vue-内存溢出", "Vue-路由切换"]],
146124
"routes": [
@@ -155,7 +133,7 @@
155133
},
156134
{
157135
"title": "开发示例",
158-
"icon": "iconkaifashili",
136+
"icon": "iconzaixianshili",
159137
"hightlights": [[false, false, false, false, false, false, false, false, false, false, false, false, false, false]],
160138
"links": [
161139
[
@@ -196,7 +174,7 @@
196174
},
197175
{
198176
"title": "开发API",
199-
"icon": "iconAPIwendang",
177+
"icon": "iconsanfangAPI",
200178
"links": [
201179
["客户端数据服务", "客户端可视化", "客户端渲染", "客户端事件管理", "客户端公共方法", "客户端视图管理", "客户端可视化分析"],
202180
["Cesium", "TurfJs"]
@@ -226,8 +204,8 @@
226204
"menus": [
227205
{
228206
"title": "产品",
229-
"icon": "icon3chanpin",
230-
"links": [["产品介绍", "资源下载", "开发环境", "开发授权", "模块介绍", "相关产品", "三方产品", "新特性", "开始开发"]],
207+
"icon": "iconchanpinjieshao",
208+
"links": [["产品介绍"]],
231209
"hightlights": [[true, false, false, false, false, false, false, false, false]],
232210
"routes": [
233211
[
@@ -245,29 +223,18 @@
245223
},
246224
{
247225
"title": "开发指南",
248-
"icon": "iconicon_zhinan",
226+
"icon": "iconkaifazhinan",
249227
"links": [
250228
[
251-
"准备",
252-
"数据准备",
253-
"数据处理",
254-
"数据发布",
255-
"新建网站",
256-
"引入开发包",
257-
"数据可视化",
258-
"视图设置",
259-
"标题添加",
260-
"量算分析",
261-
"数据查询",
262-
"可视化效果"
229+
"开发指南"
263230
]
264231
],
265232
"hightlights": [[false, false, false, false, false, false, false, false, false, false, false, false]],
266233
"routes": [["/guide/mapboxgl/development_mapboxgl", "", "", "", "", "", "", "", "", "", "", ""]]
267234
},
268235
{
269236
"title": "常见问题",
270-
"icon": "iconwentidan",
237+
"icon": "iconchangjianwenti",
271238
"hightlights": [[true, true, true, true, true, true, true]],
272239
"links": [
273240
["OGC-WMTS", "ArcServer-WMS", "ArcServer-要素图层", "矢量瓦片-介绍", "矢量瓦片-离线部署", "矢量瓦片-几何&符号", "Vue-基本引入"]
@@ -287,7 +254,7 @@
287254
},
288255
{
289256
"title": "开发示例",
290-
"icon": "iconkaifashili",
257+
"icon": "iconzaixianshili",
291258
"hightlights": [[false, false, true, false, false, false, false, false, false, false, true, true]],
292259
"links": [
293260
[
@@ -324,7 +291,7 @@
324291
},
325292
{
326293
"title": "开发API",
327-
"icon": "iconAPIwendang",
294+
"icon": "iconsanfangAPI",
328295
"hightlights": [[false, false, false, false, false, false, false, false], [false]],
329296
"links": [["地图服务", "OGC服务", "目录服务", "要素服务", "量算服务", "专题图服务", "分析服务", "客户端可视化"], ["Mapbox-GL"]],
330297
"routes": [
@@ -349,8 +316,8 @@
349316
"menus": [
350317
{
351318
"title": "产品",
352-
"icon": "icon3chanpin",
353-
"links": [["产品介绍", "资源下载", "开发环境", "开发授权", "模块介绍", "相关产品", "三方产品", "新特性", "开始开发"]],
319+
"icon": "iconchanpinjieshao",
320+
"links": [["产品介绍"]],
354321
"hightlights": [[true, false, false, false, false, false, false, false, false]],
355322
"routes": [
356323
[
@@ -368,29 +335,18 @@
368335
},
369336
{
370337
"title": "开发指南",
371-
"icon": "iconicon_zhinan",
338+
"icon": "iconkaifazhinan",
372339
"links": [
373340
[
374-
"准备",
375-
"数据准备",
376-
"数据处理",
377-
"数据发布",
378-
"新建网站",
379-
"引入开发包",
380-
"数据可视化",
381-
"视图设置",
382-
"标题添加",
383-
"量算分析",
384-
"数据查询",
385-
"可视化效果"
341+
"开发指南"
386342
]
387343
],
388344
"hightlights": [[false, false, false, false, false, false, false, false, false, false, false, false]],
389345
"routes": [["/guide/leaflet/development_leaflet", "", "", "", "", "", "", "", "", "", "", ""]]
390346
},
391347
{
392348
"title": "开发示例",
393-
"icon": "iconkaifashili",
349+
"icon": "iconzaixianshili",
394350
"links": [["互联网地图", "OGC服务", "地图", "要素", "量算", "专题图", "空间分析", "客户端可视化", "客户端空间分析", "ElasticSearch"]],
395351
"hightlights": [[false, false, false, false, false, false, false, false, false, false]],
396352
"routes": [
@@ -410,7 +366,7 @@
410366
},
411367
{
412368
"title": "开发API",
413-
"icon": "iconAPIwendang",
369+
"icon": "iconsanfangAPI",
414370
"links": [["地图服务", "OGC服务", "目录服务", "要素服务", "量算服务", "专题图服务", "分析服务", "客户端可视化"], ["Leaflet"]],
415371
"hightlights": [[false, false, false, false, false, false, false, false], [false]],
416372
"routes": [
@@ -435,8 +391,8 @@
435391
"menus": [
436392
{
437393
"title": "产品",
438-
"icon": "icon3chanpin",
439-
"links": [["产品介绍", "资源下载", "开发环境", "开发授权", "模块介绍", "相关产品", "三方产品", "新特性", "开始开发"]],
394+
"icon": "iconchanpinjieshao",
395+
"links": [["产品介绍"]],
440396
"hightlights": [[true, false, false, false, false, false, false, false, false]],
441397
"routes": [
442398
[
@@ -454,29 +410,18 @@
454410
},
455411
{
456412
"title": "开发指南",
457-
"icon": "iconicon_zhinan",
413+
"icon": "iconkaifazhinan",
458414
"links": [
459415
[
460-
"准备",
461-
"数据准备",
462-
"数据处理",
463-
"数据发布",
464-
"新建网站",
465-
"引入开发包",
466-
"数据可视化",
467-
"视图设置",
468-
"标题添加",
469-
"量算分析",
470-
"数据查询",
471-
"可视化效果"
416+
"开发指南"
472417
]
473418
],
474419
"hightlights": [[false, false, false, false, false, false, false, false, false, false, false, false]],
475420
"routes": [["/guide/openlayers/development_ol", "", "", "", "", "", "", "", "", "", "", ""]]
476421
},
477422
{
478423
"title": "开发示例",
479-
"icon": "iconkaifashili",
424+
"icon": "iconzaixianshili",
480425
"links": [
481426
[
482427
"地图控件",
@@ -528,7 +473,7 @@
528473
},
529474
{
530475
"title": "开发API",
531-
"icon": "iconAPIwendang",
476+
"icon": "iconsanfangAPI",
532477
"links": [["地图服务", "OGC服务", "目录服务", "要素服务", "量算服务", "专题图服务", "分析服务", "客户端可视化"], ["OpenLayers"]],
533478
"hightlights": [[false, false, false, false, false, false, false, false], [false]],
534479
"routes": [

website/src/components/IconFont/iconfont.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/src/views/component/product.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
:toc-first-level="2"
2828
toc-id="develop-markdown-toc"
2929
toc-class="mapgis-toc-class"
30-
:toc-anchor-link="true"
30+
:toc-anchor-link="false"
3131
:linkify="true"
3232
@rendered="markdownRendered"
3333
@toc-rendered="tocRendered"

website/src/views/guide/DevelopGuide.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
:toc-first-level="2"
2626
toc-id="develop-markdown-toc"
2727
toc-class="mapgis-toc-class"
28-
:toc-anchor-link="true"
28+
:toc-anchor-link="false"
2929
:linkify="true"
3030
@rendered="markdownRendered"
3131
@toc-rendered="tocRendered"

website/src/views/layout/components/Header/Header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export default {
244244
}
245245
246246
span:hover {
247-
color: #3a85c6;
247+
color: #3a85c6 !important;
248248
}
249249
250250
.active {

website/src/views/layout/components/Header/Menu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export default {
171171
}
172172
.menu-icon {
173173
color: #47abff;
174-
font-size: 22px;
174+
font-size: 16px;
175175
}
176176
.strong {
177177
font-weight: bold !important;

0 commit comments

Comments
 (0)