Skip to content

Commit ce21f2d

Browse files
author
潘卓然Y7000P
committed
【SDK】【文档】【针对各个模块进行必要的说明】
1 parent c4ffa2f commit ce21f2d

111 files changed

Lines changed: 1330 additions & 358 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/cdn/mapgis.css

Lines changed: 188 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ body.small-header .top-nav {
3434
width : fit-content !important;
3535
} */
3636

37-
/* .mapgis-webclient-logo {
38-
margin-left: 79px;
39-
height : 38px !important;
40-
} */
37+
.mapgis-webclient-logo {
38+
/* margin-left: 79px; */
39+
height: 38px !important;
40+
}
4141

4242
.logo {
4343
float : left !important;
@@ -46,4 +46,188 @@ body.small-header .top-nav {
4646

4747
#main>.core {
4848
padding: 6px !important;
49+
}
50+
51+
52+
.content h1,
53+
.content header.page-title h1 {
54+
font-family: "TT Norms Medium", sans-serif;
55+
font-size : 17px;
56+
font-weight: bold;
57+
margin : 8px 0;
58+
}
59+
60+
61+
h1 {
62+
font-size: 20px !important;
63+
}
64+
65+
h2 {
66+
font-size: 18px !important;
67+
}
68+
69+
h3 {
70+
font-size: 16px !important;
71+
}
72+
73+
h4 {
74+
font-size: 14px !important;
75+
}
76+
77+
h5 {
78+
font-size: 12px !important;
79+
}
80+
81+
.content header p {
82+
font-size: 14px;
83+
}
84+
85+
.member>.name .code-name {
86+
font-size: 14px;
87+
}
88+
89+
.member>.description p {
90+
font-size: 14px;
91+
margin : 25px 0;
92+
}
93+
94+
.table {
95+
font-size: 12px;
96+
}
97+
98+
table.params td.name code,
99+
table.props td.name code {
100+
background: transparent;
101+
padding : 0;
102+
font-size : 12px;
103+
color : #211D1A;
104+
}
105+
106+
table.params thead th,
107+
table.props thead th {
108+
font-weight: bold;
109+
padding : 6px 12px;
110+
}
111+
112+
table.params td,
113+
table.props td {
114+
padding: 6px 12px;
115+
}
116+
117+
body {
118+
font-size: 12px;
119+
}
120+
121+
.button {
122+
transition : all 0.2s;
123+
border-radius: 4px;
124+
padding : 8px 24px;
125+
height : 30px;
126+
border-color : #4268F6;
127+
font-size : 12px;
128+
color : #4268F6;
129+
}
130+
131+
#main>.core>.content {
132+
background: #fff;
133+
padding : 20px;
134+
}
135+
136+
.tag-source span {
137+
display: inline-block;
138+
padding: 6px 14px;
139+
}
140+
141+
.method-parameter {
142+
font-size: 14px;
143+
}
144+
145+
.details dt {
146+
font-size : 14px;
147+
border-left : 2px solid #008DDF;
148+
padding-left: 16px;
149+
}
150+
151+
.top-nav .menu .navigation .link:hover:not(.no-hover) {
152+
border-bottom: 2px solid #33dbe8;
153+
}
154+
155+
.vertical-section {
156+
border-top: 1px dashed #252d45;
157+
}
158+
159+
.page-title {
160+
margin-bottom : 12px;
161+
padding-bottom: 12px;
162+
border-bottom : 1px dashed #252d45;
163+
}
164+
165+
.page-title-name {
166+
margin-left: 12px;
167+
font-size : 18px;
168+
}
169+
170+
.page-title-kind {
171+
font-weight: bold;
172+
font-size : 18px !important;
173+
}
174+
175+
.sidebar a {
176+
font-size: 10px;
177+
}
178+
179+
.sidebar::-webkit-scrollbar {
180+
width : 4px;
181+
height: 1px;
182+
183+
}
184+
185+
.sidebar::-webkit-scrollbar-thumb {
186+
border-radius : 4px;
187+
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
188+
background : rgba(144, 147, 153, .5);
189+
}
190+
191+
.sidebar::-webkit-scrollbar-track {
192+
-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
193+
border-radius : 4px;
194+
background : transparent;
195+
}
196+
197+
.core::-webkit-scrollbar {
198+
width : 4px;
199+
height: 1px;
200+
}
201+
202+
.core::-webkit-scrollbar-thumb {
203+
border-radius: 4px;
204+
background : rgba(144, 147, 153, .5);
205+
}
206+
207+
.core::-webkit-scrollbar-track {
208+
border-radius: 4px;
209+
background : transparent;
210+
}
211+
212+
.side-nav::-webkit-scrollbar {
213+
width : 4px;
214+
height: 1px;
215+
}
216+
217+
.side-nav::-webkit-scrollbar-thumb {
218+
border-radius: 4px;
219+
background : rgba(144, 147, 153, .5);
220+
}
221+
222+
.side-nav::-webkit-scrollbar-track {
223+
border-radius: 4px;
224+
background : transparent;
225+
}
226+
227+
.module-list-info {
228+
display: flex !important;
229+
}
230+
231+
.module-summary .module-classdesc {
232+
margin-left: 20px !important;
49233
}

docs/templates/better-docs/tmpl/container.tmpl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,13 @@
126126
?>
127127
<h3 class="subsection-title">类名</h3>
128128

129-
<dl><?js classes.forEach(function(c) { ?>
130-
<dt><?js= self.linkto(c.longname, c.name) ?></dt>
131-
<dd><?js if (c.summary) { ?><?js= c.summary ?><?js } ?></dd>
132-
<?js }); ?></dl>
129+
<div><?js classes.forEach(function(c) { ?>
130+
<div class="module-list-info">
131+
<span class="module-class-name"><?js= self.linkto(c.longname, c.name) ?></span>
132+
<span class="module-summary"><?js if (c.summary) { ?><?js= c.summary ?><?js } ?></span>
133+
<span class="module-classdesc"><?js if (c.classdesc) { ?><?js= c.classdesc ?><?js } ?></span>
134+
</div>
135+
<?js }); ?></div>
133136
<?js } ?>
134137

135138
<?js

src/cesiumjs/core/Base.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import './analysis';
77
import './common';
88
import './event';
99
import './scene';
10+
import './view';
1011

1112
window.CesiumZondy = window.CesiumZondy || {};
1213

src/cesiumjs/core/analysis.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
22
* @module 客户端可视化分析
33
*/
4-
import AnalysisManager from '../manager/AnalysisManager';
5-
import AdvancedAnalysisManager from '../manager/AdvancedAnalysisManager';
4+
/* import AnalysisManager from '../manager/AnalysisManager';
5+
import AdvancedAnalysisManager from '../manager/AdvancedAnalysisManager'; */

src/cesiumjs/core/common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
22
* @module 客户端公共方法
33
*/
4-
import CommonFuncManager from '../manager/CommonFuncManager';
5-
import CesiumFuncManager from '../manager/CesiumFuncManager';
4+
/* import CommonFuncManager from '../manager/CommonFuncManager';
5+
import CesiumFuncManager from '../manager/CesiumFuncManager'; */

src/cesiumjs/core/event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/**
22
* @module 客户端事件管理
33
*/
4-
import MouseEventManager from '../manager/MouseEventManager';
4+
/* import MouseEventManager from '../manager/MouseEventManager'; */

src/cesiumjs/core/scene.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/**
22
* @module 客户端视图管理
33
*/
4-
import SceneManager from '../manager/SceneManager';
4+
/* import SceneManager from '../manager/SceneManager'; */

src/cesiumjs/core/view.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/**
2+
* @module 客户端可视化
3+
*/

src/cesiumjs/index.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import { CesiumZondy } from "./core/Base";
2-
export { CesiumZondy } from "./core/Base";
1+
import { CesiumZondy } from './core/Base';
2+
export { CesiumZondy } from './core/Base';
33

4-
/* export * from './ui';
4+
export * from './ui';
55

6-
export * from "./manager";
7-
export * from "./layer";
6+
export * from './manager';
7+
export * from './layer';
88

9-
export * from "./overlay"; */
10-
export * from './render';
11-
// export * from "./provider";
9+
export * from './overlay';
10+
export * from './provider';
11+
12+
// export * from './render';

src/cesiumjs/layer/BaseLayer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { CesiumZondy } from '../core/Base';
22

33
/**
44
* @author 基础平台研发中心·冯桂英
5-
* @class BaseLayer
5+
* @class BaseLayer 数据服务基类
66
* @category BaseLayer
7-
* @classdesc BaseLayer 数据服务基类
7+
* @classdesc BaseLayer
88
* @description 图层管理基类,实现图层公共方法
99
* @param option.viewer 场景视图
1010
*/

0 commit comments

Comments
 (0)