From 2be1ab0ef190c4aa27b85e5dabf03981ebbf638e Mon Sep 17 00:00:00 2001 From: neverland Date: Wed, 18 Sep 2019 17:14:59 +0800 Subject: [PATCH] docs: scroll to anchor (#2048) --- docs/markdown/quickstart.md | 4 ++-- docs/src/index.js | 28 ++++++++++++++++++++++++---- packages/action-sheet/README.md | 2 +- packages/area/README.md | 2 +- packages/button/README.md | 2 +- packages/card/README.md | 2 +- packages/cell/README.md | 2 +- packages/checkbox/README.md | 2 +- packages/circle/README.md | 2 +- packages/col/README.md | 2 +- packages/collapse/README.md | 2 +- packages/datetime-picker/README.md | 2 +- packages/dialog/README.md | 2 +- packages/field/README.md | 2 +- packages/goods-action/README.md | 2 +- packages/grid/README.md | 2 +- packages/icon/README.md | 2 +- packages/loading/README.md | 2 +- packages/nav-bar/README.md | 2 +- packages/notice-bar/README.md | 2 +- packages/notify/README.md | 2 +- packages/overlay/README.md | 2 +- packages/panel/README.md | 2 +- packages/picker/README.md | 2 +- packages/popup/README.md | 2 +- packages/progress/README.md | 2 +- packages/radio/README.md | 2 +- packages/rate/README.md | 2 +- packages/search/README.md | 2 +- packages/sidebar/README.md | 2 +- packages/slider/README.md | 2 +- packages/stepper/README.md | 2 +- packages/steps/README.md | 2 +- packages/sticky/README.md | 2 +- packages/submit-bar/README.md | 2 +- packages/swipe-cell/README.md | 2 +- packages/switch/README.md | 2 +- packages/tab/README.md | 2 +- packages/tabbar/README.md | 2 +- packages/tag/README.md | 2 +- packages/toast/README.md | 2 +- packages/transition/README.md | 2 +- packages/tree-select/README.md | 2 +- 43 files changed, 67 insertions(+), 47 deletions(-) diff --git a/docs/markdown/quickstart.md b/docs/markdown/quickstart.md index bd95709e..7c74ef3f 100644 --- a/docs/markdown/quickstart.md +++ b/docs/markdown/quickstart.md @@ -6,7 +6,7 @@ ## 安装 -### 步骤一. 通过 npm 安装 +### 步骤一 通过 npm 安装 ```bash # 通过 npm 安装 @@ -16,7 +16,7 @@ npm i vant-weapp -S --production yarn add vant-weapp --production ``` -### 步骤二. 构建 npm 包 +### 步骤二 构建 npm 包 打开微信开发者工具,点击 **工具 -> 构建 npm**,并勾选 **使用 npm 模块** 选项,构建完成后,即可引入组件 diff --git a/docs/src/index.js b/docs/src/index.js index 6bb8d4db..183eb60c 100644 --- a/docs/src/index.js +++ b/docs/src/index.js @@ -8,7 +8,14 @@ Vue.use(VueRouter).use(VantDoc); const router = new VueRouter({ mode: 'hash', - routes: routes() + routes: routes(), + scrollBehavior(to) { + if (to.hash) { + return { selector: to.hash }; + } + + return { x: 0, y: 0 }; + } }); const ua = navigator.userAgent.toLowerCase(); @@ -28,8 +35,21 @@ router.afterEach(() => { Vue.config.productionTip = false; -new Vue({ // eslint-disable-line +new Vue({ + el: '#app', + mounted() { + setTimeout(() => { + // wait page init + if (this.$route.hash) { + const el = document.querySelector(this.$route.hash); + if (el) { + el.scrollIntoView({ + behavior: 'smooth' + }); + } + } + }, 1000); + }, render: h => h(App), - router, - el: '#app' + router }); diff --git a/packages/action-sheet/README.md b/packages/action-sheet/README.md index 32361dc6..0c313ab6 100644 --- a/packages/action-sheet/README.md +++ b/packages/action-sheet/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/area/README.md b/packages/area/README.md index 653687a5..72c1c574 100644 --- a/packages/area/README.md +++ b/packages/area/README.md @@ -6,7 +6,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/button/README.md b/packages/button/README.md index 9a5a2cfe..7ab2f51c 100644 --- a/packages/button/README.md +++ b/packages/button/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/card/README.md b/packages/card/README.md index a6262a14..0e9bccda 100644 --- a/packages/card/README.md +++ b/packages/card/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/cell/README.md b/packages/cell/README.md index 7235356b..ec522c54 100644 --- a/packages/cell/README.md +++ b/packages/cell/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/checkbox/README.md b/packages/checkbox/README.md index d671853f..8066cb0a 100644 --- a/packages/checkbox/README.md +++ b/packages/checkbox/README.md @@ -1,7 +1,7 @@ # Checkbox 复选框 ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/circle/README.md b/packages/circle/README.md index 41b26746..2057a161 100644 --- a/packages/circle/README.md +++ b/packages/circle/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/col/README.md b/packages/col/README.md index 9d437d5c..eb514933 100644 --- a/packages/col/README.md +++ b/packages/col/README.md @@ -6,7 +6,7 @@ Layout 提供了`van-row`和`van-col`两个组件来进行行列布局 ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/collapse/README.md b/packages/collapse/README.md index 0571b430..592ebb6a 100644 --- a/packages/collapse/README.md +++ b/packages/collapse/README.md @@ -1,7 +1,7 @@ # Collapse 折叠面板 ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/datetime-picker/README.md b/packages/datetime-picker/README.md index 5f2d15e8..644442ef 100644 --- a/packages/datetime-picker/README.md +++ b/packages/datetime-picker/README.md @@ -6,7 +6,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/dialog/README.md b/packages/dialog/README.md index 05bfcb33..ed028a4d 100644 --- a/packages/dialog/README.md +++ b/packages/dialog/README.md @@ -8,7 +8,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/field/README.md b/packages/field/README.md index 1678285d..4dc6d654 100644 --- a/packages/field/README.md +++ b/packages/field/README.md @@ -6,7 +6,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/goods-action/README.md b/packages/goods-action/README.md index 9b21ccc1..2052b45f 100644 --- a/packages/goods-action/README.md +++ b/packages/goods-action/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/grid/README.md b/packages/grid/README.md index a00331a6..280bac14 100644 --- a/packages/grid/README.md +++ b/packages/grid/README.md @@ -6,7 +6,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/icon/README.md b/packages/icon/README.md index 13a7d09e..b2443048 100644 --- a/packages/icon/README.md +++ b/packages/icon/README.md @@ -6,7 +6,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/loading/README.md b/packages/loading/README.md index c05660d3..9de6363e 100644 --- a/packages/loading/README.md +++ b/packages/loading/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/nav-bar/README.md b/packages/nav-bar/README.md index 8c75faa4..c601cfe1 100644 --- a/packages/nav-bar/README.md +++ b/packages/nav-bar/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/notice-bar/README.md b/packages/notice-bar/README.md index a97f1191..f6127dfa 100644 --- a/packages/notice-bar/README.md +++ b/packages/notice-bar/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/notify/README.md b/packages/notify/README.md index 63799fe9..f3202b6d 100644 --- a/packages/notify/README.md +++ b/packages/notify/README.md @@ -1,7 +1,7 @@ # Notify 消息提示 ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/overlay/README.md b/packages/overlay/README.md index 5a9de164..5d3058b2 100644 --- a/packages/overlay/README.md +++ b/packages/overlay/README.md @@ -6,7 +6,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/panel/README.md b/packages/panel/README.md index fd48d596..4e7ba30f 100644 --- a/packages/panel/README.md +++ b/packages/panel/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/picker/README.md b/packages/picker/README.md index 8688d5b7..1b33c0fe 100644 --- a/packages/picker/README.md +++ b/packages/picker/README.md @@ -5,7 +5,7 @@ 选择器组件通常与 [弹出层](#/popup) 组件配合使用 ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/popup/README.md b/packages/popup/README.md index b94b7644..ffc22bef 100644 --- a/packages/popup/README.md +++ b/packages/popup/README.md @@ -6,7 +6,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/progress/README.md b/packages/progress/README.md index 4256f4f7..2600a56d 100644 --- a/packages/progress/README.md +++ b/packages/progress/README.md @@ -1,7 +1,7 @@ # Progress 进度条 ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/radio/README.md b/packages/radio/README.md index 3271253f..5e95ae25 100644 --- a/packages/radio/README.md +++ b/packages/radio/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/rate/README.md b/packages/rate/README.md index f5ac6bd9..7ca46964 100644 --- a/packages/rate/README.md +++ b/packages/rate/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/search/README.md b/packages/search/README.md index 4eee846d..a069ca00 100644 --- a/packages/search/README.md +++ b/packages/search/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/sidebar/README.md b/packages/sidebar/README.md index 0d0a3214..57c49ed4 100644 --- a/packages/sidebar/README.md +++ b/packages/sidebar/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/slider/README.md b/packages/slider/README.md index d979ffba..d5ba58aa 100644 --- a/packages/slider/README.md +++ b/packages/slider/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/stepper/README.md b/packages/stepper/README.md index f80b3a6a..c2b4a636 100644 --- a/packages/stepper/README.md +++ b/packages/stepper/README.md @@ -6,7 +6,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/steps/README.md b/packages/steps/README.md index 82da5bc1..a092f96a 100644 --- a/packages/steps/README.md +++ b/packages/steps/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/sticky/README.md b/packages/sticky/README.md index e27dd974..31be8b52 100644 --- a/packages/sticky/README.md +++ b/packages/sticky/README.md @@ -6,7 +6,7 @@ Sticky 组件与 CSS 中`position: sticky`属性实现的效果一致,当组 ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/submit-bar/README.md b/packages/submit-bar/README.md index 5f6f4c35..443111ce 100644 --- a/packages/submit-bar/README.md +++ b/packages/submit-bar/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/swipe-cell/README.md b/packages/swipe-cell/README.md index 9cc67278..b1679234 100644 --- a/packages/swipe-cell/README.md +++ b/packages/swipe-cell/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/switch/README.md b/packages/switch/README.md index 2e509270..161bcda6 100644 --- a/packages/switch/README.md +++ b/packages/switch/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/tab/README.md b/packages/tab/README.md index 24d73f81..b4f57dcb 100644 --- a/packages/tab/README.md +++ b/packages/tab/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/tabbar/README.md b/packages/tabbar/README.md index 7a8c5879..06923998 100644 --- a/packages/tabbar/README.md +++ b/packages/tabbar/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/tag/README.md b/packages/tag/README.md index 7e6552e2..935dacf7 100644 --- a/packages/tag/README.md +++ b/packages/tag/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/toast/README.md b/packages/toast/README.md index 0a15feb8..eab4bfaf 100644 --- a/packages/toast/README.md +++ b/packages/toast/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/transition/README.md b/packages/transition/README.md index 56d5311c..08d4a596 100644 --- a/packages/transition/README.md +++ b/packages/transition/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": { diff --git a/packages/tree-select/README.md b/packages/tree-select/README.md index c1d40b2f..2198ca72 100644 --- a/packages/tree-select/README.md +++ b/packages/tree-select/README.md @@ -2,7 +2,7 @@ ### 引入 -在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart) +在`app.json`或`index.json`中引入组件,详细介绍见[快速上手](#/quickstart#yin-ru-zu-jian) ```json "usingComponents": {