Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
zzx_123123
zui
提交
b4d1757f
Z
zui
项目概览
zzx_123123
/
zui
与 Fork 源项目一致
Fork自
易企天创 / zui
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b4d1757f
编写于
9月 05, 2016
作者:
C
Catouse
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
* improve document UI and update document index file.
上级
b580ce63
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
123 addition
and
42 deletion
+123
-42
docs/index.json
docs/index.json
+114
-36
src/js/doc.js
src/js/doc.js
+4
-1
src/less/doc.less
src/less/doc.less
+5
-5
未找到文件。
docs/index.json
浏览文件 @
b4d1757f
...
...
@@ -10,6 +10,7 @@
"name"
:
"我要贡献自己的力量"
,
"desc"
:
"对美好的追求永不停歇,你也来吧!"
,
"icon"
:
"icon-hand-up"
,
"hidden"
:
true
,
"filter"
:
"woyaojiaru wyjr"
},
{
"id"
:
"plan"
,
...
...
@@ -17,6 +18,7 @@
"desc"
:
"关注ZUI的后续开发计划"
,
"icon"
:
"icon-flag-checkered"
,
"url"
:
".md"
,
"hidden"
:
true
,
"filter"
:
"houxujihua hxjh"
},
{
"id"
:
"learn"
,
...
...
@@ -272,9 +274,9 @@
"icon"
:
"icon-heart"
,
"desc"
:
"为何选择ZUI?"
,
"topics"
:
[{
"name"
:
"
与Bootstrap的关系
"
"name"
:
"
基于 Bootstrap 定制
"
},
{
"name"
:
"选
择使用ZUI
"
"name"
:
"选
中 ZUI 还是 Bootstrap?
"
}],
"filter"
:
"shuoming sm"
},
{
...
...
@@ -334,11 +336,11 @@
},
{
"name"
:
"简洁版"
},
{
"name"
:
"独立
版本
"
"name"
:
"独立
组件
"
},
{
"name"
:
"组件清单"
},
{
"name"
:
"使用
Gulp
定制"
"name"
:
"使用
Gulp
定制"
}],
"filter"
:
"xuanzebanben xzbb"
},
{
...
...
@@ -371,7 +373,7 @@
"topics"
:
[{
"name"
:
"禁用IE兼容模式"
},
{
"name"
:
"
更古老的浏览器
"
"name"
:
"
提示 IE7 及更早版本的用户
"
}],
"filter"
:
"jianrongieliulanqi jriellq"
},
{
...
...
@@ -404,7 +406,9 @@
"icon"
:
"icon-th"
,
"id"
:
"grid"
,
"name"
:
"栅格系统"
,
"topics"
:
[],
"topics"
:
[{
"name"
:
"栅格参数"
}],
"filter"
:
"zhagexitong zgxt"
},
{
"desc"
:
"文字排版"
,
...
...
@@ -463,6 +467,8 @@
"name"
:
"灰度颜色"
},
{
"name"
:
"额外颜色"
},
{
"name"
:
"在 JS 中使用配色表"
},
{
"name"
:
"配色设计要点"
}],
...
...
@@ -474,8 +480,8 @@
"name"
:
"主题"
,
"topics"
:
[
{
"name"
:
"体验主题"
},
{
"name"
:
"重新编译ZUI"
},
{
"name"
:
"定制主题"
}
{
"name"
:
"重新编译
ZUI"
},
{
"name"
:
"
开始
定制主题"
}
],
"filter"
:
"zhuti zt"
}],
...
...
@@ -497,6 +503,8 @@
"name"
:
"何时使用图标?"
},
{
"name"
:
"使用图标字体"
},
{
"name"
:
"ZUI 中的图标"
},
{
"name"
:
"如何使用图标?"
}],
...
...
@@ -522,9 +530,11 @@
"id"
:
"progressbar"
,
"name"
:
"进度条"
,
"topics"
:
[{
"name"
:
"类型"
"name"
:
"
基本
类型"
},
{
"name"
:
"变化"
"name"
:
"颜色主题"
},
{
"name"
:
"特殊效果"
}],
"filter"
:
"jindutiao jdt"
},
{
...
...
@@ -535,9 +545,9 @@
"topics"
:
[{
"name"
:
"基本样式"
},
{
"name"
:
"
徽标
"
"name"
:
"
色彩主题
"
},
{
"name"
:
"
标签和徽标的颜色
"
"name"
:
"
作为徽标
"
}],
"filter"
:
"biaoqian bq"
},
{
...
...
@@ -575,7 +585,9 @@
"icon"
:
"icon-map-marker"
,
"id"
:
"breadcrumb"
,
"name"
:
"面包屑"
,
"topics"
:
[],
"topics"
:
[{
"name"
:
"示例"
}],
"filter"
:
"mianbaoxie mbx"
},
{
"desc"
:
"为图片应用样式"
,
...
...
@@ -583,9 +595,13 @@
"id"
:
"image"
,
"name"
:
"图片"
,
"topics"
:
[{
"name"
:
"
类型
"
"name"
:
"
圆角图片
"
},
{
"name"
:
"参数"
"name"
:
"圆形图片"
},
{
"name"
:
"缩略图"
},
{
"name"
:
"响应式图片"
}],
"filter"
:
"tupian tp"
},
{
...
...
@@ -594,18 +610,20 @@
"id"
:
"header"
,
"name"
:
"多级标题"
,
"topics"
:
[{
"name"
:
"
类型
"
"name"
:
"
普通标题
"
},
{
"name"
:
"参数"
"name"
:
"包含副标题"
},
{
"name"
:
"带底部水平分隔线的标题"
}],
"filter"
:
"duojibiaoti djbt"
},
{
"desc"
:
"水平分
割
线"
,
"desc"
:
"水平分
隔
线"
,
"icon"
:
"—"
,
"id"
:
"divider"
,
"name"
:
"分隔线
"
,
"name"
:
"分隔线"
,
"topics"
:
[{
"name"
:
"
类型
"
"name"
:
"
水平分隔线
"
}],
"filter"
:
"fengexian fgx"
},
{
...
...
@@ -630,6 +648,8 @@
"name"
:
"不同感情色彩的消息框"
},
{
"name"
:
"使用图标"
},
{
"name"
:
"使用反色主题"
},
{
"name"
:
"块级消息"
},
{
...
...
@@ -660,7 +680,19 @@
"desc"
:
"多个输入单元格"
,
"name"
:
"输入组"
,
"topics"
:
[{
"name"
:
"类型"
"name"
:
"基本类型"
},
{
"name"
:
"连续分段的文本框"
},
{
"name"
:
"单选框和复选框"
},
{
"name"
:
"带按钮"
},
{
"name"
:
"带下拉菜单按钮"
},
{
"name"
:
"使用 Select"
},
{
"name"
:
"分段按钮"
}],
"filter"
:
"shuruzu srz"
},
{
...
...
@@ -669,9 +701,11 @@
"desc"
:
"垂直的可点击列表"
,
"name"
:
"列表组"
,
"topics"
:
[{
"name"
:
"类型"
"name"
:
"
基本
类型"
},
{
"name"
:
"变化"
"name"
:
"链接"
},
{
"name"
:
"定制列表内容"
}],
"filter"
:
"liebiaozu lbz"
},
{
...
...
@@ -683,8 +717,6 @@
"name"
:
"主要导航"
},
{
"name"
:
"次要导航"
},
{
"name"
:
"复合导航"
},
{
"name"
:
"标签页导航"
},
{
...
...
@@ -737,9 +769,9 @@
},
{
"name"
:
"禁用的导航"
},
{
"name"
:
"圆角"
"name"
:
"圆角
样式
"
},
{
"name"
:
"宽松
的
"
"name"
:
"宽松
样式
"
},
{
"name"
:
"两端对齐"
}],
...
...
@@ -750,9 +782,19 @@
"desc"
:
"包含头部和脚部的面板"
,
"name"
:
"面板"
,
"topics"
:
[{
"name"
:
"类型"
"name"
:
"
基本
类型"
},
{
"name"
:
"变化"
"name"
:
"带标题的面板"
},
{
"name"
:
"带脚注的面板"
},
{
"name"
:
"色彩主题"
},
{
"name"
:
"包含表格"
},
{
"name"
:
"包含列表"
},
{
"name"
:
"面板组"
}],
"filter"
:
"mianban mb"
},
{
...
...
@@ -818,6 +860,16 @@
"name"
:
"对话框"
,
"topics"
:
[{
"name"
:
"实例"
},
{
"name"
:
"设置对话框显示位置"
},
{
"name"
:
"更改对话框大小"
},
{
"name"
:
"可移动的对话框"
},
{
"name"
:
"禁用动画效果"
},
{
"name"
:
"关闭对话框"
},
{
"name"
:
"如何使用"
}],
...
...
@@ -828,7 +880,17 @@
"desc"
:
"动态展示对话框"
,
"name"
:
"对话框触发器"
,
"topics"
:
[{
"name"
:
"实例"
"name"
:
"加载远程内容"
},
{
"name"
:
"加载自定义内容"
},
{
"name"
:
"自动调整位置"
},
{
"name"
:
"全屏对话框"
},
{
"name"
:
"自定义头部"
},
{
"name"
:
"可拖动的对话框"
},
{
"name"
:
"如何使用"
}],
...
...
@@ -947,9 +1009,11 @@
"desc"
:
"定时自动切换的图片内存"
,
"name"
:
"轮播"
,
"topics"
:
[{
"name"
:
"类型"
"name"
:
"
基本
类型"
},
{
"name"
:
"变化"
"name"
:
"参数"
},
{
"name"
:
"方法和事件"
}],
"filter"
:
"lunbo lb"
},
{
...
...
@@ -958,9 +1022,17 @@
"desc"
:
"为文本框提供方便的日期时间选择功能"
,
"name"
:
"日期选择"
,
"topics"
:
[{
"name"
:
"
类型
"
"name"
:
"
日期选择
"
},
{
"name"
:
"变化"
"name"
:
"时间选择"
},
{
"name"
:
"日期+时间选择"
},
{
"name"
:
"禁用输入"
},
{
"name"
:
"使用输入框"
},
{
"name"
:
"用法"
}],
"filter"
:
"riqixuanze rqxz"
},
{
...
...
@@ -969,7 +1041,9 @@
"desc"
:
"提供数据选择和筛选功能"
,
"name"
:
"Chosen"
,
"topics"
:
[{
"name"
:
"多项选择和单项选择"
"name"
:
"示例"
},
{
"name"
:
"用法"
},
{
"name"
:
"图标选择插件"
}],
...
...
@@ -1318,7 +1392,11 @@
"icon"
:
"icon-carousel"
,
"desc"
:
"灯箱式图片浏览 (Lightbox)"
,
"name"
:
"图片浏览"
,
"topics"
:
[],
"topics"
:
[{
"name"
:
"实例"
},
{
"name"
:
"用法"
}],
"filter"
:
"tupianliulan tpll dxs tp dengxiangshi tupian tpyl"
}],
"filter"
:
"shitu st"
...
...
src/js/doc.js
浏览文件 @
b4d1757f
...
...
@@ -409,6 +409,8 @@
section
.
target
=
''
;
}
if
(
section
.
hidden
)
return
;
var
id
=
chapterName
+
'
-
'
+
section
.
id
;
var
$tpl
=
$sectionTemplate
.
clone
().
data
(
'
section
'
,
section
);
$tpl
.
attr
({
...
...
@@ -1274,7 +1276,8 @@
var
openPage
=
function
(
$section
,
section
,
topic
)
{
var
pageId
=
section
.
chapter
+
'
-
'
+
section
.
id
;
if
(
$body
.
hasClass
(
'
page-open
'
)
&&
pageId
===
$body
.
attr
(
'
data-page
'
))
{
if
(
debug
)
console
.
warn
(
'
The page already showed.
'
);
if
(
debug
)
console
.
warn
(
'
The page already showed, page will be reload.
'
);
loadPage
();
return
;
}
currentSection
=
section
;
...
...
src/less/doc.less
浏览文件 @
b4d1757f
...
...
@@ -1401,8 +1401,7 @@ body.query-enabled {
display: none;
overflow-y: auto;
&.with-shadow #pageHeader {
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .2);
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .1);
}
.loader {
.transition(none);
...
...
@@ -2118,8 +2117,9 @@ body[data-page="basic-theme"] {
}
body.view-double.compact-mode-in {
#changeViewBtn {
color: #666;
#changeViewBtn {color: #666;}
&[data-page="basic-theme"] {
#changeViewBtn {color: #fff;}
}
#navbar {
width: 360px;
...
...
@@ -2189,7 +2189,7 @@ body[data-page="basic-theme"] {
width: 360px;
padding-top: 60px;
}
#pageLoader {max-width: 1160px}
#grid {
position: fixed;
padding: 10px 0;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录