Spring boot + Spring Security 6 + vue3 项目模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.1 KiB

3 years ago
<script setup>
3 years ago
import { computed } from 'vue';
import SuccessMessage from './views/modal/SuccessMessage.vue'
import store from './utils/vuex/store'
const code = computed(() => { store.state.isLogin })
const c = computed(() => { code.value })
const message = computed(() => { store.state.successMessage })
const m = computed(()=>{message.value})
3 years ago
</script>
<template>
<!-- haeder -->
<!-- content -->
3 years ago
<div class="">
3 years ago
<SuccessMessage v-model="message" />
3 years ago
<RouterView />
</div>
<!-- footer -->
<div class="footer"></div>
</template>
3 years ago
<style>
#app {
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 100% 100%;
-webkit-animation: Gradient 15s ease infinite;
animation: Gradient 15s ease infinite;
}
@-webkit-keyframes Gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes Gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
#app,
html {
height: 100%;
overflow: hidden;
}
</style>