chao 1 vuosi sitten
vanhempi
commit
ba9858375a

+ 1 - 1
dist/assets/Details-HeiSz-PO.js → dist/assets/Details-YklZjS81.js

@@ -1 +1 @@
-import{u as m,r as i,o as p,a as r,b as a,c as t,w as o,d as c,e as u,t as b,f,g as h,C as v,h as k,P as y,i as g,j as C}from"./index-bypjLDEw.js";const x={class:"iframDiv"},w={__name:"Details",setup(N){const{query:n,params:s}=m();console.log(n,s);const e=i("");return p(()=>{e.value=s.title}),(V,B)=>{const l=r("el-breadcrumb-item"),_=r("el-breadcrumb"),d=r("el-page-header");return a(),t(d,null,{breadcrumb:o(()=>[c(_,{separator:"/"},{default:o(()=>[c(l,{to:{path:"/"}},{default:o(()=>[u(" 首页 ")]),_:1}),c(l,null,{default:o(()=>[u(b(f(s).title),1)]),_:1})]),_:1})]),default:o(()=>[h("div",x,[e.value=="课程列表"?(a(),t(v,{key:0})):e.value=="资源中心"?(a(),t(k,{key:1})):e.value=="实践中心"?(a(),t(y,{key:2})):e.value=="其他课程资源"?(a(),t(g,{key:3})):C("",!0)])]),_:1})}}};export{w as default};
+import{u as m,r as i,o as p,a as r,b as a,c as t,w as o,d as c,e as u,t as b,f,g as h,C as v,h as k,P as y,i as g,j as C}from"./index-Qo8AalNm.js";const x={class:"iframDiv"},w={__name:"Details",setup(N){const{query:n,params:s}=m();console.log(n,s);const e=i("");return p(()=>{e.value=s.title}),(V,B)=>{const l=r("el-breadcrumb-item"),_=r("el-breadcrumb"),d=r("el-page-header");return a(),t(d,null,{breadcrumb:o(()=>[c(_,{separator:"/"},{default:o(()=>[c(l,{to:{path:"/"}},{default:o(()=>[u(" 首页 ")]),_:1}),c(l,null,{default:o(()=>[u(b(f(s).title),1)]),_:1})]),_:1})]),default:o(()=>[h("div",x,[e.value=="课程列表"?(a(),t(v,{key:0})):e.value=="资源中心"?(a(),t(k,{key:1})):e.value=="实践中心"?(a(),t(y,{key:2})):e.value=="其他课程资源"?(a(),t(g,{key:3})):C("",!0)])]),_:1})}}};export{w as default};

+ 1 - 1
dist/assets/admin-sbntznD3.js → dist/assets/admin-8sT6XxT-.js

@@ -1 +1 @@
-import{_ as d,k as _,r as a,b as c,l as s,p as n,m as i,g as t,d as p}from"./index-bypjLDEw.js";const l=e=>(n("data-v-5156346f"),e=e(),i(),e),u={class:"adminStudent"},f=l(()=>t("div",{style:{width:"100%",height:"100%"}},[t("iframe",{src:"//beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/works?userid=a77e9404-efec-11e9-96f9-028edca3b798&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=",frameborder:"0",allow:"camera *; fullscreen *;fullscreen 'src'"})],-1)),m=[f],h={__name:"adminStudent",setup(e){return _({user:"",region:"",date:""}),a(0),a(5),a(4),a(10),(o,r)=>(c(),s("div",u,m))}},b=d(h,[["__scopeId","data-v-5156346f"]]),S={__name:"admin",setup(e){return(o,r)=>(c(),s("div",null,[p(b)]))}};export{S as default};
+import{_ as d,k as _,r as a,b as c,l as s,p as n,m as i,g as t,d as p}from"./index-Qo8AalNm.js";const l=e=>(n("data-v-5156346f"),e=e(),i(),e),u={class:"adminStudent"},f=l(()=>t("div",{style:{width:"100%",height:"100%"}},[t("iframe",{src:"//beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/works?userid=a77e9404-efec-11e9-96f9-028edca3b798&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=",frameborder:"0",allow:"camera *; fullscreen *;fullscreen 'src'"})],-1)),m=[f],h={__name:"adminStudent",setup(e){return _({user:"",region:"",date:""}),a(0),a(5),a(4),a(10),(o,r)=>(c(),s("div",u,m))}},b=d(h,[["__scopeId","data-v-5156346f"]]),S={__name:"admin",setup(e){return(o,r)=>(c(),s("div",null,[p(b)]))}};export{S as default};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index-Qo8AalNm.js


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/assets/index-xu18HpIp.css


+ 5 - 2
dist/index.html

@@ -5,8 +5,11 @@
     <link rel="icon" href="./favicon.ico">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>课程资源平台</title>
