From f89879a4bfd3fac61fb25764246cd6b9a798f86b Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Fri, 15 Apr 2022 10:41:09 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=94=B9=E5=96=84=E9=83=A8=E5=88=86?= =?UTF-8?q?=20component=20=E7=BB=84=E4=BB=B6=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/_sidebar.md | 8 +- docs/component/cover-image.md | 139 ++++++++++++++++++++++ docs/component/cover-view.md | 143 +---------------------- docs/component/match-media.md | 2 +- docs/component/movable-area.md | 28 +++++ docs/component/movable-view.md | 32 +---- docs/component/scroll-view.md | 4 +- docs/component/swiper.md | 2 +- docs/component/view.md | 2 +- docs/plugin/language.md | 4 +- docs/plugin/plugin-ext-introduction.md | 2 +- docs/worktile/CI.md | 2 +- docs/worktile/auto/uniapp-cli-project.md | 14 +-- 13 files changed, 189 insertions(+), 193 deletions(-) create mode 100644 docs/component/cover-image.md create mode 100644 docs/component/movable-area.md diff --git a/docs/component/_sidebar.md b/docs/component/_sidebar.md index 5162607bc..0c125d9fb 100644 --- a/docs/component/_sidebar.md +++ b/docs/component/_sidebar.md @@ -6,10 +6,10 @@ * [scroll-view](component/scroll-view.md) * [swiper](component/swiper.md) * [match-media](component/match-media.md) - * [movable-area](component/movable-view.md?id=movable-area) - * [movable-view](component/movable-view.md?id=movable-view) - * [cover-view](/component/cover-view?id=cover-view) - * [cover-image](/component/cover-view?id=cover-image) + * [movable-area](component/movable-area.md) + * [movable-view](component/movable-view.md) + * [cover-view](/component/cover-view.md) + * [cover-image](/component/cover-image.md) * [基础内容](component/icon.md) * [icon](component/icon.md) * [text](component/text.md) diff --git a/docs/component/cover-image.md b/docs/component/cover-image.md new file mode 100644 index 000000000..bf7a54a7b --- /dev/null +++ b/docs/component/cover-image.md @@ -0,0 +1,139 @@ +### cover-image +覆盖在原生组件上的图片视图。可覆盖的原生组件同`cover-view`,支持嵌套在`cover-view`里。 + +**平台差异说明** + +|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序、飞书小程序|QQ小程序|快应用|360小程序|快手小程序|京东小程序| +|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| +|√|√|√|√|√|x|√|√|x|√|√| + +**属性说明** + +|属性名|类型|默认值|说明|平台差异说明| +|:-|:-|:-|:-|:-| +|src|String||图标路径。支持本地路径、网络路径。不支持 base64 格式。|| +|@load|eventhandle||图片加载成功时触发|微信小程序 2.1.0、京东小程序| +|@error|eventhandle||图片加载失败时触发|微信小程序 2.1.0、京东小程序| + + +app-vue上可覆盖的原生组件:`