From 6d443c9bd0ffe3ce38a0d406dc1e9746efa03f5d Mon Sep 17 00:00:00 2001 From: lVAL Date: Fri, 22 Jan 2021 11:15:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E6=A1=88=E4=BE=8B=20https?= =?UTF-8?q?://joylink.club/oss/portal/cases/=E6=B1=9F=E8=8B=8F=E7=94=B5?= =?UTF-8?q?=E5=AD=90=E4=BF=A1=E6=81=AF=E8=81=8C=E4=B8=9A=E5=AD=A6=E9=99=A2?= =?UTF-8?q?-=E5=9F=8E=E5=B8=82=E8=BD=A8=E9=81=93=E4=BA=A4=E9=80=9A?= =?UTF-8?q?=E8=A1=8C=E8=BD=A6=E7=BB=84=E7=BB=87=E7=BB=BC=E5=90=88=E5=AE=9E?= =?UTF-8?q?=E8=AE=AD=E5=AE=A4.pdf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Entry.vue | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/src/layout/components/Entry.vue b/src/layout/components/Entry.vue index 86ddfbfac..801f84396 100644 --- a/src/layout/components/Entry.vue +++ b/src/layout/components/Entry.vue @@ -13,11 +13,8 @@ - - 西安铁路职业技术学院 - - - 贵州装备制造职业学院 + + {{el.name}} @@ -85,7 +82,21 @@ export default { hidden: getSessionStorage('project').endsWith('heb') } - ], + ], + caseList: [ + { + name: '西安铁路职业技术学院', + url: 'https://joylink.club/oss/portal/cases/西安铁路职业技术学院.pdf' + }, + { + name: '贵州装备制造职业学院', + url: 'https://joylink.club/oss/portal/cases/贵州装备制造职业学院机电技术专业实训室建设.pdf' + }, + { + name: '江苏电子信息职业学院', + url: 'https://joylink.club/oss/portal/cases/江苏电子信息职业学院-城市轨道交通行车组织综合实训室.pdf' + } + ], stomp: null, header: null, lang: 'zh' @@ -134,13 +145,8 @@ export default { window.open(href, '_blank'); }, goEmpty() {}, - goToCaseShow() { - const href = 'https://joylink.club/oss/portal/cases/西安铁路职业技术学院.pdf'; - window.open(href, '_blank'); - }, - goToCase() { - const href = 'https://joylink.club/oss/portal/cases/贵州装备制造职业学院机电技术专业实训室建设.pdf'; - window.open(href, '_blank'); + goToCaseShow(item) { + window.open(item.url, '_blank'); }, goToTraining() { const routeData = this.$router.resolve({