Parcourir la source

云教练和云教材名字修改

黄琪勇 il y a 10 mois
Parent
commit
a3df93fd62

+ 1 - 1
src/config/index.ts

@@ -10,6 +10,6 @@ export const URL_MAC_GYM_SECUREANTH = process.env.VUE_APP_MAC_GYM_SECUREANTH as
 export const URL_MAC_GYT_SECUREANTH = process.env.VUE_APP_MAC_GYT_SECUREANTH as string
 export const URL_WIN_SECUREANTH = process.env.VUE_APP_WIN_SECUREANTH as string
 
-// 云练地址
+// 云练地址
 export const URL_TEACH_GYT = process.env.VUE_APP_TEACH_GYT as string
 export const URL_TEACH_GYM = process.env.VUE_APP_TEACH_GYM as string

+ 2 - 2
src/config/menus.ts

@@ -15,7 +15,7 @@ export const menus_gyt: menuType[] = [
    {
       path: "/cloudTextbooks",
       component: "cloudTextbooks",
-      title: "云教材",
+      title: "云课堂",
       icon: "",
       meta: {
          routeType: "layout"
@@ -59,7 +59,7 @@ export const menus_gym: menuType[] = [
    {
       path: "/cloudTextbooks",
       component: "cloudTextbooks",
-      title: "云教材",
+      title: "云课堂",
       icon: "",
       meta: {
          routeType: "layout"

+ 1 - 1
src/router/modules.ts

@@ -1,6 +1,6 @@
 export default {
    homePage: () => import("@/views/homePage/homePage.vue"), // 首页
-   cloudTextbooks: () => import("@/views/cloudTextbooks"), // 云教材
+   cloudTextbooks: () => import("@/views/cloudTextbooks"), // 云课堂
    coursewarePlay: () => import("@/views/coursewarePlay"), // 播放器
    curriculum: () => import("@/views/curriculum") // 课表
 }

+ 2 - 2
src/views/cloudTextbooks/cloudTextbooks.vue

@@ -1,5 +1,5 @@
 <!--
-* @FileDescription: 云教材
+* @FileDescription: 云课堂
 * @Author: 黄琪勇
 * @Date:2024-03-21 15:11:49
 -->
@@ -74,7 +74,7 @@ const navs = [
       url: "/"
    },
    {
-      name: userStoreHook.roles === "GYM" ? "云教程" : "云教材"
+      name: "云课堂"
    }
 ]
 const classType = ref("")

+ 1 - 1
src/views/cloudTextbooks/useData.ts

@@ -163,7 +163,7 @@ export const useDataDetailList = () => {
                   name: item.coursewareDetailName,
                   id: item.lessonCoursewareDetailId,
                   useNum: item.useNum,
-                  lockFlag: false // 云教材默认不锁
+                  lockFlag: false // 云课堂默认不锁
                }
             })
             listData.value = chunkArray(chunkArray(data, 7), 2)

+ 3 - 3
src/views/homePage/homePage.vue

@@ -101,12 +101,12 @@ const classTypes_gym = [
    },
    {
       img: require("@/img/homePage/yjl.png"),
-      name: "云练",
+      name: "云练",
       url: ""
    },
    {
       img: require("@/img/homePage/yjc.png"),
-      name: "云教程",
+      name: "云课堂",
       url: "/cloudTextbooks"
    }
 ]
@@ -138,7 +138,7 @@ const classTypes_gyt = [
    },
    {
       img: require("@/img/homePage/yjc.png"),
-      name: "云教材",
+      name: "云课堂",
       url: "/cloudTextbooks"
    }
 ]