style: 样式修复

This commit is contained in:
2026-03-30 15:14:45 +08:00
parent 5a910eef15
commit aac25b05fe
13 changed files with 84 additions and 31 deletions

View File

@@ -12,6 +12,8 @@ import RouteCache from '@/components/RouteCache.vue'
} }
html, html,
body { body {
overscroll-behavior: none;
overflow-x: hidden;
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: 0; width: 0;
display: none; display: none;

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

View File

@@ -22,11 +22,11 @@ export default {
step2List: [ step2List: [
'How AiDA is used as a creative tool', 'How AiDA is used as a creative tool',
'Your design concept and creative direction', 'Your design concept and creative direction',
'The intergration of AI and human creativity' 'The integration of AI and human creativity'
], ],
step3Title: 'Step 3. Prepare Your Submission', step3Title: 'Step 3. Prepare Your Submission',
processVideo: 'Process Video', processVideo: 'Process Video',
processVideoDesc: 'Include a screenrecorded video\nyour creative process\nusing AiDA.', processVideoDesc: 'Include a screenrecorded video of\nyour creative process\nusing AiDA.',
videoRequirements: 'Video requirements:', videoRequirements: 'Video requirements:',
videoFormat: 'Format: MP4', videoFormat: 'Format: MP4',
videoResolution: 'Resolution: 1080×1920 px', videoResolution: 'Resolution: 1080×1920 px',
@@ -82,9 +82,9 @@ export default {
judgesHat: { judgesHat: {
jae: 'Code-Create Branch Director\nBesfxxk creative director\n(Korea)', jae: 'Code-Create Branch Director\nBesfxxk creative director\n(Korea)',
diego: 'Co-founder & Chief Father\nOfficer of OnTheList\n(Hong Kong)', diego: 'Co-founder & Chief Father\nOfficer of OnTheList\n(Hong Kong)',
gregory: 'Senior Designer at\nGabriela Hearst (Italy)', gregory: 'Senior Designer at\nGabriela Heasrst (Italy)',
vincenzo: 'Cheif Editor of SCMP Style\n(Hong Kong)', vincenzo: 'Chief Editor of SCMP Style\n(Hong Kong)',
tim: 'Group Fashion Direction 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)'
}, },
awardPrizes: 'Award & Prizes', awardPrizes: 'Award & Prizes',
@@ -125,16 +125,16 @@ export default {
timelineDeadlineLabel: 'Deadline', timelineDeadlineLabel: 'Deadline',
timeJul15: 'Jul 15', timeJul15: 'Jul 15',
applicationDeadlineDesc: 'Application deadline and\nentry review process\nbegins.', applicationDeadlineDesc: 'Application deadline and\nentry review process\nbegins.',
twentyFinalistsAnnounced: '20 Finallists', twentyFinalistsAnnounced: '20 Finalists',
announcedLabel: 'Announced', announcedLabel: 'Announced',
timeAug30: 'Aug 30', timeAug30: 'Aug 30',
twentyFinalistsDesc: 'Announcement of 20\nfinalists entering final\nevaluation stage.', twentyFinalistsDesc: 'Announcement of 20\nfinalists entering final\nevaluation stage.',
finalistSubmission: 'Finallist\nSubmission', finalistSubmission: 'Finalist\nSubmission',
submissionLabel: 'Deadline', submissionLabel: 'Deadline',
timeSept30: 'Sept 30', timeSept30: 'Sept 30',
finalistSubmissionDesc: 'Finalists submit\ncompleted outfits for\nfinal assessment.', finalistSubmissionDesc: 'Finalists submit\ncompleted outfits for\nfinal assessment.',
receivingOutfits: 'Receiving Outfits', receivingOutfits: 'Receiving Outfits',
fromFinalistsLabel: 'from Finallists', fromFinalistsLabel: 'from Finalists',
timeOctober: 'October', timeOctober: 'October',
receivingOutfitsDesc: 'Finalists send one physical outfit to Code-Create (address to advise)', receivingOutfitsDesc: 'Finalists send one physical outfit to Code-Create (address to advise)',
awardCeremony: 'Award', awardCeremony: 'Award',

View File

@@ -250,6 +250,6 @@ export default {
uploadFailed: '上传失败', uploadFailed: '上传失败',
nextStep: '下一步', nextStep: '下一步',
stepTips: '请一次性完成这个表单。', stepTips: '请一次性完成这个表单。',
backToIntroduction: '返回赛事介绍' backToIntroduction: '赛事介绍'
} }
} }

View File

@@ -1,5 +1,11 @@
<template> <template>
<div class="bloom flex flex-col align-center" :class="{ mobile: isMobile, pad: isPad }"> <div class="bloom flex flex-col align-center" :class="{ mobile: isMobile, pad: isPad }">
<img
v-if="isMobile"
src="@/assets/images/mobile_version_background/ellipse.png"
class="top-bg"
alt=""
/>
<div class="title" ref="titleRef"> <div class="title" ref="titleRef">
{{ $t('AwardsPage.bloomYourCreativity') }} {{ $t('AwardsPage.bloomYourCreativity') }}
</div> </div>
@@ -9,23 +15,23 @@
</div> </div>
<div class="desc" ref="textRef"> <div class="desc" ref="textRef">
<p class="section-1"> <p class="section-1">
{{ $t('AwardsPage.bloomText.desc1.regular1') }} <span>{{ $t('AwardsPage.bloomText.desc1.regular1') }}</span>
<span class="arial-bold"> <span class="arial-bold">
{{ $t('AwardsPage.bloomText.desc1.bold1') }} {{ $t('AwardsPage.bloomText.desc1.bold1') }}
</span> </span>
{{ $t('AwardsPage.bloomText.desc1.regular2') }} <span>{{ $t('AwardsPage.bloomText.desc1.regular2') }}</span>
<span class="arial-bold"> <span class="arial-bold">
{{ $t('AwardsPage.bloomText.desc1.bold2') }} {{ $t('AwardsPage.bloomText.desc1.bold2') }}
</span> </span>
{{ $t('AwardsPage.bloomText.desc1.regular3') }} <span>{{ $t('AwardsPage.bloomText.desc1.regular3') }}</span>
<span class="arial-bold"> <span class="arial-bold">
{{ $t('AwardsPage.bloomText.desc1.bold3') }} {{ $t('AwardsPage.bloomText.desc1.bold3') }}
</span> </span>
{{ $t('AwardsPage.bloomText.desc1.regular4') }} <span>{{ $t('AwardsPage.bloomText.desc1.regular4') }}</span>
<span class="arial-bold"> <span class="arial-bold">
{{ $t('AwardsPage.bloomText.desc1.bold4') }} {{ $t('AwardsPage.bloomText.desc1.bold4') }}
</span> </span>
{{ $t('AwardsPage.bloomText.desc1.regular5') }} <span>{{ $t('AwardsPage.bloomText.desc1.regular5') }}</span>
</p> </p>
<!-- <p class="section-1 pad" v-show="isPad" v-html="padSection1"></p> --> <!-- <p class="section-1 pad" v-show="isPad" v-html="padSection1"></p> -->
<p class="section-2"> <p class="section-2">
@@ -36,6 +42,12 @@
{{ $t('AwardsPage.bloomText.desc2.regular2') }} {{ $t('AwardsPage.bloomText.desc2.regular2') }}
</p> </p>
</div> </div>
<img
v-if="isMobile"
src="@/assets/images/mobile_version_background/people.png"
class="people"
alt=""
/>
</div> </div>
</template> </template>
@@ -190,15 +202,31 @@ p {
line-height: 4.5rem; line-height: 4.5rem;
margin-bottom: 12.3rem; margin-bottom: 12.3rem;
white-space: pre-line; white-space: pre-line;
.section-1 {
font-size: 0;
span {
font-size: 2.4rem;
}
}
.section-2 { .section-2 {
margin-top: 4rem; margin-top: 4rem;
} }
} }
&.mobile { &.mobile {
background: url('@/assets/images/mobile_version_background/bloom_bg.png') no-repeat; background: #fff;
background-size: 100% 100%; background-size: 100% 100%;
height: 110vw; height: auto;
padding-top: 6rem; padding-top: 6rem;
position: relative;
.top-bg {
position: absolute;
top: 0;
left: 0;
// left: 50%;
// transform: translateX(-50%);
width: 100%;
height: 37.5rem;
}
.title { .title {
font-size: 3.2rem; font-size: 3.2rem;
margin-bottom: 0.8rem; margin-bottom: 0.8rem;
@@ -212,6 +240,11 @@ p {
font-size: 2rem; font-size: 2rem;
line-height: 3rem; line-height: 3rem;
white-space: normal; white-space: normal;
margin-bottom: 7rem;
}
.people {
margin: 0 6.6rem;
width: calc(100% - 13.2rem);
} }
} }
&.pad { &.pad {
@@ -222,9 +255,9 @@ p {
font-family: 'ArialBold'; font-family: 'ArialBold';
font-weight: 700; font-weight: 700;
} }
.desc { // .desc {
// font-size: 2.4rem; // // font-size: 2.4rem;
} // }
} }
} }
</style> </style>

