264 lines
6.8 KiB
HTML
264 lines
6.8 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html lang="zh-CN">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
<title>会员等级编辑 - 线框图原型</title>
|
||
|
|
<style>
|
||
|
|
* {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
|
||
|
|
background-color: #f5f5f5;
|
||
|
|
line-height: 1.4;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 顶部导航栏 */
|
||
|
|
.header {
|
||
|
|
background-color: #fff;
|
||
|
|
border: 1px dashed #ccc;
|
||
|
|
height: 60px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
position: relative;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.back-btn {
|
||
|
|
position: absolute;
|
||
|
|
left: 15px;
|
||
|
|
background: none;
|
||
|
|
border: 1px dashed #999;
|
||
|
|
padding: 8px 12px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header-title {
|
||
|
|
font-size: 18px;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 主要内容区域 */
|
||
|
|
.container {
|
||
|
|
max-width: 400px;
|
||
|
|
margin: 0 auto;
|
||
|
|
padding: 0 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 操作按钮区域 */
|
||
|
|
.action-buttons {
|
||
|
|
display: flex;
|
||
|
|
gap: 10px;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn {
|
||
|
|
flex: 1;
|
||
|
|
padding: 12px 20px;
|
||
|
|
border: 1px dashed #ccc;
|
||
|
|
background-color: #fff;
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 16px;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-close {
|
||
|
|
color: #666;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-submit {
|
||
|
|
color: #333;
|
||
|
|
border-color: #999;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 表格容器 */
|
||
|
|
.table-container {
|
||
|
|
background-color: #fff;
|
||
|
|
border: 1px dashed #ccc;
|
||
|
|
overflow-x: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 表格样式 */
|
||
|
|
.member-table {
|
||
|
|
width: 100%;
|
||
|
|
border-collapse: collapse;
|
||
|
|
}
|
||
|
|
|
||
|
|
.member-table th,
|
||
|
|
.member-table td {
|
||
|
|
padding: 15px 10px;
|
||
|
|
text-align: left;
|
||
|
|
border-bottom: 1px dashed #ddd;
|
||
|
|
}
|
||
|
|
|
||
|
|
.member-table th {
|
||
|
|
background-color: #f8f8f8;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.member-table td {
|
||
|
|
font-size: 14px;
|
||
|
|
color: #666;
|
||
|
|
}
|
||
|
|
|
||
|
|
.member-table tr:last-child td {
|
||
|
|
border-bottom: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 等级列样式 */
|
||
|
|
.level-col {
|
||
|
|
width: 20%;
|
||
|
|
font-weight: bold;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 等级名称列样式 */
|
||
|
|
.name-col {
|
||
|
|
width: 35%;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 详情列样式 */
|
||
|
|
.detail-col {
|
||
|
|
width: 45%;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 展开详情按钮 */
|
||
|
|
.detail-btn {
|
||
|
|
background-color: #fff;
|
||
|
|
border: 1px dashed #999;
|
||
|
|
padding: 6px 12px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-size: 12px;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
.detail-btn:hover {
|
||
|
|
background-color: #f5f5f5;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 响应式设计 */
|
||
|
|
@media (max-width: 480px) {
|
||
|
|
.container {
|
||
|
|
padding: 0 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.member-table th,
|
||
|
|
.member-table td {
|
||
|
|
padding: 12px 8px;
|
||
|
|
font-size: 13px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header-title {
|
||
|
|
font-size: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn {
|
||
|
|
padding: 10px 15px;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.detail-btn {
|
||
|
|
padding: 4px 8px;
|
||
|
|
font-size: 11px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 360px) {
|
||
|
|
.member-table th,
|
||
|
|
.member-table td {
|
||
|
|
padding: 10px 6px;
|
||
|
|
font-size: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.detail-btn {
|
||
|
|
padding: 3px 6px;
|
||
|
|
font-size: 10px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 线框图风格增强 */
|
||
|
|
.wireframe-note {
|
||
|
|
position: fixed;
|
||
|
|
bottom: 10px;
|
||
|
|
right: 10px;
|
||
|
|
background-color: #fff;
|
||
|
|
border: 1px dashed #999;
|
||
|
|
padding: 5px 10px;
|
||
|
|
font-size: 12px;
|
||
|
|
color: #666;
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<!-- 顶部导航栏 -->
|
||
|
|
<div class="header">
|
||
|
|
<button class="back-btn">← 返回</button>
|
||
|
|
<div class="header-title">时尚服装店 - 等级编辑</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- 主要内容 -->
|
||
|
|
<div class="container">
|
||
|
|
<!-- 操作按钮 -->
|
||
|
|
<div class="action-buttons">
|
||
|
|
<button class="btn btn-close">关闭</button>
|
||
|
|
<button class="btn btn-submit">提交</button>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- 会员等级表格 -->
|
||
|
|
<div class="table-container">
|
||
|
|
<table class="member-table">
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<th class="level-col">等级</th>
|
||
|
|
<th class="name-col">等级名称</th>
|
||
|
|
<th class="detail-col">等级详情</th>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
<tr>
|
||
|
|
<td class="level-col">LV1</td>
|
||
|
|
<td class="name-col">铜牌会员</td>
|
||
|
|
<td class="detail-col">
|
||
|
|
<button class="detail-btn">展开详情</button>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class="level-col">LV2</td>
|
||
|
|
<td class="name-col">银牌会员</td>
|
||
|
|
<td class="detail-col">
|
||
|
|
<button class="detail-btn">展开详情</button>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class="level-col">LV3</td>
|
||
|
|
<td class="name-col">金牌会员</td>
|
||
|
|
<td class="detail-col">
|
||
|
|
<button class="detail-btn">展开详情</button>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class="level-col">LV4</td>
|
||
|
|
<td class="name-col">钻石会员</td>
|
||
|
|
<td class="detail-col">
|
||
|
|
<button class="detail-btn">展开详情</button>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- 线框图标识 -->
|
||
|
|
<div class="wireframe-note">线框图原型</div>
|
||
|
|
</body>
|
||
|
|
</html>
|