bugfix: 中英文视频错误

This commit is contained in:
2026-04-01 11:32:05 +08:00
parent 2d335399f5
commit 9e20d709b0
6 changed files with 33 additions and 16 deletions

View File

@@ -63,7 +63,7 @@ export default {
regular3: 'hosted by ', regular3: 'hosted by ',
bold3: 'Code-Create', bold3: 'Code-Create',
regular4: ', a globally leading\n', regular4: ', a globally leading\n',
bold4: 'AI fashion solutions provider , ', bold4: 'AI fashion solutions provider, ',
regular5: regular5:
'celebrating the future of creativity powered by artificial intelligence.\nBringing together designers from around the world, AiDA empowers AI as a creative partner—pushing fashion beyond traditional boundaries and unlocking new possibilities where technology amplifies human imagination.' 'celebrating the future of creativity powered by artificial intelligence.\nBringing together designers from around the world, AiDA empowers AI as a creative partner—pushing fashion beyond traditional boundaries and unlocking new possibilities where technology amplifies human imagination.'
}, },
@@ -87,6 +87,7 @@ export default {
tim: 'Group Fashion Director of\n Modern Media Group\n(Shanghai)', tim: 'Group Fashion Director of\n Modern Media Group\n(Shanghai)',
desmond: 'Chief Editor of Vogue\n(Singapore)' desmond: 'Chief Editor of Vogue\n(Singapore)'
}, },
tbd: 'To be determined',
awardPrizes: 'Award & Prizes', awardPrizes: 'Award & Prizes',
recognition: 'Recognition', recognition: 'Recognition',
grandMoney: 'US$5,000', grandMoney: 'US$5,000',

View File

@@ -81,6 +81,7 @@ export default {
tim: '现代传播集团\n上海时尚总监', tim: '现代传播集团\n上海时尚总监',
desmond: '《Vogue》\n新加坡主编' desmond: '《Vogue》\n新加坡主编'
}, },
tbd: '待定',
awardPrizes: '奖项与奖金', awardPrizes: '奖项与奖金',
recognition: '荣誉认可', recognition: '荣誉认可',
grandMoney: '5,000美元', grandMoney: '5,000美元',

View File

@@ -9,9 +9,15 @@
v-for="item in judgements" v-for="item in judgements"
:key="item.name" :key="item.name"
> >
<img :src="item.picture" class="picture" /> <template v-if="!item.tbd">
<div class="name">{{ $t(item.name) }}</div> <img :src="item.picture" class="picture" />
<div class="desc">{{ $t(item.desc) }}</div> <div class="name">{{ $t(item.name) }}</div>
<div class="desc">{{ $t(item.desc) }}</div>
</template>
<template v-else>
<div class="picture tbd"></div>
<div class="name">{{ $t('AwardsPage.tbd') }}</div>
</template>
</div> </div>
</div> </div>
</div> </div>
@@ -40,7 +46,8 @@ const judgements = [
{ {
picture: diego, picture: diego,
name: 'Diego Dultzin Lacoste', name: 'Diego Dultzin Lacoste',
desc: 'AwardsPage.judgesHat.diego' desc: 'AwardsPage.judgesHat.diego',
tbd: true
}, },
{ {
picture: gregory, picture: gregory,
@@ -50,12 +57,14 @@ const judgements = [
{ {
picture: vincenzo, picture: vincenzo,
name: 'Vincenzo La Torre', name: 'Vincenzo La Torre',
desc: 'AwardsPage.judgesHat.vincenzo' desc: 'AwardsPage.judgesHat.vincenzo',
tbd: true
}, },
{ {
picture: tim, picture: tim,
name: 'Tim Lim', name: 'Tim Lim',
desc: 'AwardsPage.judgesHat.tim' desc: 'AwardsPage.judgesHat.tim',
tbd: true
}, },
{ {
picture: desmond, picture: desmond,
@@ -206,6 +215,9 @@ onBeforeUnmount(() => {
width: 20.2rem; width: 20.2rem;
height: 26rem; height: 26rem;
border-radius: 0.8rem; border-radius: 0.8rem;
&.tbd {
background-color: #d7d7d7;
}
} }
.name { .name {
margin: 3rem 0 2.4rem; margin: 3rem 0 2.4rem;
@@ -228,22 +240,22 @@ onBeforeUnmount(() => {
height: 139.6rem; height: 139.6rem;
background: url('@/assets/images/mobile_version_background/judge_bg.png') no-repeat; background: url('@/assets/images/mobile_version_background/judge_bg.png') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
padding-top: 6rem; padding-top: 6rem;
.title { .title {
font-size: 3.2rem; font-size: 3.2rem;
margin-bottom: 0.8rem; margin-bottom: 0.8rem;
} }
.sub-title { .sub-title {
font-family: 'PoppinsMedium'; font-family: 'PoppinsMedium';
font-weight: 500; font-weight: 500;
font-size: 2.4rem; font-size: 2.4rem;
margin-bottom: 5.8rem; margin-bottom: 5.8rem;
} }
.judgement-list { .judgement-list {
padding: 0 8.6rem; padding: 0 8.6rem;
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
column-gap: 6.8rem; column-gap: 6.8rem;
row-gap: 6rem; row-gap: 6rem;
// row-gap: 4rem; // row-gap: 4rem;
// padding: 0 1.6rem; // padding: 0 1.6rem;
.judgement-item { .judgement-item {
@@ -253,10 +265,10 @@ onBeforeUnmount(() => {
} }
.name { .name {
font-size: 2.4rem; font-size: 2.4rem;
margin: 1.2rem 0; margin: 1.2rem 0;
} }
.desc { .desc {
font-family: 'Instrument'; font-family: 'Instrument';
font-size: 2rem; font-size: 2rem;
} }
} }

View File

@@ -21,7 +21,10 @@
<div class="vertical-content"> <div class="vertical-content">
<div class="vertical-time">{{ $t(item.time) }}</div> <div class="vertical-time">{{ $t(item.time) }}</div>
<div class="vertical-label"> <div class="vertical-label">
{{ $t(item.label) }}{{ item.subLabel ? $t(item.subLabel) : '' }} {{ $t(item.label) }}{{ locale === 'ENGLISH' ? ' ' + $t(item.subLabel) : '' }}
<!-- <template v-if="isMobile">
</template> -->
</div> </div>
<div class="vertical-desc">{{ $t(item.desc) }}</div> <div class="vertical-desc">{{ $t(item.desc) }}</div>
</div> </div>
@@ -70,7 +73,7 @@ import { nextTick, onBeforeUnmount, onMounted, ref, computed, inject } from 'vue
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import { gsap } from 'gsap' import { gsap } from 'gsap'
// const { t } = useI18n() const { locale } = useI18n()
const isMobile = inject<boolean>('isMobile') const isMobile = inject<boolean>('isMobile')
const isPad = inject<boolean>('isPad') const isPad = inject<boolean>('isPad')