wkw 7 месяцев назад
Родитель
Сommit
0a724fb3f7

+ 6 - 2
package/jobIntention/addExpectation.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="add-expectation">
 		<!-- 顶部导航 -->
-		<view class="nav-bar">
+		<view class="nav-bar" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
 			<view class="nav-left" @click="goBack">
 				<u-icon name="arrow-leftward" color="rgba(51, 51, 51, 1)" style="font-size: 38rpx;"></u-icon>
 			</view>
@@ -116,6 +116,7 @@
 export default {
 	data() {
 		return {
+			statusBarHeight: 0, // 状态栏高度
 			id:0,
 			jobId:0,
 			jobTitle: '',
@@ -369,6 +370,9 @@ export default {
 		})
 	},
 	onLoad(options) {
+		// 获取状态栏高度
+		let systemInfo = uni.getSystemInfoSync();
+		this.statusBarHeight = systemInfo.statusBarHeight || 0;
 		this.id=options&&options.id?options.id:""
 		// 监听选择结果
 		uni.$on('jobs', (data) => {
@@ -402,7 +406,7 @@ export default {
 <style lang="scss" scoped>
 .add-expectation {
 	min-height: 100vh;
-	padding: 88rpx 40rpx 40rpx 40rpx;
+	padding: 0 40rpx 40rpx 40rpx;
 }
 
 .nav-bar {

+ 12 - 7
package/jobIntention/basicInfo.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="basic-info">
 		<!-- 顶部导航栏 -->
-		<view class="navbar">
+		<view class="navbar" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
 			<view class="navbar-content">
 				<view class="navbar-left" @click="goBack">
 					<u-icon name="arrow-leftward" size="42" color="#333"></u-icon>
@@ -130,6 +130,7 @@
 	export default {
 		data() {
 			return {
+				statusBarHeight: 0, // 状态栏高度
 				weChatNum :''	,	
 				sex : '',
 				age :'',
@@ -172,6 +173,9 @@
 			}
 		},
 		onLoad(options){
+			// 获取状态栏高度
+			let systemInfo = uni.getSystemInfoSync();
+			this.statusBarHeight = systemInfo.statusBarHeight || 0;
 			if(options&&options.resumesStatus)
 				this.selectedJobStatus=options.resumesStatus
 			if(options&&options.birthday)
@@ -310,14 +314,15 @@
 	.basic-info {
 		background-color: #fff;
 		min-height: 100vh;
+		padding: 0 0 40rpx 0;
 	}
 
 	// 顶部导航栏
 	.navbar {
 		background: #fff;
-		padding: 80rpx 0 40rpx 40rpx;
         margin-bottom: 30rpx;
-		
+		padding-left: 40rpx;
+		padding-right: 40rpx;
 		.navbar-content {
 			display: flex;
 			align-items: center;
@@ -336,10 +341,10 @@
 			.navbar-title {
                 color: var(--Grayscale/Grayscale 100, rgba(23, 23, 37, 1));
                 font-family: DM Sans;
-                font-size: 18px;
+                font-size: 36rpx;
                 font-weight: 700;
-                line-height: 26px;
-                letter-spacing: 0.5%;
+                line-height: 52rpx;
+                letter-spacing: 0%;
                 text-align: center;
 			}
 			
@@ -352,7 +357,7 @@
 
 	// 表单内容
 	.form-content {
-		padding: 0 30rpx;
+		padding: 0 40rpx;
 		
 		.form-item {
 			margin-bottom: 30rpx;

+ 6 - 2
package/jobIntention/jobList.vue

@@ -1,7 +1,7 @@
 <template>
 	<view>
 		<!-- 职业选择头部 -->
-		<view class="profession-header">
+		<view class="profession-header" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
 			<view class="header-content">
 				<view class="header-left" @click="goBack">
 					<u-icon name="close" color="#333" size="32"></u-icon>
@@ -87,6 +87,7 @@
 		},
 		data() {
 			return {
+				statusBarHeight: 0, // 状态栏高度
 				searchList:[],
 				keyword:'',
 				current:0,
@@ -96,6 +97,9 @@
 			};
 		},
 		onLoad() {
+			// 获取状态栏高度
+			let systemInfo = uni.getSystemInfoSync();
+			this.statusBarHeight = systemInfo.statusBarHeight || 0;
 			this.getJobList()
 		},
 		methods:{
@@ -195,7 +199,7 @@
 	}
 	
 	.profession-header {
-		padding-top: 80rpx;
+		// padding-top: 80rpx;
 		background-color: #FCFCFC;
 		z-index: 9999;
 		box-sizing: border-box;

+ 6 - 2
package/jobIntention/jobSkills.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="job-skills">
 		<!-- 自定义导航栏 -->
-		<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="close" color="#333" size="32"></u-icon>
@@ -77,6 +77,7 @@
 	export default {
 		data() {
 			return {
+				statusBarHeight: 0, // 状态栏高度
 				jobTitle: '亚马逊运营总监',
 				jobId: '',
 				showAddTag: false,
@@ -87,6 +88,9 @@
 			}
 		},
 		onLoad(options) {
+			// 获取状态栏高度
+			let systemInfo = uni.getSystemInfoSync();
+			this.statusBarHeight = systemInfo.statusBarHeight || 0;
 			if (options && options.jobTitle) {
 				this.jobTitle = decodeURIComponent(options.jobTitle)
 			}
@@ -202,7 +206,7 @@
 		background: #fff;
 		display: flex;
 		flex-direction: column;
-		padding: 88rpx 40rpx 40rpx 40rpx;
+		padding: 0 40rpx 40rpx 40rpx;
 	}
 
 	.navbar-content {

+ 6 - 2
package/jobIntention/preferenceSetting.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="preference-setting">
 		<!-- 自定义导航栏 -->
-		<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="close" color="#333" size="32"></u-icon>
@@ -48,6 +48,7 @@
 export default {
 	data() {
 		return {
+			statusBarHeight: 0, // 状态栏高度
 			jobTitle: '岗位',
 			jobId:'',
 			selectedPreferences: [],
@@ -57,6 +58,9 @@ export default {
 		}
 	},
 	onLoad(options) {
+		// 获取状态栏高度
+		let systemInfo = uni.getSystemInfoSync();
+		this.statusBarHeight = systemInfo.statusBarHeight || 0;
 		if (options&&options.jobTitle) {
 			this.jobTitle = decodeURIComponent(options.jobTitle)
 		}
@@ -115,7 +119,7 @@ export default {
 	background: #fff;
 	display: flex;
 	flex-direction: column;
-    padding: 88rpx 40rpx 40rpx 40rpx;
+    padding: 0 40rpx 40rpx 40rpx;
 }
 
 .navbar-content {

+ 9 - 3
package/jobIntention/tagManage.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="tag-manage">
 		<!-- 顶部导航 -->
-		<view class="nav-bar">
+		<view class="nav-bar" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
 			<view class="nav-left" @click="goBack">
 				<u-icon name="arrow-leftward" color="#fff" style="font-size: 38rpx;"></u-icon>
 			</view>
@@ -92,6 +92,7 @@
 export default {
 	data() {
 		return {
+			statusBarHeight: 0, // 状态栏高度
 			showJobStatusModal: false,
 			selectedJobStatus: 0,
 			detail:{},
@@ -238,6 +239,9 @@ export default {
 		},
 	},
 	onLoad() {
+		// 获取状态栏高度
+		let systemInfo = uni.getSystemInfoSync();
+		this.statusBarHeight = systemInfo.statusBarHeight || 0;
 		this.getData()
 		var that=this
 		// 监听偏好设置更新
@@ -264,7 +268,7 @@ export default {
 	background: url('../../static/images/index/zhiwei.png') no-repeat;
 	background-size: 100% 40%; /* 宽度100%,高度60% */
 	background-position: top center;
-	padding: 88rpx 40rpx 40rpx 40rpx;
+	padding: 0 40rpx 40rpx 40rpx;
 }
 
 .tag-manage-text1 {
@@ -467,7 +471,9 @@ export default {
 	display: flex;
 	align-items: center;
 	justify-content: space-between;
-	padding: 20rpx auto;
+	padding-left: auto;
+	padding-right: auto;
+	padding-bottom: 20rpx;
 
 	.nav-left {
 		display: flex;

+ 11 - 7
package/search/search.vue

@@ -1,7 +1,7 @@
 <template>
 	<view>
 		<!-- 自定义导航栏 -->
-		<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="38"></u-icon>
@@ -250,6 +250,7 @@
 		},
 		data() {
 			return {
+				statusBarHeight: 0, // 状态栏高度
 				show: false,
 				keyword: '',
 				currentSx: 0,
@@ -294,6 +295,9 @@
 			},
 		},
 		onLoad() {
+			// 获取状态栏高度
+			let systemInfo = uni.getSystemInfoSync();
+			this.statusBarHeight = systemInfo.statusBarHeight || 0;
 			let that = this
 			//获取经纬度后请求岗位接口,经纬度用于筛选距离
 			uni.getLocation({
@@ -617,8 +621,8 @@
 		left: 0;
 		right: 0;
 		width: 100%;
-		padding-top: 80rpx;
-		height: 160rpx;
+		// padding-top: 80rpx;
+		height: 88rpx;
 		background-color: #ffffff;
 		z-index: 10000;
 		
@@ -655,7 +659,7 @@
 		height: 88rpx;
 		background-color: #ffffff;
 		position: fixed;
-		top: 160rpx;
+		top: 88rpx;
 		z-index: 9999;
 
 		.search-box {
@@ -761,13 +765,13 @@
 		width: 100%;
 		background-color: #ffffff;
 		position: fixed;
-		top: 240rpx;
+		top: 200rpx;
 		height: calc(100vh - 80rpx);
 
 		.searchJl-box {
 			width: 686rpx;
 			height: 100%;
-			padding-top: 48rpx;
+			padding-top: 28rpx;
 
 			.searchJl-box-header {
 				display: flex;
@@ -818,7 +822,7 @@
 		
 		.hot-jobs-section {
 			width: 686rpx;
-			padding-top: 28rpx;
+			// padding-top: 28rpx;
 		}
 	}
 

+ 9 - 3
pages/msg/search.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="search-page">
 		<!-- 顶部导航栏 -->
-		<view class="nav-header">
+		<view class="nav-header" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
 			<view class="nav-left" @click="goBack">
 				<u-icon name="arrow-leftward" color="rgba(51, 51, 51, 1)" size="42"></u-icon>
 			</view>
@@ -93,6 +93,7 @@
 export default {
 	data() {
 		return {
+			statusBarHeight: 0, // 状态栏高度
 			searchKeyword: '',
 			searchResults: [],
 			allChatList: [], // 存储所有聊天记录
@@ -103,6 +104,9 @@ export default {
 		}
 	},
 	onLoad() {
+		// 获取状态栏高度
+		let systemInfo = uni.getSystemInfoSync();
+		this.statusBarHeight = systemInfo.statusBarHeight || 0;
 		// 页面加载时获取聊天记录
 		this.getChatList()
 	},
@@ -197,14 +201,16 @@ export default {
 <style lang="scss" scoped>
 .search-page {
 	min-height: 100vh;
-    padding: 80rpx 0 0 0;
+    // padding: 80rpx 0 0 0;
 }
 
 .nav-header {
 	display: flex;
 	align-items: center;
 	justify-content: space-between;
-	padding: 20rpx 30rpx;
+	padding-left: 30rpx;
+	padding-right: 30rpx;
+	padding-bottom: 20rpx;
 	background-color: #ffffff;
 	
 	.nav-left, .nav-right {

+ 5 - 1
pages/my/educationExperience.vue

@@ -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>
@@ -115,6 +115,7 @@
 export default {
 	data() {
 		return {
+			statusBarHeight: 0, // 状态栏高度
 			showAddSkill: false,
 			newSkillName: '',
 			currentResumeIndex: 0,
@@ -140,6 +141,9 @@ export default {
 		}
 	},
 	onLoad(options) {
+		// 获取状态栏高度
+		let systemInfo = uni.getSystemInfoSync();
+		this.statusBarHeight = systemInfo.statusBarHeight || 0;
 		// 接收从在线简历页面传递的业务类型参数
 		id=options&&options.id?options.id:''
 		if(id!=''&&id!=0)

+ 1 - 1
pages/my/onlineResume.vue

@@ -506,7 +506,7 @@
 			.navbar-title {
                 color: rgba(23, 23, 37, 1);
                 font-family: DM Sans;
-                font-size: 38rpx;
+                font-size: 36rpx;
                 font-weight: 700;
                 line-height: 52rpx;
                 letter-spacing: 0%;

+ 6 - 3
pages/my/workExperience.vue

@@ -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;