diff --git a/平台端web/index.html b/平台端web/index.html index b4605b4..820bfb3 100644 --- a/平台端web/index.html +++ b/平台端web/index.html @@ -106,8 +106,8 @@ /* 内容区域样式 */ .content { flex: 1; - padding: 20px; - overflow-y: auto; + padding: 0; + overflow-y: hidden; background-color: #fff; } @@ -147,7 +147,7 @@ /* iframe样式 */ .content-iframe { width: 100%; - height: calc(100vh - 140px); + height: 100vh; border: none; border-radius: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); @@ -367,8 +367,8 @@ function updateContent(title) { const contentBody = document.querySelector('.content-body'); - // 移除内容区域的标题显示 - document.querySelector('.content-header').style.display = 'none'; + // 恢复内容区域的标题显示 + document.querySelector('.content-header').style.display = 'block'; // 如果是权限编辑或市场经营者创建,显示iframe if (title === '权限编辑') { @@ -384,7 +384,7 @@ let url = ''; switch(title) { case '首页': - url = 'index.html'; + url = '首页.html'; break; case '新增产品': url = '产品管理/新增产品.html'; @@ -414,9 +414,10 @@ url = '权限管理/产品分析.html'; break; default: - // 对于未指定的菜单项,显示默认内容(不包含标题) + // 对于未指定的菜单项,显示默认内容(包含标题) contentBody.innerHTML = `
您已选择"${title}"菜单项。在这里可以展示与该菜单项相关的详细内容。
这是一个内容展示容器,您可以根据实际需求添加任何内容,包括文本、图片、表格等。
这是一个功能强大且易于使用的系统平台,为您提供全方位的服务和支持。
+集中管理用户权限,灵活分配角色和访问控制,确保系统安全可靠。
+完整的产品信息管理功能,支持产品添加、编辑、删除等操作。
+方便的用户信息维护,包括用户列表查看、权限设置等功能。
+