调整UI
This commit is contained in:
+1
-91
@@ -1,16 +1,8 @@
|
||||
import { RouteRecordRaw } from 'vue-router';
|
||||
import Home from '@/views/pc/home/index.vue'
|
||||
import moviePlay from '@/views/pc/moviePlay/index.vue'
|
||||
import Mine from '@/views/pc/mine/index.vue'
|
||||
import Contact from '@/views/pc/contact/index.vue'
|
||||
import Search from '@/views/pc/search/index.vue'
|
||||
import Privacy from '@/views/pc/privacy/index.vue'
|
||||
import Welfare from '@/views/pc/welfare/index.vue'
|
||||
import PageList from '@/views/pc/pageList/index.vue'
|
||||
import Classification from '@/views/pc/classification/index.vue'
|
||||
import PublishingAddress from '@/views/pc/publishingAddress/index.vue'
|
||||
import ListOfTopics from '@/views/pc/listOfTopics/index.vue'
|
||||
import TagPageList from '@/views/pc/tagPageList/index.vue'
|
||||
import Business from '@/views/pc/business/index.vue'
|
||||
|
||||
// pc端路由
|
||||
@@ -23,32 +15,6 @@ const pcRouter: RouteRecordRaw[] = [
|
||||
title: "首页"
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/mine',
|
||||
name: 'mine',
|
||||
component: Mine,
|
||||
redirect: { name: 'mine-history' },
|
||||
children: [
|
||||
{
|
||||
path: 'history',
|
||||
name: 'mine-history',
|
||||
component: () => import('@/views/pc/mine/children/History.vue')
|
||||
},
|
||||
{
|
||||
path: 'setting',
|
||||
name: 'mine-setting',
|
||||
component: () => import('@/views/pc/mine/children/Setting.vue')
|
||||
},
|
||||
{
|
||||
path: 'likes',
|
||||
name: 'mine-likes',
|
||||
component: () => import('@/views/pc/mine/children/Likes.vue')
|
||||
},
|
||||
],
|
||||
meta: {
|
||||
title: "我的"
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/contact',
|
||||
name: 'contact',
|
||||
@@ -65,14 +31,6 @@ const pcRouter: RouteRecordRaw[] = [
|
||||
title: "联系"
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/search',
|
||||
name: 'search',
|
||||
component: Search,
|
||||
meta: {
|
||||
title: "搜索"
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/privacy',
|
||||
name: 'privacy',
|
||||
@@ -82,61 +40,13 @@ const pcRouter: RouteRecordRaw[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/moviePlay',
|
||||
name: 'moviePlay',
|
||||
component: moviePlay,
|
||||
meta: {
|
||||
title: "视频详情"
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/welfare',
|
||||
name: 'welfare',
|
||||
component: Welfare,
|
||||
meta: {
|
||||
title: "福利"
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/pageList',
|
||||
name: 'pageList',
|
||||
component: PageList,
|
||||
meta: {
|
||||
title: "列表"
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/classification',
|
||||
name: 'classification',
|
||||
component: Classification,
|
||||
meta: {
|
||||
title: "分类"
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/publishingAddress',
|
||||
name: 'publishingAddress',
|
||||
component: PublishingAddress,
|
||||
meta: {
|
||||
title: "发布地址"
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/listOfTopics',
|
||||
name: 'listOfTopics',
|
||||
component: ListOfTopics,
|
||||
meta: {
|
||||
title: "专题详情"
|
||||
},
|
||||
},
|
||||
{
|
||||
path: '/tagPageList',
|
||||
name: 'tagPageList',
|
||||
component: TagPageList,
|
||||
meta: {
|
||||
title: "标签"
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export default pcRouter;
|
||||
Reference in New Issue
Block a user