| 
					
				 | 
			
			
				@@ -1,6 +1,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <div class="slider-box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <div v-for="(item, index) in list" :key="index" class="slider-box-item" @click="handleClick(index)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <div v-for="(item, index) in list" :key="index" class="slider-box-item" @click="handleClick(item, index)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <v-btn size="30" class="icons" icon variant="text"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <v-icon class="icons" size="30">{{ item.mdi }}</v-icon> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <v-tooltip :text="item.tips" location="start" activator="parent"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -17,16 +17,20 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script setup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 defineOptions({ name: 'personalSlider' }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { useRouter } from 'vue-router' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const router = useRouter() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const list = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { mdi: 'mdi-arrow-up-bold', tips: '返回顶部' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { mdi: 'mdi-qrcode', tips: '微信公众号', showImg: 'https://minio.citupro.com/dev/static/mendunerCode.jpg' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { mdi: 'mdi-face-agent', tips: '客服' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  { mdi: 'mdi-list-box-outline', tips: '在线简历' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  { mdi: 'mdi-list-box-outline', tips: '在线简历', path: '/resume' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const handleClick = (index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const handleClick = (item, index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // 回到顶部 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if (index === 0) window.scrollTo({ top: 0, behavior: 'smooth' }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  if (item.path) router.push(item.path) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |