From 9ba69e565711f45f6dd4de7e4158b56dda64bc0c Mon Sep 17 00:00:00 2001 From: tianjiaxing Date: Tue, 10 May 2022 12:32:39 +0800 Subject: [PATCH] chore: update --- docs/component/uniui/uni-breadcrumb.md | 6 +++++- docs/component/uniui/uni-data-select.md | 6 +++++- docs/component/uniui/uni-tooltip.md | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/component/uniui/uni-breadcrumb.md b/docs/component/uniui/uni-breadcrumb.md index 1c7253356..d1c47a148 100644 --- a/docs/component/uniui/uni-breadcrumb.md +++ b/docs/component/uniui/uni-breadcrumb.md @@ -7,6 +7,8 @@ 显示当前页面的路径,快速返回之前的任意页面。 +## 介绍 + ### 安装方式 本组件符合[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)规范,`HBuilderX 2.5.5`起,只需将本组件导入项目,在页面`template`中即可直接使用,无需在页面中`import`和注册`components`。 @@ -65,7 +67,7 @@ export default { | to | String/Object | | 路由跳转页面路径/对象 | | replace | Boolean | | 在使用 to 进行路由跳转时,启用 replace 将不会向 history 添加新记录(仅 h5 支持) | -## 组件示例 +## 示例 ::: warning 注意 直接拷贝示例代码,无法运行 ,示例依赖了 `uni-card` `uni-section` `uni-scss` 等多个组件。 @@ -126,3 +128,5 @@ export default { ``` + +[完整示例演示](https://hellouniapp.dcloud.net.cn/pages/extUI/breadcrumb/breadcrumb) \ No newline at end of file diff --git a/docs/component/uniui/uni-data-select.md b/docs/component/uniui/uni-data-select.md index 715037d00..563173015 100644 --- a/docs/component/uniui/uni-data-select.md +++ b/docs/component/uniui/uni-data-select.md @@ -7,6 +7,8 @@ 当选项过多时,使用下拉菜单展示并选择内容 +## 介绍 + 本组件要解决问题包括: 1. 数据绑定型组件:给本组件绑定一个 data,会自动渲染一组候选内容。再以往,开发者需要编写不少代码实现类似功能 @@ -115,7 +117,7 @@ export default { | :-----: | :--------------------: | :------: | | @change | 选中状态改变时触发事件 | - | -## 组件示例 +## 示例 ::: warning 注意 直接拷贝示例代码,无法运行 ,示例依赖了 `uni-card` `uni-section` `uni-scss` 等多个组件。 @@ -208,3 +210,5 @@ export default { } ``` + +[完整示例演示](https://hellouniapp.dcloud.net.cn/pages/extUI/data-select/data-select) \ No newline at end of file diff --git a/docs/component/uniui/uni-tooltip.md b/docs/component/uniui/uni-tooltip.md index 31eb9a25f..ef5ffa001 100644 --- a/docs/component/uniui/uni-tooltip.md +++ b/docs/component/uniui/uni-tooltip.md @@ -9,6 +9,8 @@ > 遮挡不住原生组件 +## 介绍 + ### 安装方式 本组件符合[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)规范,`HBuilderX 2.5.5`起,只需将本组件导入项目,在页面`template`中即可直接使用,无需在页面中`import`和注册`components`。 @@ -41,7 +43,7 @@ | default | 被 Tooltip 包裹的组件 | | content | 弹出层插槽 | -## 组件示例 +## 示例 ::: warning 注意 直接拷贝示例代码,无法运行 ,示例依赖了 `uni-card` `uni-section` `uni-scss` 等多个组件。 @@ -80,3 +82,5 @@ ``` + +[完整示例演示](https://hellouniapp.dcloud.net.cn/pages/extUI/tooltip/tooltip) \ No newline at end of file -- GitLab