Browse Source

doc: update CHANGELOG.md

Frans 6 years ago
parent
commit
8fb2069a76
6 changed files with 16 additions and 11 deletions
  1. 12 0
      CHANGELOG.md
  2. 1 1
      package.json
  3. 0 7
      sites/demo/index.html
  4. 1 1
      sites/doc/index.html
  5. 1 1
      src/packages/noticebar/demo.vue
  6. 1 1
      src/packages/noticebar/doc.md

+ 12 - 0
CHANGELOG.md

@@ -1,3 +1,15 @@
+## 2.1.3
+
+`2019-6-26`
+
+* :sparkles: feat: 新增头像组件`Avatar`
+* :sparkles: upd(SearchBar): 右侧文字或按钮增加事件,优化样式
+* :sparkles: upd(CountDown): 更新了单元测试用例
+* :sparkles: upd(NoticeBar): 优化了滚动速度
+* :sparkles: upd(date.js): 完善了`getNumTwoBit`方法( Thx to liu-dongyu)
+* :zap: chore: 更新部分依赖包版本
+* :zap: doc: 文档内容修改完善
+
 ## 2.1.2
 ## 2.1.2
 
 
 `2019-5-23`
 `2019-5-23`

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "@nutui/nutui",
   "name": "@nutui/nutui",
-  "version": "2.1.2",
+  "version": "2.1.3",
   "description": "一套轻量级移动端Vue组件库",
   "description": "一套轻量级移动端Vue组件库",
   "typings": "dist/types/index.d.ts",
   "typings": "dist/types/index.d.ts",
   "main": "dist/nutui.js",
   "main": "dist/nutui.js",

+ 0 - 7
sites/demo/index.html

@@ -9,7 +9,6 @@
   <link rel="manifest" href="./demo/manifest.json">
   <link rel="manifest" href="./demo/manifest.json">
   <title>NutUI - 移动端Vue组件库</title>
   <title>NutUI - 移动端Vue组件库</title>
   <script src="https://h5.m.jd.com/babelDiy/Zeus/2846ykuM7PwipD9E2RzMj2BGEQpA/plugin/share.min.js"></script>
   <script src="https://h5.m.jd.com/babelDiy/Zeus/2846ykuM7PwipD9E2RzMj2BGEQpA/plugin/share.min.js"></script>
-  <!-- <script src="//misc.360buyimg.com/felibs/fastclick/1.0.6/fastclick.min.js"></script> -->
   <style>
   <style>
     html {
     html {
         background: #F6F6F6;
         background: #F6F6F6;
@@ -22,12 +21,6 @@
 
 
 <body>
 <body>
   <script>
   <script>
-    // if ('addEventListener' in document) {
-    //   document.addEventListener('DOMContentLoaded', function () {
-    //     FastClick.attach(document.body);
-    //   }, false);
-    // }
-
     //分享配置
     //分享配置
     var shareOption = {
     var shareOption = {
       iconUrl: 'https://nutui.jd.com/img/logo_share.png',
       iconUrl: 'https://nutui.jd.com/img/logo_share.png',

+ 1 - 1
sites/doc/index.html

@@ -7,7 +7,7 @@
   <link rel="shortcut icon" href="/favicon.ico">
   <link rel="shortcut icon" href="/favicon.ico">
   <title>NutUI - 移动端Vue组件库</title>
   <title>NutUI - 移动端Vue组件库</title>
   <meta name="description" content="移动端Vue组件库NutUI官网" />
   <meta name="description" content="移动端Vue组件库NutUI官网" />
-  <meta name="keywords" content="NutUI,NutUI 2.0,移动端Vue组件库,Vue components,JDC,京东用户体验设计部" />
+  <meta name="keywords" content="NutUI,NutUI 2.0,移动端Vue组件库,Vue移动端组件库,Vue组件库,Vue components,JDC,京东用户体验设计部" />
   <script src="//misc.360buyimg.com/felibs/vue/2.5.16/vue.min.js"></script>
   <script src="//misc.360buyimg.com/felibs/vue/2.5.16/vue.min.js"></script>
   <style>
   <style>
     a[title=站长统计]{
     a[title=站长统计]{

+ 1 - 1
src/packages/noticebar/demo.vue

@@ -17,7 +17,7 @@
     </nut-noticebar>
     </nut-noticebar>
     <h4>通告栏模式--链接模式</h4>
     <h4>通告栏模式--链接模式</h4>
     <nut-noticebar
     <nut-noticebar
-      left-icon="//img.yzcdn.cn/vant/volume.png"
+      left-icon="https://img13.360buyimg.com/imagetools/jfs/t1/72082/2/3006/1197/5d130c8dE1c71bcd6/e48a3b60804c9775.png"
     >
     >
       <a href="https://www.jd.com">京东商城</a>
       <a href="https://www.jd.com">京东商城</a>
     </nut-noticebar>
     </nut-noticebar>

+ 1 - 1
src/packages/noticebar/doc.md

@@ -26,7 +26,7 @@
 ## 通告栏模式--链接模式
 ## 通告栏模式--链接模式
 ```html
 ```html
     <nut-noticebar
     <nut-noticebar
-      left-icon="//img.yzcdn.cn/vant/volume.png"
+      left-icon="https://img13.360buyimg.com/imagetools/jfs/t1/72082/2/3006/1197/5d130c8dE1c71bcd6/e48a3b60804c9775.png"
     >
     >
       <a href="https://www.jd.com">京东商城</a>
       <a href="https://www.jd.com">京东商城</a>
     </nut-noticebar>
     </nut-noticebar>