Files
aida_front/src/views/emailVerify.vue

130 lines
2.7 KiB
Vue
Raw Normal View History

2024-09-26 15:43:27 +08:00
<template>
2024-09-27 16:31:33 +08:00
<div class="emailVerify">
2024-09-26 15:43:27 +08:00
<main class="main">
2024-09-27 16:31:33 +08:00
<div class="survey-form">
<h1 id="title"><span></span>邮箱修改成功</h1>
<div class="text">
<p id="description">您的新邮箱为*********************</p>
</div>
<div class="mark_loading" v-show="!isSucceed">
</div>
</div>
2024-09-26 15:43:27 +08:00
</main>
</div>
2024-09-27 16:31:33 +08:00
<div class="mark_loading" v-show="isShowMark">
<a-spin size="large" />
</div>
2024-09-26 15:43:27 +08:00
</template>
<script lang="ts">
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
import { Modal,message } from 'ant-design-vue';
2024-09-27 16:31:33 +08:00
import { useRoute } from 'vue-router';
2024-09-26 15:43:27 +08:00
import { Https } from "@/tool/https";
import { defineComponent, toRefs,ref, reactive, createVNode } from "vue";
export default defineComponent({
setup() {
2024-09-27 16:31:33 +08:00
const route = useRoute();
2024-09-26 15:43:27 +08:00
let feedbackData:any = reactive({
2024-09-27 16:31:33 +08:00
isShowMark:false,
isSucceed:false,
2024-09-26 15:43:27 +08:00
});
let setSubmit = (value:any)=>{
Https.axiosPost(Https.httpUrls.questionnaire, value).then(
(rv) => {
alert('Submit Successfully!')
}
).catch(res=>{
});
}
return {
...toRefs(feedbackData),
setSubmit,
};
},
data() {
return {
// moodTemplateId: "", //模板id
};
},
mounted() {},
methods: {},
});
</script>
<style lang="less" scoped>
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&display=swap");
.emailVerify {
font-family: "Quicksand", sans-serif;
font-family: 'Roboto', sans-serif;
text-align: center;
line-height: 1.5;
// background: linear-gradient(180deg, #f3f3e6 0%, #eee4f3 100%);
overflow-y: auto;
2024-09-27 16:31:33 +08:00
*{
padding: 0;
margin: 0;
2024-09-26 15:43:27 +08:00
}
.main{
background: linear-gradient(45deg, #eee4f3, #f3f4e6);
2024-09-27 16:31:33 +08:00
// background: #f5f5f5;
width: 100vw;
height: 100vh;
2024-09-26 15:43:27 +08:00
}
#title {
font-size: 6rem;
margin: 0;
font-weight: 900;
}
2024-09-27 16:31:33 +08:00
#title{
display: flex;
align-items: center;
span{
2025-07-19 14:04:48 +08:00
background: #000;
2024-09-27 16:31:33 +08:00
width: 8rem;
height: 8rem;
border-radius: 50%;
color: #fff;
display: block;
font-size: 6rem;
line-height: 8rem;
text-align: center;
margin: 10px;
}
}
.survey-form {
position: relative;
background: rgba(255, 255, 255);
width: 50%;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-size: 2.4rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 2rem;
padding: 4rem 0;
.mark_loading{
background: #fff;
width: 100%;
height: 100%;
position: absolute;
top: 0;
2024-09-26 15:43:27 +08:00
}
}
@media (max-width: 760px) {
form {
width: 75%;
}
}
2024-09-27 16:31:33 +08:00
2024-09-26 15:43:27 +08:00
p{
font-size: 2.8rem;
}
}
</style>