Przeglądaj źródła

Merge branch 'master' of https://git.nanodreamtech.com/Boss/yizhizan-h5

wkw 7 miesięcy temu
rodzic
commit
d280508fa9

+ 1 - 1
.hbuilderx/launch.json

@@ -3,7 +3,7 @@
     "configurations" : [
         {
             "customPlaygroundType" : "local",
-            "playground" : "custom",
+            "playground" : "standard",
             "type" : "uni-app:app-android"
         }
     ]

+ 179 - 109
my/order/pay.vue

@@ -13,7 +13,7 @@
 				</view>
 			</view>
 		</view>
-		
+
 		<!-- 审核失败 -->
 		<view v-if="info.status === 3">
 			<!-- 审核状态提示 -->
@@ -23,7 +23,7 @@
 				</view>
 				<view class="status-title">职位审核失败</view>
 			</view>
-			
+
 			<!-- 职位信息卡片 -->
 			<view class="job-info-card">
 				<view class="job-header">
@@ -35,10 +35,11 @@
 					</view>
 				</view>
 				<view class="job-info">
-					<text class="job-details">{{info.county}} {{info.education}} {{info.experience}} {{info.salaryRange}} {{info.postType}}</text>
+					<text class="job-details">{{info.county}} {{info.education}} {{info.experience}}
+						{{info.salaryRange}} {{info.postType}}</text>
 				</view>
 			</view>
-			
+
 			<!-- 失败原因 -->
 			<view class="failure-reason-section">
 				<view class="section-title">失败原因</view>
@@ -54,7 +55,8 @@
 		<view v-if="info.status !== 3">
 			<view class="remarks flex justify-center">
 				<view class="remarks-box flex justify-between align-center">
-					<text style="color: rgba(1, 107, 246, 1);font-weight: bold;">{{info.status==1?'待审核':(info.status==2?'进行中':(info.status==3?'已拒绝':(info.status==4?'已取消':'已关闭')))}}</text>
+					<text
+						style="color: rgba(1, 107, 246, 1);font-weight: bold;">{{info.status==1?'待审核':(info.status==2?'进行中':(info.status==3?'已拒绝':(info.status==4?'已取消':'已关闭')))}}</text>
 					<text style="color: rgba(156, 164, 171, 1);font-size: 24rpx;">{{info.createTime}}</text>
 				</view>
 			</view>
@@ -79,7 +81,8 @@
 
 						<!-- 地址 -->
 						<view class="job-info-c-address">
-							<u-icon name="map" color="rgba(58, 57, 67, 1)" style="margin-right: 10rpx;" size="24"></u-icon>
+							<u-icon name="map" color="rgba(58, 57, 67, 1)" style="margin-right: 10rpx;"
+								size="24"></u-icon>
 							{{info.city}} {{info.county}} {{info.address}}
 						</view>
 
@@ -99,7 +102,7 @@
 			</view>
 
 			<!-- 急聘 -->
-			<view class="urgent-banner">
+			<view class="urgent-banner" v-if="info.isDue==1">
 				<view class="urgent-left-section flex align-center">
 					<view class="urgent-star-icon-wrapper flex align-center justify-center">
 						<u-icon name="star-fill" color="rgba(251, 231, 185, 1)" size="40rpx"></u-icon>
@@ -107,7 +110,8 @@
 					<view class="urgent-text-content">
 						<view class="urgent-main-title">急聘职位 | 2天后到期</view>
 						<view class="urgent-sub-description">急聘免费体验中,升级正式版享受更多权益</view>
-						<view class="urgent-benefits flex align-center">今日剩余权益:5次沟通,0次查看 <u-icon name="arrow-right" color="#FFFFFF" size="20rpx" style="margin-left: 10rpx;"></u-icon></view>
+						<view class="urgent-benefits flex align-center">今日剩余权益:5次沟通,0次查看 <u-icon name="arrow-right"
+								color="#FFFFFF" size="20rpx" style="margin-left: 10rpx;"></u-icon></view>
 					</view>
 				</view>
 				<view class="urgent-upgrade-button">
@@ -124,11 +128,12 @@
 							<text>职位说明</text>
 						</view>
 						<view class="jobRemarks-box-c-label flex align-center flex-wrap" v-if="info.tag">
-							<view class="jobRemarks-box-c-label-item" v-for="(item,index) in info.tag.split(',')" :key="index">
+							<view class="jobRemarks-box-c-label-item" v-for="(item,index) in info.tag.split(',')"
+								:key="index">
 								{{item}}
 							</view>
 						</view>
-		<!-- 				
+						<!-- 				
 						<view class="job-description">
 							<view class="description-item">1.负责Amazon英国、欧洲站、制定推广与销售计划,达成团队要求的销售业绩;</view>
 							<view class="description-item">2.做好数据的统计分析工作,收集、分析市场信息,竞争对手状况,并根据产品销售与排名变化,及时制定和调整产品的销售策略;</view>
