dm-design/商家端web/2.1 营销工具/2.1.1 会员功能/等级设置/等级明细.html

329 lines
8.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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', Roboto, sans-serif;
background-color: #f5f5f5;
color: #333;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 20px auto;
padding: 0 20px;
}
/* 面包屑导航 */
.breadcrumb {
background: white;
padding: 15px 20px;
border: 1px dashed #ccc;
margin-bottom: 20px;
font-size: 14px;
color: #666;
}
.breadcrumb .store-name {
color: #333;
font-weight: 500;
}
.breadcrumb .close-btn {
color: #999;
margin: 0 10px;
}
/* 页面标题和操作区 */
.page-header {
background: white;
padding: 20px;
border: 1px dashed #ccc;
margin-bottom: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.page-title {
font-size: 18px;
font-weight: 500;
color: #333;
}
.action-buttons {
display: flex;
gap: 10px;
}
.btn {
padding: 8px 16px;
border: 1px dashed #ccc;
background: white;
color: #333;
text-decoration: none;
cursor: pointer;
font-size: 14px;
transition: all 0.2s;
}
.btn:hover {
background: #f8f8f8;
}
.btn-primary {
border-color: #007bff;
color: #007bff;
}
.btn-success {
border-color: #28a745;
color: #28a745;
}
/* 表格容器 */
.table-container {
background: white;
border: 1px dashed #ccc;
overflow-x: auto;
}
/* 表格样式 */
.level-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
.level-table th,
.level-table td {
padding: 15px 12px;
text-align: left;
border: 1px dashed #ddd;
}
.level-table th {
background: #f8f9fa;
font-weight: 500;
color: #666;
}
.level-table tbody tr:hover {
background: #f8f9fa;
}
/* 等级名称样式 */
.level-name {
font-weight: 500;
color: #333;
}
.level-lv1 { color: #6c757d; }
.level-lv2 { color: #28a745; }
.level-lv3 { color: #ffc107; }
.level-lv4 { color: #dc3545; }
/* 数值样式 */
.growth-value {
font-weight: 500;
color: #007bff;
}
.member-count {
font-weight: 500;
color: #28a745;
}
/* 权益描述 */
.benefits {
max-width: 300px;
color: #666;
line-height: 1.5;
}
/* 开关按钮 */
.switch {
position: relative;
display: inline-block;
width: 44px;
height: 24px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
border: 1px dashed #999;
transition: .4s;
border-radius: 24px;
}
.slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 3px;
bottom: 3px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #28a745;
}
input:checked + .slider:before {
transform: translateX(20px);
}
/* 积分输入框 */
.points-input {
display: flex;
align-items: center;
gap: 5px;
}
.points-input .table-input {
max-width: 80px;
padding: 5px;
text-align: center;
}
/* 响应式设计 */
@media (max-width: 768px) {
.container {
padding: 0 10px;
}
.page-header {
flex-direction: column;
gap: 15px;
align-items: stretch;
}
.action-buttons {
justify-content: center;
}
.level-table {
font-size: 12px;
}
.level-table th,
.level-table td {
padding: 10px 8px;
}
.benefits {
max-width: 200px;
font-size: 12px;
}
}
@media (max-width: 480px) {
.breadcrumb {
font-size: 12px;
padding: 10px 15px;
}
.page-header {
padding: 15px;
}
.page-title {
font-size: 16px;
}
.btn {
padding: 6px 12px;
font-size: 12px;
}
}
</style>
</head>
<body>
<div class="container">
<!-- 面包屑导航 -->
<div class="breadcrumb">
<span class="store-name">牛牛蔬菜店</span>
<span class="close-btn">×</span>
<span>- 等级设置明细</span>
</div>
<!-- 页面标题和操作按钮 -->
<div class="page-header">
<h1 class="page-title">会员等级明细</h1>
<div class="action-buttons">
<button class="btn btn-primary">等级编辑</button>
</div>
</div>
<!-- 等级明细表格 -->
<div class="table-container">
<table class="level-table">
<thead>
<tr>
<th>等级名称</th>
<th>所需成长值</th>
<th>会员人数</th>
<th>会员权益</th>
</tr>
</thead>
<tbody>
<tr>
<td class="level-name level-lv1">LV1</td>
<td class="growth-value">100</td>
<td class="member-count">1,250</td>
<td class="benefits">根据实际的会员内容生成</td>
</tr>
<tr>
<td class="level-name level-lv2">LV2</td>
<td class="growth-value">500</td>
<td class="member-count">850</td>
<td class="benefits">享受9.5折优惠,每月专属优惠券,生日礼品</td>
</tr>
<tr>
<td class="level-name level-lv3">LV3</td>
<td class="growth-value">1,200</td>
<td class="member-count">450</td>
<td class="benefits">享受9折优惠免费配送服务专属客服支持</td>
</tr>
<tr>
<td class="level-name level-lv4">LV4</td>
<td class="growth-value">2,500</td>
<td class="member-count">180</td>
<td class="benefits">享受8.5折优惠,优先配送,专属活动邀请,年度礼品</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>