|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view class="work-experience">
|
|
|
<!-- 自定义导航栏 -->
|
|
|
- <view class="custom-navbar">
|
|
|
+ <view class="custom-navbar" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
|
|
|
<view class="navbar-content">
|
|
|
<view class="nav-left" @click="goBack">
|
|
|
<u-icon name="arrow-leftward" color="#333" size="42"></u-icon>
|
|
|
@@ -193,6 +193,7 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ statusBarHeight: 0, // 状态栏高度
|
|
|
showAddSkill: false,
|
|
|
newSkillName: '',
|
|
|
currentResumeIndex: 0,
|
|
|
@@ -228,6 +229,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
+ // 获取状态栏高度
|
|
|
+ let systemInfo = uni.getSystemInfoSync();
|
|
|
+ this.statusBarHeight = systemInfo.statusBarHeight || 0;
|
|
|
// 接收从在线简历页面传递的业务类型参数
|
|
|
if (options.businessTypes) {
|
|
|
try {
|
|
|
@@ -277,7 +281,7 @@ export default {
|
|
|
'/app/userFirst/getPostSkill'
|
|
|
this.$Request.getT(action, data).then(res => {
|
|
|
if (res.code == 0) {
|
|
|
- this.formData.resumes[this.operateKey].skills = [res.data[0].childrenList[0].postSkillName]
|
|
|
+ this.formData.resumes[this.operateKey].skills = [res.data[0]?.childrenList[0]?.postSkillName] || []
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -507,7 +511,6 @@ export default {
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
- padding-top: 80rpx;
|
|
|
background-color: #ffffff;
|
|
|
z-index: 9999;
|
|
|
|