From 95b61c13f6fb612ed5c83ccc9d592e74f1716a34 Mon Sep 17 00:00:00 2001 From: handongxun Date: Tue, 3 Dec 2019 10:35:38 +0800 Subject: [PATCH] docs: update pages --- docs/collocation/pages.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/collocation/pages.md b/docs/collocation/pages.md index 5c4beb23a..11264539c 100644 --- a/docs/collocation/pages.md +++ b/docs/collocation/pages.md @@ -48,7 +48,8 @@ "backgroundColor": "#F8F8F8", "usingComponents":{ "collapse-tree-item":"/components/collapse-tree-item" - } + }, + "pageOrientation": "portrait"//全局屏幕旋转设置(仅微信/QQ小程序),支持 auto / portrait / landscape }, "tabBar": { "color": "#7A7E83", @@ -101,7 +102,7 @@ |titleImage|String||导航栏图片地址(替换当前文字标题),支付宝小程序内必须使用https的图片链接地址|支付宝小程序、H5、APP| |transparentTitle|String|none|导航栏透明设置。支持 always 一直透明 / auto 滑动自适应 / none 不透明|支付宝小程序、H5、APP| |titlePenetrate|String|NO|导航栏点击穿透|支付宝小程序、H5| -|pageOrientation|String|portrait|屏幕旋转设置,仅支持 auto / portrait 详见 [响应显示区域变化](https://developers.weixin.qq.com/miniprogram/dev/framework/view/resizable.html)|微信小程序| +|pageOrientation|String|portrait|屏幕旋转设置,仅支持 auto / portrait / landscape 详见 [响应显示区域变化](https://developers.weixin.qq.com/miniprogram/dev/framework/view/resizable.html)|微信小程序| |animationType|String|pop-in|窗口显示的动画效果,详见:[窗口动画](api/router?id=animation)|App| |animationDuration|Number|300|窗口显示动画的持续时间,单位为 ms|App| |app-plus|Object||设置编译到 App 平台的特定样式,配置项参考下方 [app-plus](/collocation/pages?id=app-plus)|App| -- GitLab