Xiao_123 пре 1 месец
родитељ
комит
5c0e097790

+ 2 - 6
components/PositionList/index.vue

@@ -292,15 +292,11 @@ const paySuccess = () => {
 	display: flex;
 	align-items: center;
 }
-.show-more{
-	width: 26vw;
-	white-space: nowrap;
-	overflow: hidden;
-	text-overflow: ellipsis;
-}
 .mList {
   margin-bottom: 20rpx;
   position: relative;
+  box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.17);
+  border-radius: 20rpx;
 }
 /* 列表触底暂无更多 */
 .noMore{ text-align:center; color:grey; }

+ 2 - 1
hooks/useIM.js

@@ -403,7 +403,8 @@ export async function prologue ({userId, enterpriseId, text}) {
 // 企业 to 用户
 export async function talkToUser ({userId, text}) {
   const { channel, isNewTalk } = await checkConversation(userId)
-  if (!isNewTalk) send(text, channel)
+  // if (!isNewTalk) send(text, channel)
+  send(text, channel)
   return channel
 }
 

+ 1 - 0
pages/index/components/condition.vue

@@ -70,6 +70,7 @@ const getTalentList = async () => {
           exp.endTimeStr = exp.startTime ? exp.endTime ? timesTampChange(exp.endTime, 'Y-M') : '至今' : ''
           exp.year = exp.endTimeStr ? getTimeDifferenceInChinese(exp.startTime, exp.endTime) : ''
         })
+				e.workList = e.workList.splice(0, 2)
       }
       return e
     })

+ 1 - 1
pages/index/components/recommend.vue

@@ -13,7 +13,7 @@
 		<scroll-view class="scrollBox" :scroll-y="true" @scrolltolower="loadingMore" style="position:relative;">
 			<TalentItem v-if="query.jobId && (items?.length || more !== 'loading')" :items="items" />
 			<uni-load-more v-if="query.jobId" :status="more" />
-			<view v-else class="noJobId">请选择要推荐人才的职位</view>
+			<view v-else class="noJobId">请选择职位</view>
 		</scroll-view>
 	</view>
 </template>

+ 14 - 8
pages/index/components/talentItem.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<uni-card v-for="(val, index) in items" :key="index" :is-shadow="true" @tap.stop="handleDetail(val)" :border='false' shadow="0px 0px 3px 1px rgba(0,0,0,0.1)">
+		<view v-for="(val, index) in items" :key="index" class="list-item" @tap.stop="handleDetail(val)" >
 			<!-- 基本信息 -->
 			<view class="d-flex align-center">
 				<view class="user-avatar">
@@ -8,10 +8,10 @@
 					<image class="user-avatar-sex" :src="val?.sex ? val?.sex === '1' ? '/static/img/man.png' : '/static/img/female.png' : ''" alt="" mode="scaleToFill" />
 				</view>
 				<view style="flex: 1; margin-left: 10px;">
-					<view class="font-size-18">{{ val.name }}</view>
+					<view class="font-size-18" style="color: #0E100F">{{ val.name }}</view>
 					<view class="ss-m-t-10">
 						<span 
-							class="color-666"
+							class="color-666 font-size-14"
 							v-for="(key, index) in desc" 
 							:key="index"
 						>
@@ -23,12 +23,12 @@
 			</view>
 			
 			<!-- 感兴趣职位 -->
-			<view v-if="val.position?.positionNames && showLastWorkExp" class="ss-m-t-15 color-666">
+			<view v-if="val.position?.positionNames && showLastWorkExp" class="ss-m-t-15 color-666 font-size-14">
 				感兴趣职位:{{ val.position?.positionNames || '暂无' }}
 			</view>
 
 			<!-- 最近一份工作经验 -->
-			<view v-if="val?.lastWorkExp && showLastWorkExp" class="ss-m-t-15 color-666">
+			<view v-if="val?.lastWorkExp && showLastWorkExp" class="ss-m-t-15 color-666  font-size-14">
 				<view>
 					<uni-icons type="smallcircle" class="ss-m-r-10" color="#666"></uni-icons>
 					{{ formatName(val.lastWorkExp.enterpriseName) || '未填写企业名称' }}
@@ -44,7 +44,7 @@
 			</view>
 
 			<!-- 工作经历 -->
