From 378de73624e8ae2022b047efb0c8cdf9985fbbf7 Mon Sep 17 00:00:00 2001 From: baiyaaaaa Date: Thu, 25 Aug 2016 15:54:45 +0800 Subject: [PATCH] changelog --- CHANGELOG.md | 25 ++--- examples/app.vue | 26 ++++- examples/assets/styles/common.css | 92 ----------------- examples/components/header.vue | 2 - examples/components/side-nav.vue | 1 + examples/pages/changelog.vue | 160 +++++++++++++++++++++++++++++- examples/pages/component.vue | 17 +--- examples/pages/design.vue | 2 +- examples/pages/guide.vue | 4 +- examples/pages/resource.vue | 12 ++- 10 files changed, 212 insertions(+), 129 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a8e31723..ee7637e3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,34 +2,34 @@ ### 0.2.0 -`2016-07-29` +*2016-07-29* - 增加 grid 相关组件 - form-item 增加 required 属性 -*非兼容性更新* +#### 非兼容性更新 - progress 的 percentage 属性值范围从 0~1 改变为 1~100. - + ### 0.1.9 -`2016-07-12` +*2016-07-12* - 增加 menu 组件 -*非兼容性更新* +#### 非兼容性更新 - 使用了新的图标集,原有的某些图标可能不存在了 ### 0.1.8 -`2016-07-07` +*2016-07-07* - dropdown 和 tooltip 首次出现闪动问题 ### 0.1.7 -`2016-07-06` +*2016-07-06* - dropdown 增加触发下拉菜单方式的参数 - 修正若干组件的样式问题和浏览器兼容问题 @@ -37,23 +37,25 @@ - 在 radio-group 里增加 radio-button 类型 - 为 select 添加 singleCancelable 选项 -### 0.1.6 +### 0.1.6 + +*2016-06-30* -`2016-06-30` - dropdown-menu 改为动态创建 - 修复 textarea 缺失 model 参数的 bug - 修复 pagination 和 input-group 在 safari 下的样式问题 ### 0.1.5 -`2016-06-29` +*2016-06-29* + - 为 MessageBox 和 Notification 注册全局方法 - button 的 loading 状态时改为不触发 hover 和点击等操作 - input组件 增加 maxlength 和 minlength 属性支持 ### 0.1.4 -`2016-06-29` +*2016-06-29* - 增加 Tabs、Form、MessageBox、Alert、Notification、Slider 组件 - dropdown menu 现在是直接插入到 body 节点下,并且修正了自适应宽度的 bug @@ -62,4 +64,3 @@ - 增加 radio-group 组件 - 增加 checkbox-group 组件 - Select 组件 API 更新,现在的用法和原生 select 标签更加相似 - diff --git a/examples/app.vue b/examples/app.vue index d7b1aa2ca..0d919e471 100644 --- a/examples/app.vue +++ b/examples/app.vue @@ -26,7 +26,31 @@ min-height: 100%; } - .page-cnt { + .container, + .page-container { + width: 960px; + margin: 0 auto; + } + + .page-container { + padding-top: 55px; + + h2 { + font-size: 28px; + color: #1f2d3d; + margin: 0; + } + h3 { + font-size: 22px; + } + h2, h3, h4, h5 { + font-weight: normal; + color: #1f2f3d; + } + p { + font-size: 14px; + color: #5e6d82; + } } .demo { margin: 20px 0; diff --git a/examples/assets/styles/common.css b/examples/assets/styles/common.css index cba9f7bc5..8b1378917 100644 --- a/examples/assets/styles/common.css +++ b/examples/assets/styles/common.css @@ -1,93 +1 @@ -.app__content { - min-width: 740px; - &.no-toc { - min-width: 660px; - - .app__main { - max-width: 906px; - margin: 36px 42px; - } - } - - .app__main { - margin: 36px 242px 36px 42px; - } -} - -.app__main.commonpage { - p { - color: #333; - font-size: 14px; - line-height: 22px; - margin-bottom: 0; - } - - small { - color: #ccc; - font-size: 12px; - font-weight: normal; - padding-left: 20px; - } - - ul { - list-style: none; - padding-left: 0; - margin: 0; - } - - li { - color: #333; - font-size: 14px; - line-height: 22px; - - &::before { - content: "-"; - margin: 0 4px; - } - } - - hr { - border-color: #e4e4e4; - border-style: solid; - margin: 36px 0; - border-top: 0; - } - - a { - color: #2270c1; - } - - code { - background-color: #f8f8f8; - padding: 4px; - color: #666; - } - - .hljs { - max-height: 100%; - min-height: 100%; - background-color: #f8f8f8; - border: none; - color: #666; - padding: 20px 36px; - margin: 16px 0; - - &::before { - content: none; - } - - .hljs-comment, .hljs-quote { - color: #aaa; - } - - .hljs__button { - display: none; - } - } -} - -.container { - width: 960px; - margin: 0 auto; -} diff --git a/examples/components/header.vue b/examples/components/header.vue index efb413b62..2bba5e21d 100644 --- a/examples/components/header.vue +++ b/examples/components/header.vue @@ -140,7 +140,6 @@ watch: { }, mounted() { - var scrollTop = 0; function scroll(fn) { var beforeScrollTop = document.body.scrollTop; @@ -152,7 +151,6 @@ fn(delta > 0 ? 'down' : 'up'); beforeScrollTop = afterScrollTop; - scrollTop = afterScrollTop; }, false); } scroll((direction) => { diff --git a/examples/components/side-nav.vue b/examples/components/side-nav.vue index 6c3e11349..508a243e5 100644 --- a/examples/components/side-nav.vue +++ b/examples/components/side-nav.vue @@ -10,6 +10,7 @@ ul { padding: 0; margin: 0; + overflow: hidden; } .nav-item { diff --git a/examples/pages/changelog.vue b/examples/pages/changelog.vue index 660c7d6e2..b17607112 100644 --- a/examples/pages/changelog.vue +++ b/examples/pages/changelog.vue @@ -1,3 +1,159 @@ + \ No newline at end of file +
+

Github Releases更新日志

+ + + +
+ + diff --git a/examples/pages/component.vue b/examples/pages/component.vue index 64784b627..9e60cdee5 100644 --- a/examples/pages/component.vue +++ b/examples/pages/component.vue @@ -1,26 +1,13 @@