wkw 6 ay önce
ebeveyn
işleme
16510f42fa

+ 6 - 1
components/btnPopous/btnPopous.vue

@@ -1,6 +1,11 @@
 <template>
 	<view>
-		<view class="cover"></view>
+		<block v-if="!userId">
+			<view class="cover"></view>
+		</block>
+		<block v-else>
+			<cover-view class="cover"></cover-view>
+		</block>
 		<view class="jobAll" :class="topY == true ? 'end' : 'start'" @touchstart="start" @touchend="end"
 			@touchmove.stop="move">
 			<view class="header">

+ 20 - 8
my/enterpriseInfo/enterpriseInfo.vue

@@ -180,11 +180,14 @@
 		  <view class="talent-box">
 		    <view class="talent-title">公司风采</view>
 		    <!-- 有图片时显示轮播 -->
-		    <swiper v-if="info.photos" class="talent-swiper" indicator-dots="true" autoplay="true" interval="3000" circular="true">
-		      <swiper-item v-for="(talent, index) in info.photos.split(',')" :key="index">
-		        <image :src="talent" mode="aspectFit" class="photoImage"></image>
-		      </swiper-item>
-		    </swiper>
+		   <swiper v-if="info.photos" class="talent-swiper" indicator-dots="true" autoplay="true" interval="3000" circular="true">
+		     <swiper-item v-for="(talent, index) in info.photos.split(',')" :key="index">
+		       <view class="photo-box">
+		         <image :src="talent" mode="aspectFill" class="photoImage"></image>
+		       </view>
+		     </swiper-item>
+		   </swiper>
+
 		
 		    <!-- 没有图片时显示提示 -->
 		    <view class="hr-desc" v-else>该公司还未上传相关图片!</view>
@@ -926,10 +929,19 @@ page {
 		}
 	}
 }
