提交 6bc44125 编写于 作者: C Catouse

* change document content.

上级 ecc58e3c
......@@ -11,7 +11,7 @@
"author": "Catouse",
"id": "countme",
"name": "我要贡献自己的力量",
"desc": "加入ZUI,一起成长和改变。联系sunhao@cnezsoft.com",
"desc": "对美好的追求永不停歇,你也来吧!",
"icon": "icon-hand-up",
"filter": "woyaojiaru wyjr"
},
......@@ -93,11 +93,15 @@
"name": "搜索帮助",
"desc": "更高效使用文档",
"icon": "icon-search",
"filter": "sousuobangzhu ssbz"
"filter": "sousuobangzhu ssbz",
"topics": [
{"name": "操作要点"},
{"name": "查找图标"}
]
},
{
"author": "Catouse",
"id": "migrate1.2",
"id": "migrate1_2",
"name": "从1.2版本升级指南",
"desc": "一份1.2以下版本升级到最新版的向导",
"icon": "1.2",
......@@ -174,7 +178,7 @@
"desc": "快看看新鲜内容",
"icon": "icon-flag",
"url": "CHANGES.md",
"filter": "new xinxianneirong xxnr xznr",
"filter": "new gengxinrizhi gxrz gxrz",
"topics":
[
{"name": "[1.3] 图表", "url": "#view/chart"}
......
......@@ -6,7 +6,7 @@
<article>
<p>ZUI中的图表视图使用 <a href="http://www.chartjs.org/" target="_blank">Chart.js</a> 实现。</p>
<p>目前提供曲线图和饼图的实现。</p>
<p>目前提供曲线图、饼图和柱状图的实现。</p>
<p>在ZUI中 Chart.js 绘制所使用的颜色已经经过更改,可以直接使用 <a href="#javascript/colorset">配色表</a> 中列明的颜色作为色彩主题,与ZUI的风格保持一致。</p>
</article>
......
......@@ -1306,6 +1306,15 @@
"ver": "1.3.0",
"dpds": ["color"]
},
"migrate1.2":
{
"name": "1.2升级到1.3兼容插件",
"src":
{
"js": ["src/js/zui.migrate.1.2.js"]
},
"ver": "1.3.0"
},
"colorset.test":
{
"name": "配色测试",
......@@ -1510,10 +1519,17 @@
"filename": "hotkey",
"includes": ["hotkey"]
},
"migrate1.2":
{
"title": "migrate1.2",
"dest": "dist/lib/migrate",
"filename": "migrate1.2",
"includes": ["migrate1.2"]
},
"separate":
{
"title": "separate",
"bundles": ["jquery", "calendar", "kindeditor", "datetimepicker", "chosen", "imgcutter", "datatable", "ieonly", "chart", "array", "chosenicons", "hotkey", "board", "chart"]
"bundles": ["jquery", "calendar", "kindeditor", "datetimepicker", "chosen", "imgcutter", "datatable", "ieonly", "chart", "array", "chosenicons", "hotkey", "board", "chart", "migrate1.2"]
},
"dist":
{
......
......@@ -224,6 +224,9 @@
} else if(url && url.endsWith('.md')) {
section.target = 'page';
section.targetType = 'markdown';
if(url === '.md') {
section.url = 'docs/part/' + section.chapter + '-' + section.id + '.md';
}
} else {
section.target = '';
}
......@@ -1045,15 +1048,16 @@
showPageTopic(topic);
handlePageLoad();
$pageAttrs.show();
if(debug) console.log('show data', data);
}
if(lastShowDataCall) clearTimeout(lastShowDataCall);
if($page.hasClass('openning')) {
if(lastShowDataCall) clearTimeout(lastShowDataCall);
lastShowDataCall = setTimeout(showData, 320);
} else {
showData();
}
});
}, 700)
}, 400)
if($body.hasClass('page-open')) {
if(debug) console.log('open section in open page', section);
......@@ -1646,6 +1650,7 @@
});
$('#compactTogger').on('click', function(){
$window.scrollTop(0);
toggleCompactMode(false);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册