From 7cba335355028646ed71c63600f88c338626a208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=8E=8B?= <77048744@qq.com> Date: Mon, 15 Aug 2022 05:55:14 +0000 Subject: [PATCH] =?UTF-8?q?update=20docs/component/uniui/uni-popup.md.=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=9D=97=EF=BC=9A=20uPopup=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=BAuniPopup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 大王 <77048744@qq.com> --- docs/component/uniui/uni-popup.md | 140 +++++++++++++++--------------- 1 file changed, 70 insertions(+), 70 deletions(-) diff --git a/docs/component/uniui/uni-popup.md b/docs/component/uniui/uni-popup.md index bb7dbd690..3f2059077 100644 --- a/docs/component/uniui/uni-popup.md +++ b/docs/component/uniui/uni-popup.md @@ -1,10 +1,10 @@ ::: tip 组件名:uni-popup -> 代码块: `uPopup` +> 代码块: `uniPopup` > 关联组件:`uni-popup-dialog`,`uni-popup-message`,`uni-popup-share`,`uni-transition` [点击下载&安装](https://ext.dcloud.net.cn/plugin?name=uni-popup) -::: +::: 弹出层组件,在应用中弹出一个消息提示窗口、提示框等 @@ -25,12 +25,12 @@ ::: ### 基本用法 -```html +```html ``` @@ -332,59 +332,59 @@ export default { - wx、app 需要 使用 page-meta 组件配合阻止滚动穿透 - 注意 page-meta 组件,一个页面只能存在一个 - 其他平台无法阻止滚动穿透,建议使用 scroll-view 滚动 ,手动设置 overflow:hidden,同 page-meta 方法一致 - - - -## 示例 -::: warning 注意 -示例依赖了 `uni-card` `uni-section` `uni-scss` 等多个组件,直接拷贝示例代码将无法正常运行 。 - -请到 [组件下载页面](https://ext.dcloud.net.cn/plugin?name=uni-popup) ,在页面右侧选择 `使用 HBuilderX导入示例项目` ,体验完整组件示例。 -::: - -::: preview https://hellouniapp.dcloud.net.cn/pages/extUI/popup/popup -> Template -``` html + + + +## 示例 +::: warning 注意 +示例依赖了 `uni-card` `uni-section` `uni-scss` 等多个组件,直接拷贝示例代码将无法正常运行 。 + +请到 [组件下载页面](https://ext.dcloud.net.cn/plugin?name=uni-popup) ,在页面右侧选择 `使用 HBuilderX导入示例项目` ,体验完整组件示例。 +::: + +::: preview https://hellouniapp.dcloud.net.cn/pages/extUI/popup/popup +> Template +``` html -``` -> Script - +``` +> Script + ```html -``` -> Style + +``` +> Style ```html - -``` -::: + + +``` +::: [完整示例演示](https://hellouniapp.dcloud.net.cn/pages/extUI/popup/popup) \ No newline at end of file -- Gitee