This commit is contained in:
Aiden 2024-10-10 10:55:12 +08:00
parent b6dd431e18
commit 7806772a32
2 changed files with 3 additions and 4 deletions

View File

@ -35,13 +35,12 @@ const backhandle = () => {
if (pages.length === 1) return;
uni.navigateBack();
};
const currentWebView = plus.webview.getWebviewById("wv");
const root = document.documentElement;
root.style.setProperty(
"--statusBarHeight",
`${
plus.storage.getItem("RunTime") === "app"
? plus.navigator.getStatusbarHeight()
: 0
currentWebView.RunTime === "app" ? plus.navigator.getStatusbarHeight() : 0
}px`
);
</script>

View File

@ -4,7 +4,7 @@
<view class="container-box">
<view class="title">
<span>登录</span>
<span style="color: #efc54e">仓库管理v1.0</span>
<span style="color: #efc54e">仓库管理v1.1</span>
</view>
<view>使用你的手机号登录</view>
<view class="login">