提交 a0c5164a 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新getWindowInfo示例

上级 200fbbf2
......@@ -11,16 +11,17 @@
v-if="bottomNavigationIndicatorArea.width > 0 && bottomNavigationIndicatorArea.height > 0"
:style="{'width': bottomNavigationIndicatorArea.width,'height': bottomNavigationIndicatorArea.height}"></view>
<view style="flex: 1;justify-content: center;align-items: center;">
<view style="margin: 5px 0;">
<view v-if="statusBarArea.width > 0 && statusBarArea.height > 0" style="margin: 5px 0;">
<text style="color: red;">系统状态栏区域</text>
</view>
<view style="margin: 5px 0;">
<view v-if="cutoutArea.length > 0" style="margin: 5px 0;">
<text style="color: orange;">摄像头区域</text>
</view>
<view style="margin: 5px 0;">
<text style="color: green;">安全区域</text>
</view>
<view style="margin: 5px 0;">
<view v-if="bottomNavigationIndicatorArea.width > 0 && bottomNavigationIndicatorArea.height > 0"
style="margin: 5px 0;">
<text style="color: blue;">系统导航栏区域</text>
</view>
<!-- <view style="flex-direction: row;align-items: center;margin: 5px 0">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册