Merge branch 'master' of http://172.16.100.91:3000/xuminyi/store-management-app
This commit is contained in:
commit
1e5f4bae51
@ -25,9 +25,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed, useSlots } from "vue";
|
import { computed, useSlots, onMounted } from "vue";
|
||||||
const slots = useSlots();
|
|
||||||
console.log(slots);
|
|
||||||
const isShowLeft = computed(() => {
|
const isShowLeft = computed(() => {
|
||||||
const pages = getCurrentPages();
|
const pages = getCurrentPages();
|
||||||
return pages.length === 1 ? false : true;
|
return pages.length === 1 ? false : true;
|
||||||
@ -40,7 +38,11 @@ const backhandle = () => {
|
|||||||
const root = document.documentElement;
|
const root = document.documentElement;
|
||||||
root.style.setProperty(
|
root.style.setProperty(
|
||||||
"--statusBarHeight",
|
"--statusBarHeight",
|
||||||
`${plus.navigator.getStatusbarHeight()}px`
|
`${
|
||||||
|
plus.storage.getItem("RunTime") === "app"
|
||||||
|
? plus.navigator.getStatusbarHeight()
|
||||||
|
: 0
|
||||||
|
}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">仓库管理</span>
|
<span style="color: #efc54e">仓库管理v1.0</span>
|
||||||
</view>
|
</view>
|
||||||
<view>使用你的手机号登录</view>
|
<view>使用你的手机号登录</view>
|
||||||
<view class="login">
|
<view class="login">
|
||||||
|
Loading…
Reference in New Issue
Block a user