From dd85e1721ca0019d0b5002459438958fce77d039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=9F?= Date: Fri, 8 Apr 2022 03:14:35 +0000 Subject: [PATCH] update docs/api/window/subNVues.md. --- docs/api/window/subNVues.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/window/subNVues.md b/docs/api/window/subNVues.md index e80b5d7c5..c9102f701 100644 --- a/docs/api/window/subNVues.md +++ b/docs/api/window/subNVues.md @@ -90,7 +90,7 @@ subNVue.hide('slide-out-left',200); |属性|类型|默认值|描述| |:-|:-|:-|:-| -|position|String|absolute|原生子窗体的排版位置,排版位置决定原生子窗体在父窗口中的定位方式。 可取值:"static",原生子窗体在页面中正常定位,如果页面存在滚动条则随窗口内容滚动;"absolute",原生子窗体在页面中绝对定位,如果页面存在滚动条不随窗口内容滚动;"dock",原生子窗体在页面中停靠,停靠的位置由dock属性值决定。 默认值为"absolute"。| +|position|String|absolute|原生子窗体的排版位置,排版位置决定原生子窗体在父窗口中的定位方式。 取值"static", 原生子窗体在页面中正常定位,如果页面存在滚动条则随窗口内容滚动;取值"absolute",原生子窗体在页面中绝对定位,如果页面存在滚动条不随窗口内容滚动;取值"dock",原生子窗体在页面中停靠,停靠的位置由dock属性值决定。| |dock|String|bottom|原生子窗体的停靠方式,仅当原生子窗体 "position" 属性值设置为 "dock" 时才生效,可取值:"top",原生子窗体停靠则页面顶部;"bottom",原生子窗体停靠在页面底部;"right",原生子窗体停靠在页面右侧;"left",原生子窗体停靠在页面左侧。 默认值为"bottom"。| |mask|HexColor|rgba(0,0,0,0.5)|原生子窗体的遮罩层,仅当原生子窗体 "type" 属性值设置为 "popup" 时才生效,可取值: rgba格式字符串,定义纯色遮罩层样式,如"rgba(0,0,0,0.5)",表示黑色半透明;| |width|String|100%|原生子窗体的宽度,支持百分比、像素值,默认为100%。未设置width属性值时,可同时设置left和right属性值改变窗口的默认宽度。| @@ -116,7 +116,7 @@ subNVue.setStyle({ ``` -### subNVue.postMessage(OBJECT) +### subNVue.postMessage(OBJECT) 发送消息,此通讯方式已过时,请使用`uni.$emit`进行通讯,[参考](/collocation/frame/communication?id=emit) @@ -131,7 +131,7 @@ subNvue.postMessage({ }) ``` -### subNVue.onMessage(CallBack) +### subNVue.onMessage(CallBack) 监听消息,此通讯方式已过时,请使用`uni.$on`进行通讯,[参考](/collocation/frame/communication?id=on) -- Gitee