From 74cd0550f11f38c1e2b0f39c3e881c22f90f54f0 Mon Sep 17 00:00:00 2001 From: HRK <119110706+18148764734@users.noreply.github.com> Date: Thu, 14 Mar 2024 17:16:15 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=A0=87=E9=A2=98=E7=BA=A7?= =?UTF-8?q?=E5=88=AB=E5=B0=8F=E4=BF=AE=EF=BC=8C=E6=9B=B4=E6=AD=A3=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/README.md | 2 +- docs/component/button.md | 8 +- docs/component/camera.md | 10 +- docs/component/canvas.md | 13 +- docs/component/cell.md | 2 +- docs/component/checkbox.md | 14 +- docs/component/component-selection.md | 2 +- docs/component/cover-image.md | 12 +- docs/component/cover-view.md | 8 +- docs/component/custom-tab-bar.md | 8 +- docs/component/datacom.md | 2 +- docs/component/form.md | 12 +- docs/component/icon.md | 10 +- docs/component/image.md | 2 +- docs/component/input.md | 2 +- docs/component/label.md | 8 +- docs/component/list.md | 5 +- docs/component/live-player.md | 14 +- docs/component/live-pusher.md | 4 +- docs/component/map.md | 6 +- docs/component/match-media.md | 8 +- docs/component/movable-area.md | 6 +- docs/component/movable-view.md | 10 +- docs/component/native-component.md | 2 +- docs/component/navigation-bar.md | 6 +- docs/component/navigator.md | 8 +- docs/component/official-account.md | 2 +- docs/component/open-data.md | 10 +- docs/component/page-meta.md | 6 +- docs/component/picker-view.md | 8 +- docs/component/picker.md | 32 +- docs/component/progress.md | 10 +- docs/component/radio.md | 8 +- docs/component/recycle-list.md | 6 +- docs/component/refresh.md | 2 +- docs/component/rich-text.md | 12 +- docs/component/scroll-view.md | 6 +- docs/component/slider.md | 10 +- docs/component/swiper.md | 14 +- docs/component/switch.md | 6 +- docs/component/text.md | 12 +- docs/component/textarea.md | 8 +- docs/component/uniui/color.md | 5 +- docs/component/uniui/quickstart.md | 20 +- docs/component/uniui/resource.md | 2 +- docs/component/uniui/uni-badge.md | 133 ++++---- docs/component/uniui/uni-breadcrumb.md | 16 +- docs/component/uniui/uni-calendar.md | 2 +- docs/component/uniui/uni-card.md | 1 + docs/component/uniui/uni-collapse.md | 2 +- docs/component/uniui/uni-combox.md | 1 + docs/component/uniui/uni-countdown.md | 2 +- docs/component/uniui/uni-data-checkbox.md | 293 +++++++++--------- docs/component/uniui/uni-data-picker.md | 2 + docs/component/uniui/uni-data-select.md | 2 + docs/component/uniui/uni-dateformat.md | 1 + docs/component/uniui/uni-datetime-picker.md | 1 + docs/component/uniui/uni-drawer.md | 109 +++---- docs/component/uniui/uni-fab.md | 203 ++++++------ docs/component/uniui/uni-fav.md | 119 +++---- docs/component/uniui/uni-file-picker.md | 1 + docs/component/uniui/uni-forms.md | 2 + docs/component/uniui/uni-goods-nav.md | 218 ++++++------- docs/component/uniui/uni-grid.md | 215 ++++++------- docs/component/uniui/uni-group.md | 76 ++--- docs/component/uniui/uni-indexed-list.md | 160 +++++----- docs/component/uniui/uni-link.md | 52 ++-- docs/component/uniui/uni-list.md | 4 +- docs/component/uniui/uni-load-more.md | 1 + docs/component/uniui/uni-nav-bar.md | 3 +- docs/component/uniui/uni-notice-bar.md | 117 +++---- docs/component/uniui/uni-number-box.md | 1 + docs/component/uniui/uni-pagination.md | 121 ++++---- docs/component/uniui/uni-popup.md | 10 +- docs/component/uniui/uni-rate.md | 121 ++++---- docs/component/uniui/uni-row.md | 1 + docs/component/uniui/uni-sass.md | 2 +- docs/component/uniui/uni-search-bar.md | 2 + docs/component/uniui/uni-section.md | 1 + docs/component/uniui/uni-segmented-control.md | 177 +++++------ docs/component/uniui/uni-steps.md | 121 ++++---- docs/component/uniui/uni-swipe-action.md | 1 + docs/component/uniui/uni-swiper-dot.md | 1 + docs/component/uniui/uni-table.md | 2 + docs/component/uniui/uni-tag.md | 117 +++---- docs/component/uniui/uni-title.md | 157 +++++----- docs/component/uniui/uni-tooltip.md | 2 + docs/component/uniui/uni-transition.md | 2 + docs/component/video.md | 6 +- docs/component/view.md | 16 +- docs/component/vue-component.md | 16 +- docs/component/waterfall.md | 2 +- docs/component/web-view.md | 10 +- 93 files changed, 1523 insertions(+), 1465 deletions(-) diff --git a/docs/component/README.md b/docs/component/README.md index 0b34d8d61..b0cc06425 100644 --- a/docs/component/README.md +++ b/docs/component/README.md @@ -1,4 +1,4 @@ -### 组件使用的入门教程 +## 组件使用的入门教程 - 组件是视图层的基本组成单元。 - 组件是一个单独且可复用的功能模块的封装。 diff --git a/docs/component/button.md b/docs/component/button.md index 6f7dda2d3..ae33ddf81 100644 --- a/docs/component/button.md +++ b/docs/component/button.md @@ -2,7 +2,7 @@ 按钮。 -**属性说明** +#### 属性说明 |属性名|类型|默认值|说明|生效时机|平台差异说明| |:-|:-|:-|:-|:-|:-| @@ -118,7 +118,7 @@ open-type 为 feedback时: - 在 App 中,开发者登录 [DCloud开发者中心](https://dev.dcloud.net.cn/) 后点击应用名称,进入左侧菜单“用户反馈”页面获取反馈内容。 - 但推荐使用全端的、开源的、云端一体的意见反馈功能,[前端部分](https://ext.dcloud.net.cn/plugin?id=50)、[管理端部分](https://ext.dcloud.net.cn/plugin?id=4992) -**注意** +#### 注意 - button组件支持style中通过css定义文字大小、颜色 @@ -173,7 +173,7 @@ button 组件没有 url 属性,如果要跳转页面,可以在@click中编 ``` -**注意** +#### 注意 - 点击 share 分享按钮时会触发 [onShareAppMessage](/api/plugins/share) - 支付宝小程序平台,获取用户手机号时,建议先通过条件编译的方式,调用支付宝原生API,[参考](https://docs.alipay.com/mini/api/getphonenumber) @@ -214,7 +214,7 @@ button 组件没有 url 属性,如果要跳转页面,可以在@click中编 ::: -**注意** +#### 注意 事件务必使用vue语法,比如下面的获取手机号示例 diff --git a/docs/component/camera.md b/docs/component/camera.md index 6c6eb7d29..bd8af691c 100644 --- a/docs/component/camera.md +++ b/docs/component/camera.md @@ -1,7 +1,7 @@ -#### camera +## camera 页面内嵌的区域相机组件。注意这不是点击后全屏打开的相机。 -**平台差异说明** +#### 平台差异说明 |App|H5|微信小程序|支付宝小程序|百度小程序|抖音小程序、飞书小程序|QQ小程序|快应用|360小程序|快手小程序|京东小程序| |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| @@ -12,7 +12,7 @@ * 活体检测另见文档[实人认证](/api/plugins/facialRecognitionVerify),人脸识别另见文档[生物认证](/api/system/authentication) * app-nvue下支持barcode组件,可实现自定义扫码。[参考](https://uniapp.dcloud.io/component/barcode) -**属性说明** +#### 属性说明 |属性名|类型|默认值|说明|平台差异说明| |:-|:-|:-|:-|:-| @@ -30,14 +30,14 @@ -**Tips:** +#### Tips * camera 组件是由客户端创建的原生组件,它的层级是最高的,不能通过 z-index 控制层级。可使用 cover-view cover-image 覆盖在上面。 * 请勿在 scroll-view、swiper、picker-view、movable-view 中使用 camera 组件。 * 同一页面只能插入一个 camera 组件。 * 相关API:[createCameraContext](/api/media/camera-context) -**代码示例** +#### 示例 ```html