Compare commits
No commits in common. "86f814bc1f960fd858c318e4315347b6c5996f36" and "19d11803c48cbb7e3ba3a260a3d51c76d3b32fb1" have entirely different histories.
86f814bc1f
...
19d11803c4
@ -25,7 +25,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed, useSlots, onMounted } from "vue";
|
import { computed, useSlots } 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;
|
||||||
@ -38,11 +40,7 @@ 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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user