style: 表单页面移动端

This commit is contained in:
2026-03-24 11:12:49 +08:00
parent 982b7308e8
commit 341cbf7eb1
8 changed files with 676 additions and 230 deletions

View File

@@ -132,7 +132,12 @@ type BtnType = 'index' | 'form'
const btnType = ref<BtnType>('index')
const btnText = computed(() => {
if (isMobile.value) {
return t('AwardsPage.submitMobile')
if (btnType.value === 'index') {
return t('AwardsPage.submitMobile')
}
if (btnType.value === 'form') {
return locale.value === 'CHINESE_SIMPLIFIED' ? '赛事介绍' : 'Back'
}
} else {
if (btnType.value === 'index') {
return t('AwardsPage.submitApplication')
@@ -262,6 +267,9 @@ const handleBtnClick = () => {
</script>
<style lang="less" scoped>
.award-container {
height: 100%;
}
.header-wrapper {
.header-placeholder {
height: 8rem;