From 3586dc4a359c4f05f6d4c3337baed9c00e075347 Mon Sep 17 00:00:00 2001 From: tangxinyue <524779910@qq.com> Date: Thu, 30 Apr 2026 15:26:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9webview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 356 ++++++++++++++++--------------- main.js | 2 +- pages/common/webview/webview.vue | 229 +++++++++++--------- pages/index/index.nvue | 2 +- static/image/close.png | Bin 0 -> 339 bytes 5 files changed, 304 insertions(+), 285 deletions(-) create mode 100644 static/image/close.png diff --git a/App.vue b/App.vue index e533e63..114d844 100644 --- a/App.vue +++ b/App.vue @@ -1,201 +1,203 @@ \ No newline at end of file diff --git a/pages/index/index.nvue b/pages/index/index.nvue index 4b0c501..0e702cb 100644 --- a/pages/index/index.nvue +++ b/pages/index/index.nvue @@ -529,7 +529,7 @@ const clickNotice = () => { console.log("点击公告", noticeInfo.value) if (!noticeInfo.value.url) return const url = noticeInfo.value.url + `&uni_id=${userInfo.value.user_id}` - util.goPage(`/pages/common/webview/webview?url=${encodeURIComponent(url)}&title=${noticeInfo.value.title}`) + util.goPage(`/pages/common/webview/webview?url=${encodeURIComponent(url)}&title=${noticeInfo.value.title}&isClose=${true}`) } /** diff --git a/static/image/close.png b/static/image/close.png new file mode 100644 index 0000000000000000000000000000000000000000..90b23f00aa6535b34780a27c3aaca0f6d773fc49 GIT binary patch literal 339 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xZ3?!EyURMI7(`OLp+YZovJHz$UvagoWrCoi|?W&UxU*lt(Drlx|k36 z*fQU}{mAK?y7l?VrL{kA{+;wjJFr{KvPygImJK`mqh8suFO~VZak7_GMcCwXd*YUE ziv8j0R@J@s(pjCwCLgLaTmL3;DZH97|LON5Hc<&HUzy(fr?xwM<--Ct8