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.
|
|
|
|
<script setup>
|
|
|
|
|
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})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<!-- haeder -->
|
|
|
|
|
<!-- content -->
|
|
|
|
|
<div class="">
|
|
|
|
|
<SuccessMessage v-model="message" />
|
|
|
|
|
<RouterView />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- footer -->
|
|
|
|
|
<div class="footer"></div>
|
|
|
|
|
</template>
|
|
|
|
|
<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>
|