diff --git a/商家端web/CLAUDE.md b/商家端web/CLAUDE.md new file mode 100644 index 0000000..7bc978c --- /dev/null +++ b/商家端web/CLAUDE.md @@ -0,0 +1,52 @@ +## IFRAME嵌入页面样式规范 +═══════════════════════ + +为确保所有通过iframe嵌入的页面都能顶格显示(无边距、无空白),所有嵌入页面必须遵循以下CSS样式规范: + +### 必须修改的样式: + +1. **body标签样式**: + ```css + body { + margin: 0 !important; + padding: 0 !important; + } + ``` + +2. **容器样式(.container或主容器)**: + ```css + .container { + width: 100% !important; + height: 100vh !important; + margin: 0 !important; + padding: 0 !important; + max-width: none !important; + border-radius: 0 !important; + box-shadow: none !important; + } + ``` + +3. **响应式设计**: + ```css + @media (max-width: 768px) { + .container { + margin: 0 !important; + border-radius: 0 !important; + } + } + ``` + +### 修改清单: +- [ ] 移除body的padding +- [ ] 将max-width改为width: 100% +- [ ] 将margin: 0 auto改为margin: 0 +- [ ] 移除border-radius和box-shadow +- [ ] 确保高度为100vh +- [ ] 检查响应式样式 + +### 适用范围: +- 权限管理模块所有页面 +- 产品管理模块所有页面 +- 用户管理模块所有页面 +- 系统设置模块所有页面 +- 所有未来新增的iframe嵌入页面 \ No newline at end of file diff --git a/商家端web/index.html b/商家端web/index.html new file mode 100644 index 0000000..cf5a9b8 --- /dev/null +++ b/商家端web/index.html @@ -0,0 +1,515 @@ + + + + + + 大妈系统平台 + + + + + + + +
+
+

欢迎使用大妈系统平台

+
+
+
+

系统介绍

+

这是一个简洁美观的大妈系统平台,左侧是多级导航菜单,右侧是内容展示区域。您可以点击左侧菜单浏览不同的内容板块。

+

系统支持响应式设计,在不同设备上都能提供良好的用户体验。

+
+
+

功能特点

+

1. 多级菜单结构:支持无限层级的菜单分类

+

2. 展开收起功能:点击箭头可展开或收起子菜单

+

3. 响应式设计:适配不同屏幕尺寸的设备

+

4. 美观界面:现代化的设计风格,提供良好的视觉体验

+
+
+

使用说明

+

点击左侧菜单项可以展开或收起子菜单。

+

在移动设备上,菜单会自动折叠以节省空间。

+

内容区域会根据选择的菜单项显示相应的内容。

+
+
+
+ + + + \ No newline at end of file