-			<view v-if="val?.workList && val.workList.length > 0 && !showLastWorkExp" class="ss-m-t-15 color-666">
+			<view v-if="val?.workList && val.workList.length > 0 && !showLastWorkExp" class="ss-m-t-15 color-666 font-size-14">
 				<view v-for="k in val.workList" :key="k.id" class="ss-m-b-30">
 					<view>
 						<uni-icons type="smallcircle" class="ss-m-r-10" color="#666"></uni-icons>
@@ -55,12 +55,11 @@
 						<span class="ss-m-l-20">
 							<span>{{ k.startTimeStr }}</span>
 							<span v-if="k.endTimeStr"> - {{ k.endTimeStr }}</span>
-							<!-- <span v-if="k.year"> ({{ k.year }})</span> -->
 						</span>
 					</view>
 				</view>
 			</view>
-		</uni-card>
+		</view>
 	</view>
 </template>
 
@@ -95,6 +94,13 @@ const handleDetail = ({ userId }) => {
 </script>
 
 <style scoped lang="scss">
+	.list-item {
+	  margin: 30rpx;
+	  border-radius: 20rpx;
+	  padding: 30rpx;
+	  background-color: #fff;
+	  box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.17);
+	}
 .user-avatar {
 	position: relative;
 	&-img {

+ 2 - 0
pages/index/my.vue

@@ -170,6 +170,8 @@ const handleLogin = () => {
 <style scoped lang="scss">
 .list-card {
 	margin: 0 30rpx 30rpx 30rpx;
+	border-radius: 20rpx;
+	overflow: hidden;
 }
 .pb-150 {
 	padding-bottom: 100px;

+ 9 - 2
pages/index/search.vue

@@ -49,7 +49,7 @@ const getJobList = async () => {
 }
 
 watch(() => useUserStore.refreshToken, () => {
-	if (!useUserStore.refreshToken && !uni.getStorageSync('isPersonalToken')) {
+	if (useUserStore.refreshToken && !uni.getStorageSync('isPersonalToken')) {
 		getJobList()
 	}
 }, { immediate: true })
@@ -72,5 +72,12 @@ const changeControl = (e) =>{
 </script>
 
 <style scoped lang="scss">
-
+:deep(.uni-select__selector-item) {
+	display: block !important;
+	text-align: left !important;
+	max-width: 100% !important;
+	white-space: nowrap !important;
+	text-overflow: ellipsis !important;
+	overflow: hidden !important;
+}
 </style>

+ 15 - 0
pagesA/interview/index.vue

@@ -148,4 +148,19 @@ const loadingMore = () => {
   box-sizing: border-box;
 	height: 0 !important;
 }
+:deep(.segmented-control) {
+	overflow: auto;
+}
+:deep(.segmented-control__item) {
+	white-space: nowrap !important;
+	padding: 0 20rpx;
+}
+:deep(.uni-select__selector-item) {
+	display: block !important;
+	text-align: left !important;
+	max-width: 100% !important;
+	white-space: nowrap !important;
+	text-overflow: ellipsis !important;
+	overflow: hidden !important;
+}
 </style>

+ 1 - 1
pagesA/resume/index.vue

@@ -48,7 +48,7 @@ const filterList = ref([
   { label: '招聘会', key: 'jobFairId', dataLabel: 'title', dataValue: 'id', isRichText: true, api: getJobFairList },
   { label: '最高学历', dictType: 'menduner_education_type', key: 'eduType' },
   { label: '工作经验', dictType: 'menduner_exp_type', key: 'expType' },
-  { label: '求职状态', dictType: 'menduner_job_seek_status', key: 'jobStatus' }
+  // { label: '求职状态', dictType: 'menduner_job_seek_status', key: 'jobStatus' }
 ])
 
 const current = ref(0)

+ 1 - 2
utils/font.js

@@ -1,6 +1,5 @@
 // 第三方字体库调用
 export const loadFont = () => {
-	// 所有的.tff文件
 	const fontsArr = [
 		'MiSans-Semibold',
 		'MiSans-Normal',
@@ -12,7 +11,7 @@ export const loadFont = () => {
 		wx.loadFontFace({
 			family: `${itm}`,
 			global: true, //是否全局生效
-			source: `https://minio.menduner.com/dev/font/${itm}-simp.ttf`, //字体资源的地址
+			source: `url("https://minio.menduner.com/dev/font/${itm}-simp.ttf")`, //字体资源的地址
 			success: function(e) {
 				console.log(itm, '===>字体调用成功', e);
 			},