| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  |  | <html lang="zh-CN"> | 
					
						
							|  |  |  |  | <head> | 
					
						
							|  |  |  |  |     <meta charset="UTF-8"> | 
					
						
							|  |  |  |  |     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |     <title>大妈集市商户端</title> | 
					
						
							|  |  |  |  |     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |     <style> | 
					
						
							|  |  |  |  |         * { | 
					
						
							|  |  |  |  |             margin: 0; | 
					
						
							|  |  |  |  |             padding: 0; | 
					
						
							|  |  |  |  |             box-sizing: border-box; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         body { | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, Arial, sans-serif; | 
					
						
							|  |  |  |  |             background-color: #f5f5f5; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             color: #333; | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         /* 顶部导航栏 */ | 
					
						
							|  |  |  |  |         .top-nav { | 
					
						
							|  |  |  |  |             background-color: rgb(9, 84, 43); | 
					
						
							|  |  |  |  |             height: 50px; | 
					
						
							|  |  |  |  |             display: flex; | 
					
						
							|  |  |  |  |             align-items: center; | 
					
						
							|  |  |  |  |             justify-content: space-between; | 
					
						
							|  |  |  |  |             padding: 0 20px; | 
					
						
							|  |  |  |  |             color: white; | 
					
						
							|  |  |  |  |             position: fixed; | 
					
						
							|  |  |  |  |             top: 0; | 
					
						
							|  |  |  |  |             left: 0; | 
					
						
							|  |  |  |  |             right: 0; | 
					
						
							|  |  |  |  |             z-index: 1000; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .nav-brand { | 
					
						
							|  |  |  |  |             font-size: 18px; | 
					
						
							|  |  |  |  |             font-weight: 600; | 
					
						
							|  |  |  |  |             color: white; | 
					
						
							|  |  |  |  |             text-decoration: none; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .nav-left { | 
					
						
							|  |  |  |  |             display: flex; | 
					
						
							|  |  |  |  |             align-items: center; | 
					
						
							|  |  |  |  |             gap: 15px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .nav-right { | 
					
						
							|  |  |  |  |             display: flex; | 
					
						
							|  |  |  |  |             align-items: center; | 
					
						
							|  |  |  |  |             gap: 15px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .nav-icon { | 
					
						
							|  |  |  |  |             width: 24px; | 
					
						
							|  |  |  |  |             height: 24px; | 
					
						
							|  |  |  |  |             cursor: pointer; | 
					
						
							|  |  |  |  |             display: flex; | 
					
						
							|  |  |  |  |             align-items: center; | 
					
						
							|  |  |  |  |             justify-content: center; | 
					
						
							|  |  |  |  |             color: white; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .nav-avatar { | 
					
						
							|  |  |  |  |             width: 32px; | 
					
						
							|  |  |  |  |             height: 32px; | 
					
						
							|  |  |  |  |             border-radius: 50%; | 
					
						
							|  |  |  |  |             background-color: #28a745; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             display: flex; | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             align-items: center; | 
					
						
							|  |  |  |  |             justify-content: center; | 
					
						
							|  |  |  |  |             cursor: pointer; | 
					
						
							|  |  |  |  |             font-size: 14px; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         /* 侧边栏 */ | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         .sidebar { | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             position: fixed; | 
					
						
							|  |  |  |  |             left: 0; | 
					
						
							|  |  |  |  |             top: 50px; | 
					
						
							|  |  |  |  |             width: 220px; | 
					
						
							|  |  |  |  |             height: calc(100vh - 50px); | 
					
						
							|  |  |  |  |             background-color: white; | 
					
						
							|  |  |  |  |             border-right: 1px solid #e8e8e8; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             overflow-y: auto; | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             z-index: 999; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .menu-search { | 
					
						
							|  |  |  |  |             padding: 15px; | 
					
						
							|  |  |  |  |             border-bottom: 1px solid #f0f0f0; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .search-input { | 
					
						
							|  |  |  |  |             width: 100%; | 
					
						
							|  |  |  |  |             height: 32px; | 
					
						
							|  |  |  |  |             padding: 0 10px; | 
					
						
							|  |  |  |  |             border: 1px solid #d9d9d9; | 
					
						
							|  |  |  |  |             border-radius: 4px; | 
					
						
							|  |  |  |  |             font-size: 12px; | 
					
						
							|  |  |  |  |             background-color: #fafafa; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .menu-list { | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             list-style: none; | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             padding: 0; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .menu-item { | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             border-bottom: 1px solid #f0f0f0; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .menu-link { | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             display: flex; | 
					
						
							|  |  |  |  |             align-items: center; | 
					
						
							|  |  |  |  |             padding: 12px 20px; | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             color: #666; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             text-decoration: none; | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             font-size: 14px; | 
					
						
							|  |  |  |  |             transition: all 0.3s; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             cursor: pointer; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .menu-link:hover { | 
					
						
							|  |  |  |  |             background-color: #f5f5f5; | 
					
						
							|  |  |  |  |             color: #1890ff; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .menu-link.active { | 
					
						
							|  |  |  |  |             background-color: #e6f7ff; | 
					
						
							|  |  |  |  |             color: #1890ff; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .menu-icon { | 
					
						
							|  |  |  |  |             width: 16px; | 
					
						
							|  |  |  |  |             height: 16px; | 
					
						
							|  |  |  |  |             margin-right: 10px; | 
					
						
							|  |  |  |  |             display: flex; | 
					
						
							|  |  |  |  |             align-items: center; | 
					
						
							|  |  |  |  |             justify-content: center; | 
					
						
							|  |  |  |  |             font-size: 12px; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .menu-text { | 
					
						
							|  |  |  |  |             flex: 1; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .menu-arrow { | 
					
						
							|  |  |  |  |             font-size: 12px; | 
					
						
							|  |  |  |  |             transition: transform 0.3s; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .menu-item.expanded .menu-arrow { | 
					
						
							|  |  |  |  |             transform: rotate(90deg); | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .submenu { | 
					
						
							|  |  |  |  |             background-color: #fafafa; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             display: none; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .menu-item.expanded .submenu { | 
					
						
							|  |  |  |  |             display: block; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .submenu-link { | 
					
						
							|  |  |  |  |             padding: 8px 20px 8px 46px; | 
					
						
							|  |  |  |  |             font-size: 13px; | 
					
						
							|  |  |  |  |             color: #666; | 
					
						
							|  |  |  |  |             display: block; | 
					
						
							|  |  |  |  |             text-decoration: none; | 
					
						
							|  |  |  |  |             transition: all 0.3s; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .submenu-link:hover { | 
					
						
							|  |  |  |  |             background-color: #e6f7ff; | 
					
						
							|  |  |  |  |             color: #1890ff; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .submenu-icon { | 
					
						
							|  |  |  |  |             width: 6px; | 
					
						
							|  |  |  |  |             height: 6px; | 
					
						
							|  |  |  |  |             background-color: #ccc; | 
					
						
							|  |  |  |  |             border-radius: 50%; | 
					
						
							|  |  |  |  |             margin-right: 8px; | 
					
						
							|  |  |  |  |             display: inline-block; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         /* 主内容区域 */ | 
					
						
							|  |  |  |  |         .main-content { | 
					
						
							|  |  |  |  |             margin-left: 220px; | 
					
						
							|  |  |  |  |             margin-top: 50px; | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |             height: calc(100vh - 50px); | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             background-color: white; | 
					
						
							|  |  |  |  |             padding: 20px; | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |             position: relative; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         .content-placeholder, #contentFrame { | 
					
						
							|  |  |  |  |             height: 100%; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .content-placeholder { | 
					
						
							|  |  |  |  |             text-align: center; | 
					
						
							|  |  |  |  |             color: #999; | 
					
						
							|  |  |  |  |             font-size: 16px; | 
					
						
							|  |  |  |  |             margin-top: 50px; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |         .breadcrumb { | 
					
						
							|  |  |  |  |             margin-bottom: 20px; | 
					
						
							|  |  |  |  |             padding: 10px 0; | 
					
						
							|  |  |  |  |             border-bottom: 1px solid #f0f0f0; | 
					
						
							|  |  |  |  |             font-size: 14px; | 
					
						
							|  |  |  |  |             color: #666; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         /* 响应式设计 */ | 
					
						
							|  |  |  |  |         @media (max-width: 768px) { | 
					
						
							|  |  |  |  |             .sidebar { | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                 transform: translateX(-100%); | 
					
						
							|  |  |  |  |                 transition: transform 0.3s; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             } | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |             .sidebar.open { | 
					
						
							|  |  |  |  |                 transform: translateX(0); | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             } | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |             .main-content { | 
					
						
							|  |  |  |  |                 margin-left: 0; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             } | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |             .nav-toggle { | 
					
						
							|  |  |  |  |                 display: block; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |             } | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         .nav-toggle { | 
					
						
							|  |  |  |  |             display: none; | 
					
						
							|  |  |  |  |             background: none; | 
					
						
							|  |  |  |  |             border: none; | 
					
						
							|  |  |  |  |             color: white; | 
					
						
							|  |  |  |  |             font-size: 18px; | 
					
						
							|  |  |  |  |             cursor: pointer; | 
					
						
							|  |  |  |  |         } | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |     </style> | 
					
						
							|  |  |  |  | </head> | 
					
						
							|  |  |  |  | <body> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |     <!-- 顶部导航栏 --> | 
					
						
							|  |  |  |  |     <nav class="top-nav"> | 
					
						
							|  |  |  |  |         <div class="nav-left"> | 
					
						
							|  |  |  |  |             <button class="nav-toggle" onclick="toggleSidebar()"> | 
					
						
							|  |  |  |  |                 <i class="fas fa-bars"></i> | 
					
						
							|  |  |  |  |             </button> | 
					
						
							|  |  |  |  |             <a href="#" class="nav-brand">大妈集市商户端</a> | 
					
						
							|  |  |  |  |         </div> | 
					
						
							|  |  |  |  |         <div class="nav-right"> | 
					
						
							|  |  |  |  |             <div class="nav-icon"> | 
					
						
							|  |  |  |  |                 <i class="fas fa-cog"></i> | 
					
						
							|  |  |  |  |             </div> | 
					
						
							|  |  |  |  |             <div class="nav-icon"> | 
					
						
							|  |  |  |  |                 <i class="fas fa-expand"></i> | 
					
						
							|  |  |  |  |             </div> | 
					
						
							|  |  |  |  |             <div class="nav-avatar"> | 
					
						
							|  |  |  |  |                 <i class="fas fa-user"></i> | 
					
						
							|  |  |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |     </nav> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |     <!-- 侧边栏 --> | 
					
						
							|  |  |  |  |     <aside class="sidebar" id="sidebar"> | 
					
						
							|  |  |  |  |         <div class="menu-search"> | 
					
						
							|  |  |  |  |             <input type="text" class="search-input" placeholder="快速搜索菜单"> | 
					
						
							|  |  |  |  |         </div> | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |         <ul class="menu-list"> | 
					
						
							|  |  |  |  |             <li class="menu-item"> | 
					
						
							|  |  |  |  |                 <a href="#" class="menu-link active"> | 
					
						
							|  |  |  |  |                     <span class="menu-icon"> | 
					
						
							|  |  |  |  |                         <i class="fas fa-home"></i> | 
					
						
							|  |  |  |  |                     </span> | 
					
						
							|  |  |  |  |                     <span class="menu-text">首页</span> | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |                 </a> | 
					
						
							|  |  |  |  |             </li> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |              | 
					
						
							| 
									
										
										
										
											2025-09-07 06:21:06 +00:00
										 |  |  |  |             <li class="menu-item"> | 
					
						
							|  |  |  |  |                 <div class="menu-link" onclick="toggleSubmenu(this)"> | 
					
						
							|  |  |  |  |                     <span class="menu-icon"> | 
					
						
							|  |  |  |  |                         <i class="fas fa-user-cog"></i> | 
					
						
							|  |  |  |  |                     </span> | 
					
						
							|  |  |  |  |                     <span class="menu-text">账号权限管理</span> | 
					
						
							|  |  |  |  |                     <span class="menu-arrow"> | 
					
						
							|  |  |  |  |                         <i class="fas fa-chevron-right"></i> | 
					
						
							|  |  |  |  |                     </span> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |                 <div class="submenu"> | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  |                     <a href="#" class="submenu-link" onclick="loadContent('./1 权限管理/子经营者管理.html', this)"> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:21:06 +00:00
										 |  |  |  |                         <span class="submenu-icon"></span> | 
					
						
							| 
									
										
										
										
											2025-09-09 11:12:52 +00:00
										 |  |  |  |                         子经营者管理 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:21:06 +00:00
										 |  |  |  |                     </a> | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  |                     <a href="#" class="submenu-link" onclick="loadContent('./1 权限管理/商户管理.html', this)"> | 
					
						
							| 
									
										
										
										
											2025-09-09 11:53:38 +00:00
										 |  |  |  |                         <span class="submenu-icon"></span> | 
					
						
							|  |  |  |  |                         商户管理 | 
					
						
							|  |  |  |  |                     </a> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:21:06 +00:00
										 |  |  |  |                 </div> | 
					
						
							|  |  |  |  |             </li> | 
					
						
							|  |  |  |  |              | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             <li class="menu-item"> | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  |                 <a href="#" class="menu-link" onclick="loadContent('./订单管理/订单管理.html', this)"> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                     <span class="menu-icon"> | 
					
						
							|  |  |  |  |                         <i class="fas fa-tasks"></i> | 
					
						
							|  |  |  |  |                     </span> | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  |                     <span class="menu-text">订单管理</span> | 
					
						
							|  |  |  |  |                 </a> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             </li> | 
					
						
							| 
									
										
										
										
											2025-09-23 16:25:26 +00:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |             <li class="menu-item"> | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  |                 <a href="#" class="menu-link" onclick="loadContent('./商品管理/商品管理.html', this)"> | 
					
						
							| 
									
										
										
										
											2025-09-23 16:25:26 +00:00
										 |  |  |  |                     <span class="menu-icon"> | 
					
						
							|  |  |  |  |                         <i class="fas fa-box"></i> | 
					
						
							|  |  |  |  |                     </span> | 
					
						
							|  |  |  |  |                     <span class="menu-text">商品管理</span> | 
					
						
							|  |  |  |  |                 </a> | 
					
						
							|  |  |  |  |             </li> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |              | 
					
						
							| 
									
										
										
										
											2025-09-24 18:34:53 +00:00
										 |  |  |  |             <li class="menu-item"> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                 <div class="menu-link" onclick="toggleSubmenu(this)"> | 
					
						
							|  |  |  |  |                     <span class="menu-icon"> | 
					
						
							| 
									
										
										
										
											2025-09-24 18:34:53 +00:00
										 |  |  |  |                         <i class="fas fa-analytics"></i> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                     </span> | 
					
						
							| 
									
										
										
										
											2025-09-24 18:34:53 +00:00
										 |  |  |  |                     <span class="menu-text">数据分析</span> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                     <span class="menu-arrow"> | 
					
						
							|  |  |  |  |                         <i class="fas fa-chevron-right"></i> | 
					
						
							|  |  |  |  |                     </span> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |                 <div class="submenu"> | 
					
						
							| 
									
										
										
										
											2025-09-24 18:34:53 +00:00
										 |  |  |  |                     <a href="#" class="submenu-link" onclick="loadContent('./数据分析/订单分析.html', this)"> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                         <span class="submenu-icon"></span> | 
					
						
							| 
									
										
										
										
											2025-09-24 18:34:53 +00:00
										 |  |  |  |                         订单分析 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                     </a> | 
					
						
							| 
									
										
										
										
											2025-09-24 18:34:53 +00:00
										 |  |  |  |                     <a href="#" class="submenu-link" onclick="loadContent('./数据分析/商品分析.html', this)"> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                         <span class="submenu-icon"></span> | 
					
						
							|  |  |  |  |                         商品分析 | 
					
						
							|  |  |  |  |                     </a> | 
					
						
							| 
									
										
										
										
											2025-09-24 18:34:53 +00:00
										 |  |  |  |                     <a href="#" class="submenu-link" onclick="loadContent('./数据分析/客户分析.html', this)"> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                         <span class="submenu-icon"></span> | 
					
						
							| 
									
										
										
										
											2025-09-24 18:34:53 +00:00
										 |  |  |  |                         客户分析 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                     </a> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |             </li> | 
					
						
							|  |  |  |  |              | 
					
						
							|  |  |  |  |              | 
					
						
							|  |  |  |  |             <li class="menu-item"> | 
					
						
							|  |  |  |  |                 <div class="menu-link" onclick="toggleSubmenu(this)"> | 
					
						
							|  |  |  |  |                     <span class="menu-icon"> | 
					
						
							|  |  |  |  |                         <i class="fas fa-users"></i> | 
					
						
							|  |  |  |  |                     </span> | 
					
						
							|  |  |  |  |                     <span class="menu-text">会员营销工具管理</span> | 
					
						
							|  |  |  |  |                     <span class="menu-arrow"> | 
					
						
							|  |  |  |  |                         <i class="fas fa-chevron-right"></i> | 
					
						
							|  |  |  |  |                     </span> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |                 <div class="submenu"> | 
					
						
							|  |  |  |  |                     <a href="#" class="submenu-link"> | 
					
						
							|  |  |  |  |                         <span class="submenu-icon"></span> | 
					
						
							|  |  |  |  |                         会员管理 | 
					
						
							|  |  |  |  |                     </a> | 
					
						
							|  |  |  |  |                     <a href="#" class="submenu-link"> | 
					
						
							|  |  |  |  |                         <span class="submenu-icon"></span> | 
					
						
							|  |  |  |  |                         积分管理 | 
					
						
							|  |  |  |  |                     </a> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |             </li> | 
					
						
							|  |  |  |  |              | 
					
						
							| 
									
										
										
										
											2025-09-24 17:11:55 +00:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |             <li class="menu-item"> | 
					
						
							|  |  |  |  |                 <div class="menu-link" onclick="toggleSubmenu(this)"> | 
					
						
							|  |  |  |  |                     <span class="menu-icon"> | 
					
						
							|  |  |  |  |                         <i class="fas fa-file-alt"></i> | 
					
						
							|  |  |  |  |                     </span> | 
					
						
							|  |  |  |  |                     <span class="menu-text">内容管理</span> | 
					
						
							|  |  |  |  |                     <span class="menu-arrow"> | 
					
						
							|  |  |  |  |                         <i class="fas fa-chevron-right"></i> | 
					
						
							|  |  |  |  |                     </span> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |                 <div class="submenu"> | 
					
						
							|  |  |  |  |                     <a href="#" class="submenu-link" onclick="loadContent('./内容管理/公告管理.html', this)"> | 
					
						
							|  |  |  |  |                         <span class="submenu-icon"></span> | 
					
						
							|  |  |  |  |                         公告管理 | 
					
						
							|  |  |  |  |                     </a> | 
					
						
							|  |  |  |  |                     <a href="#" class="submenu-link" onclick="loadContent('./内容管理/购物须知管理.html', this)"> | 
					
						
							|  |  |  |  |                         <span class="submenu-icon"></span> | 
					
						
							|  |  |  |  |                         购物须知管理 | 
					
						
							|  |  |  |  |                     </a> | 
					
						
							|  |  |  |  |                     <a href="#" class="submenu-link" onclick="loadContent('./内容管理/轮播图管理.html', this)"> | 
					
						
							|  |  |  |  |                         <span class="submenu-icon"></span> | 
					
						
							|  |  |  |  |                         轮播图管理 | 
					
						
							|  |  |  |  |                     </a> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |             </li> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         </ul> | 
					
						
							|  |  |  |  |     </aside> | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |     <!-- 主内容区域 --> | 
					
						
							|  |  |  |  |     <main class="main-content"> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |         <div class="content-placeholder" id="contentPlaceholder"> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             <h2>欢迎使用大妈集市商户端管理系统</h2> | 
					
						
							|  |  |  |  |             <p style="margin-top: 20px; color: #666;">此区域用于显示具体的页面内容</p> | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |          | 
					
						
							|  |  |  |  |         <iframe id="contentFrame" style="width: 100%; height: 100%; border: none; display: none;"></iframe> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |     </main> | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |     <script> | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         // 切换侧边栏显示/隐藏(移动端) | 
					
						
							|  |  |  |  |         function toggleSidebar() { | 
					
						
							|  |  |  |  |             const sidebar = document.getElementById('sidebar'); | 
					
						
							|  |  |  |  |             sidebar.classList.toggle('open'); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         // 切换子菜单展开/收起 | 
					
						
							|  |  |  |  |         function toggleSubmenu(element) { | 
					
						
							|  |  |  |  |             const menuItem = element.parentElement; | 
					
						
							|  |  |  |  |             menuItem.classList.toggle('expanded'); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |         // 加载内容到iframe | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  |         function loadContent(url, clickedElement) { | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |             const contentPlaceholder = document.getElementById('contentPlaceholder'); | 
					
						
							|  |  |  |  |             const contentFrame = document.getElementById('contentFrame'); | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |             // 隐藏占位内容,显示iframe | 
					
						
							|  |  |  |  |             contentPlaceholder.style.display = 'none'; | 
					
						
							|  |  |  |  |             contentFrame.style.display = 'block'; | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |             // 加载指定URL到iframe | 
					
						
							|  |  |  |  |             contentFrame.src = url; | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |             // 移除所有菜单高亮 | 
					
						
							|  |  |  |  |             document.querySelectorAll('.menu-link, .submenu-link').forEach(l => { | 
					
						
							|  |  |  |  |                 l.classList.remove('active'); | 
					
						
							|  |  |  |  |             }); | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |             // 添加当前点击菜单项的高亮 | 
					
						
							| 
									
										
										
										
											2025-09-24 16:02:18 +00:00
										 |  |  |  |             if (clickedElement) { | 
					
						
							|  |  |  |  |                 clickedElement.classList.add('active'); | 
					
						
							|  |  |  |  |             } | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |              | 
					
						
							|  |  |  |  |             // 动态调整iframe高度以适应内容 | 
					
						
							|  |  |  |  |             contentFrame.onload = function() { | 
					
						
							|  |  |  |  |                 // 确保iframe内容正确显示 | 
					
						
							|  |  |  |  |                 try { | 
					
						
							|  |  |  |  |                     const iframeContentHeight = contentFrame.contentDocument.body.scrollHeight; | 
					
						
							|  |  |  |  |                     contentFrame.style.height = iframeContentHeight + 'px'; | 
					
						
							|  |  |  |  |                 } catch (e) { | 
					
						
							|  |  |  |  |                     // 跨域情况下无法访问iframe内容高度,使用父容器高度 | 
					
						
							|  |  |  |  |                     contentFrame.style.height = 'calc(100vh - 50px - 40px)'; // 减去顶部导航栏和padding的高度 | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |         // 菜单搜索功能 | 
					
						
							|  |  |  |  |         document.querySelector('.search-input').addEventListener('input', function(e) { | 
					
						
							|  |  |  |  |             const searchText = e.target.value.toLowerCase(); | 
					
						
							|  |  |  |  |             const menuItems = document.querySelectorAll('.menu-item'); | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |              | 
					
						
							|  |  |  |  |             menuItems.forEach(item => { | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                 const menuText = item.querySelector('.menu-text'); | 
					
						
							|  |  |  |  |                 if (menuText) { | 
					
						
							|  |  |  |  |                     const text = menuText.textContent.toLowerCase(); | 
					
						
							|  |  |  |  |                     if (text.includes(searchText) || searchText === '') { | 
					
						
							|  |  |  |  |                         item.style.display = 'block'; | 
					
						
							|  |  |  |  |                     } else { | 
					
						
							|  |  |  |  |                         item.style.display = 'none'; | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |                     } | 
					
						
							|  |  |  |  |                 } | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             }); | 
					
						
							|  |  |  |  |         }); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         // 菜单点击高亮 | 
					
						
							|  |  |  |  |         document.querySelectorAll('.menu-link, .submenu-link').forEach(link => { | 
					
						
							|  |  |  |  |             link.addEventListener('click', function(e) { | 
					
						
							| 
									
										
										
										
											2025-09-07 06:24:15 +00:00
										 |  |  |  |                 // 对于没有特殊onclick处理的链接才添加高亮 | 
					
						
							|  |  |  |  |                 if (!this.getAttribute('onclick') || !this.getAttribute('onclick').includes('loadContent')) { | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |                     // 移除所有高亮 | 
					
						
							|  |  |  |  |                     document.querySelectorAll('.menu-link, .submenu-link').forEach(l => { | 
					
						
							|  |  |  |  |                         l.classList.remove('active'); | 
					
						
							|  |  |  |  |                     }); | 
					
						
							|  |  |  |  |                     // 添加当前高亮 | 
					
						
							|  |  |  |  |                     this.classList.add('active'); | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |                 } | 
					
						
							| 
									
										
										
										
											2025-09-07 06:12:08 +00:00
										 |  |  |  |             }); | 
					
						
							| 
									
										
										
										
											2025-09-06 05:34:32 +00:00
										 |  |  |  |         }); | 
					
						
							|  |  |  |  |     </script> | 
					
						
							|  |  |  |  | </body> | 
					
						
							|  |  |  |  | </html> |