{{ t('companyprofildetail.article1.content[0]') }}
{{ t('companyprofildetail.article1.content[1]') }}
{{ t('companyprofildetail.article1.content[2]') }}
@@ -90,7 +90,7 @@{{ t('companyprofildetail.article2.content[0]') }}
{{ t('companyprofildetail.article2.content[1]') }}
{{ t('companyprofildetail.article2.content[2]') }}
@@ -129,7 +129,7 @@{{ t('companyprofildetail.article3.content[0]') }}
{{ t('companyprofildetail.article3.content[1]') }}
{{ t('companyprofildetail.article3.content[2]') }}
@@ -169,7 +169,7 @@{{ t('companyprofildetail.article4.content[0]') }}
{{ t('companyprofildetail.article4.content[1]') }}
{{ t('companyprofildetail.article4.content[2]') }}
@@ -209,7 +209,7 @@{{ t('companyprofildetail.article5.content[0]') }}
{{ t('companyprofildetail.article5.content[1]') }}
{{ t('companyprofildetail.article5.content[2]') }}
@@ -290,20 +290,20 @@ const { const router = useRouter(); const state = reactive({ - pageTitle: "", + titleNo: "", }); const currentArticleContent = computed(() => { const messages = t('companyprofildetail', {}, { resolveComponent: false }); - if (state.pageTitle === messages.article1.title) { + if (state.pageTitle == messages.article1.title) { return messages.article1.content; - } else if (state.pageTitle === messages.article2.title) { + } else if (state.pageTitle == messages.article2.title) { return messages.article2.content; - } else if (state.pageTitle === messages.article3.title) { + } else if (state.pageTitle == messages.article3.title) { return messages.article3.content; - } else if (state.pageTitle === messages.article4.title) { + } else if (state.pageTitle == messages.article4.title) { return messages.article4.content; - } else if (state.pageTitle === messages.article5.title) { + } else if (state.pageTitle == messages.article5.title) { return messages.article5.content; } return []; @@ -316,7 +316,7 @@ const handleTabClick = (tab) => { const { currentTab } = useHome(); const route = useRoute(); onBeforeMount(() => { - state.pageTitle = route.query.title; + state.titleNo = route.query.titleNo; }); onMounted(() => { window.scrollTo(0, 0); diff --git a/src/views/companyprofildetail/size1920/index.vue b/src/views/companyprofildetail/size1920/index.vue index 1063b1a..d7e07b4 100644 --- a/src/views/companyprofildetail/size1920/index.vue +++ b/src/views/companyprofildetail/size1920/index.vue @@ -11,13 +11,13 @@{{ t('companyprofildetail.article1.content[0]') }}
{{ t('companyprofildetail.article1.content[1]') }}
{{ t('companyprofildetail.article1.content[2]') }}
@@ -90,7 +90,7 @@{{ t('companyprofildetail.article2.content[0]') }}
{{ t('companyprofildetail.article2.content[1]') }}
{{ t('companyprofildetail.article2.content[2]') }}
@@ -129,7 +129,7 @@{{ t('companyprofildetail.article3.content[0]') }}
{{ t('companyprofildetail.article3.content[1]') }}
{{ t('companyprofildetail.article3.content[2]') }}
@@ -169,7 +169,7 @@{{ t('companyprofildetail.article4.content[0]') }}
{{ t('companyprofildetail.article4.content[1]') }}
{{ t('companyprofildetail.article4.content[2]') }}
@@ -209,7 +209,7 @@{{ t('companyprofildetail.article5.content[0]') }}
{{ t('companyprofildetail.article5.content[1]') }}
{{ t('companyprofildetail.article5.content[2]') }}
@@ -290,20 +290,20 @@ const { const router = useRouter(); const state = reactive({ - pageTitle: "", + titleNo: "", }); const currentArticleContent = computed(() => { const messages = t('companyprofildetail', {}, { resolveComponent: false }); - if (state.pageTitle === messages.article1.title) { + if (state.pageTitle == messages.article1.title) { return messages.article1.content; - } else if (state.pageTitle === messages.article2.title) { + } else if (state.pageTitle == messages.article2.title) { return messages.article2.content; - } else if (state.pageTitle === messages.article3.title) { + } else if (state.pageTitle == messages.article3.title) { return messages.article3.content; - } else if (state.pageTitle === messages.article4.title) { + } else if (state.pageTitle == messages.article4.title) { return messages.article4.content; - } else if (state.pageTitle === messages.article5.title) { + } else if (state.pageTitle == messages.article5.title) { return messages.article5.content; } return []; @@ -316,7 +316,7 @@ const handleTabClick = (tab) => { const { currentTab } = useHome(); const route = useRoute(); onBeforeMount(() => { - state.pageTitle = route.query.title; + state.titleNo = route.query.titleNo; }); onMounted(() => { window.scrollTo(0, 0);