2026-01-21 15:29:34 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="success-container flex flex-col align-center">
|
|
|
|
|
<img
|
2026-01-26 13:26:46 +08:00
|
|
|
:src="info.icon"
|
2026-01-21 15:29:34 +08:00
|
|
|
alt=""
|
|
|
|
|
class="icon-img"
|
|
|
|
|
/>
|
2026-01-26 13:26:46 +08:00
|
|
|
<div class="title">{{ info.title }}</div>
|
2026-01-21 15:29:34 +08:00
|
|
|
<div class="desc">
|
2026-01-26 13:26:46 +08:00
|
|
|
{{ info.desc }}
|
|
|
|
|
<!-- <div>
|
2026-01-21 15:29:34 +08:00
|
|
|
Please review your submitted information in the AiDA in-platform message.
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
You may edit it if needed. Competition updates and results will be sent
|
|
|
|
|
via email.
|
2026-01-26 13:26:46 +08:00
|
|
|
</div> -->
|
2026-01-21 15:29:34 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
2026-01-26 13:26:46 +08:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { computed } from 'vue'
|
2026-02-04 10:57:25 +08:00
|
|
|
import { useI18n } from 'vue-i18n'
|
2026-01-26 13:26:46 +08:00
|
|
|
import successIcon from '@/assets/images/award/successful.png'
|
|
|
|
|
import expiredIcon from '@/assets/images/award/expired.png'
|
2026-02-04 10:57:25 +08:00
|
|
|
|
|
|
|
|
const { t } = useI18n()
|
2026-01-26 13:26:46 +08:00
|
|
|
const props = defineProps({
|
|
|
|
|
isExpired: {
|
|
|
|
|
type: Boolean,
|
|
|
|
|
default: false
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const info = computed(() => {
|
|
|
|
|
if (props.isExpired) {
|
|
|
|
|
return {
|
|
|
|
|
icon: expiredIcon,
|
2026-02-04 10:57:25 +08:00
|
|
|
title: t('AwardsPage.deadlinePassed'),
|
|
|
|
|
desc: t('AwardsPage.deadlinePassedDesc')
|
2026-01-26 13:26:46 +08:00
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
return {
|
|
|
|
|
icon: successIcon,
|
2026-02-04 10:57:25 +08:00
|
|
|
title: t('AwardsPage.submissionSuccessful'),
|
|
|
|
|
desc: t('AwardsPage.submissionSuccessfulDesc')
|
2026-01-26 13:26:46 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
</script>
|
2026-01-21 15:29:34 +08:00
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.success-container {
|
|
|
|
|
margin: 0 21.5rem;
|
|
|
|
|
padding: 10.6rem 27.3rem 0;
|
|
|
|
|
height: 50rem;
|
|
|
|
|
position: relative;
|
|
|
|
|
top: -16.8rem;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border-radius: 0.8rem;
|
|
|
|
|
.icon-img {
|
|
|
|
|
width: 12rem;
|
|
|
|
|
height: 12rem;
|
|
|
|
|
}
|
|
|
|
|
.title {
|
|
|
|
|
font-family: 'PoppinsBold';
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 3rem;
|
|
|
|
|
color: #232323;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin: 2rem 0 4rem;
|
|
|
|
|
}
|
|
|
|
|
.desc {
|
|
|
|
|
color: #585858;
|
|
|
|
|
font-family: Arial;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 2.4rem;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|