@@ -139,20 +144,21 @@
 							<view class="description-item">7.及时处理客户留言及回评,解答客户相关咨询与投诉,并进行问题整理统计分析,提高店铺的好评率,确保账号安全;</view>
 							<view class="description-item">8.每月定期整理分析运营各项数据,并提出相应的合理化建议。</view>
 						</view> -->
-						
+
 						<view class="jobRemarks-box-c-con" v-if="info.positionDetails">
 							<view class="jobRemarks-box-c-con-item" v-html="info.positionDetails">
 							</view>
 						</view>
-						
+
 						<view class="jobRemarks-box-c-line"></view>
-						
+
 						<view class="jobRemarks-box-c-title flex align-center" style="margin-top: 25rpx;">
 							<image src="/static/images/index/welfare.png" class="title-icon"></image>
 							<text>岗位福利</text>
 						</view>
 						<view class="jobRemarks-box-c-label flex align-center flex-wrap" v-if="info.welfareTag">
-							<view class="jobRemarks-box-c-label-item" v-for="(item,index) in info.welfareTag?info.welfareTag.split(';'):[]" :key="index">
+							<view class="jobRemarks-box-c-label-item"
+								v-for="(item,index) in info.welfareTag?info.welfareTag.split(';'):[]" :key="index">
 								{{item}}
 							</view>
 						</view>
@@ -161,7 +167,7 @@
 								暂无
 							</view>
 						</view>
-						
+
 						<!-- <view class="job-description">
 							<view class="description-item">1.完整的晋升机制,每年2次调薪机会;</view>
 							<view class="description-item">2.满一年五天带薪年假;</view>
@@ -173,7 +179,7 @@
 					</view>
 				</view>
 			</view>
-			
+
 			<!-- 企业简介 -->
 			<view class="enterprise">
 				<!-- 公司介绍卡片 -->
@@ -184,27 +190,56 @@
 					</view>
 					<view class="company-info">
 						<view class="company-name">{{info.company?info.company.companyAllName:''}}</view>
-						<view class="company-details">{{info.company?info.company.companyPeople:''}} · {{info.company?info.company.companyScope:''}}</view>
+						<view class="company-details">{{info.company?info.company.companyPeople:''}} ·
+							{{info.company?info.company.companyScope:''}}
+						</view>
 					</view>
 					<view class="company-arrow">
 						<u-icon name="arrow-right" color="rgba(51, 51, 51, 1)" size="32"></u-icon>
 					</view>
 				</view>
-				
+
 				<!-- 地图区域 -->
 				<view class="enterprise-box flex justify-center">
 					<view class="enterprise-box-c">
 						<view class="enterprise-box-c-bto flex align-center justify-between" @click.stop="gotoMap()">
 							<view class="enterprise-box-c-bto-l flex align-center">
-								<u-icon name="map" color="#016BF6" style="margin-left: 20rpx;margin-right: 10rpx;" size="28"></u-icon>
-							<!-- 	{{info.province}}{{info.city}}{{info.county}} -->{{info.address}}
+								<u-icon name="map" color="#016BF6" style="margin-left: 20rpx;margin-right: 10rpx;"
+									size="28"></u-icon>
+								<!-- 	{{info.province}}{{info.city}}{{info.county}} -->{{info.address}}
 							</view>
 							<view class="enterprise-box-c-bto-r">
-								<u-icon name="arrow-right" color="#016BF6" style="margin-right: 20rpx;" size="28"></u-icon>
+								<u-icon name="arrow-right" color="#016BF6" style="margin-right: 20rpx;"
+									size="28"></u-icon>
 							</view>
 						</view>
 					</view>
 				</view>
+				<!-- 职位招聘数据 -->
+				<view class="postNum">
+					<view style="font-size: 16px;font-weight: 600;">职位招聘数据</view>
+					<view class="postNum-ul flex justify-around align-center">
+						<view class="postNum-li">
+							<view class="postNum-li-num align-center">34</view>
+							<view class="postNum-li-txt">沟通过</view>
+						</view>
+						<view class="postNum-li ">
+							<view class="postNum-li-num">34</view>
+							<view class="postNum-li-txt">查看过</view>
+						</view>
+						<view class="postNum-li">
+							<view class="postNum-li-num">34</view>
+							<view class="postNum-li-txt">分享</view>
+						</view>
+						<view class="postNum-li">
+							<view class="postNum-li-num">34</view>
+							<view class="postNum-li-txt">收藏</view>
+						</view>
+					</view>
+					<view style="font-size: 22rpx;color: rgba(102, 102, 102, 1);">职位发布时间:{{info.createTime}}</view>
+				</view>
+
+
 			</view>
 		</view>
 		<!-- 底部操作 -->
@@ -213,19 +248,22 @@
 				取消招聘
 			</view>
 		</view>
-		<view class="btn flex justify-center" v-if="info.status==4 || info.isOverdue==1" @click="updataServeType(info.postPushId,'save')">
+		<view class="btn flex justify-center" v-if="info.status==4 || info.isOverdue==1"
+			@click="updataServeType(info.postPushId,'save')">
 			<view class="btn-box bgBox flex justify-center align-center">
 				重新发布
 			</view>
 		</view>
 		<view class="btn flex justify-center" v-if="info.status==3 && info.isOverdue==0">
-			<view class="btn-box bgBox flex justify-center align-center" @click="updataServeType(info.postPushId,'updata')">
+			<view class="btn-box bgBox flex justify-center align-center"
+				@click="updataServeType(info.postPushId,'updata')" style="background-color: #ffffff;border: 1px solid #016bf6;color: #016bf6;">
 				编辑
 			</view>
 		</view>
 		<view class="btn flex justify-center" v-if="info.status==2 && info.isOverdue == 0">
 			<view class="btn-box flex justify-between">
-				<view class="btn-box bgBox btn-boxs flex justify-center align-center" @click="updataServeType(info.postPushId,'updata')">
+				<view class="btn-box bgBox btn-boxs flex justify-center align-center"
+					@click="updataServeType(info.postPushId,'updata')" style="background-color: #ffffff;border: 1px solid #016bf6;color: #016bf6;">
 					编辑
 				</view>
 				<view class="btn-box bgBox btn-boxs flex justify-center align-center" @click="closeOpenJob('close')">
@@ -235,7 +273,8 @@
 		</view>
 		<view class="btn flex justify-center" v-if="info.status==5 && info.isOverdue == 0">
 			<view class="btn-box flex justify-between">
-				<view class="btn-box bgBox btn-boxs flex justify-center align-center" @click="updataServeType(info.postPushId,'updata')">
+				<view class="btn-box bgBox btn-boxs flex justify-center align-center"
+					@click="updataServeType(info.postPushId,'updata')" style="background-color: #ffffff;border: 1px solid #016bf6;color: #016bf6;">
 					编辑
 				</view>
 				<view class="btn-box bgBox btn-boxs flex justify-center align-center" @click="closeOpenJob('open')">
