style: 表单页面移动端
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user