code: remove ready page

This commit is contained in:
ShawnPhang 2023-07-25 17:02:03 +08:00
parent 0af432a8d0
commit 96b8a27e6e
3 changed files with 33 additions and 48 deletions

View File

@ -15,16 +15,16 @@
min-width: 1170px;
}
}
.fade-enter-active {
transition: opacity 0.3s;
}
.fade-leave-active {
transition: opacity 0.3s;
}
.fade-enter {
opacity: 0;
}
.fade-leave-to {
opacity: 0;
}
// .fade-enter-active {
// transition: opacity 0.3s;
// }
// .fade-leave-active {
// transition: opacity 0.3s;
// }
// .fade-enter {
// opacity: 0;
// }
// .fade-leave-to {
// opacity: 0;
// }
</style>

View File

@ -1,23 +1,34 @@
/*
* @Author: ShawnPhang
* @Date: 2021-08-19 18:43:22
* @Description:
* @Description:
* @LastEditors: ShawnPhang <site: book.palxp.com>
* @LastEditTime: 2023-07-17 14:28:41
* @LastEditTime: 2023-07-25 17:00:52
*/
export default [
// {
// path: '/',
// name: 'main',
// redirect: 'home',
// component: () => import('@/views/Ready.vue'),
// children: [
// {
// name: 'Home',
// path: '/home',
// component: () => import(/* webpackChunkName: 'base' */ '@/views/Index.vue'),
// },
// ],
// },
{
// 预留主页
path: '/',
name: 'main',
redirect: 'home',
component: () => import('@/views/Ready.vue'),
children: [
{
name: 'Home',
path: '/home',
component: () => import(/* webpackChunkName: 'base' */ '@/views/Index.vue'),
},
],
},
{
path: '/home',
name: 'Home',
component: () => import(/* webpackChunkName: 'base' */ '@/views/Index.vue'),
},
{
path: '/draw',

View File

@ -1,26 +0,0 @@
<!--
* @Author: ShawnPhang
* @Date: 2021-07-13 02:48:38
* @Description: 可用于放置一些权限校验逻辑不通过时阻止router-view渲染
* @LastEditors: ShawnPhang <site: book.palxp.com>
* @LastEditTime: 2023-07-17 14:29:24
-->
<template>
<router-view />
</template>
<script lang="ts">
import { onMounted, nextTick, getCurrentInstance, ComponentInternalInstance, defineComponent } from 'vue'
export default defineComponent({
setup() {
onMounted(() => {
// const { proxy } = getCurrentInstance() as ComponentInternalInstance
// console.log(proxy?.$utils.isIOS())
})
},
async created() {
await nextTick()
// console.log('Vue3 Setup ', this)
},
})
</script>