diff --git a/packages/nutui-taro-demo/src/pages/index/index.scss b/packages/nutui-taro-demo/src/pages/index/index.scss index 52a41cd2f..8e55ba56d 100644 --- a/packages/nutui-taro-demo/src/pages/index/index.scss +++ b/packages/nutui-taro-demo/src/pages/index/index.scss @@ -96,7 +96,7 @@ body { } &-components { background: #f7f8fa; - border-radius: 30px 30px 0 0; + border-radius: 12px 12px 0 0; padding: 30px 25px; &-item { margin-bottom: 17px; @@ -116,7 +116,7 @@ body { height: 45px; line-height: 45px; background: rgba(255, 255, 255, 1); - border-radius: 22px; + border-radius: 8px; box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.06); margin-bottom: 13px; &-content { diff --git a/packages/nutui-taro-demo/src/pages/index/index.tsx b/packages/nutui-taro-demo/src/pages/index/index.tsx index 285956942..142e73f41 100644 --- a/packages/nutui-taro-demo/src/pages/index/index.tsx +++ b/packages/nutui-taro-demo/src/pages/index/index.tsx @@ -69,7 +69,7 @@ const Index = () => { {process.env.NODE_ENV === 'development' ? <> - { + { setSearch(e) }} /> diff --git a/scripts/taro/generate-taro-pages.js b/scripts/taro/generate-taro-pages.js index 6561f80c9..e28a2ebbe 100644 --- a/scripts/taro/generate-taro-pages.js +++ b/scripts/taro/generate-taro-pages.js @@ -7,7 +7,7 @@ const config = require('../../src/config.json') const adaptedArray = [] config.nav.map((item) => { item.packages.forEach((element) => { - const { name, version, dd } = element + const { dd } = element if (!dd) return // 未适配不导出 adaptedArray.push(element.name.toLowerCase()) }) diff --git a/src/config.json b/src/config.json index b7d1cca1c..aecc1d394 100644 --- a/src/config.json +++ b/src/config.json @@ -79,6 +79,7 @@ "sort": 1, "show": true, "taro": true, + "v15": true, "author": "", "dd": true }, @@ -91,6 +92,7 @@ "sort": 2, "show": true, "taro": true, + "v15": true, "author": "songsong", "dd": true }, @@ -104,6 +106,7 @@ "show": false, "taro": true, "exportEmpty": true, + "v15": true, "author": "songsong", "dd": true }, @@ -117,6 +120,7 @@ "show": true, "exportEmpty": true, "taro": true, + "v15": true, "author": "hanyuxinting", "dd": true }, @@ -130,6 +134,7 @@ "show": true, "taro": true, "exclude": true, + "v15": true, "author": "oasis-cloud", "dd": true }, @@ -143,6 +148,7 @@ "sort": 8, "show": true, "taro": true, + "v15": true, "author": "vickyYE", "dd": true }, @@ -155,6 +161,7 @@ "sort": 5, "show": true, "taro": true, + "v15": true, "author": "junjun", "dd": true } @@ -185,6 +192,7 @@ "sort": 7, "show": true, "taro": true, + "v15": true, "author": "vickyYE", "dd": true }, @@ -211,6 +219,7 @@ "show": false, "taro": true, "exportEmpty": true, + "v15": true, "author": "yangxiaolu", "dd": true }, @@ -327,6 +336,7 @@ "sort": 5, "show": true, "taro": true, + "v15": true, "author": "Ymm0008", "dd": true }, @@ -340,6 +350,7 @@ "sort": 5, "show": false, "taro": true, + "v15": true, "author": "Ymm0008", "dd": true }, @@ -425,6 +436,7 @@ "sort": 2, "show": true, "taro": true, + "v15": true, "author": "dsj", "dd": true }, @@ -436,6 +448,7 @@ "type": "component", "show": false, "taro": true, + "v15": true, "exportEmpty": true, "desc": "标签栏子组件", "author": "dsj", @@ -448,6 +461,7 @@ "cName": "选项卡切换子组件", "type": "component", "show": false, + "v15": true, "exportEmpty": true, "desc": "选项卡切换子组件", "author": "张晶发", @@ -462,6 +476,7 @@ "sort": 12, "show": true, "taro": true, + "v15": true, "author": "oasis", "dd": true } @@ -846,7 +861,7 @@ "dd": true }, { - "version": "2.0.0", + "version": "3.0.0", "name": "Drag", "type": "component", "cName": "拖拽", @@ -854,6 +869,7 @@ "sort": 1, "show": true, "taro": true, + "v15": true, "author": "songsong", "dd": false }, @@ -971,6 +987,7 @@ "sort": 10, "show": true, "taro": true, + "v15": true, "author": "oasis", "dd": true }, diff --git a/src/sites/mobile/Links.scss b/src/sites/mobile/Links.scss index a29172b7b..94662a28b 100644 --- a/src/sites/mobile/Links.scss +++ b/src/sites/mobile/Links.scss @@ -34,7 +34,7 @@ } &-components { background: #f7f8fa; - border-radius: 30px 30px 0 0; + border-radius: 12px 12px 0 0; padding: 30px 25px; > ol { margin-bottom: 17px; @@ -52,7 +52,7 @@ height: 45px; line-height: 45px; background: rgba(255, 255, 255, 1); - border-radius: 22px; + border-radius: 8px; box-shadow: 0px 1px 4px 0px rgba(102, 102, 102, 0.06); margin-bottom: 13px; a {