-    <script type="module" crossorigin src="./assets/index-bypjLDEw.js"></script>
-    <link rel="stylesheet" crossorigin href="./assets/index-CehHZbaq.css">
+    <script>
+      document.domain = "cocorobo.cn"
+    </script>
+    <script type="module" crossorigin src="./assets/index-Qo8AalNm.js"></script>
+    <link rel="stylesheet" crossorigin href="./assets/index-xu18HpIp.css">
   </head>
   <body>
     <div id="app"></div>

+ 3 - 0
index.html

@@ -5,6 +5,9 @@
     <link rel="icon" href="/favicon.ico">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>课程资源平台</title>
+    <script>
+      document.domain = "cocorobo.cn"
+    </script>
   </head>
   <body>
     <div id="app"></div>

+ 51 - 50
src/components/main/other.vue

@@ -2,37 +2,37 @@
   <h2 class="contentTitle">其他课程资源</h2>
   <el-row :gutter="20">
     <el-col :span="6">
-      <div class="grid-content">
-        <router-link to="/iframe/其他课程资源/课程管理">
-          <img :src="Img1" alt="">
-          <div>
-            <span>课程管理</span>
-            <p>教师自定义创建个人人工智能课程教学资源。</p>
-          </div>
-        </router-link>
+      <div class="grid-content" @click="openApplication('project')">
+        <!-- <router-link to="/iframe/其他课程资源/课程管理"> -->
+        <img :src="Img1" alt="">
+        <div>
+          <span>课程管理</span>
+          <p>教师自定义创建个人人工智能课程教学资源。</p>
+        </div>
+        <!-- </router-link> -->
 
       </div>
     </el-col>
     <el-col :span="6">
-      <div class="grid-content">
-        <router-link to="/iframe/其他课程资源/课程中心">
-          <img :src="Img2" alt="">
-          <div>
-            <span>课程中心</span>
-            <p>教师使用预置或自定义补充资源开展授课。</p>
-          </div>
-        </router-link>
+      <div class="grid-content" @click="openApplication('study')">
+        <!-- <router-link to="/iframe/其他课程资源/课程中心"> -->
+        <img :src="Img2" alt="">
+        <div>
+          <span>课程中心</span>
+          <p>教师使用预置或自定义补充资源开展授课。</p>
+        </div>
+        <!-- </router-link> -->
       </div>
     </el-col>
     <el-col :span="6">
-      <div class="grid-content">
-        <router-link to="/iframe/其他课程资源/学生评价">
-          <img :src="Img3" alt="">
-          <div>
-            <span>学生评价</span>
-            <p>教师基于平台数据采集开展对应目标的学生评价。</p>
-          </div>
-        </router-link>
+      <div class="grid-content" @click="openApplication('evaluate')">
+        <!-- <router-link to="/iframe/其他课程资源/学生评价"> -->
+        <img :src="Img3" alt="">
+        <div>
+          <span>学生评价</span>
+          <p>教师基于平台数据采集开展对应目标的学生评价。</p>
+        </div>
+        <!-- </router-link> -->
       </div>
     </el-col>
   </el-row>
@@ -42,6 +42,11 @@ import { ref } from 'vue';
 import Img1 from '@/assets/icon/课程管理.png'
 import Img2 from '@/assets/icon/课程中心.png'
 import Img3 from '@/assets/icon/学生评价icon.png'
+
+const openApplication = (type) => {
+  console.log('11111111')
+  top.U.MD.D.I.openApplication(type)
+}
 </script>
 <style lang="scss" scoped>
 .el-row {
@@ -55,37 +60,33 @@ import Img3 from '@/assets/icon/学生评价icon.png'
       min-height: 36px;
       background: #fff;
       border-radius: 10px;
+      text-decoration: none;
+      display: block;
+      position: relative;
+      padding: 16px;
 
-      a {
-        text-decoration: none;
-        display: block;
-        position: relative;
-        padding: 16px;
-
-        img {
-          width: 56px;
-        }
-
-        div {
-          position: absolute;
-          left: 80px;
-          top: 16px;
 
-          span {
-            color: rgba(0, 0, 0, 0.9);
-            font-size: 14px;
-            margin-bottom: 10px;
-            font-weight: 400;
-          }
+      img {
+        width: 56px;
+      }
 
-          p {
-            color: rgba(0, 0, 0, 0.4);
-            font-size: 12px;
-            padding-right: 20px;
-          }
+      div {
+        position: absolute;
+        left: 80px;
+        top: 16px;
+        cursor: pointer;
+        span {
+          color: rgba(0, 0, 0, 0.9);
+          font-size: 14px;
+          margin-bottom: 10px;
+          font-weight: 400;
         }
 
-
+        p {
+          color: rgba(0, 0, 0, 0.4);
+          font-size: 12px;
+          padding-right: 20px;
+        }
       }
     }
   }

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä