diff --git a/src/Layout/tabbar/index.vue b/src/Layout/tabbar/index.vue index d64994c..4499e59 100644 --- a/src/Layout/tabbar/index.vue +++ b/src/Layout/tabbar/index.vue @@ -106,7 +106,7 @@ onMounted(() => { display: flex; align-items: center; li { - padding: 20px; + padding: 12px 20px; color: #ffffff; font-size: 14px; cursor: pointer; diff --git a/src/router/module/constRouter/index.ts b/src/router/module/constRouter/index.ts index 72710f9..5bf4ee5 100644 --- a/src/router/module/constRouter/index.ts +++ b/src/router/module/constRouter/index.ts @@ -42,6 +42,16 @@ export const constRouter: any = [ hidden: false, }, }, + { + path: '/professionalListProfile', // 课程 + component: () => import('@/views/professionalListProfile/index.vue'), + name: 'professionalListProfile', + meta: { + icon: '', + title: '课程列表', + hidden: false, + }, + }, { path: '/pedagogicalReform', // 教学改革 component: () => import('@/views/pedagogicalReform/index.vue'), @@ -63,18 +73,18 @@ export const constRouter: any = [ }, }, { - path:'/course', - component:() => import('@/views/course/index.vue'), - name:'course', + path: '/course', + component: () => import('@/views/course/index.vue'), + name: 'course', meta: { title: '课程首页', hidden: true, }, }, { - path:'/knowledge', - component:() => import('@/views/knowledge/index.vue'), - name:'knowledge', + path: '/knowledge', + component: () => import('@/views/knowledge/index.vue'), + name: 'knowledge', meta: { title: '知识点首页', hidden: true, @@ -158,18 +168,18 @@ export const constRouter: any = [ ], }, { - path:'/editAtlas', - component:() => import('@/views/editAtlas/index.vue'), - name:'EditAtlas', + path: '/editAtlas', + component: () => import('@/views/editAtlas/index.vue'), + name: 'EditAtlas', meta: { title: '编辑图谱', hidden: true, }, }, { - path:'/largeScreen', - component:() => import('@/views/professionalProfile/largeScreen.vue'), - name:'LargeScreen', + path: '/largeScreen', + component: () => import('@/views/professionalProfile/largeScreen.vue'), + name: 'LargeScreen', meta: { title: '大屏图谱', hidden: true, diff --git a/src/views/professionalListProfile/index.vue b/src/views/professionalListProfile/index.vue new file mode 100644 index 0000000..44e115a --- /dev/null +++ b/src/views/professionalListProfile/index.vue @@ -0,0 +1,230 @@ + + + + + \ No newline at end of file diff --git a/src/vite-env-override.d.ts b/src/vite-env-override.d.ts new file mode 100644 index 0000000..00c76e4 --- /dev/null +++ b/src/vite-env-override.d.ts @@ -0,0 +1,5 @@ +declare module '*.vue' { + import { DefineComponent } from "vue" + const component: ReturnType + export default component + } \ No newline at end of file