fix
This commit is contained in:
parent
b6dd431e18
commit
7806772a32
@ -35,13 +35,12 @@ const backhandle = () => {
|
|||||||
if (pages.length === 1) return;
|
if (pages.length === 1) return;
|
||||||
uni.navigateBack();
|
uni.navigateBack();
|
||||||
};
|
};
|
||||||
|
const currentWebView = plus.webview.getWebviewById("wv");
|
||||||
const root = document.documentElement;
|
const root = document.documentElement;
|
||||||
root.style.setProperty(
|
root.style.setProperty(
|
||||||
"--statusBarHeight",
|
"--statusBarHeight",
|
||||||
`${
|
`${
|
||||||
plus.storage.getItem("RunTime") === "app"
|
currentWebView.RunTime === "app" ? plus.navigator.getStatusbarHeight() : 0
|
||||||
? plus.navigator.getStatusbarHeight()
|
|
||||||
: 0
|
|
||||||
}px`
|
}px`
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<view class="container-box">
|
<view class="container-box">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
<span>登录</span>
|
<span>登录</span>
|
||||||
<span style="color: #efc54e">仓库管理v1.0</span>
|
<span style="color: #efc54e">仓库管理v1.1</span>
|
||||||
</view>
|
</view>
|
||||||
<view>使用你的手机号登录</view>
|
<view>使用你的手机号登录</view>
|
||||||
<view class="login">
|
<view class="login">
|
||||||
|
Loading…
Reference in New Issue
Block a user