Home
Sign Up
Sign In
Advertisement
V2EX
›
微信
如何在微信小程序中设置为横屏?
silencedpq
·
Nov 15, 2019
· 4221 views
This topic created in 2551 days ago, the information mentioned may be changed or developed.
横屏
微信
程序
设置
1 replies
ifanr2016
Nov 15, 2019
1
从小程序基础库版本 2.4.0 开始,小程序在手机上支持屏幕旋转。使小程序中的页面支持屏幕旋转的方法是:在 app.json 的 window 段中设置 "pageOrientation": "auto" ,或在页面 json 文件中配置 "pageOrientation": "auto" 。详细可以参考:
https://developers.weixin.qq.com/miniprogram/dev/framework/view/resizable.html
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2079 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms ·
UTC 04:27
·
PVG 12:27
·
LAX 20:27
·
JFK 23:27
♥ Do have faith in what you're doing.
❯