From 058b1c3fc449ed6cbe8b52ee0ffc37b37f0e87d1 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 10 Aug 2023 10:33:58 +0800 Subject: [PATCH] fix --- src/api/index.js | 1 + src/assets/img/entry.png | Bin 1144 -> 15730 bytes src/components/breadcrumb/index.vue | 81 +-- src/layouts/header/index.vue | 2 +- src/layouts/navbar/index.vue | 11 +- src/pages/ass/list/index.vue | 16 +- src/pages/course/details/index.vue | 730 +++++++++++++++------------- src/pages/match/details/index.vue | 7 +- src/pages/match/list/index.vue | 8 +- src/pages/record/list/ass.vue | 9 +- src/pages/record/list/index.vue | 54 +- src/pages/record/list/practice.vue | 4 +- src/pages/record/show/index.vue | 66 ++- src/pages/screen/index.vue | 3 + src/pages/station/preview/index.vue | 92 ++-- src/setting.js | 2 +- src/styles/page/station.scss | 12 +- 17 files changed, 593 insertions(+), 505 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 3abb6e2..6de39a0 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -181,6 +181,7 @@ export default { fileDeletion: `${uploadURL}oss/manage/fileDeletion`, // 删除OSS文件 fileupload: `${uploadURL}oss/manage/fileupload`, // 文件上传 getPlayAuth: `${uploadURL}oss/manage/getPlayAuth`, // 获取播放凭证 + getPlayAuthNakadai: `nakadai/nakadai/oss/getPlayAuth`, // 获取播放凭证 queryProvince: `nakadai/nakadai/province/queryProvince`, //查询省份 queryCity: `nakadai/nakadai/city/queryCity`, //查询城市 diff --git a/src/assets/img/entry.png b/src/assets/img/entry.png index abf3fbb94ff4ca2d98f3737ac50beb9f8dd52ab6..fefe9aea60120bbec8b65a5b2ffb932be61d2632 100644 GIT binary patch literal 15730 zcmeI3X;c$g8itEa5CtP{FxpxM5fGEgDyBL_Lm~#7C`KGnaS2HUqDd+w!31ytq*dGw zi=yH>F1U>QIO5*4gIkYuH!jDe-9?nv5m9MzYp0SRToA44IsLP84wa94-}n1&J$Fg{ zsodC+!+pH};tfHNPqa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BcG>x!$^Ppg_`=_X@# zO63omQgnRfi*mhZ_3AA#2j<@VYTolfi5H)zti@5+RZGu=-)%UMi_U#1DUX5%Y66et zMNL~6a!F&s>+5ZJ#Y~BI@ delta 1134 zcmV-!1d;pldiV&C8Gi!+005L|wl9*qAFhW{my{~3z^2ZH|iz|MmL+;In4 z|7x@UOQiocng8wf|I+CH$KwBs#Q#~V|C7o8c)R}zg8oFH|H0t@sMG(x-v3jm|1+5X zfOhg&0000AbW%=JCh!39@U5+_@$TG>%U%Eg18hk|K~!ko?bvB^nm`-|aMCtu`|K{e zEVmq@XuR*JNq@fo2kQccRMV;Po(}!Jz;Sq?Jp7LV?TdE*jpi&=)!l=NLHkDEa8%Zv zrrpzb3{}PMvx4|v62ADV(chS;CQ1m|3c^4Y`GQm}2p)zUI~XOoO0`Bf9ER9t+2k#V z3JuE-L3j~)qtObj&z;tgI(esEtss0T#tf{FLTF)2%YVcc-ohm@+9rPv!oo%MdJ-6} zARkd!bj##DuJjh!(E|w-3QQXpOhQtdY|;3&283KUS=buaR#U~Ynpk?Y9TTz`643WS3rFWlpnYIsU@HxhQ6?6_q` zC?c@a$vRy;rl|>qHcZ)ZvC&VliN#klbJS|aiv&q>Smkrm&?B+`!f!hxL;%(?-dm%W z0I7q_+R1df>aa#;I_uA013bt045?9>B&kD6e&8+Rctb zSbu|QGJl~pG^~-gw+0Notbh}PxSF`Dk9iryauh-dM|BihonSS9lJ;g+Z-5D1zBqr| zf@Zk^{;eQ}wWdP>uoOyvv_x(&8ss0Vz((wJ2gt2nxiU{V`(q~Y&Wv7C|tXts|Z7Z zsO2%78B-ZVC#;1NgJAsFJ0NsR;uu%&h5bQr81WgTSR)kYJE?#l9ZmGFXj9(>DIn# z56Cc6kV^ZmX?Mk&%xe3oX @@ -21,44 +19,53 @@ \ No newline at end of file diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 3ee5238..0a6d699 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -151,7 +151,7 @@ export default { }, initSocket ({ id, account }) { // 实例化socket - this.socket = new WebSocket(`wss://${Setting.isDev ? '121.37.12.51' : location.host}/nakadai/websocket/${id}/${account}`) + this.socket = new WebSocket(`${Setting.isTest ? 'ws' : 'wss'}://${Setting.isDev ? '121.37.12.51' : location.host}/nakadai/websocket/${id}/${account}`) // this.socket = new WebSocket(`ws://121.37.12.51:9100/nakadai/websocket/${id}/${account}`) // 监听socket连接 this.socket.onopen = this.open; diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 0423736..422183f 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -268,12 +268,19 @@ export default { } } } -@media (max-width: 1380px) { +@media (max-width: 1440px) { .nav { - left: 58%; + left: 53%; & > li { padding: 0 10px; } } } +@media (max-width: 1360px) { + .nav { + & > li { + padding: 0 4px; + } + } +} \ No newline at end of file diff --git a/src/pages/ass/list/index.vue b/src/pages/ass/list/index.vue index 4afb955..cdc2947 100644 --- a/src/pages/ass/list/index.vue +++ b/src/pages/ass/list/index.vue @@ -490,30 +490,32 @@ export default { this.invitationCode = ""; }, goSubSystem () { - let token = util.local.get(Setting.tokenKey) + const token = util.local.get(Setting.tokenKey) const classId = this.classId const classItem = this.classList.find(e => e.id == classId) - let curriculumId = this.curRow.curriculumId + const row = this.curRow + const { curriculumId, mallId } = row util.cookies.set("token", token) util.cookies.set("assessmentId", this.assessmentId) util.cookies.set("classId", classId) util.cookies.set("className", classItem ? encodeURI(classItem.className) : '') util.cookies.set("projectId", this.projectId) util.cookies.set("courseId", this.cid) - util.cookies.set("curriculumName", escape(this.curRow.sysName)); - util.cookies.set("startTime", this.curRow.startTime) - util.cookies.set("stopTime", this.curRow.stopTime) + util.cookies.set("curriculumName", escape(row.sysName)); + util.cookies.set("startTime", row.startTime) + util.cookies.set("stopTime", row.stopTime) util.cookies.set("systemId", this.systemId); + util.cookies.set('mallId', mallId) util.cookies.set('fromManager', '', -1) util.cookies.set('competitionId', '', -1) util.cookies.set('isSubmit', '', -1) util.cookies.set('language', '', -1) let href = '' if (curriculumId == 11) { - href = `${Setting.systemPath}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&assessmentId=${this.assessmentId}&classId=${this.classId}&stopTime=${this.stopTime}`; + href = `${Setting.systemPath}/#/index/list?token=${token}&cid=${this.cid}&systemId=${this.systemId}&projectId=${this.projectId}&mallId=${mallId}&assessmentId=${this.assessmentId}&classId=${classId}&stopTime=${this.stopTime}`; } else if (curriculumId == 12) { // 众筹系统 - window.open(`http://120.78.139.126:8879?systemId=${this.systemId}&courseId=${this.cid}&projectId=${this.projectId}&token=${token}&userId=${this.userId}&assessmentId=${this.assessmentId}&classId=${this.curRow.classId}`); + window.open(`http://120.78.139.126:8879?systemId=${this.systemId}&courseId=${this.cid}&projectId=${this.projectId}&token=${token}&userId=${this.userId}&assessmentId=${this.assessmentId}&classId=${classId}&mallId=${mallId}`); } else { if (process.env.NODE_ENV === 'development') { href = 'http://192.168.31.125:8085/#/' diff --git a/src/pages/course/details/index.vue b/src/pages/course/details/index.vue index f952055..c07ecd1 100644 --- a/src/pages/course/details/index.vue +++ b/src/pages/course/details/index.vue @@ -1,74 +1,117 @@ \ No newline at end of file diff --git a/src/setting.js b/src/setting.js index bd109d5..70d8efa 100644 --- a/src/setting.js +++ b/src/setting.js @@ -28,7 +28,7 @@ if (isPro) { uploadURL = `http://121.37.12.51/` host = "http://121.37.12.51/"; // 测试服 // host = 'https://www.occupationlab.com/' // 正式服 - host = "http://192.168.31.152:9000/"; // 榕 + // host = "http://192.168.31.152:9000/"; // 榕 // host = "http://192.168.31.51:9000/"; // 赓 } diff --git a/src/styles/page/station.scss b/src/styles/page/station.scss index e48d274..22dac21 100644 --- a/src/styles/page/station.scss +++ b/src/styles/page/station.scss @@ -29,6 +29,9 @@ color: rgba(0, 0, 0, 0.45); font-size: 14px; } + /deep/img { + max-width: 95%; + } } .action { display: inline-flex; @@ -121,10 +124,17 @@ align-items: center; padding-bottom: 10px; margin: -22px 0 20px; - font-size: 20px; + font-size: 15px; color: #007eff; border-bottom: 1px dashed #bfbfbf; } + .des { + p, + span, + em { + font-size: 14px !important; + } + } .withdraw { margin-right: 10px; font-size: 13px;