소스 검색

无职位数据展示

Xiao_123 2 일 전
부모
커밋
1fe5cfc182
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      pages/index/components/recommend.vue

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

@@ -13,7 +13,8 @@
 		<scroll-view class="scrollBox" :scroll-y="true" @scrolltolower="loadingMore" style="position:relative;">
 			<TalentItem v-if="items?.length || more !== 'loading'" :items="items" />
 			<uni-load-more v-if="items?.length" :status="more" />
-			<view v-else class="noJobId">
+			<view v-if="!jobList?.length" class="noJobId text-center">暂无正在招聘中的职位</view>
+			<view v-if="jobList?.length && !items?.length" class="noJobId">
 				<view>请先选择上方正在招聘的职位</view>
 				<view>我们将根据您选择的职位为您推荐合适的人才</view>
 			</view>
@@ -29,7 +30,6 @@ import { dealDictArrayData } from '@/utils/position'
 
 defineProps({ jobList: Array, navbarHeight: [Number, String] })
 
-
 const query = ref({
 	pageNo: 1,
 	paeSize: 20,