chao 1 yıl önce
ebeveyn
işleme
dbe7847fbd

+ 1 - 1
dist/assets/Details-e3mvLS3n.js → dist/assets/Details-aEBqUxWd.js

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

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


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


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


BIN
dist/assets/四下2-JsL2qE9j.png


BIN
dist/assets/四下2-reet6Djo.png


BIN
dist/assets/四下3-l4CkiAqz.png


BIN
dist/assets/四下3-t21aiLHG.png


+ 2 - 2
dist/index.html

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

+ 4 - 3
src/App.vue

@@ -11,7 +11,7 @@ const route = useRoute()
 const store = userInfoStore()
 const CurrentRole = userCurrentRole()
 const name = ref('')
-const isShow = ref(true)
+const isShow = ref(false)
 const setTimeState = ref(null)
 
 onMounted(() => {
@@ -38,11 +38,11 @@ onMounted(() => {
           }
         })
       } else {
-        linkLogin()
+        // linkLogin()
       }
     })
   } else {
-    linkLogin()
+    // linkLogin()
   }
 })
 
@@ -136,6 +136,7 @@ const setStateUserinfo = () => {
   setTimeState.value = setInterval(() => {
     if (JSON.stringify(top.US.userInfo) != '{}') {
       isShow.value = false
+      console.log("top.US.userInfo",top.US.userInfo)
       store.user = top.US.userInfo
       clearInterval(setTimeState.value)
     }

BIN
src/assets/img/四下2.png


BIN
src/assets/img/四下3.png


+ 14 - 2
src/components/header/headerRight.vue

@@ -3,7 +3,7 @@
         <div>
             <el-button @click="goBack()">返回人工智能专栏</el-button>
         </div>
-        <div v-if="isLogin" class="loginAdmin">
+        <div v-if="!isLogin" class="loginAdmin">
             <div v-if="admin">
                 <img src="" alt="">
                 <!-- <span>管理后台</span> -->
@@ -11,7 +11,11 @@
             </div>
             <div>
                 <img src="" alt="">
-                <span style="cursor: pointer;" @click="userInfoOpen()">{{ userName }}</span>
+                <span style="cursor: pointer;" @click="userInfoShow = true">{{ userName }}</span>
+                <ul v-if="userInfoShow" class="user_info">
+                    <li>个人资料</li>
+                    <li>退出</li>
+                </ul>
             </div>
         </div>
         <div v-else>
@@ -30,6 +34,7 @@ const isLogin = ref(false)
 const admin = ref(false)
 const userName = ref('')
 const CurrentRole = userCurrentRole()
+const userInfoShow = ref(true)
 
 const linkLogin = () => {
     top.location.href = `http://szedutest.changyan.cn/thirdauth/oauth2/authorize?service=initService&scope=all&response_type=code&app_id=94c720f0634b4bad890dc9223de01166&redirect_uri=https://cloud.cocorobo.cn/testapi`
@@ -97,5 +102,12 @@ watchEffect(() => {
             color: #fff;
         }
     }
+    .user_info {
+        width: 100%;
+        position: relative;
+        background: #fff;
+        padding: 0 15px;
+    }
 }
+
 </style>

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

@@ -159,11 +159,11 @@ const courseData = {
         url: si1
       }, {
         id: "29120fad-ed73-11ee-b534-005056b86db5",
-        title: "数字识别与车牌识别",
+        title: "情绪识别",
         url: si2
       }, {
         id: "283d7d77-ed73-11ee-b534-005056b86db5",
-        title: "摆动起来",
+        title: "情绪小怪兽",
         url: si3
       }, {
         id: "274ad423-ed73-11ee-b534-005056b86db5",

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