dm-design/商家端APP/工作台/会员管理/总功能菜单.html

204 lines
5.3 KiB
HTML
Raw Normal View History

2025-08-05 09:53:36 +00:00
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
2025-08-19 17:20:19 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
2025-08-05 09:53:36 +00:00
<title>会员管理</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
2025-08-19 17:20:19 +00:00
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
2025-08-05 09:53:36 +00:00
background-color: #f5f5f5;
2025-08-19 17:20:19 +00:00
color: #333;
font-size: 14px;
2025-08-05 09:53:36 +00:00
line-height: 1.5;
}
/* Header styles */
.header {
2025-08-19 17:20:19 +00:00
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
2025-08-05 09:53:36 +00:00
color: white;
2025-08-19 17:20:19 +00:00
padding: 20px 16px 16px;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
2025-08-05 09:53:36 +00:00
}
.back-arrow {
width: 24px;
height: 24px;
margin-right: 16px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.back-arrow::before {
content: '←';
font-size: 20px;
font-weight: bold;
}
.title {
font-size: 18px;
2025-08-19 17:20:19 +00:00
font-weight: 600;
2025-08-05 09:53:36 +00:00
text-align: center;
2025-08-19 17:20:19 +00:00
margin: 0;
2025-08-05 09:53:36 +00:00
}
/* Content area */
.content {
2025-08-19 17:20:19 +00:00
width: 100%;
max-width: 100vw;
2025-08-05 09:53:36 +00:00
padding: 16px;
2025-08-19 17:20:19 +00:00
margin: 0;
2025-08-05 09:53:36 +00:00
}
/* Menu items */
.menu-item {
2025-08-19 17:20:19 +00:00
background: #fff;
border-radius: 12px;
2025-08-05 09:53:36 +00:00
margin-bottom: 12px;
2025-08-19 17:20:19 +00:00
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
overflow: hidden;
transition: all 0.3s;
2025-08-05 09:53:36 +00:00
cursor: pointer;
2025-08-19 17:20:19 +00:00
padding: 16px 20px;
2025-08-05 09:53:36 +00:00
display: flex;
align-items: center;
justify-content: space-between;
2025-08-19 17:20:19 +00:00
min-height: 60px;
2025-08-05 09:53:36 +00:00
font-size: 16px;
color: #333;
}
.menu-item:active {
2025-08-19 17:20:19 +00:00
transform: scale(0.98);
2025-08-05 09:53:36 +00:00
}
.menu-item-text {
flex: 1;
2025-08-19 17:20:19 +00:00
font-weight: 500;
font-size: 16px;
2025-08-05 09:53:36 +00:00
}
.menu-item-arrow {
color: #999;
2025-08-19 17:20:19 +00:00
font-size: 16px;
2025-08-05 09:53:36 +00:00
margin-left: 12px;
}
.menu-item-arrow::after {
2025-08-19 17:20:19 +00:00
content: '▶';
font-size: 14px;
2025-08-05 09:53:36 +00:00
}
2025-08-19 17:20:19 +00:00
/* 点击反馈 */
.touchable {
position: relative;
overflow: hidden;
}
.touchable::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(0,0,0,0.1);
transition: width 0.6s, height 0.6s;
transform: translate(-50%, -50%);
pointer-events: none;
}
.touchable:active::before {
width: 200px;
height: 200px;
}
/* 优化小屏幕显示 */
@media (max-width: 360px) {
2025-08-05 09:53:36 +00:00
.content {
padding: 12px;
}
.menu-item {
padding: 14px 16px;
font-size: 15px;
2025-08-19 17:20:19 +00:00
min-height: 56px;
2025-08-05 09:53:36 +00:00
}
}
2025-08-19 17:20:19 +00:00
/* iPhone X 等设备的安全区域 */
@supports (padding: max(0px)) {
.header {
padding-top: max(20px, env(safe-area-inset-top));
2025-08-05 09:53:36 +00:00
}
2025-08-19 17:20:19 +00:00
.content {
padding-bottom: max(16px, env(safe-area-inset-bottom));
2025-08-05 09:53:36 +00:00
}
}
</style>
</head>
<body>
<!-- Header -->
<div class="header">
2025-08-19 17:20:19 +00:00
<h1 class="title">会员管理</h1>
2025-08-05 09:53:36 +00:00
</div>
<!-- Content -->
<div class="content">
2025-08-19 17:20:19 +00:00
<div class="menu-item touchable">
2025-08-05 09:53:36 +00:00
<span class="menu-item-text">等级设置</span>
<span class="menu-item-arrow"></span>
</div>
2025-08-19 17:20:19 +00:00
<div class="menu-item touchable">
2025-08-10 17:11:27 +00:00
<span class="menu-item-text">会员列表</span>
2025-08-05 09:53:36 +00:00
<span class="menu-item-arrow"></span>
</div>
2025-08-19 17:20:19 +00:00
<div class="menu-item touchable">
2025-08-10 17:11:27 +00:00
<span class="menu-item-text">积分商城</span>
2025-08-05 09:53:36 +00:00
<span class="menu-item-arrow"></span>
</div>
2025-08-19 17:20:19 +00:00
<div class="menu-item touchable">
2025-08-05 09:53:36 +00:00
<span class="menu-item-text">积分订单</span>
<span class="menu-item-arrow"></span>
</div>
</div>
2025-08-19 17:20:19 +00:00
<script>
// 页面加载完成后初始化
document.addEventListener('DOMContentLoaded', function() {
// 防止页面缩放
document.addEventListener('touchstart', function(event) {
if (event.touches.length > 1) {
event.preventDefault();
}
});
// 防止双击缩放
let lastTouchEnd = 0;
document.addEventListener('touchend', function(event) {
const now = (new Date()).getTime();
if (now - lastTouchEnd <= 300) {
event.preventDefault();
}
lastTouchEnd = now;
});
});
</script>
2025-08-05 09:53:36 +00:00
</body>
</html>