13 lines
205 B
Vue
13 lines
205 B
Vue
|
|
<template>
|
||
|
|
<view class="safety" :style="'height:'+safety+'px;'"></view>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
export default {
|
||
|
|
data() {
|
||
|
|
return {
|
||
|
|
safety: uni.getWindowInfo().statusBarHeight
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|