View File

@@ -134,7 +134,7 @@ onBeforeUnmount(() => {
} }
.sub-title { .sub-title {
color: #f95750; color: #f95750;
font-family: 'PopinsMedium'; font-family: 'PoppinsMedium';
font-weight: 400; font-weight: 400;
font-size: 3rem; font-size: 3rem;
margin-bottom: 11.8rem; margin-bottom: 11.8rem;

View File

@@ -21,8 +21,8 @@
<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) {{ $t(item.label) }}
}}<template v-if="item.subLabel"> <template v-if="item.subLabel">
{{ $t(item.subLabel) }} {{ $t(item.subLabel) }}
</template> </template>
</div> </div>

View File

@@ -34,12 +34,12 @@
<img src="@/assets/images/award/arrow.png" alt="" class="arrow" /> <img src="@/assets/images/award/arrow.png" alt="" class="arrow" />
</div> </div>
</div> </div>
<div v-else class="header-right mobile"> <div v-else class="header-right mobile" @click="handleChangeDrawer">
<img <img
style="width: 5rem; height: 5rem"
v-show="!showDrawer" v-show="!showDrawer"
src="@/assets/images/award/menu.png" src="@/assets/images/award/menu.png"
class="menu-icon" class="menu-icon"
@click="handleChangeDrawer"
/> />
<img <img
v-show="showDrawer" v-show="showDrawer"
@@ -52,7 +52,11 @@
<div class="header-placeholder"></div> <div class="header-placeholder"></div>
</div> </div>
<router-view /> <router-view />
<div class="footer flex space-between align-center" :class="{ mobile: isMobile || isTablet }"> <div
class="footer flex space-between align-center"
:class="{ mobile: isMobile || isTablet }"
:style="mobileStyle"
>
<div class="social-list flex"> <div class="social-list flex">
<a href="https://xhslink.com/m/5Ony2FapizV" target="_blank"> <a href="https://xhslink.com/m/5Ony2FapizV" target="_blank">
<img src="@/assets/images/award/xiaohongshu.svg" alt="" /> <img src="@/assets/images/award/xiaohongshu.svg" alt="" />
@@ -145,7 +149,7 @@
> >
<div class="drawer-wrapper" @animationend="handleDrawerAnimationEnd"> <div class="drawer-wrapper" @animationend="handleDrawerAnimationEnd">
<div class="drawer-item flex align-center space-between" @click="handleBtnClick"> <div class="drawer-item flex align-center space-between" @click="handleBtnClick">
<span class="text">{{ t('AwardsPage.submitApplication') }}</span> <span class="text">{{ btnText }}</span>
<img src="@/assets/images/award/drawer-arrow.png" class="drawer-icon arrow" /> <img src="@/assets/images/award/drawer-arrow.png" class="drawer-icon arrow" />
</div> </div>
<div class="gap" /> <div class="gap" />
@@ -191,6 +195,16 @@ const route = useRoute()
const router = useRouter() const router = useRouter()
const { locale, t } = useI18n() const { locale, t } = useI18n()
const mobileStyle = computed(() => {
if (isMobile) {
return {
padding: '0 6.6rem'
}
} else {
return {}
}
})
onMounted(() => { onMounted(() => {
// 初始化语言设置 // 初始化语言设置
const loginLanguage = localStorage.getItem('loginLanguage') const loginLanguage = localStorage.getItem('loginLanguage')
@@ -361,6 +375,7 @@ const handleBtnClick = () => {
<style lang="less" scoped> <style lang="less" scoped>
.award-container { .award-container {
height: 100%; height: 100%;
overflow-x: hidden;
} }
.header-wrapper { .header-wrapper {
.header-placeholder { .header-placeholder {

View File

@@ -1839,6 +1839,9 @@ onUnmounted(() => {
</style> </style>
<style lang="less"> <style lang="less">
.code-modal { .code-modal {
.ant-modal{
width: fit-content !important;
}
.ant-modal-content { .ant-modal-content {
padding: 0; padding: 0;
&, &,

View File

@@ -41,11 +41,11 @@ import TimeLine from './components/TimeLine.vue'
import Bloom from './components/Bloom.vue' import Bloom from './components/Bloom.vue'
import Slogan from './components/Slogan.vue' import Slogan from './components/Slogan.vue'
import banner from '@/assets/images/award/banner.mp4' import banner from '@/assets/images/award/banner.mp4'
import bannerMobile from '@/assets/images/award/banner_mobile.mp4'
import bannerZh from '@/assets/images/award/banner_chinese.mp4' import bannerZh from '@/assets/images/award/banner_chinese.mp4'
import bannerZhMobile from '@/assets/images/award/banner_mobile_chinese.mp4'
import bannerPad from '@/assets/images/pad_version/banner_pad.mp4' import bannerPad from '@/assets/images/pad_version/banner_pad.mp4'
import bannerPadZh from '@/assets/images/pad_version/banner_pad_chinese.mp4' import bannerPadZh from '@/assets/images/pad_version/banner_pad_chinese.mp4'
import bannerMobile from '@/assets/images/mobile_version_background/banner_mobile.mp4'
import bannerZhMobile from '@/assets/images/mobile_version_background/banner_mobile_zh.mp4'
import { useIsMobile, useIsTablet } from '@/utils/isMobile' import { useIsMobile, useIsTablet } from '@/utils/isMobile'
const { isMobile } = useIsMobile() const { isMobile } = useIsMobile()
const { isTablet } = useIsTablet() const { isTablet } = useIsTablet()
@@ -99,6 +99,7 @@ const handleSubmitApplication = () => {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
display: block;
} }
.submit-btn { .submit-btn {
width: 41rem; width: 41rem;
@@ -155,7 +156,6 @@ const handleSubmitApplication = () => {
.banner.mobile { .banner.mobile {
height: 123.4rem; height: 123.4rem;
.submit-btn { .submit-btn {
top: 52%; top: 52%;
left: 8%; left: 8%;