entry: EntryAbility 配 orientation:landscape,脚手架默认横屏

落地横屏项目约束(契约 §7 / 框架 §7.4):module.json5 配默认横屏、
不随传感器自动旋转;H5 显式方向控制留待 M3 用 setPreferredOrientation 动态实现。
模拟器验证:启动即横屏(2856x1320),SplashPage 布局正常。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
lanterngamescn
2026-06-25 08:34:34 +08:00
co-authored by Claude Opus 4.8
parent 3a333bfe32
commit dbc416a940
+1
View File
@@ -14,6 +14,7 @@
{ {
"name": "EntryAbility", "name": "EntryAbility",
"srcEntry": "./ets/entryability/EntryAbility.ets", "srcEntry": "./ets/entryability/EntryAbility.ets",
"orientation": "landscape",
"description": "$string:EntryAbility_desc", "description": "$string:EntryAbility_desc",
"icon": "$media:layered_image", "icon": "$media:layered_image",
"label": "$string:EntryAbility_label", "label": "$string:EntryAbility_label",