Compare commits

..

No commits in common. "175faec8779424ff8e1716107f2cfca476d89ee8" and "1e5f4bae515f98562415fb477fc5fd66375933b0" have entirely different histories.

2 changed files with 4 additions and 3 deletions

View File

@ -35,12 +35,13 @@ 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",
`${ `${
currentWebView.RunTime === "app" ? plus.navigator.getStatusbarHeight() : 0 plus.storage.getItem("RunTime") === "app"
? plus.navigator.getStatusbarHeight()
: 0
}px` }px`
); );
</script> </script>

View File

@ -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.1</span> <span style="color: #efc54e">仓库管理v1.0</span>
</view> </view>
<view>使用你的手机号登录</view> <view>使用你的手机号登录</view>
<view class="login"> <view class="login">