chao 2 dias atrás
pai
commit
e74294fe89

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/assets/Details-rk07pkHz.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/assets/admin-vzxeTJ-n.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/assets/index-FNF0R_-F.js


+ 1 - 1
dist/index.html

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

+ 19 - 19
src/assets/course.json

@@ -42,7 +42,7 @@
         "四年级":{
             "shang": [
                 {
-                    "id": "0b40bf0d-8260-11f0-9c7b-005056924926",
+                    "id": "c9c76a3e-87e1-11f0-9c7b-005056924926",
                     "title": "校园里的智能眼睛",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%AC%AC1%E8%AF%BE%20%E6%A0%A1%E5%9B%AD%E9%87%8C%E7%9A%84%E6%99%BA%E8%83%BD%E7%9C%BC%E7%9D%9B%20-%20%E4%B8%8A%E4%BC%A0%E7%89%881756200980970.jpg",
                     "dataId": "",
@@ -50,7 +50,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "fe801165-82f4-11f0-9c7b-005056924926",
+                    "id": "5948e83d-87da-11f0-9c7b-005056924926",
                     "title": "智慧路灯:从感知到行动",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%AC%AC2%E8%AF%BE%20%E6%99%BA%E6%85%A7%E8%B7%AF%E7%81%AF%EF%BC%9A%E4%BB%8E%E6%84%9F%E7%9F%A5%E5%88%B0%E8%A1%8C%E5%8A%A81756264710796.jpg",
                     "dataId": "",
@@ -58,7 +58,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "c2556e97-8340-11f0-9c7b-005056924926",
+                    "id": "fe28b657-87de-11f0-9c7b-005056924926",
                     "title": "智慧窗帘:基于天气数据的智能决策",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E5%B9%BB%E7%81%AF%E7%89%8711756296283376.PNG",
                     "dataId": "",
@@ -66,7 +66,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "4b71548b-82fb-11f0-9c7b-005056924926",
+                    "id": "4b83a52c-87e7-11f0-9c7b-005056924926",
                     "title": "给智能系统定“规矩”",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%AC%AC4%E8%AF%BE%20%E7%BB%99%E6%99%BA%E8%83%BD%E7%B3%BB%E7%BB%9F%E5%AE%9A%E2%80%9C%E8%A7%84%E7%9F%A9%E2%80%9D%20-%20%E4%B8%8A%E4%BC%A0%E7%89%881756439066418.jpg",
                     "dataId": "",
@@ -128,7 +128,7 @@
         "六年级": {
             "shang": [
                 {
-                    "id": "1f9e94c9-83dd-11f0-9c7b-005056924926",
+                    "id": "efd85414-87d0-11f0-9c7b-005056924926",
                     "title": "初识AI农业",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E3%80%90%E5%85%AD%E5%B9%B4%E7%BA%A7%E3%80%91%E4%B8%8A%E5%86%8C%20%E7%AC%AC1%E8%AF%BE%20%E5%88%9D%E8%AF%86AI%E5%86%9C%E4%B8%9A1756364558428.jpg",
                     "dataId": "",
@@ -136,7 +136,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "69ea6f6b-83e0-11f0-9c7b-005056924926",
+                    "id": "eb174f48-87d0-11f0-9c7b-005056924926",
                     "title": "番茄叶片病症诊断",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E3%80%90%E5%85%AD%E5%B9%B4%E7%BA%A7%E3%80%91%E4%B8%8A%E5%86%8C%20%E7%AC%AC2%E8%AF%BE%20%E7%95%AA%E8%8C%84%E5%8F%B6%E7%89%87%E7%97%85%E7%97%87%E8%AF%8A%E6%96%AD1756366021893.jpg",
                     "dataId": "",
@@ -144,7 +144,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "87b86a9a-83e0-11f0-9c7b-005056924926",
+                    "id": "e6dd490f-87d0-11f0-9c7b-005056924926",
                     "title": "水果级别分类",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E3%80%90%E5%85%AD%E5%B9%B4%E7%BA%A7%E3%80%91%E4%B8%8A%E5%86%8C%20%E7%AC%AC3%E8%AF%BE%20%E6%B0%B4%E6%9E%9C%E7%BA%A7%E5%88%AB%E5%88%86%E7%B1%BB1756366049074.jpg",
                     "dataId": "",
@@ -152,7 +152,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "a286c8b6-83e0-11f0-9c7b-005056924926",
+                    "id": "dae38c24-87d0-11f0-9c7b-005056924926",
                     "title": "智慧农场方案设计",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E3%80%90%E5%85%AD%E5%B9%B4%E7%BA%A7%E3%80%91%E4%B8%8A%E5%86%8C%20%E7%AC%AC4%E8%AF%BE%20%E6%99%BA%E6%85%A7%E5%86%9C%E5%9C%BA%E6%96%B9%E6%A1%88%E8%AE%BE%E8%AE%A11756366098183.jpg",
                     "dataId": "",
@@ -160,7 +160,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "bf62e02a-83e0-11f0-9c7b-005056924926",
+                    "id": "77c32040-87d0-11f0-9c7b-005056924926",
                     "title": "农业失误谁之过",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E3%80%90%E5%85%AD%E5%B9%B4%E7%BA%A7%E3%80%91%E4%B8%8A%E5%86%8C%20%E7%AC%AC5%E8%AF%BE%20%E5%86%9C%E4%B8%9A%E5%A4%B1%E8%AF%AF%E8%B0%81%E4%B9%8B%E8%BF%871756366138706.jpg",
                     "dataId": "",
@@ -175,7 +175,7 @@
         "七年级": {
             "shang": [
                 {
-                    "id": "da239207-84b8-11f0-9c7b-005056924926",
+                    "id": "cba96171-87db-11f0-9c7b-005056924926",
                     "title": "AI点亮文化艺术殿堂",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E4%B8%83%E5%B9%B4%E7%BA%A7%E4%B8%8A%E5%86%8C%20%E7%AC%AC%E4%B8%80%E8%AF%BE%E5%B0%81%E9%9D%A21756457337253.png",
                     "dataId": "",
@@ -183,7 +183,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "eb2be552-8483-11f0-9c7b-005056924926",
+                    "id": "60575080-87d7-11f0-9c7b-005056924926",
                     "title": "AI绘画师",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%AC%AC2%E8%AF%BE%20AI%E7%BB%98%E7%94%BB%E5%B8%881756435242200.png",
                     "dataId": "",
@@ -191,7 +191,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "c9fd6a33-84b5-11f0-9c7b-005056924926",
+                    "id": "8e48c4db-87d8-11f0-9c7b-005056924926",
                     "title": "智慧博弈",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/7%E5%B9%B4%E7%BA%A7%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD%E4%B8%8A%E5%AD%A6%E6%9C%9F-%E7%AC%AC3%E8%AF%BE%EF%BC%9A%E6%99%BA%E6%85%A7%E5%8D%9A%E5%BC%881756456359743.png",
                     "dataId": "",
@@ -199,7 +199,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "f81c7925-8316-11f0-9c7b-005056924926",
+                    "id": "4df99f73-87d9-11f0-9c7b-005056924926",
                     "title": "AI创意工作室",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%AC%AC4%E8%AF%BE%20AI%E5%88%9B%E6%84%8F%E5%B7%A5%E4%BD%9C%E5%AE%A41756279626205.png",
                     "dataId": "",
@@ -207,7 +207,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "54afdd1f-848b-11f0-9c7b-005056924926",
+                    "id": "7df101ae-87da-11f0-9c7b-005056924926",
                     "title": "AI时代的伦理与责任",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/%E7%AC%AC5%E8%AF%BE%20AI%E6%97%B6%E4%BB%A3%E7%9A%84%E4%BC%A6%E7%90%86%E4%B8%8E%E8%B4%A3%E4%BB%BB1756439414459.png",
                     "dataId": "",
@@ -222,7 +222,7 @@
         "八年级": {
             "shang": [
                 {
-                    "id": "4a75b085-854a-11f0-9c7b-005056924926",
+                    "id": "e85a21cc-8870-11f0-9c7b-005056924926",
                     "title": "进军医疗的AI",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/11756521448601.png",
                     "dataId": "",
@@ -230,7 +230,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "78cf585a-854a-11f0-9c7b-005056924926",
+                    "id": "02346267-888f-11f0-9c7b-005056924926",
                     "title": "医疗影像助手",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/21756521467042.png",
                     "dataId": "",
@@ -238,7 +238,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "9f277c16-854a-11f0-9c7b-005056924926",
+                    "id": "6401060e-8893-11f0-9c7b-005056924926",
                     "title": "听懂医嘱",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/31756521547180.png",
                     "dataId": "",
@@ -246,7 +246,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "c84a962d-854a-11f0-9c7b-005056924926",
+                    "id": "9dd91258-8894-11f0-9c7b-005056924926",
                     "title": "设计我的智慧医疗助手",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/41756521626368.png",
                     "dataId": "",
@@ -254,7 +254,7 @@
                     "courseType": "2"
                 },
                 {
-                    "id": "e67fa0f4-854a-11f0-9c7b-005056924926",
+                    "id": "5ac2d0a2-88a4-11f0-9c7b-005056924926",
                     "title": "AI医疗的“边界”感",
                     "url": "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/51756521680460.png",
                     "dataId": "",

+ 7 - 9
src/views/main.vue

@@ -3,21 +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'" class="container-left-top" @click="dialogVisible1Switch()">
+        <div class="container-left-top" @click="dialogVisible1 = !dialogVisible1">
           <span>
-            <img class="icon-img" :src="activeIndex == 0 ? img1 : img11" alt="AI 应用" />教学中心
+            <img class="icon-img" :src="img11" alt="AI 应用" />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 == 0 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(0)">
+              教学中心
+            </div>
             <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>
@@ -40,7 +43,7 @@
               AI
               应用精选</div> -->
             <div :class="activeIndex == 4 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(4)">
-              添加知识库
+              知识库
             </div>
           </div>
         </transition>
@@ -141,11 +144,6 @@ onMounted(() => {
   // }, 10);
 })
 
-const dialogVisible1Switch = () => {
-  activeIndex.value = 0
-  dialogVisible1.value = !dialogVisible1.value
-  
-}
 
 watchEffect(() => {
   // console.log('111111111111',CurrentRole, user.user)

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff