📖 code review:店铺装修逻辑

This commit is contained in:
YunaiV
2023-12-20 23:01:16 +08:00
parent 51c552fb72
commit 2b68109dd0
7 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -1,10 +1,10 @@
<!-- 自定义状态栏 -->
<template>
<view :style="{ height: statusBarHeight }" class="uni-status-bar"><slot /></view>
</template>
<script setup>
import sheep from '@/sheep';
import { computed } from 'vue';
const statusBarHeight = sheep.$platform.device.statusBarHeight + 'px';
</script>