fixbug
This commit is contained in:
parent
36b1aa0bd9
commit
773562f74e
@ -245,7 +245,7 @@ const handleCarouselClick = (item, event) => {
|
|||||||
router.push({
|
router.push({
|
||||||
path: "/companyprofildetail",
|
path: "/companyprofildetail",
|
||||||
query: {
|
query: {
|
||||||
titleNo: item.titleNo,
|
title: item.title,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user