diff --git a/docs/collocation/pages.md b/docs/collocation/pages.md index 5c4beb23a02935daa05c3ac94ba5e1ad494a6bd1..11264539c92340fa299b5cd621af0cbc9d8d4f65 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|