This commit is contained in:
scout 2025-02-22 19:24:39 +08:00
parent 36b1aa0bd9
commit 773562f74e
2 changed files with 18 additions and 17 deletions

View File

@ -245,7 +245,7 @@ const handleCarouselClick = (item, event) => {
router.push({ router.push({
path: "/companyprofildetail", path: "/companyprofildetail",
query: { query: {
titleNo: item.titleNo, title: item.title,
}, },
}); });
} }

View File

@ -638,35 +638,36 @@ watch(
</script> </script>
<template> <template>
<header className="header"> <header className="header">
<div class="logo"> <div class="logo">
<img src="@/assets/image/logo.png" alt="logo" /> <img src="@/assets/image/logo.png" alt="logo" />
</div> </div>
<div class="tabs"> <div class="tabs">
<div <div
class="tab-item" class="tab-item"
:class="{ active: currentTab === 'home' }" :class="{
active: currentTab === 'home',
}"
@click="handleTabClick('home')" @click="handleTabClick('home')"
> >
{{ t("home.nav.home") }} {{ t("home.nav.home") }}
</div> </div>
<div class="tabs">
<div class="tab-item" :class="{ active: currentTab === 'home' }" @click="handleTabClick('home')">
{{ t('home.nav.home') }}
</div>
<div class="tab-item" :class="{ active: currentTab === 'companyprofil' }" @click="handleTabClick('companyprofil')">
{{ t('home.nav.company') }}
</div>
<div class="tab-item" :class="{ active: currentTab === 'businessintroduction' }" @click="handleTabClick('businessintroduction')">
{{ t('home.nav.businessintroduction') }}
</div>
</div>
<div <div
class="tab-item" class="tab-item"
:class="{ active: currentTab === 'businessintroduction' }" :class="{
@click="handleTabClick('businessintroduction')" active: currentTab === 'companyprofil',
}"
@click="handleTabClick('companyprofil')"
> >
{{ t("home.nav.business") }} {{ t("home.nav.company") }}
</div>
<div class="tab-item" :class="{
active:
currentTab === 'businessintroduction',
}" @click="
handleTabClick('businessintroduction')
">
{{ t("home.nav.businessintroduction") }}
</div> </div>
</div> </div>
</header> </header>