主页新闻板块改成重庆工贸的;手机端主页背景logo改成读取系统参数里的logo,之前默认是地大logo

This commit is contained in:
2026-09-16 16:50:58 +08:00
parent 0cec79cd76
commit fc39bc8020
7 changed files with 135 additions and 54 deletions
@@ -39,7 +39,8 @@ const jcdt = {
},
methods: {
onLink(item) {
const url = this.isHttpOrHttps(item.href) ? item.href : "https://xgh.cug.edu.cn/" + item.href
// 接口返回文章完整地址;相对地址按当前学校工会域名解析。
const url = this.isHttpOrHttps(item.href) ? item.href : new URL(item.href, "https://gh.cqgmy.edu.cn/").href
window.open(url)
},
isHttpOrHttps(url) {