@@ -250,15 +289,15 @@
 	export default {
 		data() {
 			return {
-				postPushId:'',
-				info:{},//岗位详情
+				postPushId: '',
+				info: {}, //岗位详情
 			};
 		},
 		onLoad(option) {
 			this.postPushId = option.postPushId
 			this.getInfo()
 		},
-		methods:{
+		methods: {
 			//返回上一页
 			goBack() {
 				// 检查页面栈,如果没有可返回的页面,则跳转到职位管理
@@ -273,24 +312,24 @@
 				}
 			},
 			//修改岗位
-			updataServeType(postPushId,type) {
+			updataServeType(postPushId, type) {
 				let companyStatus = uni.getStorageSync('companyStatus')
-				if(companyStatus==1){
+				if (companyStatus == 1) {
 					uni.showToast({
-						title:'企业认证审核中,请审核通过后操作!',
-						icon:'none'
+						title: '企业认证审核中,请审核通过后操作!',
+						icon: 'none'
 					})
 					return
 				}
-				if(companyStatus==3){
+				if (companyStatus == 3) {
 					uni.showToast({
-						title:'企业认证审核未通过,请重新认证!',
-						icon:'none'
+						title: '企业认证审核未通过,请重新认证!',
+						icon: 'none'
 					})
 					return
 				}
 				uni.navigateTo({
-					url: '/package/addJob/addJob?postPushId=' + postPushId+'&type='+type
+					url: '/pages/my/jobPosting?postPushId=' + postPushId + '&type=' + type
 				})
 			},
 			//取消招聘
@@ -299,7 +338,7 @@
 				uni.showModal({
 					content: '确认取消该招聘?',
 					title: '提示',
-					confirmColor:'#016BF6',
+					confirmColor: '#016BF6',
 					success(iet) {
 						if (iet.confirm) {
 							let data = {
@@ -327,26 +366,28 @@
 				})
 			},
 			//关闭/开启岗位
-			closeOpenJob(type){
+			closeOpenJob(type) {
 				let that = this
 				uni.showModal({
-					title:'提示',
-					content:type=='close'?'关闭岗位后,该岗位不会再推荐给用户,是否关闭?':'开启岗位后,该岗位会重新推荐给用户,是否开启?',
+					title: '提示',
+					content: type == 'close' ? '关闭岗位后,该岗位不会再推荐给用户,是否关闭?' : '开启岗位后,该岗位会重新推荐给用户,是否开启?',
 					complete(ret) {
-						if(ret.confirm){
-							that.$Request.getT('/app/postPush/closeOrOpen',{postPushId:that.postPushId}).then(res => {
+						if (ret.confirm) {
+							that.$Request.getT('/app/postPush/closeOrOpen', {
+								postPushId: that.postPushId
+							}).then(res => {
 								if (res.code == 0) {
 									uni.showToast({
-										title:type=='close'?'已关闭':'已开启',
+										title: type == 'close' ? '已关闭' : '已开启',
 										duration: 1500,
 										complete() {
 											that.getInfo()
 										}
 									})
-								}else{
+								} else {
 									uni.showToast({
-										title:res.msg,
-										icon:'none'
+										title: res.msg,
+										icon: 'none'
 									})
 								}
 							})
@@ -355,27 +396,28 @@
 				})
 			},
 			//拉起地图导航
-			gotoMap(){
+			gotoMap() {
 				let that = this
 				uni.openLocation({
-					latitude:that.info.lat,
-					longitude:that.info.lng,
-					address:that.info.province+''+that.info.city+''+that.info.county+''+that.info.address,
-					name:that.info.address,
+					latitude: that.info.lat,
+					longitude: that.info.lng,
+					address: that.info.province + '' + that.info.city + '' + that.info.county + '' + that.info
+						.address,
+					name: that.info.address,
 					// complete(ret) {
-						
+
 					// }
 				})
 			},
 			/**
 			 * 获取岗位详情
 			 */
-			getInfo(){
-				this.$Request.getT("/app/postPush/selectPostPushDetails",{
+			getInfo() {
+				this.$Request.getT("/app/postPush/selectPostPushDetails", {
 					// userId:uni.getStorageSync('userId'),
-					postPushId:this.postPushId
+					postPushId: this.postPushId
 				}).then(res => {
-					if(res.code==0){
+					if (res.code == 0) {
 						this.info = res.data
 					}
 				})
@@ -385,11 +427,11 @@
 </script>
 
 <style lang="scss">
-	page{
+	page {
 		// background-color: #F2F2F7;
 		padding-top: 160rpx;
 	}
-	
+
 	.fixed-header {
 		position: fixed;
 		top: 0;
@@ -403,22 +445,23 @@
 		padding-top: 80rpx;
 		background-color: #ffffff;
 		box-sizing: border-box;
-		
+
 		.navbar-content {
 			display: flex;
 			align-items: center;
 			justify-content: space-between;
 			height: 88rpx;
 			padding: 0 40rpx;
-			
-			.nav-left, .nav-right {
+
+			.nav-left,
+			.nav-right {
 				width: 60rpx;
 				height: 60rpx;
 				display: flex;
 				align-items: center;
 				justify-content: center;
 			}
-			
+
 			.nav-title {
 				color: rgba(51, 51, 51, 1);
 				font-family: DM Sans;
@@ -430,24 +473,24 @@
 			}
 		}
 	}
-	
+
 	.status-section {
 		display: flex;
 		justify-content: center;
 		align-items: center;
 		margin: 40rpx 0rpx 40rpx 0rpx;
-		
+
 		.status-icon {
 			margin-right: 20rpx;
 			display: flex;
 			align-items: center;
-			
+
 			.status-icon-img {
 				width: 48rpx;
 				height: 48rpx;
 			}
 		}
-		
+
 		.status-title {
 			color: rgba(29, 33, 41, 1);
 			font-family: DM Sans;
@@ -460,23 +503,23 @@
 			align-items: center;
 		}
 	}
-	
+
 	.job-info-card {
 		background: #ffffff;
 		border-radius: 12rpx;
 		margin: 0 40rpx 40rpx 40rpx;
 		padding: 32rpx;
 		border: 0.5px solid rgba(227, 231, 236, 1);
-		
+
 		.job-header {
 			display: flex;
 			justify-content: space-between;
 			align-items: flex-start;
 			margin-bottom: 16rpx;
-			
+
 			.job-title-section {
 				flex: 1;
-				
+
 				.job-title {
 					color: rgba(153, 153, 153, 1);
 					font-family: DM Sans;
@@ -487,7 +530,7 @@
 					text-align: left;
 				}
 			}
-			
+
 			.job-status {
 				.status-text {
 					color: rgba(153, 153, 153, 1);
@@ -500,7 +543,7 @@
 				}
 			}
 		}
-		
+
 		.job-info {
 			.job-details {
 				color: rgba(153, 153, 153, 1);
@@ -513,10 +556,10 @@
 			}
 		}
 	}
-	
+
 	.failure-reason-section {
 		margin: 0 40rpx;
-		
+
 		.section-title {
 			color: rgba(31, 44, 55, 1);
 			font-family: DM Sans;
@@ -527,11 +570,11 @@
 			text-align: left;
 			margin-bottom: 20rpx;
 		}
-		
+
 		.reason-list {
 			.reason-item {
 				margin-bottom: 16rpx;
-				
+
 				.reason-text {
 					color: rgba(153, 153, 153, 1);
 					font-family: DM Sans;
@@ -544,11 +587,12 @@
 			}
 		}
 	}
-	
-	.remarks{
+
+	.remarks {
 		width: 100%;
 		margin-top: 30rpx;
-		.remarks-box{
+
+		.remarks-box {
 			width: 686rpx;
 			border-radius: 24rpx;
 			background-color: #ffffff;
@@ -556,26 +600,30 @@
 			color: red;
 		}
 	}
-	.job{
+
+	.job {
 		width: 100%;
 		margin-top: 30rpx;
-		
-		.job-info{
+
+		.job-info {
 			width: 686rpx;
 			height: 100%;
 			border-radius: 24rpx;
 			background-color: #ffffff;
-			.job-info-c{
+
+			.job-info-c {
 				// width: 626rpx;
 				width: 100%;
 				height: 100%;
 				padding: 30rpx 20rpx;
 			}
-			.job-info-c-header{
+
+			.job-info-c-header {
 				display: flex;
 				justify-content: space-between;
 				align-items: center;
 			}
+
 			.job-info-c-address {
 				color: rgba(156, 164, 171, 1);
 				font-family: DM Sans;
@@ -586,7 +634,8 @@
 				text-align: left;
 				padding: 20rpx 0;
 			}
-			.job-info-c-title{
+
+			.job-info-c-title {
 				color: rgba(58, 57, 67, 1);
 				font-family: DM Sans;
 				font-size: 48rpx;
@@ -595,9 +644,11 @@
 				letter-spacing: 0px;
 				text-align: left;
 			}
-			.job-info-c-label{
+
+			.job-info-c-label {
+
 				// margin-top: 30rpx;
-				.job-info-c-label-item{
+				.job-info-c-label-item {
 					color: rgba(153, 153, 153, 1);
 					font-family: DM Sans;
 					font-size: 24rpx;
@@ -611,7 +662,8 @@
 					background: rgba(198, 198, 198, 0.1);
 				}
 			}
-			.job-info-c-price{
+
+			.job-info-c-price {
 				color: rgba(1, 107, 246, 1);
 				font-family: DM Sans;
 				font-size: 32rpx;
@@ -622,36 +674,41 @@
 			}
 		}
 	}
-	.jobRemarks{
+
+	.jobRemarks {
 		width: 100%;
 		padding: 0 20rpx;
-		.jobRemarks-box{
+
+		.jobRemarks-box {
 			width: 100%;
 			height: 100%;
 			background-color: #ffffff;
 			border-radius: 24rpx;
-			.jobRemarks-box-c{
+
+			.jobRemarks-box-c {
 				width: 100%;
 				height: 100%;
 				padding: 30rpx 20rpx;
 			}
-			.jobRemarks-box-c-title{
+
+			.jobRemarks-box-c-title {
 				color: rgba(1, 107, 246, 1);
 				font-size: 32rpx;
 				padding: 8px 12px;
 				border-radius: 36px;
 				font-weight: 500;
 				background: rgba(246, 246, 246, 1);
-				
+
 				.title-icon {
 					width: 32rpx;
 					height: 32rpx;
 				}
 			}
+
 			.job-description {
 				margin-top: 20rpx;
 				margin-bottom: 20rpx;
-				
+
 				.description-item {
 					color: rgba(97, 110, 124, 1);
 					font-family: DM Sans;
@@ -663,10 +720,12 @@
 					margin-bottom: 8rpx;
 				}
 			}
-			.jobRemarks-box-c-label{
+
+			.jobRemarks-box-c-label {
 				width: 100%;
 				margin-top: 25rpx;
-				.jobRemarks-box-c-label-item{
+
+				.jobRemarks-box-c-label-item {
 					color: rgba(1, 107, 246, 1);
 					font-size: 20rpx;
 					padding: 10rpx 15rpx;
@@ -677,23 +736,27 @@
 					background: rgba(252, 233, 220, 1);
 				}
 			}
-			.jobRemarks-box-c-con{
+
+			.jobRemarks-box-c-con {
 				width: 100%;
 				margin-top: 25rpx;
-				.jobRemarks-box-c-con-item{
+
+				.jobRemarks-box-c-con-item {
 					margin-bottom: 10rpx;
 					color: #141414;
 					font-size: 28rpx;
 					font-weight: 500;
 				}
 			}
-			.jobRemarks-box-c-line{
+
+			.jobRemarks-box-c-line {
 				width: 100%;
 				border: 1rpx solid #E6E6E6;
 				margin-top: 25rpx;
 			}
 		}
 	}
+
 	.enterprise {
 		width: 100%;
 		margin-top: 25rpx;
@@ -751,7 +814,7 @@
 				height: 100%;
 			}
 
-			.enterprise-box-c-bto{
+			.enterprise-box-c-bto {
 				width: 100%;
 				// padding-top: 15rpx;
 				padding-bottom: 15rpx;
@@ -764,7 +827,11 @@
 			}
 		}
 	}
-	
+	.postNum{padding: 12rpx;}
+.postNum-ul{margin: 22px auto;font-family: DM Sans;}
+.postNum-li-num{font-size: 32rpx;font-weight: 600;line-height: 48rpx;text-align: center;}
+.postNum-li-txt{font-size: 26rpx;font-weight: 600;line-height: 48rpx;text-align: center;}
+
 	.urgent-banner {
 		width: 686rpx;
 		height: 150rpx;
@@ -841,26 +908,29 @@
 			margin-left: 20rpx;
 		}
 	}
-	
-	.bgBox{
+
+	.bgBox {
 		color: #ffffff;
 		background-color: rgba(1, 107, 246, 1);
 		font-weight: bold;
 		border-radius: 50rpx;
 	}
-	.btn{
+
+	.btn {
 		width: 100%;
 		height: 88rpx;
 		margin: 30rpx 0rpx;
 		border-radius: 40rpx;
-		.btn-boxs{
+
+		.btn-boxs {
 			width: 49% !important;
-			
+
 		}
-		.btn-box{
+
+		.btn-box {
 			width: 686rpx;
 			height: 100%;
-			
+
 		}
 	}
-</style>
+</style>

+ 6 - 0
package/jobIntention/editJob.vue

@@ -58,6 +58,12 @@ export default {
       wordCount: 0 // 字数统计
     };
   },
+  onLoad(options) {
+  	// 接收上个页面传递的公司名称参数
+  	if(options.text){
+  		this.jobDesc=options.text
+  	}
+	},
   methods: {
     // 实时更新字数
     updateWordCount(e) {

+ 1 - 1
package/jobIntention/underReview.vue

@@ -41,7 +41,7 @@ export default {
   
   methods: {
     goCompleteMsg() {
-		if(ompanyinfo.status==3){
+		if(this.companyinfo.status==3){
 			 uni.navigateTo({ url: "/my/jobPosting?companyName=" });
 		}else{
 			 uni.navigateTo({ url: "/package/jobIntention/completeMsg" });

+ 2 - 1
pages/jobManagement/jobManagement.vue

@@ -187,7 +187,8 @@ export default {
 		
 	 },
     goNav(url) { uni.navigateTo({ url }); },
-    publishNewJob() { uni.navigateTo({ url: '/package/addJob/addJob' }); },
+   // publishNewJob() { uni.navigateTo({ url: '/package/addJob/addJob' }); },
+	 publishNewJob() { uni.navigateTo({ url: '/pages/my/jobPosting' }); },
     getJobStatusClass(job) { /* 原有逻辑不变 */ },
     setBodyHeight() { /* 原有逻辑不变 */ },
   }

+ 3 - 1
pages/my/jobApplicant/guidePage.vue

@@ -82,6 +82,7 @@
 						url: '/pages/my/businessLicense'
 					})
 				} else if (status == 2) { //审核通过,如果有职位,跳首页、如果没职位跳职位发布页。
+					 uni.setStorageSync("firstLogin",true)
 					if (status == 2) {
 						uni.preloadPage({
 							url: "/pages/index/index"
@@ -96,6 +97,7 @@
 						})
 					}
 				} else if (status == 1) { //审核未通过,跳审核信息页。
+				 uni.setStorageSync("firstLogin",true)
 					uni.navigateTo({
 						url: '/package/jobIntention/underReview'
 					})
@@ -115,7 +117,7 @@
 				uni.showLoading({
 					title: "提交中..."
 				});
-				this.$Request.postJson("/app/user/updateUserEntity", {
+				this.$Request.postT("/app/user/updateUserEntity", {
 						userType: userType
 					})
 					.then((res) => {

+ 76 - 8
pages/my/jobPosting.vue

@@ -3,7 +3,7 @@
 		<nav-bar title="选择公司规模" color="#000"></nav-bar>
 		<view class="roles-content">
 			<view class="content">
-				<view class="title">发布社招</view>
+				<view class="title">{{isDisabled?'编辑【'+jobInfo.ruleClassifyName+'】':'发布社招'}}岗位</view>
 				<view class="desc">{{companyName}}</view>
 				<view class="step">
 					<u-steps :list="numList" mode="number" :current="0"></u-steps>
@@ -14,10 +14,10 @@
 					<radio-group @change="onRadioChange">
 						<view class="select-txt radioseletview">
 							<label class="radio radioselet">
-								<radio value="0" :checked="true" class="radio-size" />普通岗位招聘
+								<radio value="0" :checked="true" class="radio-size" :disabled="isDisabled" />普通岗位招聘
 							</label>
 							<label class="radio radioselet">
-								<radio value="1" class="radio-size" />急聘
+								<radio value="1" class="radio-size" :disabled="isDisabled"/>急聘
 							</label>
 							<text
 								style="position: absolute;right: 0;bottom: 18px;font-size: 12px;color: rgba(120, 130, 138, 1);">急聘职位剩余{{vipDueTimes}}个</text>
@@ -28,12 +28,12 @@
 
 
 				<view class="check-title">招聘类型</view>
-				<view class="check-box">
+				<view class="check-box" :class="{ disabled: isDisabled }">
 					<view class="check-item" :class="{ 'is-check': check == index }" v-for="(item, index) in peopleList"
-						:key="index" @click="checkPeople(index)">{{ item }}</view>
+						:key="index" @click="!isDisabled && checkPeople(index)">{{ item }}</view>
 				</view>
 				<view class="check-title-big">招聘职位</view>
-				<view class="check-select" @click="goJob">
+				<view class="check-select" @click="!isDisabledid && goJob()" :class="{ disabled: isDisabledid }">
 					<view class="select-txt">{{jobInfo.ruleClassifyName}}</view>
 					<u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
 				</view>
@@ -56,8 +56,12 @@
 				selectedValue: 0, // 默认选中值
 				peopleList: ["社招全职", "应届生校园招聘", "实习生招聘", "兼职招聘"],
 				check: 0,
+				isDisabled: false,
+				isDisabledid:false,
 				isCompanyVip: 0,
 				vipDueTimes: 0,
+				postPushId:"",
+				update:"",
 				vipPostTimes: 0,
 				text: "",
 				status: "",
@@ -83,6 +87,14 @@
 
 		onLoad(options) {
 			// 接收上个页面传递的公司名称参数
+			if(options.postPushId){
+				this.postPushId=options.postPushId
+				this.getInfo()
+			}
+			if(options.type){
+				this.update=decodeURIComponent(options.type);
+				 this.isDisabled = true;
+			}
 			if (options.companyName) {
 				this.companyName = decodeURIComponent(options.companyName);
 			}else{
@@ -115,6 +127,8 @@
 			console.log("收到岗位描述数据:", this.text);
 			console.log('接收的公司ID:', this.companyId);
 			console.log('接收的公司状态:', this.status);
+		
+			
 
 		},
 		onUnload() {
@@ -137,9 +151,31 @@
 			},
 			goJobContent() {
 				uni.navigateTo({
-					url: `/package/jobIntention/editJob`,
+					url: `/package/jobIntention/editJob?text=${this.text}`,
 				});
 			},
+			
+			/**
+			 * 获取岗位详情
+			 */
+			getInfo(){
+				this.$Request.getT("/app/postPush/selectPostPushDetails",{
+					// userId:uni.getStorageSync('userId'),
+					postPushId:this.postPushId
+				}).then(res => {
+					if(res.code==0){
+						this.jobInfo = res.data
+						this.text=res.data.positionDetails
+						if(!this.jobInfo?.ruleClassifyId){
+							this.isDisabledid=false
+						}else{
+							this.isDisabledid=true
+						}
+					}
+				})
+			},
+			
+			
 			//radio 选中变化时触发
 			onRadioChange(e) {
 				// 获取选中的值
@@ -281,6 +317,7 @@
 
 
 				const data = {
+					postPushId:this.postPushId,
 					type: this.check,
 					isDue: this.selectedValue,
 					positionDetails: this.text,
@@ -313,7 +350,7 @@
 								uni.navigateTo({
 									url: "/pages/my/jobPostingSecond?pid=" + pid + "&status=" + this
 										.status + "&companyName=" + this.companyName + '&companyId=' +
-										this.companyId
+										this.companyId+'&type='+this.update
 								});
 							}, 1500);
 						} else {
@@ -419,6 +456,37 @@
 					.select-txt {}
 				}
 
+/* 禁用状态样式 */
+.check-select.disabled {
+    background-color: #f5f5f5;
+    opacity: 0.6;
+    pointer-events: none; /* 防止点击穿透 */
+}
+
+.check-select.disabled .select-txt {
+    color: #999; /* 文字变灰 */
+}
+
+.check-select.disabled u-icon {
+    color: #ccc; /* 图标变灰 */
+}
+
+/* 禁用状态样式 */
+.check-box.disabled {
+    opacity: 0.6;
+}
+
+.check-box.disabled .check-item {
+    pointer-events: none;
+    background-color: #e9e9e9;
+    color: #999;
+}
+
+.check-box.disabled .check-item.is-check {
+    background-color: #b3d1ff;
+    color: #666;
+}
+
 				.radioseletvi {
 					position: relative;
 				}

+ 47 - 4
pages/my/jobPostingSecond.vue

@@ -47,7 +47,7 @@
 				<!-- 工作地址 -->
 				<view class="check-title-big">工作地址</view>
 				<view class="check-select" @click="goAddAddress">
-					<view class="select-txt">{{ stationName.fullText || "请填写精确的工作地点" }}</view>
+					<view class="select-txt">{{ address || stationName.fullText || "请填写精确的工作地点" }}</view>
 					<u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
 				</view>
 
@@ -85,11 +85,12 @@
 				selectedSalary: "", // 薪资范围
 				welfareTag: "", // 福利待遇
 				positionTag: "", // 职位关键词
-				stationName: "",
+				stationName: [],
 				companyName: "",
 				companyId: "",
 				status: 1,
 				pid: "",
+				address:"",
 				salaryTimes:"",
 
 				// 选择器显示控制
@@ -348,6 +349,10 @@
 
 			if (options.pid) {
 				this.pid = options.pid;
+				if(options.type && options.type=='updata'){
+					this.getInfo()
+				}
+				
 				console.log('接收PID:', this.pid);
 			} else {
 				uni.navigateTo({
@@ -385,6 +390,44 @@
 				this.showLevel = false;
 			},
 
+
+	/**
+			 * 获取岗位详情
+			 */
+			getInfo(){
+				this.$Request.getT("/app/postPush/selectPostPushDetails",{
+					// userId:uni.getStorageSync('userId'),
+					postPushId:this.pid
+				}).then(res => {
+					if(res.code==0){
+						this.selectedExper=res.data.experience
+						this.selectedLevel=res.data.education
+						this.selectedSalary=res.data.salaryRange
+						this.welfareTag=res.data.welfareTag
+						this.positionTag=res.data.positionTag
+						this.address=res.data.address
+						this.stationName.fullText=res.data.address
+						this.stationName.latitude=res.data.lat
+						this.stationName.longitude=res.data.lng
+						this.stationName.province=res.data.province
+						this.stationName.city=res.data.city
+						this.stationName.district=res.data.county
+						this.salaryTimes=res.data.salaryTimes
+						console.log(this.stationName)
+					}else{
+					uni.showToast({
+					    title: '数据有误',
+					    icon: 'none',  // 注意这里需要加引号
+					    duration: 2000, // 可选:设置提示框显示时长
+					    complete() {    // 正确的回调函数写法
+					        uni.navigateBack();
+					    }
+					});
+						
+					}
+				})
+			},
+
 			// 处理薪资范围选择(核心修复)
 			onMoneyConfirm(selectedItems) {
 				// 多列选择器返回数组,取每列选中的label拼接
@@ -457,7 +500,7 @@
 						icon: "none"
 					});
 				}
-				if (!this.stationName.fullText) {
+				if (!this.stationName.fullText && !this.address) {
 					return uni.showToast({
 						title: "请填写工作地址",
 						icon: "none"
@@ -487,7 +530,7 @@
 					salaryRange: this.selectedSalary, //薪资范围
 					welfareTag: this.welfareTag, //福利相关标签
 					positionTag: str, //职位技能
-					address: this.stationName.fullText, //地址
+					address: this.stationName.fullText|| this.address, //地址
 					lat: this.stationName.latitude,
 					lng: this.stationName.longitude,
 					province: this.stationName.province,

+ 1 - 1
pages/public/loginphone.vue

@@ -209,7 +209,7 @@ export default {
                       url: "/pages/public/selectIdentity/selectIdentity",
                     });
                   } else {
-                    if (res.user.userType == 2) {
+                    if (res.user.userType == 2) {//企业
                       // 原有的
                       // uni.reLaunch({
                       //   url: "/pages/my/index",

+ 20 - 9
pages/talentSearch/index.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="talent-search-page">
+			<!-- <image class="top-bg" src="/static/images/index/index-bg1.png" mode="widthFix" /> -->
 		<view class="topbg-sticky">
-			<image class="top-bg" src="/static/images/index/index-bg1.png" mode="widthFix" />
 			<!-- <view class="top-bg"></view> -->
 			<!-- 搜索框 -->
 			<view class="search flex align-center justify-center"
@@ -52,7 +52,8 @@
 		</view>
 
 		<!-- 人才列表 -->
-		<view class="talent-list" :style="{ marginTop: talentListMarginTop }">
+		<!-- <view class="talent-list" :style="{ marginTop: talentListMarginTop }"> -->
+			<view class="talent-list">
 			<view class="talent-card" v-for="(talent, index) in talentList" :key="index"
 				@click="goToResumeDetail(talent)">
 				<view class="talent-content">
@@ -202,7 +203,7 @@
 			talentListMarginTop() {
 				// 搜索框高度 + 筛选栏高度(紧凑布局)
 				// 筛选栏实际高度约 46px(按钮18px + 内边距16px + 外边距12px)
-				return (4 + this.statusBarHeight) + 'px';
+				return (1+ this.statusBarHeight) + 'px';
 				//return '-69px';
 			}
 		},
@@ -593,7 +594,16 @@
 		background-color: #f5f5f5;
 	}
 
-	.topbg-sticky {}
+	.topbg-sticky {
+		display: flex;
+		    flex-direction: column;
+		    justify-content: space-around;
+			background-image: url('/static/images/index/index-bg1.png');
+			    background-repeat: no-repeat;
+			    background-size: cover;
+				    background-position-y: -38rpx;
+					// border: #007AFF 1px solid;
+	}
 
 	.top-bg {
 
@@ -650,9 +660,9 @@
 		//margin-top: -60rpx;
 		background-color: #fff;
 		height: 82rpx;
-		position: relative;
-		z-index: 22;
-		margin: -80rpx auto 0rpx auto;
+		margin: 2px auto;
+
+		
 		border-radius: 8px;
 		padding: 24rpx;
 
@@ -740,8 +750,8 @@
 
 	// 搜索框
 	.search {
-		position: fixed;
-		top: 0;
+		// position: fixed;
+		// top: 0;
 		width: 100%;
 		padding: 0rpx 20rpx 20rpx 20rpx;
 		// padding-top 已改为动态计算,在模板中通过 :style 设置
@@ -960,6 +970,7 @@
 		padding: 20rpx;
 		z-index: 100;
 		position: relative;
+		//border:1px solid red
 	}
 
 	.talent-card {