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({
path: "/companyprofildetail",
query: {
titleNo: item.titleNo,
title: item.title,
},
});
}

View File

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