+.photo-box {
+  position: relative;
+  width: 100%;
+  padding-top: 75%; 
+  overflow: hidden;
+}
+
 .photoImage {
-	width: 100%;
-	height: 100%;
-	display: block;
+  position: absolute;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
 }
 .hr-section {
 	width: 100%;

+ 23 - 8
package/jobIntention/companyImg.vue

@@ -21,18 +21,29 @@
 			<!-- 在职证明上传 -->
 			<view class="upload-img">
 				<view v-if="pdfFilePath" class="text-item">
-					<u-icon name="file-text" color="#016bf6" size="40"></u-icon>
-					<text style="margin-top: 8rpx;">已选择 PDF</text>
-					<view class="delete-btn" @click="deletePDF">×</view>
+					<template v-if="isImageFile(pdfFilePath)">
+					    <image 
+					      :src="pdfFilePath" 
+					      mode="aspectFill" 
+					      class="preview-img"
+					    ></image>
+					    <view class="delete-btn" @click="deletePDF">×</view>
+					  </template>
+					
+					<template v-else>
+					    <u-icon name="file-text" color="#016bf6" size="40"></u-icon>
+					    <text style="margin-top: 8rpx;">已选择 PDF</text>
+					    <view class="delete-btn" @click="deletePDF">×</view>
+					</template>
 				</view>
-				<fileSelector v-else :isShowStyle="false" title="上传在职证明" allowType=".pdf" @fileSelected="choosePDF" />
+				<fileSelector v-else :isShowStyle="false" title="上传在职证明" allowType=".pdf,image/*" @fileSelected="choosePDF" />
 			</view>
 			<!-- 模板下载部分 -->
 			<view class="warning-title" style="margin-top: 20rpx;">
 				<text style="color: #016bf6; margin-left: 8rpx;" @click="downloadTemplate">点击下载模板</text>
 			</view>
 			<view class="warning-title">注意事项</view>
-			<view class="warning-desc">1.请上传加盖公章的在职证明(仅限 PDF 文件)</view>
+			<view class="warning-desc">1.请上传加盖公章的在职证明(仅限 PDF 文件 或者 图片)</view>
 
 			<!-- 公司证明上传 -->
 			<view class="upload-group">
@@ -83,6 +94,10 @@
 			if (options.companyId) this.companyId = options.companyId;
 		},
 		methods: {
+			// 判断是否为图片
+			isImageFile(path) {
+			    return /\.(jpg|jpeg|png|gif|bmp|webp)$/i.test(path) || path.startsWith('data:image/')
+			},
 			// 下载模板
 			downloadTemplate() {
 				const url = 'https://h5.bosszan.com/员工在职证明-亿职赞模板.docx';
@@ -168,10 +183,10 @@
 			// ======= 在职证明上传 (PDF) =======
 			async choosePDF(e) {
 				var that = this
-				const validExtensions = ['pdf', 'doc', 'docx'];
+				const validExtensions = ['pdf', 'jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp'];
 				const ext = e.name.split('.').pop().toLowerCase();
 				if (!validExtensions.includes(ext)) {
-					this.$queue.showToast('仅支持PDF/DOC/DOCX格式')
+					this.$queue.showToast('仅支持PDF或图片格式');
 					return;
 				}
 				uni.getFileInfo({
@@ -251,7 +266,7 @@
 			// ======= 提交 =======
 			async goUnderReview() {
 				if (!this.licenseUrl) return uni.showToast({ title: '请上传营业执照', icon: 'none' });
-				if (!this.employmentVerification) return uni.showToast({ title: '请上传在职证明PDF', icon: 'none' });
+				if (!this.employmentVerification) return uni.showToast({ title: '请上传在职证明PDF或者图片', icon: 'none' });
 				if (this.companyProofUrls.length === 0) return uni.showToast({ title: '请上传公司证明图片', icon: 'none' });
 
 				const data = {

+ 1 - 1
pages/index/game/orderDet.vue

@@ -31,7 +31,7 @@
 			<view class="yx-box">
 				<view class="yx-box-title flex align-center">
 					<text>求职意向</text>
-					<text>{{order.resumesStatus==1?'离职-正在找工作':(order.resumesStatus==2?'在职-考虑机会':'在职-暂不考虑')}}</text>
+					<text>{{order.resumesStatus==1?'离职-正在找工作':order.resumesStatus==2?'在职-考虑机会':order.resumesStatus==3?'在职-暂不考虑':'实习'}}</text>
 				</view>
 				<view class="yx-box-jl">
 					<view class="yx-box-jl-t" v-show="order.resumesPost">

+ 2 - 2
pages/index/index.vue

@@ -1,5 +1,5 @@
 <template>
-	<view>
+	<view style="background-color: #f2f2f7;">
 		<block v-if="XCXIsSelect != '是'">
 			<view class="banner flex justify-center">
 				<view class="banner-box">
@@ -433,7 +433,7 @@
 											<view class="flex align-center flex-wrap"
 												style="color: #999999;font-size: 24rpx;margin-top: 8rpx;">
 												<text style="margin-right: 12rpx;">{{ item.userAge }}岁</text>
-												<text style="margin-right: 12rpx;">{{ item.resumesWorkExperience || 0 }}</text>
+												<text style="margin-right: 12rpx;">{{ item.resumesWorkExperience || 0 }}</text>
 												<text style="margin-right: 12rpx;">{{ item.degree }}</text>
 												<text>期望{{ item.minSalary }}-{{ item.maxSalary }}元</text>
 											</view>

+ 3 - 3
pages/msg/im.vue

@@ -405,14 +405,14 @@
 						</view>
 						<view v-if="item.content && item.messageType === 10" class="chat-listitem-text bg-style"
 							style="margin-left: 20rpx;color: #000000;background-color: #ffffff;">
-							<block v-if="userType == 1">{{item.content}}</block>
-							<block v-else>
+							<block v-if="item.userType == 1">
 								<view class="flex align-center" @click="previewResume(item.content)">
 									<image src="../../static/im/orderInfo.png"
 										style="width: 60rpx;height: 60rpx;margin-right: 10rpx;" mode=""></image>
 									点击预览附件简历
 								</view>
 							</block>
+							<block v-else>{{item.content}}</block>
 						</view>
 						<view v-if="item.content && item.messageType === 12" class="chat-listitem-text"
 							style="margin-left: 20rpx;color: #000000;background-color: #ffffff;">
@@ -533,7 +533,7 @@
 						</view>
 						<view v-if="item.content && item.messageType === 10" class="chat-listitem-text textColor bg-style"
 							style="margin-right: 20rpx;">
-							<block v-if="userType == 1">
+							<block v-if="item.userType == 1">
 								<view class="flex align-center" @click="previewResume(item.content)">
 									<image src="../../static/im/orderInfo.png"
 										style="width: 60rpx;height: 60rpx;margin-right: 10rpx;" mode=""></image>

+ 1 - 1
pages/my/onlineResume.vue

@@ -15,7 +15,7 @@
 				</view>
 				<view class="user-name">{{ detail.userEntity && detail.userEntity.userName || '匿名' }}</view>
 				<view class="user-info">
-					{{ detail.workExpTimes }}经验·{{ detail.userEntity && detail.userEntity.age }}岁·{{ detail.degree }}·{{ detail.userEntity && detail.userEntity.sex == 1 ? '男' : '女' }}
+					{{ detail.workExpTimes }}经验·{{ detail.userEntity && detail.userEntity.age }}岁·{{ detail.degree }}·{{ detail.userEntity && detail.userEntity.sex == 1 ? '男' : '女' }}
 				</view>
 				<view class="contact-info">
 					<view class="contact-item">

+ 3 - 3
pages/recruitmentData/communicationRecords.vue

@@ -56,7 +56,7 @@
 										</view>
 										<!-- 经验和薪资 -->
 										<view class="talent-experience">
-											<text class="experience-text">{{ record.resumesWorkExperience }}</text>
+											<text class="experience-text">{{ record.resumesWorkExperience }}</text>
 											<text class="education-salary">{{ record.degree }}
 												{{ record.minSalary }}-{{record.maxSalary}}</text>
 											<text
@@ -155,7 +155,7 @@
 									<text class="candidate-name">{{ record.userEntity.userName }}</text>
 									<block v-if="record.resumesListDto.length > 0">
 										<text
-											class="candidate-details">{{ record.resumesListDto[0].resumesWorkExperience? record.resumesListDto[0].resumesWorkExperience + '年' :'无经验'}}
+											class="candidate-details">{{ record.resumesListDto[0].resumesWorkExperience? record.resumesListDto[0].resumesWorkExperience :'无经验'}}
 											{{ record.resumesListDto[0].degree }}
 											{{ record.resumesListDto[0].minSalary }}-{{ record.resumesListDto[0].maxSalary }}</text>
 									</block>
@@ -193,7 +193,7 @@
 												style="color: #999999; font-size: 26rpx; margin-top: 10rpx">
 												<text>{{ item.resumesListDto[0].userAge }}岁</text>
 												<text style="margin-left: 20rpx; margin-right: 20rpx">|</text>
-												<text>{{ item.resumesListDto[0].resumesWorkExperience }}</text>
+												<text>{{ item.resumesListDto[0].resumesWorkExperience }}</text>
 												<text style="margin-left: 20rpx; margin-right: 20rpx">|</text>
 												<text>{{ item.resumesListDto[0].degree }}</text>
 												<text style="margin-left: 20rpx; margin-right: 20rpx">|</text>

+ 1 - 1
pages/talentSearch/index.vue

@@ -72,7 +72,7 @@
 							</view>
 							<!-- 经验和薪资 -->
 							<view class="talent-experience">
-								<text class="experience-text">{{ talent.resumesWorkExperience || 0 }}</text>
+								<text class="experience-text">{{ talent.resumesWorkExperience || 0 }}</text>
 								<text class="education-salary">{{ talent.minSalary }} -{{ talent.maxSalary }}</text>
 								<text class="status-text">{{ jobStatusList[talent.resumesStatus].text}}</text>
 							</view>

+ 1 - 1
pages/talentSearch/resumeDetail.vue

@@ -47,7 +47,7 @@
 
 			<view class="summary-info">
 				<view class="summary-item">
-					<text class="summary-text">{{ resumeData.resumesWorkExperience || '0' }}</text>
+					<text class="summary-text">{{ resumeData.resumesWorkExperience || '0' }}</text>
 				</view>
 				<view class="summary-item">
 					<text class="summary-text">{{ resumeList.degree || '无' }}</text>