提交 4c480987 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

update: 去除警告

上级 aef661ef
......@@ -2,7 +2,7 @@
<!-- #ifdef APP -->
<scroll-view id="scroll-view" style="flex: 1;">
<!-- #endif -->
<view>
<view>
<text style="font-size: 15px;">overflow=visible 父view(绿色),子view(红色),点击超出父view区域的部分也可触发事件。</text>
<view class="backgroundview">
<view id="parent" class="box-visible-border-radius">
......@@ -104,10 +104,8 @@
if (uni.getSystemInfoSync().platform == 'android'){
ratio = uni.getSystemInfoSync().devicePixelRatio
}
const systemInfo = uni.getSystemInfoSync()
const titleBarHeight = systemInfo.screenHeight - systemInfo.windowHeight
this.jest_click_x = rect.x * ratio + 30
this.jest_click_y = rect.bottom * ratio - 30
this.jest_click_y = rect.bottom * ratio - 30
}
},
jest_getParentRect() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册