From 7bfd1a340e86402f00cb2a9a04321e62b571e1c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Wed, 28 Dec 2022 17:20:30 +0800 Subject: [PATCH] 'commit' --- WebRoot/html/study/add.html | 8 ++++++++ WebRoot/html/study/documentList.html | 16 +++++++++++++++- WebRoot/html/study/left.html | 7 ++----- WebRoot/html/study/studyList.html | 4 ++-- WebRoot/html/study/update.html | 8 ++++++++ 5 files changed, 35 insertions(+), 8 deletions(-) diff --git a/WebRoot/html/study/add.html b/WebRoot/html/study/add.html index 98ed40f..13ec05e 100644 --- a/WebRoot/html/study/add.html +++ b/WebRoot/html/study/add.html @@ -62,6 +62,14 @@ layui.extend({ admin: '{/}../static/js/admin' }); + function GetQueryString(name,istop) { + var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); + var r = window.location.search.substr(1).match(reg); + if(typeof(istop) != "undefined") r = top.location.search.substr(1).match(reg); + + if (r != null) return unescape(r[2]); + return null; + } layui.use(['form', 'jquery', 'admin', 'layer'], function () { var form = layui.form, $ = layui.jquery, diff --git a/WebRoot/html/study/documentList.html b/WebRoot/html/study/documentList.html index 7bc90bf..364be08 100644 --- a/WebRoot/html/study/documentList.html +++ b/WebRoot/html/study/documentList.html @@ -5,6 +5,20 @@