Skip to content

Commit 0a581f2

Browse files
修改站点样式。review by zhurch
1 parent d26658d commit 0a581f2

File tree

5 files changed

+41
-31
lines changed

5 files changed

+41
-31
lines changed

examples/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="navbar-header">
22

3-
<a class="navbar-brand" href="#">
4-
<span class="project-title vm" id="title">SuperMap iClient 9D<span style="vertical-align:super; font-size:14px; color:#ffffff; margin-left:5px;">alpha</span></span>
3+
<a class="navbar-brand" href="../../web/index.html">
4+
<span class="project-title vm" id="title">SuperMap iClient 9D<span style="vertical-align:super; font-size:14px; color:#ffffff; margin-left:5px;">Beta</span></span>
55
</a>
66

77
<div id="suffix-title"></div>

examples/leaflet/addressService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<script type="text/javascript">
1616
var map, codeMarkers = [], decodeMarkers = [], url = "http://support.supermap.com.cn:8090/iserver/services/map-china400/rest/maps/China_4326",
1717
addressUrl = "http://localhost:8090/iserver/services/addressmatch-BeijingAddress/restjsr/v1/address",
18-
addressService = L.supermap.AddressService(addressUrl),
18+
addressService = L.supermap.AddressService(addressUrl);
1919
map = L.map('map', {
2020
crs: L.CRS.EPSG4326,
2121
center: [39.914714, 116.383572],

web/css/index.css

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ html, body, .wrapper {
153153
margin: auto;
154154
}
155155

156-
.quick-service .second_title .navbar-nav li {
156+
.quick-service .second_title .navbar-nav li {
157157
padding-left: 15px;
158158
}
159159
}
@@ -378,7 +378,6 @@ html, body, .wrapper {
378378

379379
/*特性 attributes样式结束*/
380380

381-
382381
/*快速入门*/
383382
.quick-service {
384383
margin-top: 40px;
@@ -389,12 +388,16 @@ html, body, .wrapper {
389388
display: inline-block;
390389
vertical-align: middle;
391390
content: "";
392-
width: 50px;
391+
width: 40px;
393392
height: 2px;
394393
margin-top: -2px;
395394
}
396395

397-
.quick-service .second_title{
396+
.javascript .hljs-string {
397+
color: #d44950
398+
}
399+
400+
.quick-service .second_title {
398401
border: none;
399402
background-color: #ffffff;
400403
z-index: 10000;
@@ -403,7 +406,7 @@ html, body, .wrapper {
403406
height: 50px
404407
}
405408

406-
.quick-service .second_title .navbar-nav li {
409+
.quick-service .second_title .navbar-nav li {
407410
position: relative
408411
}
409412

@@ -430,7 +433,7 @@ html, body, .wrapper {
430433
}
431434

432435
.quick-service .second_title .navbar-nav li a:hover, .second_title .navbar-nav li a:focus {
433-
color: rgba(0,0,0,2);
436+
color: rgba(0, 0, 0, 2);
434437
background-color: #f9f9f9;
435438
cursor: hand;
436439

@@ -441,7 +444,6 @@ html, body, .wrapper {
441444
right: 0
442445
}
443446

444-
445447
.quickstart .map {
446448
height: 300px;
447449
width: 100%;
@@ -451,6 +453,7 @@ html, body, .wrapper {
451453
border: 1px solid #e0e0e0;
452454
border-radius: 2px;
453455
}
456+
454457
/*快速入门*/
455458

456459
/*what's new里用到的样式*/
@@ -463,7 +466,7 @@ html, body, .wrapper {
463466
display: inline-block;
464467
vertical-align: middle;
465468
content: "";
466-
width: 90px;
469+
width: 70px;
467470
height: 2px;
468471
margin-top: -2px;
469472
}

web/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div class="navbar-header">
2-
<!--<a href="#" class="navbar-brand" id="title">SuperMap iClient for javaScript 9D<span style="vertical-align:super; font-size:14px; color:#ffffff; margin-left:5px">alpha</span></a>-->
2+
33
<a class="navbar-brand" href="#">
44
<span class="dinlineblock width55 mr10"><img class="project-logo" src="iclient.png" style="visibility: visible;" id ="logo"></span>
55
<span class="project-title vm" id="title">SuperMap iClient for JavaScript 9D<span
6-
style="vertical-align:super; font-size:14px; color:#ffffff; margin-left:5px;">alpha</span></span>
6+
style="vertical-align:super; font-size:14px; color:#ffffff; margin-left:5px;">Beta</span></span>
77
</a>
88
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse"
99
aria-expanded="false">

web/index.html

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<html xmlns="http://www.w3.org/1999/html">
22
<head>
3-
<title>SuperMap iClient for JavaScript 9D alpha</title>
3+
<title>SuperMap iClient for JavaScript 9D Beta</title>
44
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico"/>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
@@ -94,7 +94,10 @@ <h3 class="tc pt50">云GIS网络客户端开发平台</h3>
9494
<h2 class="feature-heading">开源产品的最佳实践</h2>
9595

9696
<p class="feature-text">
97-
全面对接集成了Leaflet、OpenLayers、Mapbox GL JS、ECharts、D3等常用的地图库和制图制表库,避免用户的重复学习和成本投入
97+
全面对接集成了 <a target="_blank" href="http://leafletjs.com">Leaflet</a><a target="_blank" href="https://openlayers.org/">OpenLayers</a>
98+
<a target="_blank" href="https://www.mapbox.com/mapbox-gl-js/api/">Mapbox GL JS</a>
99+
<a target="_blank" href="http://echarts.baidu.com/">ECharts</a>
100+
<a target="_blank" href="https://d3js.org/">D3</a><a target="_blank" href="http://mapv.baidu.com/">MapV</a> 等常用的地图库和制图制表库,避免用户的重复学习和成本投入
98101
</p>
99102
</div>
100103
<div class="col-lg-5">
@@ -109,7 +112,7 @@ <h2 class="feature-heading">开源产品的最佳实践</h2>
109112
<h2 class="feature-heading">Morden WebGIS</h2>
110113

111114
<p class="feature-text">
112-
基于H5、WebGL、WebSocket、CSS6、RequireJS、ReactJS等现代Web技术栈,完全重建,符合IT发展的先进方向
115+
基于H5、WebGL、WebSocket、CSS6、RequireJS、ReactJS等现代Web技术栈,完全重建
113116
</p>
114117
</div>
115118
<div class="col-lg-5 pull-lg-7">
@@ -126,7 +129,7 @@ <h2 class="feature-heading">Morden WebGIS</h2>
126129
<h2 class="feature-heading">完全开源 + 开放</h2>
127130

128131
<p class="feature-text">
129-
完全开源至Github、OSChina,建立开源社区,为Leaflet、OpenLayers、Mapbox GL JS等开源库提供扩展插件包,融入国际GIS开源社区
132+
iClient for JavaScript 9D 核心源代码基于Apache License 2.0开源许可协议发布,可在 github、<a target="_blank" href="https://git.oschina.net/isupermap/iClient9">oschina </a>自由下载和分发使用
130133
</p>
131134
</div>
132135
<div class="col-lg-5">
@@ -190,7 +193,9 @@ <h1 class='first_title'>快速入门</h1>
190193
</div>
191194
<div id="fast-leaflet-content" class="collapse in">
192195
<div class="map" id="leafletMap"></div>
193-
<p style="margin-top: 18px">将 iSevrer 发布的地图加载至 Leaflet 的 map 中</p>
196+
<p style="margin-top: 18px">引入 iclient9-leaflet.js 或 iclient9-leaflet.min.js,以 iclient9-leaflet.js 为例:</p>
197+
<pre class="javascript"><code class="html">&lt;script type=&quot;text/javascript&quot; src=&quot;http://iclient.supermapol.com/dist/iclient9-leaflet.js&quot;&gt;&lt;/script&gt;</code></pre>
198+
<p style="margin-top: 18px">将 iServer 发布的地图加载至 Leaflet 的 map 中:</p>
194199
<pre class="javascript"><code>var map = L.map(&#39;map&#39;);
195200
L.supermap.tiledMapLayer(&quot;http://localhost:8090/iserver/services/map/rest/maps/China&quot;).addTo(map);</code><a href="../examples/leaflet/editor.html#01_tiledMapLayer3857" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a></pre>
196201
</div>
@@ -205,13 +210,15 @@ <h1 class='first_title'>快速入门</h1>
205210
</div>
206211
<div id="fast-openlayers-content" class="collapse in">
207212
<div class="map" id="olMap"></div>
208-
<p style="margin-top: 19px">将 iSevrer 发布的地图加载至 OpenLayers 的 map 中</p>
213+
<p style="margin-top: 18px">引入 iclient9-openlayers.js 或 iclient9-openlayers.min.js,以 iclient9-openlayers.js 为例::</p>
214+
<pre class="javascript"><code class="html">&lt;script src=&quot;http://iclient.supermapol.com/iclient9-openlayers.js&quot;&gt;&lt;/script&gt;</code></pre>
215+
<p style="margin-top: 19px">将 iServer 发布的地图加载至 OpenLayers 的 map 中:</p>
209216
<pre class="javascript"><code>var map = new ol.Map({
210217
target: &#39;map&#39;,
211218
layers: [new ol.layer.Tile({
212-
source: new ol.supermap.TileSuperMapRest({
213-
url: &quot;http://localhost:8090/iserver/services/map/rest/maps/World&quot;
214-
}),
219+
source: new ol.supermap.TileSuperMapRest({
220+
url: &quot;http://localhost:8090/iserver/services/map/rest/maps/World&quot;
221+
}),
215222
})]
216223
});</code><a href="../examples/openlayers/editor.html#01_tiledMapLayer4326" style="font-size: 10px;float:right">查看源码&nbsp;&raquo;</a></pre>
217224
</div>
@@ -226,7 +233,7 @@ <h1 class='first_title'>快速入门</h1>
226233
</div>
227234
<div id="fast-mapboxgljs-content" class="collapse in">
228235
<div class="map" id="mapboxMap"></div>
229-
<p style="margin-top: 19px">iSevrer 发布的地图加载至 Mapbox GL JS 的 map 中</p>
236+
<p style="margin-top: 19px">iServer 发布的地图加载至 Mapbox GL JS 的 map 中</p>
230237
<pre class="javascript"><code>var map = new mapboxgl.Map({
231238
container: "map",
232239
style: {
@@ -282,7 +289,7 @@ <h1 class="first_title">WHAT'S NEW</h1>
282289
</div>
283290
<div class="news-box">
284291
<p class="new-attributes_content">
285-
完成了基础设施重建,完全开源+开放,全面对接集成了Leaflet、OpenLayers、MapboxGL JS、ECharts、MapV等常用的地图库和制图制表库,避免用户的重复学习和成本投入
292+
完成了基础设施重建,完全开源 + 开放,全面对接集成了 Leaflet、OpenLayers、Mapbox GL JS、ECharts、MapV 等常用的地图库和制图制表库,避免用户的重复学习和成本投入
286293
</p>
287294
</div>
288295
</div>
@@ -294,7 +301,7 @@ <h1 class="first_title">WHAT'S NEW</h1>
294301
</div>
295302
<div class="news-box">
296303
<p class="new-attributes_content">
297-
支持访问SuperMap iServer 9D 的分布式处理服务,提供核密度分析、格网聚合分析和地图缓存生成功能
304+
支持访问 SuperMap iServer 9D 的分布式处理服务,提供核密度分析、格网聚合分析和地图缓存生成功能
298305
</p>
299306
</div>
300307
</div>
@@ -306,7 +313,7 @@ <h1 class="first_title">WHAT'S NEW</h1>
306313
</div>
307314
<div class="news-box">
308315
<p class="new-attributes_content">
309-
支持访问SuperMap iServer 9D 的地址匹配服务,提供正向匹配和反向匹配功能
316+
支持访问 SuperMap iServer 9D 的地址匹配服务,提供正向匹配和反向匹配功能
310317
</p>
311318
</div>
312319
</div>
@@ -318,7 +325,7 @@ <h1 class="first_title">WHAT'S NEW</h1>
318325
</div>
319326
<div class="news-box">
320327
<p class="new-attributes_content">
321-
支持Mapbox矢量瓦片标准,为用户提供了更多可在客户端自由更改样式的地图风格
328+
支持 Mapbox 矢量瓦片标准,为用户提供了更多可在客户端自由更改样式的地图风格
322329
</p>
323330
</div>
324331
</div>
@@ -342,7 +349,7 @@ <h1 class="first_title">WHAT'S NEW</h1>
342349
</div>
343350
<div class="news-box">
344351
<p class="new-attributes_content">
345-
集成ECharts常用可视化效果:散点地图、迁徙图、热力图、线路图、线特效、折线图、柱状图、饼图
352+
集成 ECharts 常用可视化效果:散点地图、迁徙图、热力图、线路图、线特效、折线图、柱状图、饼图
346353
</p>
347354
</div>
348355
</div>
@@ -355,7 +362,7 @@ <h1 class="first_title">WHAT'S NEW</h1>
355362
</div>
356363
<div class="news-box">
357364
<p class="new-attributes_content">
358-
集成数据可视化开源库MapV,提供蜂巢图和海量点数据的绘制
365+
集成数据可视化开源库 MapV,提供蜂巢图和海量点数据的绘制
359366
</p>
360367
</div>
361368
</div>
@@ -367,7 +374,7 @@ <h1 class="first_title">WHAT'S NEW</h1>
367374
</div>
368375
<div class="news-box">
369376
<p class="new-attributes_content">
370-
更简单的访问SuperMap iPortal和SuperMap Online中用户配置的地图
377+
更简单的访问 SuperMap iPortal 和 SuperMap Online 中用户配置的地图
371378
</p>
372379
</div>
373380
</div>
@@ -379,7 +386,7 @@ <h1 class="first_title">WHAT'S NEW</h1>
379386
</div>
380387
<div class="news-box">
381388
<p class="new-attributes_content">
382-
统一SuperMap iServer、SuperMap iPortal、SuperMap Online的安全认证接口,支持安全登录,支持以token或key的方式访问服务或地图
389+
统一 SuperMap iServer、SuperMap iPortal、SuperMap Online 的安全认证接口,支持安全登录,支持以 token 或 key 的方式访问服务或地图
383390
</p>
384391
</div>
385392
</div>

0 commit comments

Comments
 (0)