人生啊人生 před 3 měsíci
rodič
revize
a3c91f516b

+ 12 - 0
user_web/src/router/adminRoute.ts

@@ -16,6 +16,18 @@ const adminRoute = {
             component: () => import('../view/admin/ManageUser.vue'),
             meta: { title: '后台管理-账号管理' },
         },
+        {
+            path: '/admin/manageClass',
+            name: 'adminManageClass',
+            component: () => import('../view/admin/ManageClass.vue'),
+            meta: { title: '后台管理-班级管理' },
+        },
+        {
+            path: '/admin/manageCourse',
+            name: 'adminManageCourse',
+            component: () => import('../view/admin/ManageCourse.vue'),
+            meta: { title: '后台管理-课程管理' },
+        },
     ],
 };
 

+ 40 - 0
user_web/src/view/admin/ManageClass.vue

@@ -0,0 +1,40 @@
+<script setup>
+import { computed, onMounted, onUnmounted, watch, ref } from "vue";
+import { useRouter } from 'vue-router';
+const router = useRouter();
+
+</script>
+
+<template>
+    <div class="ManageClass">
+        班级管理
+    </div>
+</template>
+
+<style lang="scss" scoped>
+@use './css/commonsScrollbar.scss';
+
+.ManageClass * {
+    -moz-user-select: none;
+    -webkit-user-select: none;
+    -ms-user-select: none;
+    -khtml-user-select: none;
+
+    user-select: none;
+    box-sizing:border-box;
+    -moz-box-sizing:border-box; /* Firefox */
+    -webkit-box-sizing:border-box; /* Safari */
+}
+
+.ManageClass {
+
+    position: relative;
+    z-index: 0;
+    width: 100%;
+    height: 100%;
+    top: 0px;
+    left: 0px;
+    background-color: #ffffff;
+    
+}
+</style>

+ 40 - 0
user_web/src/view/admin/ManageCourse.vue

@@ -0,0 +1,40 @@
+<script setup>
+import { computed, onMounted, onUnmounted, watch, ref } from "vue";
+import { useRouter } from 'vue-router';
+const router = useRouter();
+
+</script>
+
+<template>
+    <div class="ManageClass">
+        课程管理
+    </div>
+</template>
+
+<style lang="scss" scoped>
+@use './css/commonsScrollbar.scss';
+
+.ManageClass * {
+    -moz-user-select: none;
+    -webkit-user-select: none;
+    -ms-user-select: none;
+    -khtml-user-select: none;
+
+    user-select: none;
+    box-sizing:border-box;
+    -moz-box-sizing:border-box; /* Firefox */
+    -webkit-box-sizing:border-box; /* Safari */
+}
+
+.ManageClass {
+
+    position: relative;
+    z-index: 0;
+    width: 100%;
+    height: 100%;
+    top: 0px;
+    left: 0px;
+    background-color: #ffffff;
+    
+}
+</style>

+ 2 - 2
user_web/src/view/admin/components/Menu/MenuLeftTwo.vue

@@ -163,11 +163,11 @@ let menuList = ref([
         list: [
             {
                 name: '班级管理',
-                url: 'teacherClassManage',
+                url: 'admin/manageClass',
             },
             {
                 name: '课程管理',
-                url: 'teacherClassManage',
+                url: 'admin/manageCourse',
             },
         ],
     },