You need to sign in or sign up before continuing.
commitDone.vue 2.36 KB
<template>
  <div>
    <div class="box ph-30">
      <el-card>
        <single-sign-step v-if="user.utype=='1'" activeStep="3" :language="language"/>
        <team-sign-step v-if="user.utype=='2'" activeStep="4" :language="language"/>
      </el-card>
      <el-card class="mt20">
        <div class="flexCenter pd20">
          <img src="@/assets/img/e.png"/>
          <div>
            <div>{{ language==0? '账号':'Account' }}{{ user.userName }}</div>
            <h3>{{ language==0?'报名信息提交成功':'Registration information submitted successfully' }}</h3>
          </div>
        </div>
        <div class="text-center  flexCenter">
          <div class="border-info mt20" v-if="language==0">
            关于报名审核结果、费用支付链接、签证邀请函等相关信息,将以邮件形式正式通知您。
            <br/>
            邮件发送账号:<span class="text-primary">wdsfwuxicenter@wdsfwuxicenter.com</span>
            ,请关注相关邮件通知。
          </div>
          <div class="border-info mt20" v-else>
            The organizing committee will officially inform you by email about the results of the registration review,
            fee payment link,
            visa invitation letters, and other relevant information.
          </div>
        </div>

        <div class="text-center mt30 mb20">
          <el-button class="primary-kx w200px" round @click="goHome">{{ language == 0 ? '返回首页' : 'Return to Homepage' }}</el-button>
          <el-button type="primary" class="btn-lineG w200px" round @click="goSign">
            {{ language == 0 ? '返回赛事报名模块' : 'Return to Event Registration Module' }}</el-button>
        </div>
      </el-card>
    </div>
  </div>
</template>

<script setup>
import TeamSignStep from './components/teamSignStep'
import SingleSignStep from './components/singleSignStep'
const router = useRouter()
import useUserStore from "@/store/modules/user"
import {ref} from "vue"
import cache from "@/plugins/cache"
import {useRouter} from "vue-router";
import {useStorage} from "@vueuse/core/index";
const language= useStorage('language',0)
const user = useUserStore().user

const goHome = () => {
  router.push({
    name: `home`
  })
}
const goSign = () => {
  router.push({
    name: `matchList`
  })
}
</script>

<style scoped lang="scss">
  .border-info{padding: 30px;line-height: 2;}
</style>