Files
workspace/code/base-project/base-uniapp-main/test.html
T
2025-09-30 17:26:30 +08:00

93 lines
1.7 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>
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: #f4f5f7;
color: #333;
}
.header {
background: linear-gradient(135deg, #2f3e46, #354f52);
color: white;
padding: 20px;
}
.header h2 {
margin: 0 0 6px;
font-size: 18px;
font-weight: 600;
}
.header p {
margin: 4px 0;
font-size: 14px;
color: #d9d9d9;
}
.list {
margin: 16px;
background: #fff;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
overflow: hidden;
}
.list-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 16px;
font-size: 15px;
border-bottom: 1px solid #eee;
cursor: pointer;
}
.list-item:last-child {
border-bottom: none;
}
.list-item span {
color: #666;
}
.list-item.danger {
color: #d9534f;
font-weight: 500;
}
.footer {
text-align: center;
padding: 12px;
font-size: 12px;
color: #aaa;
}
</style>
</head>
<body>
<div class="header">
<h2>个人中心</h2>
<p>机构码:123456</p>
<p>账户:zhangsan</p>
</div>
<div class="list">
<div class="list-item">
<span>修改密码</span>
</div>
<div class="list-item danger">
<span>退出登录</span>
</div>
</div>
<div class="footer">
© 2025 MyApp
</div>
</body>
</html>