This commit is contained in:
feie9454 2025-08-18 19:37:52 +08:00
parent b37a8f8475
commit 4c9a7ae41c
6 changed files with 19 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 600 KiB

After

Width:  |  Height:  |  Size: 596 KiB

View File

@ -375,10 +375,10 @@ const zh_TW : typeof zh_CN = {
},
questionData: {
DimensionName: {
"Learning_Agility": "學習敏捷",
"Learning_Agility": "學習敏捷",
"Resilience": "韌性",
"Empathy": "同理心",
"Ambition": "企圖心",
"Ambition": "志向和抱負",
"Judgement": "判斷力"
},
description: {
@ -476,7 +476,7 @@ const zh_TW : typeof zh_CN = {
},
// 參照 zh 物件補全並翻譯
onlyForYou: "*僅供參考",
slideDown: "下滑查看萊雅 5 大潛能定義\n並獲取你的最終報告",
slideDown: "下滑查看 L'ORÉAL 5 大潛能定義\n並獲取你的最終報告",
slideUp: new URL("@/assets/imgs/result/slide-up-notice_zhtw.png", import.meta.url).href,
ratingExplanation: new URL("@/assets/imgs/result/rating-explanation_zhtw.png", import.meta.url).href,
actions: {

View File

@ -83,6 +83,9 @@ function jumpEn() {
<span v-else-if="$i18n.locale.includes('TW')" class="zh-title"
v-for="c in lang.zh_TW.questionData.DimensionName[topDimension].split('')">
{{ c }}</span>
<span v-else-if="$i18n.locale.includes('ja')" class="zh-title"
v-for="c in lang.ja.questionData.DimensionName[topDimension].split('')">
{{ c }}</span>
<span v-else class="en-title">
{{ lang.en.questionData.DimensionName[topDimension] }}
</span>

View File

@ -65,7 +65,8 @@ function jumpEn() {
left: 10, right: 10, top: 10, bottom: 10, blur: 32
}" :filter="'saturate(1.5)'"/> -->
<img :src="imgs.report[topDimension]" alt="" draggable="false" class="growing-bg" />
<img :src="imgs.report[topDimension]" alt="" draggable="false"
class="growing-bg" />
<img :src="t('report.top')" alt="" class="top-title" />
<div class="title" :lang="$i18n.locale">
<span class="pre">{{ username }}{{ t('report.title') }}</span>
@ -74,29 +75,34 @@ function jumpEn() {
</div>
<div class="left-title">
<img :src="imgs.icons[topDimension]" alt="">
<span v-if="$i18n.locale.includes('zh')" class="zh-title"
<span v-if="$i18n.locale.includes('CN')" class="zh-title"
v-for="c in lang.zh_CN.questionData.DimensionName[topDimension].split('')">
{{ c }}</span>
<span v-else-if="$i18n.locale.includes('TW')" class="zh-title"
v-for="c in lang.zh_TW.questionData.DimensionName[topDimension].split('')">
{{ c }}</span>
<span v-else-if="$i18n.locale.includes('ja')" class="zh-title"
v-for="c in lang.ja.questionData.DimensionName[topDimension].split('')">
{{ c }}</span>
<span v-else class="en-title">
{{ lang.en.questionData.DimensionName[topDimension] }}
</span>
</div>
<div class="right-top">
<Graph class="graph" :dimensions="graph" :label-radius="110" :score-radio="1"
:style="{ fontSize: '0.8rem' }" :icons-filter="'grayscale(100%) brightness(2)'"
<Graph class="graph" :dimensions="graph" :label-radius="110"
:score-radio="1" :style="{ fontSize: '0.8rem' }"
:icons-filter="'grayscale(100%) brightness(2)'"
:enableAnimation="false" />
<div class="description">
<p :lang="$i18n.locale" v-for="para in t(`report.dimDescription.${topDimension}`).split('\n\n')">
<p :lang="$i18n.locale"
v-for="para in t(`report.dimDescription.${topDimension}`).split('\n\n')">
{{ para }}
</p>
</div>
</div>
<div class="bottom">
<Tags :top-five-traits="topFiveTraits" :username="username" :border-color="DimensionColors[topDimension]"
<Tags :top-five-traits="topFiveTraits" :username="username"
:border-color="DimensionColors[topDimension]"
:rarity="rarity" />
<!-- <div class="imgs">
<img class="left" :src="t('report.bottomLeft')" alt=""