style: 样式修复
This commit is contained in:
@@ -12,6 +12,8 @@ import RouteCache from '@/components/RouteCache.vue'
|
||||
}
|
||||
html,
|
||||
body {
|
||||
overscroll-behavior: none;
|
||||
overflow-x: hidden;
|
||||
&::-webkit-scrollbar {
|
||||
width: 0;
|
||||
display: none;
|
||||
|
||||
BIN
src/assets/images/mobile_version_background/ellipse.png
Normal file
BIN
src/assets/images/mobile_version_background/ellipse.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 95 KiB |
BIN
src/assets/images/mobile_version_background/people.png
Normal file
BIN
src/assets/images/mobile_version_background/people.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 444 KiB |
@@ -22,11 +22,11 @@ export default {
|
||||
step2List: [
|
||||
'How AiDA is used as a creative tool',
|
||||
'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',
|
||||
processVideo: 'Process Video',
|
||||
processVideoDesc: 'Include a screen‑recorded video\nyour creative process\nusing AiDA.',
|
||||
processVideoDesc: 'Include a screen‑recorded video of\nyour creative process\nusing AiDA.',
|
||||
videoRequirements: 'Video requirements:',
|
||||
videoFormat: 'Format: MP4',
|
||||
videoResolution: 'Resolution: 1080×1920 px',
|
||||
@@ -82,9 +82,9 @@ export default {
|
||||
judgesHat: {
|
||||
jae: 'Code-Create Branch Director\nBesfxxk creative director\n(Korea)',
|
||||
diego: 'Co-founder & Chief Father\nOfficer of OnTheList\n(Hong Kong)',
|
||||
gregory: 'Senior Designer at\nGabriela Hearst (Italy)',
|
||||
vincenzo: 'Cheif Editor of SCMP Style\n(Hong Kong)',
|
||||
tim: 'Group Fashion Direction of\n Modern Media Group\n(Shanghai)',
|
||||
gregory: 'Senior Designer at\nGabriela Heasrst (Italy)',
|
||||
vincenzo: 'Chief Editor of SCMP Style\n(Hong Kong)',
|
||||
tim: 'Group Fashion Director of\n Modern Media Group\n(Shanghai)',
|
||||
desmond: 'Chief Editor of Vogue\n(Singapore)'
|
||||
},
|
||||
awardPrizes: 'Award & Prizes',
|
||||
@@ -125,16 +125,16 @@ export default {
|
||||
timelineDeadlineLabel: 'Deadline',
|
||||
timeJul15: 'Jul 15',
|
||||
applicationDeadlineDesc: 'Application deadline and\nentry review process\nbegins.',
|
||||
twentyFinalistsAnnounced: '20 Finallists',
|
||||
twentyFinalistsAnnounced: '20 Finalists',
|
||||
announcedLabel: 'Announced',
|
||||
timeAug30: 'Aug 30',
|
||||
twentyFinalistsDesc: 'Announcement of 20\nfinalists entering final\nevaluation stage.',
|
||||
finalistSubmission: 'Finallist\nSubmission',
|
||||
finalistSubmission: 'Finalist\nSubmission',
|
||||
submissionLabel: 'Deadline',
|
||||
timeSept30: 'Sept 30',
|
||||
finalistSubmissionDesc: 'Finalists submit\ncompleted outfits for\nfinal assessment.',
|
||||
receivingOutfits: 'Receiving Outfits',
|
||||
fromFinalistsLabel: 'from Finallists',
|
||||
fromFinalistsLabel: 'from Finalists',
|
||||
timeOctober: 'October',
|
||||
receivingOutfitsDesc: 'Finalists send one physical outfit to Code-Create (address to advise)',
|
||||
awardCeremony: 'Award',
|
||||
|
||||
@@ -250,6 +250,6 @@ export default {
|
||||
uploadFailed: '上传失败',
|
||||
nextStep: '下一步',
|
||||
stepTips: '请一次性完成这个表单。',
|
||||
backToIntroduction: '返回赛事介绍'
|
||||
backToIntroduction: '赛事介绍'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
<template>
|
||||
<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">
|
||||
{{ $t('AwardsPage.bloomYourCreativity') }}
|
||||
</div>
|
||||
@@ -9,23 +15,23 @@
|
||||
</div>
|
||||
<div class="desc" ref="textRef">
|
||||
<p class="section-1">
|
||||
{{ $t('AwardsPage.bloomText.desc1.regular1') }}
|
||||
<span>{{ $t('AwardsPage.bloomText.desc1.regular1') }}</span>
|
||||
<span class="arial-bold">
|
||||
{{ $t('AwardsPage.bloomText.desc1.bold1') }}
|
||||
</span>
|
||||
{{ $t('AwardsPage.bloomText.desc1.regular2') }}
|
||||
<span>{{ $t('AwardsPage.bloomText.desc1.regular2') }}</span>
|
||||
<span class="arial-bold">
|
||||
{{ $t('AwardsPage.bloomText.desc1.bold2') }}
|
||||
</span>
|
||||
{{ $t('AwardsPage.bloomText.desc1.regular3') }}
|
||||
<span>{{ $t('AwardsPage.bloomText.desc1.regular3') }}</span>
|
||||
<span class="arial-bold">
|
||||
{{ $t('AwardsPage.bloomText.desc1.bold3') }}
|
||||
</span>
|
||||
{{ $t('AwardsPage.bloomText.desc1.regular4') }}
|
||||
<span>{{ $t('AwardsPage.bloomText.desc1.regular4') }}</span>
|
||||
<span class="arial-bold">
|
||||
{{ $t('AwardsPage.bloomText.desc1.bold4') }}
|
||||
</span>
|
||||
{{ $t('AwardsPage.bloomText.desc1.regular5') }}
|
||||
<span>{{ $t('AwardsPage.bloomText.desc1.regular5') }}</span>
|
||||
</p>
|
||||
<!-- <p class="section-1 pad" v-show="isPad" v-html="padSection1"></p> -->
|
||||
<p class="section-2">
|
||||
@@ -36,6 +42,12 @@
|
||||
{{ $t('AwardsPage.bloomText.desc2.regular2') }}
|
||||
</p>
|
||||
</div>
|
||||
<img
|
||||
v-if="isMobile"
|
||||
src="@/assets/images/mobile_version_background/people.png"
|
||||
class="people"
|
||||
alt=""
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -190,15 +202,31 @@ p {
|
||||
line-height: 4.5rem;
|
||||
margin-bottom: 12.3rem;
|
||||
white-space: pre-line;
|
||||
.section-1 {
|
||||
font-size: 0;
|
||||
span {
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
}
|
||||
.section-2 {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
}
|
||||
&.mobile {
|
||||
background: url('@/assets/images/mobile_version_background/bloom_bg.png') no-repeat;
|
||||
background: #fff;
|
||||
background-size: 100% 100%;
|
||||
height: 110vw;
|
||||
height: auto;
|
||||
padding-top: 6rem;
|
||||
position: relative;
|
||||
.top-bg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
// left: 50%;
|
||||
// transform: translateX(-50%);
|
||||
width: 100%;
|
||||
height: 37.5rem;
|
||||
}
|
||||
.title {
|
||||
font-size: 3.2rem;
|
||||
margin-bottom: 0.8rem;
|
||||
@@ -212,6 +240,11 @@ p {
|
||||
font-size: 2rem;
|
||||
line-height: 3rem;
|
||||
white-space: normal;
|
||||
margin-bottom: 7rem;
|
||||
}
|
||||
.people {
|
||||
margin: 0 6.6rem;
|
||||
width: calc(100% - 13.2rem);
|
||||
}
|
||||
}
|
||||
&.pad {
|
||||
@@ -222,9 +255,9 @@ p {
|
||||
font-family: 'ArialBold';
|
||||
font-weight: 700;
|
||||
}
|
||||
.desc {
|
||||
// font-size: 2.4rem;
|
||||
}
|
||||
// .desc {
|
||||
// // font-size: 2.4rem;
|
||||
// }
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -134,7 +134,7 @@ onBeforeUnmount(() => {
|
||||
}
|
||||
.sub-title {
|
||||
color: #f95750;
|
||||
font-family: 'PopinsMedium';
|
||||
font-family: 'PoppinsMedium';
|
||||
font-weight: 400;
|
||||
font-size: 3rem;
|
||||
margin-bottom: 11.8rem;
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
<div class="vertical-content">
|
||||
<div class="vertical-time">{{ $t(item.time) }}</div>
|
||||
<div class="vertical-label">
|
||||
{{ $t(item.label)
|
||||
}}<template v-if="item.subLabel">
|
||||
{{ $t(item.label) }}
|
||||
<template v-if="item.subLabel">
|
||||
{{ $t(item.subLabel) }}
|
||||
</template>
|
||||
</div>
|
||||
|
||||
@@ -34,12 +34,12 @@
|
||||
<img src="@/assets/images/award/arrow.png" alt="" class="arrow" />
|
||||
</div>
|
||||
</div>
|
||||
<div v-else class="header-right mobile">
|
||||
<div v-else class="header-right mobile" @click="handleChangeDrawer">
|
||||
<img
|
||||
style="width: 5rem; height: 5rem"
|
||||
v-show="!showDrawer"
|
||||
src="@/assets/images/award/menu.png"
|
||||
class="menu-icon"
|
||||
@click="handleChangeDrawer"
|
||||
/>
|
||||
<img
|
||||
v-show="showDrawer"
|
||||
@@ -52,7 +52,11 @@
|
||||
<div class="header-placeholder"></div>
|
||||
</div>
|
||||
<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">
|
||||
<a href="https://xhslink.com/m/5Ony2FapizV" target="_blank">
|
||||
<img src="@/assets/images/award/xiaohongshu.svg" alt="" />
|
||||
@@ -145,7 +149,7 @@
|
||||
>
|
||||
<div class="drawer-wrapper" @animationend="handleDrawerAnimationEnd">
|
||||
<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" />
|
||||
</div>
|
||||
<div class="gap" />
|
||||
@@ -191,6 +195,16 @@ const route = useRoute()
|
||||
const router = useRouter()
|
||||
const { locale, t } = useI18n()
|
||||
|
||||
const mobileStyle = computed(() => {
|
||||
if (isMobile) {
|
||||
return {
|
||||
padding: '0 6.6rem'
|
||||
}
|
||||
} else {
|
||||
return {}
|
||||
}
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
// 初始化语言设置
|
||||
const loginLanguage = localStorage.getItem('loginLanguage')
|
||||
@@ -361,6 +375,7 @@ const handleBtnClick = () => {
|
||||
<style lang="less" scoped>
|
||||
.award-container {
|
||||
height: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.header-wrapper {
|
||||
.header-placeholder {
|
||||
|
||||
@@ -1839,6 +1839,9 @@ onUnmounted(() => {
|
||||
</style>
|
||||
<style lang="less">
|
||||
.code-modal {
|
||||
.ant-modal{
|
||||
width: fit-content !important;
|
||||
}
|
||||
.ant-modal-content {
|
||||
padding: 0;
|
||||
&,
|
||||
|
||||
@@ -41,11 +41,11 @@ import TimeLine from './components/TimeLine.vue'
|
||||
import Bloom from './components/Bloom.vue'
|
||||
import Slogan from './components/Slogan.vue'
|
||||
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 bannerZhMobile from '@/assets/images/award/banner_mobile_chinese.mp4'
|
||||
import bannerPad from '@/assets/images/pad_version/banner_pad.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'
|
||||
const { isMobile } = useIsMobile()
|
||||
const { isTablet } = useIsTablet()
|
||||
@@ -99,6 +99,7 @@ const handleSubmitApplication = () => {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
.submit-btn {
|
||||
width: 41rem;
|
||||
@@ -155,7 +156,6 @@ const handleSubmitApplication = () => {
|
||||
|
||||
.banner.mobile {
|
||||
height: 123.4rem;
|
||||
|
||||
.submit-btn {
|
||||
top: 52%;
|
||||
left: 8%;
|
||||
|
||||
Reference in New Issue
Block a user