Kaynağa Gözat

update courseId

chao 5 gün önce
ebeveyn
işleme
36f1197b8f

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/Details-Y1ABNeZV.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/admin-d9wHElxi.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-NAfs899q.css


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/assets/index-fjZuFmPn.js


+ 2 - 2
dist/index.html

@@ -8,8 +8,8 @@
     <script>
       document.domain = "cocorobo.cn"
     </script>
-    <script type="module" crossorigin src="./assets/index-Iwk5vvhN.js"></script>
-    <link rel="stylesheet" crossorigin href="./assets/index-FPenpgfD.css">
+    <script type="module" crossorigin src="./assets/index-fjZuFmPn.js"></script>
+    <link rel="stylesheet" crossorigin href="./assets/index-NAfs899q.css">
   </head>
   <body>
     <div id="app"></div>

+ 16 - 8
src/assets/course.json

@@ -3,7 +3,7 @@
         "三年级":{
             "shang": [
                 {
-                    "id": "11c835af-82ff-11f0-9c7b-005056924926",
+                    "id": "115821c3-87ec-11f0-9c7b-005056924926",
                     "title": "家里的聪明朋友",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%BA%AF%E8%BD%AF%E7%BA%B2%E8%A6%81%E8%AF%BE_3%E5%B9%B4%E7%BA%A7%E4%B8%8A%E5%AD%A6%E6%9C%9F%E7%AC%AC1%E8%AF%BE%20%E5%AE%B6%E9%87%8C%E7%9A%84%E8%81%AA%E6%98%8E%E6%9C%8B%E5%8F%8B%EF%BC%88%E5%B0%81%E9%9D%A2%EF%BC%891756268563628.png",
                     "dataId": "",
@@ -11,7 +11,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "b19310f0-8404-11f0-9c7b-005056924926",
+                    "id": "fb5ec30b-87ee-11f0-9c7b-005056924926",
                     "title": "我来试试看",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%BA%AF%E8%BD%AF%E7%BA%B2%E8%A6%81%E8%AF%BE_3%E5%B9%B4%E7%BA%A7%E4%B8%8A%E5%AD%A6%E6%9C%9F%E7%AC%AC2%E8%AF%BE%20%E6%88%91%E6%9D%A5%E8%AF%95%E8%AF%95%E7%9C%8B%EF%BC%88%E5%B0%81%E9%9D%A2%EF%BC%891756381057017.png",
                     "dataId": "",
@@ -19,7 +19,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "3fa366e3-8406-11f0-9c7b-005056924926",
+                    "id": "8ba49e1a-87f0-11f0-9c7b-005056924926",
                     "title": "AI助手的交互魔法",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%BA%AF%E8%BD%AF%E7%BA%B2%E8%A6%81%E8%AF%BE_3%E5%B9%B4%E7%BA%A7%E4%B8%8A%E5%AD%A6%E6%9C%9F%E7%AC%AC3%E8%AF%BE%20AI%E5%8A%A9%E6%89%8B%E7%9A%84%E4%BA%A4%E4%BA%92%E9%AD%94%E6%B3%95%EF%BC%88%E5%B0%81%E9%9D%A2%EF%BC%891756382291149.png",
                     "dataId": "",
@@ -27,7 +27,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "49077d3a-8407-11f0-9c7b-005056924926",
+                    "id": "1b2b17df-87f1-11f0-9c7b-005056924926",
                     "title": "AI朋友的边界",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%BA%AF%E8%BD%AF%E7%BA%B2%E8%A6%81%E8%AF%BE_3%E5%B9%B4%E7%BA%A7%E4%B8%8A%E5%AD%A6%E6%9C%9F%E7%AC%AC4%E8%AF%BE%20AI%E6%9C%8B%E5%8F%8B%E7%9A%84%E8%BE%B9%E7%95%8C%EF%BC%88%E5%B0%81%E9%9D%A2%EF%BC%891756382370880.png",
                     "dataId": "",
@@ -81,7 +81,7 @@
         "五年级": {
             "shang": [
                 {
-                    "id": "d0b7218d-855f-11f0-9c7b-005056924926",
+                    "id": "787980a5-87c4-11f0-9c7b-005056924926",
                     "title": "如何让汽车变聪明",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E3%80%90%E4%BA%94%E5%B9%B4%E7%BA%A7%E3%80%91%E4%B8%8A%E5%86%8C%20%E7%AC%AC1%E8%AF%BE%20%E5%A6%82%E4%BD%95%E8%AE%A9%E6%B1%BD%E8%BD%A6%E5%8F%98%E8%81%AA%E6%98%8E1756530712026.png",
                     "dataId": "",
@@ -89,7 +89,15 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "2978acac-8562-11f0-9c7b-005056924926",
+                    "id": "92dc8358-886c-11f0-9c7b-005056924926",
+                    "title": "汽车的决策大脑",
+                    "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E3%80%90%E4%BA%94%E5%B9%B4%E7%BA%A7%E3%80%91%E4%B8%8A%E5%86%8C%20%E7%AC%AC2%E8%AF%BE%20%E6%B1%BD%E8%BD%A6%E7%9A%84%E5%86%B3%E7%AD%96%E5%A4%A7%E8%84%911756531107687.png",
+                    "dataId": "",
+                    "dataList": [],
+                    "courseType": "2"
+                },
+                {
+                    "id": "f5710e50-8871-11f0-9c7b-005056924926",
                     "title": "汽车的超级感知",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E3%80%90%E4%BA%94%E5%B9%B4%E7%BA%A7%E3%80%91%E4%B8%8A%E5%86%8C%20%E7%AC%AC3%E8%AF%BE%20%E6%B1%BD%E8%BD%A6%E7%9A%84%E8%B6%85%E7%BA%A7%E6%84%9F%E7%9F%A51756531805411.png",
                     "dataId": "",
@@ -97,7 +105,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "a5da4159-8564-11f0-9c7b-005056924926",
+                    "id": "156f9dbf-8878-11f0-9c7b-005056924926",
                     "title": "AIGC设计未来汽车",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E3%80%90%E4%BA%94%E5%B9%B4%E7%BA%A7%E3%80%91%E4%B8%8A%E5%86%8C%20%E7%AC%AC4%E8%AF%BE%20AIGC%E8%AE%BE%E8%AE%A1%E6%9C%AA%E6%9D%A5%E6%B1%BD%E8%BD%A61756532757175.png",
                     "dataId": "",
@@ -105,7 +113,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "59dc415b-8565-11f0-9c7b-005056924926",
+                    "id": "c883f8f9-887a-11f0-9c7b-005056924926",
                     "title": "无人驾驶,更安全VS更危险",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E3%80%90%E4%BA%94%E5%B9%B4%E7%BA%A7%E3%80%91%E4%B8%8A%E5%86%8C%20%E7%AC%AC5%E8%AF%BE%20%E6%97%A0%E4%BA%BA%E9%A9%BE%E9%A9%B6%EF%BC%8C%E6%9B%B4%E5%AE%89%E5%85%A8VS%E6%9B%B4%E5%8D%B1%E9%99%A91756533035781.png",
                     "dataId": "",

+ 2 - 2
src/components/main/courseSelect.vue

@@ -2,8 +2,8 @@
   <h2 class="contentTitle" v-if="classDown">课程列表</h2>
   <div class="course_select">
     <span class="grandTitle">课程类型:</span>
-    <el-button :class="courseTypeShow ? 'el_button_active' : ''" @click="SwitchCourseType(true)">纲要课</el-button>
-    <el-button :class="!courseTypeShow ? 'el_button_active' : ''" @click="SwitchCourseType(false)">旧版课程</el-button>
+    <el-button :class="courseTypeShow ? 'el_button_active' : ''" @click="SwitchCourseType(true)">纲要课2025版</el-button>
+    <el-button :class="!courseTypeShow ? 'el_button_active' : ''" @click="SwitchCourseType(false)">纲要课2024版</el-button>
   </div>
   <div class="course_select">
     <span class="grandTitle">年级:</span>

+ 2 - 4
src/components/main/edu.vue

@@ -25,17 +25,15 @@
         <!-- </router-link> -->
       </div>
     </el-col>
-    <el-col :span="6">
+    <!-- <el-col :span="6">
       <div class="grid-content" @click="openApplication('evaluate')">
-        <!-- <router-link to="/iframe/其他课程资源/学生评价"> -->
         <img :src="Img3" alt="">
         <div>
           <p title="学生评价" class="title">学生评价</p>
           <p title="教师基于平台数据采集开展对应目标的学生评价。">教师基于平台数据采集开展对应目标的学生评价。</p>
         </div>
-        <!-- </router-link> -->
       </div>
-    </el-col>
+    </el-col> -->
   </el-row>
   <el-dialog v-model="dialogVisible" :before-close="handleClose" width=1200 >
     <template #header>

+ 27 - 12
src/views/main.vue

@@ -3,16 +3,24 @@
     <Header></Header>
     <div class="container" v-if="isLogin">
       <div class="container-left" :style="leftShow ? { width: 0 } : { width: '240px' }">
-        <div :class="activeIndex == 0 ? 'container-left-top active' : 'container-left-top'" @click="activeIndex = 0">
-          <img class="icon-img" :src="activeIndex == 0 ? img1 : img11" alt="教学中心" />教学中心
-        </div>
-        <div :class="activeIndex == 5 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(5)">
-          <img class="icon-img" :src="activeIndex == 5 ? img1 : img11" alt="教学中心" />学生评价
-        </div>
-        <div v-if="admin" :class="activeIndex == 6 ? 'container-left-top active' : 'container-left-top'"
-          @click="clickSwitch(6)">
-          <img class="icon-img" :src="activeIndex == 6 ? img1 : img11" alt="教学中心" />管理后台
+        <div :class="activeIndex == 0 ? 'container-left-top active' : 'container-left-top'" class="container-left-top" @click="dialogVisible1Switch()">
+          <span>
+            <img class="icon-img" :src="activeIndex == 0 ? img1 : img11" alt="AI 应用" />教学中心
+            <img v-if="dialogVisible1" class="up" :src="img3" alt="up" />
+            <img v-else class="up" :src="down" alt="down" />
+          </span>
         </div>
+        <transition name="fade">
+          <div v-if="dialogVisible1">
+            <div :class="activeIndex == 5 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(5)">
+              学生评价
+            </div>
+            <div v-if="admin" :class="activeIndex == 6 ? 'container-left-top active' : 'container-left-top'"
+              @click="clickSwitch(6)">
+              <img class="icon-img" :src="activeIndex == 6 ? img1 : img11" alt="教学中心" />管理后台
+            </div>
+          </div>
+        </transition>
         <div class="container-left-top" @click="dialogVisible = !dialogVisible">
           <span>
             <img class="icon-img" :src="img2" alt="AI 应用" />AI 应用
@@ -36,7 +44,7 @@
             </div>
           </div>
         </transition>
-        <div class="container-left-show" :style="leftShow ? { width: '35px' } : { width: '229px' }"
+        <div class="container-left-show" :style="leftShow ? { width: '35px' } : { width: '240px' }"
           @click="leftShow = !leftShow">
           <img :src="shows" alt="">
         </div>
@@ -48,7 +56,7 @@
         <resource></resource>
         <Practice></Practice>
         <!-- <other v-if="!isupdateCourse"></other> -->
-        <Edu v-if="!isLogin"></Edu>
+        <Edu v-if="isLogin"></Edu>
         <Feedback></Feedback>
       </div>
       <div class="iframe" :style="leftShow ? { width: '100%' } : ''" v-else-if="activeIndex == 1" v-loading="loading">
@@ -111,6 +119,7 @@ const isupdateCourse = ref(false)
 const isLogin = ref(false)
 const activeIndex = ref(0)
 const dialogVisible = ref(true)
+const dialogVisible1 = ref(true)
 const iframeRef = ref(null)
 const iframeRef1 = ref(null)
 const iframeRef2 = ref(null)
@@ -132,6 +141,12 @@ onMounted(() => {
   // }, 10);
 })
 
+const dialogVisible1Switch = () => {
+  activeIndex.value = 0
+  dialogVisible1.value = !dialogVisible1.value
+  
+}
+
 watchEffect(() => {
   // console.log('111111111111',CurrentRole, user.user)
   if (JSON.stringify(user.user) != "{}") {
@@ -281,7 +296,7 @@ const show = () => {
   }
 
   .iframe {
-    width: calc(100% - 150px);
+    width: calc(100% - 240px);
     height: calc(100vh - 60px);
     position: relative;
 

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor