|
- <!--
- * @Autor: Chuting
- * @Date: 2022-08-08 14:25:11
- * @LastEditors: Chuting
- * @LastEditTime: 2022-08-09 22:20:03
- * @Description:
- -->
- <template>
- <div id="app">
- <top/>
- <transition name="app" mode="out-in" v-if="flag">
- <router-view></router-view>
- </transition>
- <tail/>
- </div>
- </template>
- <script>
- import top from "./components/common/top"
- import tail from "./components/common/tail"
- export default {
- components:{
- top,
- tail
- },
- data(){
- return{
- flag: false
- }
- },
- created() {
- var that = this
- setTimeout(function() {
- that.flag = true
- }, 2000)
- }
- }
- </script>
-
-
- <style lang="scss">
- body,p{
- margin: 0 0;
- padding: 0 0;
- }
- input{
- background:none;
- outline:none;
- border:none;
- padding: 0;
- margin: 0;
- }
-
- </style>
|