From a98ec6292a7d9ab2ad2d5d961e90aa5efcf853af Mon Sep 17 00:00:00 2001 From: haozq <1611483981@qq.com> Date: Fri, 12 Dec 2025 11:01:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/index.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 public/js/index.js diff --git a/public/js/index.js b/public/js/index.js new file mode 100644 index 0000000..8b660ac --- /dev/null +++ b/public/js/index.js @@ -0,0 +1,18 @@ + function openSystem(id) { + let username=localStorage.getItem("public_username"); + let token=localStorage.getItem("public_token"); + let url=web_url+contentPath; + if(id==='1'){ + window.open(url+'smz-web/lodingIndex.html?token='+username,'smz_html'); + }else if(id==='2'){ + window.open('','smz_web_html') + }else if(id==='3'){ + window.open('','smz_web_html') + }else if(id==='4'){ + window.open('','smz_web_html') + }else if(id==='5'){ + window.open('','smz_web_html') + } + + + } \ No newline at end of file