chore: initialize qiming workspace repository
This commit is contained in:
18
qiming-mobile/components/safety-zone/safety-zone.uvue
Normal file
18
qiming-mobile/components/safety-zone/safety-zone.uvue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<!-- 微信安全区 -->
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<view :style="{height:getStatusBarHeight()+ addHeight+'px'}"></view>
|
||||
<!-- #endif -->
|
||||
|
||||
</template>
|
||||
<script setup lang="uts">
|
||||
import { getStatusBarHeight } from '@/utils/system.uts'
|
||||
const props = defineProps({
|
||||
addHeight: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user