From a7bd95478beb0e9a8a1e6e12c8bf05677e67ddf7 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期三, 19 三月 2025 11:48:30 +0800 Subject: [PATCH] 面议 --- src/views/Home.vue | 40 ++++++++++++++++++---------------------- 1 files changed, 18 insertions(+), 22 deletions(-) diff --git a/src/views/Home.vue b/src/views/Home.vue index 25cf310..bcd297e 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -28,14 +28,10 @@ </div> <div class="relative z-20 2 -mt-24"> <!-- 鍔熻兘鎸夐挳鍖哄煙 --> - <div class="bg-white py-8"> + <div class="bg-white py-8" v-if="false"> <div class="mx-auto px-32"> <div class="grid grid-cols-4 divide-x-w-default"> - <a - @click="toSubsidy" - class="block" - style="border-left: 1px solid #e3e3e3; border-right: 1px solid #e3e3e3" - > + <a @click="toSubsidy" class="block" style="border-left: 1px solid #e3e3e3; border-right: 1px solid #e3e3e3"> <div class="flex items-center gap-1 justify-center"> <div class="w-16 h-16"> <svg viewBox="0 0 24 24" class="w-full h-full"> @@ -83,8 +79,8 @@ </div> </div> </router-link> - <router-link to="/" class="block" style="border-right: 1px solid #e3e3e3"> - <div class="flex items-center gap-1 justify-center" @click="linkClick(' https://www.xpump.net/')"> + <a class="block" style="border-right: 1px solid #e3e3e3" @click="linkClick"> + <div class="flex items-center gap-1 justify-center"> <div class="w-16 h-16"> <!-- <svg viewBox="0 0 24 24" class="w-full h-full"> <path @@ -99,7 +95,7 @@ <div class="text-sm text-info-light-3">Pump Search</div> </div> </div> - </router-link> + </a> <!-- <router-link to="/publish-demand" class="block"> <div class="function-card bg-white rounded-lg shadow-md p-6 text-center"> @@ -269,7 +265,7 @@ </div> <!-- 娴姩鍙充晶鏍� --> - <div class="fixed right-[17px] top-2/3 transform -translate-y-1/2 z-50"> + <div class="fixed right-[60px] bottom-[128px] z-50"> <div class="flex flex-col"> <!-- 璐墿杞� --> <div class="group relative" v-if="false"> @@ -324,7 +320,7 @@ <!-- 瀹㈡湇 --> <div class="group relative"> <div - class="bg-white w-14 h-14 flex items-center justify-center cursor-pointer border border-gray-200 hover:bg-blue-50 transition-colors duration-200 flex-col" + class="py-1.5 text-primary bg-white opacity-95 rounded-lg shadow size-19 flex items-center justify-center cursor-pointer border border-gray-200 hover:bg-blue-50 transition-colors duration-200 flex-col" @click="showCustomerService = true" > <svg @@ -341,7 +337,7 @@ d="M17 8h2a2 2 0 012 2v6a2 2 0 01-2 2h-2v4l-4-4H9a1.994 1.994 0 01-1.414-.586m0 0L11 14h4a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2v4l.586-.586z" /> </svg> - <div class="bg-gray-800 text-sm py-1 px-3 rounded text-black" style="text-align: center">瀹㈡湇</div> + <div class="bg-gray-800 text-sm py-1 px-3 rounded text-primary" style="text-align: center">AI瀹㈡湇</div> </div> <!-- <div class="hidden group-hover:block absolute right-full top-0 mr-2 whitespace-nowrap card-hover-style"> <img :src="CallMe" width="150" height="150" /> @@ -349,7 +345,7 @@ </div> <!-- 鍙嶉 --> - <div class="group relative" @click="toFeedBack"> + <!-- <div class="group relative" @click="toFeedBack"> <div class="bg-white w-14 h-14 flex items-center justify-center cursor-pointer border border-gray-200 hover:bg-blue-50 transition-colors duration-200 flex-col" > @@ -395,10 +391,10 @@ <div class="hidden group-hover:block absolute right-full top-0 mr-2 whitespace-nowrap card-hover-style"> <img :src="CallMe" width="150" height="150" /> </div> - </div> + </div> --> <!-- 杩斿洖椤堕儴 --> - <div class="group relative" @click="scrollToTop"> + <!-- <div class="group relative" @click="scrollToTop"> <div class="bg-white w-14 h-14 flex items-center justify-center flex-col cursor-pointer border border-gray-200 hover:bg-blue-50 transition-colors duration-200" > @@ -413,12 +409,12 @@ </svg> <div class="bg-gray-800 text-sm py-1 px-3 rounded text-black" style="text-align: center">椤堕儴</div> </div> - </div> + </div> --> </div> </div> <!-- 瀹㈡湇瀵硅瘽妗� --> <customer-service - class="fixed right-[100px] bottom-[17px] z-50 w-[440px] h-[calc(80vh-30px)] shadow-lg rounded-lg" + class="fixed right-[150px] bottom-[17px] z-50 w-[440px] h-[calc(80vh-30px)] shadow-lg rounded-lg" v-show="showCustomerService" @close="showCustomerService = false" /> @@ -507,8 +503,8 @@ // }, ]); -const linkClick = (url) => { - window.open(url, '_blank'); +const linkClick = () => { + router.push('/select-selpara') }; const routeClick = (url) => { @@ -1104,10 +1100,10 @@ const toFeedBack = () => { router.push('/feedback'); }; -const toSubsidy = ()=>{ +const toSubsidy = () => { // 璺宠浆鍒拌缃戦〉 - window.open('https://www.sheitc.sh.gov.cn/','_blank') -} + window.open('https://www.sheitc.sh.gov.cn/', '_blank'); +}; const scrollToTop = () => { nextTick(() => { // console.log('鎴戣鎵撳嵃浜�'); -- Gitblit v1.9.3