wkw 7 mesi fa
parent
commit
05c54048aa
2 ha cambiato i file con 19 aggiunte e 17 eliminazioni
  1. 1 1
      package/jobIntention/city.vue
  2. 18 16
      pages/my/workExperience.vue

+ 1 - 1
package/jobIntention/city.vue

@@ -129,8 +129,8 @@
 			 * 定位获取经纬度
 			 */
 			async getLatOrLng() {
-				// #ifdef APP
 				let that = this;
+				// #ifdef APP
 				  const hasPermission = await this.$queue.checkPermission(
 				    'location', // 固定传 'location',双端通用
 				    '获取您的位置用于推荐附近的求职岗位' // 提示文案也无需区分系统(统一表述即可)

+ 18 - 16
pages/my/workExperience.vue

@@ -141,15 +141,13 @@
 					<text>添加岗位履历</text>
 				</view>
 			</view>
-		</view>
-
-		<!-- 底部保存按钮 -->
-		<view class="bottom-btn-container">
-			<view class="save-btn" @click="saveWorkExperience">
-				<text>保存</text>
+			<!-- 底部保存按钮 -->
+			<view class="bottom-btn-container">
+				<view class="save-btn" @click="saveWorkExperience">
+					<text>保存</text>
+				</view>
 			</view>
 		</view>
-
 		<!-- 添加技能弹窗 -->
 		<u-popup v-model="showAddSkill" mode="center" border-radius="24" width="80%">
 			<view class="add-skill-popup">
@@ -533,17 +531,19 @@
 
 <style lang="scss" scoped>
 	.work-experience {
-		min-height: 100vh;
+		height: 100vh;
 		padding-bottom: 120rpx;
+		display: flex;
+		flex-direction: column;
 	}
 
 	.custom-navbar {
-		position: fixed;
-		top: 0;
-		left: 0;
-		right: 0;
+		// position: fixed;
+		// top: 0;
+		// left: 0;
+		// right: 0;
 		background-color: #ffffff;
-		z-index: 9999;
+		// z-index: 9999;
 
 		.navbar-content {
 			display: flex;
@@ -574,8 +574,10 @@
 	}
 
 	.main-content {
-		margin-top: 88rpx;
-		padding: 80rpx 20rpx 40rpx 20rpx;
+		margin-top: 68rpx;
+		padding: 0 20rpx 40rpx 20rpx;
+		flex: 1;
+		overflow: auto;
 	}
 
 	.form-section {
@@ -596,7 +598,7 @@
 	}
 
 	.form-item {
-		margin-bottom: 30rpx;
+		margin-bottom: 32rpx;
 
 		.form-label {
 			color: rgba(31, 44, 55, 1);