| 
					
				 | 
			
			
				@@ -1,5 +1,5 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <scroll-view class="scrollBox" scroll-y="true" @scrolltolower="loadingMore"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <view v-if="list.length > 0"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<uni-card v-for="(item,index) in list" :key="index" :is-shadow="true" :border='false' shadow="0px 0px 3px 1px rgba(0,0,0,0.1)" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="f-horizon"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -25,11 +25,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </text> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </uni-card> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <uni-load-more :status="status" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<view v-else class="nodata-img-parent"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<image src="https://minio.citupro.com/dev/static/nodata.png" mode="widthFix" style="width: 100vw;height: 100vh;"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </scroll-view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script setup> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -38,6 +39,7 @@ import { getInterestedMePage } from '@/api/user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { dealDictObjData } from '@/utils/position' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getUserAvatar } from '@/utils/avatar' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const status = ref('more') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const queryParams = ref({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   pageNo: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   pageSize: 10 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -46,16 +48,24 @@ const queryParams = ref({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const list = ref([]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const getList = async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const res = await getInterestedMePage(queryParams.value) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  const { data } = res 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (!data.list.length) return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  list.value = data.list.map(e => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    e.enterprise = dealDictObjData({}, e.enterprise) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    e.active = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    return e 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  const arr = res?.data?.list || [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (arr?.length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    arr.forEach(e => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      e.enterprise = dealDictObjData({}, e.enterprise) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    list.value = list.value.concat(arr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  status.value = arr?.length < queryParams.value.pageSize ? 'noMore' : 'more' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// 加载跟多 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const loadingMore = () => {  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  status.value = 'loading' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  queryParams.value.pageNo++ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <style scoped lang="scss"> 
			 |