feat: 上传文件接口&表单成功提交页面

This commit is contained in:
2026-01-21 15:29:34 +08:00
parent 9bdd0a23d3
commit f8f5b98854
6 changed files with 444 additions and 191 deletions

View File

@@ -8,7 +8,7 @@
/>
</div>
<div class="header-right flex align-center">
<div class="text">Submit your Application</div>
<div class="text">{{ btnText }}</div>
<img
src="@/assets/images/award/arrow.png"
alt=""
@@ -89,12 +89,23 @@
</template>
<script setup lang="ts">
import { ref } from 'vue'
import { ref, computed } from 'vue'
const showQRcode = ref(false)
const handleCloseQRcode = () => {
showQRcode.value = false
}
type BtnType = 'index' | 'form'
const btnType = ref<BtnType>('index')
const btnText = computed(() => {
if (btnType.value === 'index') {
return 'Submit your Application'
}
if (btnType.value === 'form') {
return 'Back to Introduction'
}
})
</script>
<style lang="less" scoped>
@@ -123,6 +134,7 @@
}
.header-right {
column-gap: 1rem;
cursor: pointer;
.text {
font-size: 1.6rem;
color: #fff;