From a25d392e7c84446d5542601701d925172f3e9f0a Mon Sep 17 00:00:00 2001 From: linbin <495561397@qq.com> Date: Sat, 6 Sep 2025 08:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=BC=E8=BF=B0:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=8C=BA=E5=9F=9F=E6=98=BE=E7=A4=BA=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E5=92=8C=E9=A1=B5=E9=9D=A2=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 隐藏内容区域标题显示,统一使用iframe展示页面内容 - 移除菜单点击时动态更新标题的逻辑 - 简化内容区域的展示方式,提升用户体验 --- 平台端web/index.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/平台端web/index.html b/平台端web/index.html index 820bfb3..fffa572 100644 --- a/平台端web/index.html +++ b/平台端web/index.html @@ -112,6 +112,7 @@ } .content-header { + display: none; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; @@ -354,9 +355,6 @@ // 为当前点击的菜单项添加活动状态 this.classList.add('active'); - // 更新内容区域标题 - document.querySelector('.content-header h1').textContent = text || '大妈系统平台'; - // 这里可以根据需要更新内容区域的内容 updateContent(text); } @@ -367,8 +365,7 @@ function updateContent(title) { const contentBody = document.querySelector('.content-body'); - // 恢复内容区域的标题显示 - document.querySelector('.content-header').style.display = 'block'; + // 移除内容区域标题的显示逻辑,直接在iframe中显示页面 // 如果是权限编辑或市场经营者创建,显示iframe if (title === '权限编辑') {