|
@@ -1,5 +1,8 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
+ <!-- 顶部占位区域 -->
|
|
|
+ <view :style="{ height: statusBarHeight + 'px' }"></view>
|
|
|
+
|
|
|
<view v-if="JSON.stringify(list) != '{}'">
|
|
|
<view class="listbox" @click="goUpdete()">
|
|
|
<view class="flex align-center justify-between">
|
|
@@ -70,7 +73,6 @@
|
|
|
<view class="submit" v-else @click="goUpdete()">添加简历</view>
|
|
|
<empty v-if="JSON.stringify(list) == '{}'" />
|
|
|
</view>
|
|
|
- </view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -83,11 +85,13 @@
|
|
|
return {
|
|
|
avatar: '../../static/logo.png',
|
|
|
list: {},
|
|
|
-
|
|
|
+ statusBarHeight: 0
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
-
|
|
|
+ // 获取状态栏高度
|
|
|
+ const systemInfo = uni.getSystemInfoSync()
|
|
|
+ this.statusBarHeight = systemInfo.statusBarHeight || 0
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
this.getDetails();
|