Ai_GirlFriend/xuniYou/components/top-safety.vue

13 lines
205 B
Vue
Raw Permalink Normal View History

2026-01-31 19:15:41 +08:00
<template>
<view class="safety" :style="'height:'+safety+'px;'"></view>
</template>
<script>
export default {
data() {
return {
safety: uni.getWindowInfo().statusBarHeight
}
}
}
</script>