From 69bdb2aa871c33fdcc87bbcba348216e1fddf1e5 Mon Sep 17 00:00:00 2001 From: lafish <8403770+lafish@user.noreply.gitee.com> Date: Sat, 23 Apr 2022 00:48:46 +0000 Subject: [PATCH] =?UTF-8?q?update=20docs/component/uniui/uni-popup.md.=20?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=E4=BB=A3=E7=A0=81=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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..73b902a00 100644 --- a/docs/component/uniui/uni-popup.md +++ b/docs/component/uniui/uni-popup.md @@ -4,7 +4,7 @@ > 关联组件:`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