From dfb22b97b373a78dcf8358ee1f143f568b456b81 Mon Sep 17 00:00:00 2001 From: "mx00085@163.com" Date: Mon, 13 Mar 2023 15:02:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A6=96=E9=A1=B5=E5=A4=B4=E9=83=A8?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PortalHeader.vue | 26 +- src/views/Index.vue | 4086 ++++++++++++++++++------------- 2 files changed, 2353 insertions(+), 1759 deletions(-) diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue index ca21b206..c515d23f 100644 --- a/src/components/PortalHeader.vue +++ b/src/components/PortalHeader.vue @@ -214,17 +214,21 @@ export default { // }); }, handleCommand(val) { - let urlPre=window.location.protocol+'//'+window.location.host; - // process.env.VUE_APP_BOE_WEB_URL - let obj = { - one: urlPre+'/web/teacherLesson', - two: urlPre+'/grow180/login', - three: this.webBaseUrl + '/study/index?study=1', - four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130', - five: urlPre+'/boe/new-employee/index.html', - six: urlPre+'/web/contributor/index' - }; - window.open(obj[val]); + if (val === "four") { + this.$emit('showClass',true) + } else { + let urlPre = window.location.protocol + "//" + window.location.host; + // process.env.VUE_APP_BOE_WEB_URL + let obj = { + one: urlPre + "/web/teacherLesson", + two: urlPre + "/grow180/login", + three: this.webBaseUrl + "/study/index?study=1", + // four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130', + five: urlPre + "/boe/new-employee/index.html", + six: urlPre + "/web/contributor/index", + }; + window.open(obj[val]); + } }, handleUcCommand(val) { if (val == 'uc') { diff --git a/src/views/Index.vue b/src/views/Index.vue index 0831b8de..652356bd 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -1,62 +1,126 @@