2025-08-05 09:53:36 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="zh-CN">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<title>等级设置 - Demo</title>
|
|
|
|
|
<style>
|
|
|
|
|
* {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
color: #333;
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
max-width: 1200px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 20px;
|
|
|
|
|
background-color: white;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
padding-bottom: 10px;
|
|
|
|
|
border-bottom: 1px solid #e0e0e0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-section {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 15px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
padding: 20px;
|
|
|
|
|
background-color: #fafafa;
|
|
|
|
|
border: 1px dashed #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.filter-label {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #666;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.select-dropdown {
|
|
|
|
|
padding: 8px 12px;
|
|
|
|
|
border: 1px solid #d0d0d0;
|
|
|
|
|
background-color: white;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
min-width: 180px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-query, .btn-batch {
|
|
|
|
|
background-color: white;
|
|
|
|
|
color: #666;
|
|
|
|
|
border: 1px dashed #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.table-container {
|
|
|
|
|
border: 1px dashed #ccc;
|
|
|
|
|
background-color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.table-header {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 2fr 2fr 2fr 1fr;
|
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
|
border-bottom: 1px dashed #ccc;
|
|
|
|
|
padding: 15px 20px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #666;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.table-row {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 2fr 2fr 2fr 1fr;
|
|
|
|
|
padding: 15px 20px;
|
|
|
|
|
border-bottom: 1px dashed #eee;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
background-color: white;
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-12 04:04:52 +00:00
|
|
|
|
|
|
|
|
|
2025-08-05 09:53:36 +00:00
|
|
|
.table-row:hover {
|
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toggle-switch {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
background-color: #ddd;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toggle-switch.active {
|
|
|
|
|
background-color: #28a745;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toggle-switch::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background-color: white;
|
|
|
|
|
top: 1px;
|
|
|
|
|
left: 1px;
|
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.toggle-switch.active::after {
|
|
|
|
|
transform: translateX(26px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.member-levels {
|
|
|
|
|
color: #666;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.action-link {
|
|
|
|
|
color: #17a2b8;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
border: 1px dashed #17a2b8;
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.action-link:hover {
|
|
|
|
|
background-color: #e8f7f8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wireframe-note {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 10px;
|
|
|
|
|
right: 10px;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border: 2px dashed #999;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #666;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
max-width: 200px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="wireframe-note">
|
|
|
|
|
线框图演示页面<br>
|
|
|
|
|
Demo Wireframe
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div class="header">等级设置</div>
|
|
|
|
|
|
|
|
|
|
<div class="filter-section">
|
|
|
|
|
<span class="filter-label">摊位名称</span>
|
|
|
|
|
<select class="select-dropdown">
|
|
|
|
|
<option>请选择摊位名称...</option>
|
|
|
|
|
<option>牛牛蔬菜店</option>
|
|
|
|
|
<option>羊羊水果店</option>
|
|
|
|
|
<option>小狗羊肉</option>
|
|
|
|
|
<option>小马猪蹄</option>
|
|
|
|
|
<option>小鱼生鲜</option>
|
|
|
|
|
</select>
|
|
|
|
|
<button class="btn btn-query">查询</button>
|
|
|
|
|
<button class="btn btn-batch">批量会员等级编辑</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="table-container">
|
|
|
|
|
<div class="table-header">
|
|
|
|
|
<div>摊位名称</div>
|
|
|
|
|
<div>是否启用会员</div>
|
|
|
|
|
<div>会员等级</div>
|
|
|
|
|
<div>操作</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="table-row">
|
|
|
|
|
<div>牛牛蔬菜店</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="toggle-switch active"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="member-levels">lv1, lv2, lv3, lv4</div>
|
|
|
|
|
<div>
|
|
|
|
|
<a href="#" class="action-link">设置等级明细</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="table-row">
|
|
|
|
|
<div>羊羊水果店</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="toggle-switch"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="member-levels">lv1, lv2, lv3</div>
|
|
|
|
|
<div>
|
|
|
|
|
<a href="#" class="action-link">设置等级明细</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="table-row">
|
|
|
|
|
<div>小狗羊肉</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="toggle-switch active"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="member-levels">lv1, lv2, lv3, lv4</div>
|
|
|
|
|
<div>
|
|
|
|
|
<a href="#" class="action-link">设置等级明细</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="table-row">
|
|
|
|
|
<div>小马猪蹄</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="toggle-switch"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="member-levels">lv1, lv2</div>
|
|
|
|
|
<div>
|
|
|
|
|
<a href="#" class="action-link">设置等级明细</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="table-row">
|
|
|
|
|
<div>小鱼生鲜</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="toggle-switch active"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="member-levels">lv1, lv2, lv3, lv4</div>
|
|
|
|
|
<div>
|
|
|
|
|
<a href="#" class="action-link">设置等级明细</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|