diff --git a/src/router/index.js b/src/router/index.js index 9d5feb9..7aadf30 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -243,174 +243,174 @@ export const asyncRoutes = [ }, ], }, - { - path: '/maomaotou', - component: Layout, - redirect: 'noRedirect', - name: 'CxshMini', - meta: { title: '猫猫头', icon: 'cat', permissions: ['admin'] }, - children: [ - { - path: 'cat', - component: EmptyLayout, - alwaysShow: true, - redirect: 'noRedirect', - name: 'cat', - meta: { - title: '猫猫', - icon: 'cat', - permissions: ['admin'], - }, - children: [ - { - path: 'cat', - name: 'Cat', - component: () => import('@/views/maomao/cat/cat/index'), - meta: { title: '猫猫' }, - }, - ], - }, - { - path: 'post', - component: EmptyLayout, - alwaysShow: true, - redirect: 'noRedirect', - name: 'Post', - meta: { - title: '帖子', - icon: 'post', - permissions: ['admin'], - }, - children: [ - { - path: 'post', - name: 'Post', - component: () => import('@/views/maomao/post/post/index'), - meta: { title: '帖子' }, - }, - ], - }, - { - path: 'user', - component: EmptyLayout, - alwaysShow: true, - redirect: 'noRedirect', - name: 'User', - meta: { - title: '用户', - icon: 'user', - permissions: ['admin'], - }, - children: [ - { - path: 'user', - name: 'User', - component: () => import('@/views/maomao/user/user/index'), - meta: { title: '用户' }, - }, - { - path: 'userChat', - name: 'UserChat', - component: () => import('@/views/maomao/user/chat/index'), - meta: { title: '聊天' }, - }, - ], - }, - ], - }, - { - path: '/cxshMini', - component: Layout, - redirect: 'noRedirect', - name: 'CxshMini', - meta: { title: '小程序', icon: 'comment', permissions: ['admin', 'csxh_admin', 'csxh_user'] }, - children: [ - { - path: 'home', - component: EmptyLayout, - alwaysShow: true, - redirect: 'noRedirect', - name: 'Home', - meta: { - title: '首页', - icon: 'home', - permissions: ['admin', 'csxh_admin', 'csxh_user'], - }, - children: [ - { - path: 'banner', - name: 'Banner', - component: () => import('@/views/cxshMini/home/banner/index'), - meta: { title: '轮播图' }, - }, - { - path: 'news', - name: 'News', - component: () => import('@/views/cxshMini/home/news/index'), - meta: { title: '花絮动态' }, - }, - { - path: 'createNews', - name: 'CreateNews', - component: () => import('@/views/cxshMini/home/createNews/index'), - meta: { title: '新建花絮' }, - }, - ], - }, - { - path: 'anli', - component: EmptyLayout, - alwaysShow: true, - redirect: 'noRedirect', - name: 'Anli', - meta: { - title: '精彩案例', - icon: 'handshake', - permissions: ['admin', 'csxh_admin', 'csxh_user'], - }, - children: [ - { - path: 'article', - name: 'Article', - component: () => import('@/views/cxshMini/anli/article/index'), - meta: { title: '新建案例' }, - }, - { - path: 'list', - name: 'List', - component: () => import('@/views/cxshMini/anli/list/index'), - meta: { title: '案例列表' }, - }, - { - path: 'category', - name: 'Category', - component: () => import('@/views/cxshMini/anli/category/index'), - meta: { title: '案例分类' }, - }, - ], - }, - { - path: 'lianxi', - component: EmptyLayout, - alwaysShow: true, - redirect: 'noRedirect', - name: 'Lianxi', - meta: { - title: '联系我们', - icon: 'user-friends', - permissions: ['admin', 'csxh_admin', 'csxh_user'], - }, - children: [ - { - path: 'member', - name: 'Member', - component: () => import('@/views/cxshMini/lianxi/member/index'), - meta: { title: '成员' }, - }, - ], - }, - ], - }, + // { + // path: '/maomaotou', + // component: Layout, + // redirect: 'noRedirect', + // name: 'CxshMini', + // meta: { title: '猫猫头', icon: 'cat', permissions: ['admin'] }, + // children: [ + // { + // path: 'cat', + // component: EmptyLayout, + // alwaysShow: true, + // redirect: 'noRedirect', + // name: 'cat', + // meta: { + // title: '猫猫', + // icon: 'cat', + // permissions: ['admin'], + // }, + // children: [ + // { + // path: 'cat', + // name: 'Cat', + // component: () => import('@/views/maomao/cat/cat/index'), + // meta: { title: '猫猫' }, + // }, + // ], + // }, + // { + // path: 'post', + // component: EmptyLayout, + // alwaysShow: true, + // redirect: 'noRedirect', + // name: 'Post', + // meta: { + // title: '帖子', + // icon: 'post', + // permissions: ['admin'], + // }, + // children: [ + // { + // path: 'post', + // name: 'Post', + // component: () => import('@/views/maomao/post/post/index'), + // meta: { title: '帖子' }, + // }, + // ], + // }, + // { + // path: 'user', + // component: EmptyLayout, + // alwaysShow: true, + // redirect: 'noRedirect', + // name: 'User', + // meta: { + // title: '用户', + // icon: 'user', + // permissions: ['admin'], + // }, + // children: [ + // { + // path: 'user', + // name: 'User', + // component: () => import('@/views/maomao/user/user/index'), + // meta: { title: '用户' }, + // }, + // { + // path: 'userChat', + // name: 'UserChat', + // component: () => import('@/views/maomao/user/chat/index'), + // meta: { title: '聊天' }, + // }, + // ], + // }, + // ], + // }, + // { + // path: '/cxshMini', + // component: Layout, + // redirect: 'noRedirect', + // name: 'CxshMini', + // meta: { title: '小程序', icon: 'comment', permissions: ['admin', 'csxh_admin', 'csxh_user'] }, + // children: [ + // { + // path: 'home', + // component: EmptyLayout, + // alwaysShow: true, + // redirect: 'noRedirect', + // name: 'Home', + // meta: { + // title: '首页', + // icon: 'home', + // permissions: ['admin', 'csxh_admin', 'csxh_user'], + // }, + // children: [ + // { + // path: 'banner', + // name: 'Banner', + // component: () => import('@/views/cxshMini/home/banner/index'), + // meta: { title: '轮播图' }, + // }, + // { + // path: 'news', + // name: 'News', + // component: () => import('@/views/cxshMini/home/news/index'), + // meta: { title: '花絮动态' }, + // }, + // { + // path: 'createNews', + // name: 'CreateNews', + // component: () => import('@/views/cxshMini/home/createNews/index'), + // meta: { title: '新建花絮' }, + // }, + // ], + // }, + // { + // path: 'anli', + // component: EmptyLayout, + // alwaysShow: true, + // redirect: 'noRedirect', + // name: 'Anli', + // meta: { + // title: '精彩案例', + // icon: 'handshake', + // permissions: ['admin', 'csxh_admin', 'csxh_user'], + // }, + // children: [ + // { + // path: 'article', + // name: 'Article', + // component: () => import('@/views/cxshMini/anli/article/index'), + // meta: { title: '新建案例' }, + // }, + // { + // path: 'list', + // name: 'List', + // component: () => import('@/views/cxshMini/anli/list/index'), + // meta: { title: '案例列表' }, + // }, + // { + // path: 'category', + // name: 'Category', + // component: () => import('@/views/cxshMini/anli/category/index'), + // meta: { title: '案例分类' }, + // }, + // ], + // }, + // { + // path: 'lianxi', + // component: EmptyLayout, + // alwaysShow: true, + // redirect: 'noRedirect', + // name: 'Lianxi', + // meta: { + // title: '联系我们', + // icon: 'user-friends', + // permissions: ['admin', 'csxh_admin', 'csxh_user'], + // }, + // children: [ + // { + // path: 'member', + // name: 'Member', + // component: () => import('@/views/cxshMini/lianxi/member/index'), + // meta: { title: '成员' }, + // }, + // ], + // }, + // ], + // }, /* { path: "/test", component: Layout, diff --git a/src/views/spring/index/recommend/components/RecommendEdit.vue b/src/views/spring/index/recommend/components/RecommendEdit.vue index aab0647..04897e0 100644 --- a/src/views/spring/index/recommend/components/RecommendEdit.vue +++ b/src/views/spring/index/recommend/components/RecommendEdit.vue @@ -40,6 +40,8 @@ + + diff --git a/src/views/spring/index/recommend/index.vue b/src/views/spring/index/recommend/index.vue index 8434e52..e323bf3 100644 --- a/src/views/spring/index/recommend/index.vue +++ b/src/views/spring/index/recommend/index.vue @@ -43,6 +43,8 @@