findme-miniprogram-frontend/subpackages/settings/settingss/settingss.wxss

162 lines
2.7 KiB
Text
Raw Normal View History

2025-12-27 17:16:03 +08:00
/* 页面容器 */
.settings-container {
width: 100%;
height: 100vh;
background: #000000;
display: flex;
flex-direction: column;
}
/* 导航栏样式 */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
display: flex;
align-items: center;
z-index: 10;
box-sizing: content-box;
}
.back-btn {
width: 48px;
display: flex;
align-items: center;
justify-content: center;
}
.icon {
font-size: 20px;
color: #ffffff;
}
.title {
flex: 1;
text-align: center;
font-size: 34rpx;
font-weight: 500;
color: #ffffff;
}
/* 滚动内容区 */
.settings-content {
flex: 1;
width: 100%;
box-sizing: border-box;
padding-left: 30rpx;
padding-right: 30rpx;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
/* 菜单组样式 */
.menu-group {
background-color: #1a1a1a;
border-radius: 20rpx;
margin-bottom: 30rpx;
overflow: hidden;
}
/* 组标题 */
.group-header {
display: flex;
align-items: center;
padding: 30rpx 30rpx 20rpx;
}
.group-icon {
font-size: 36rpx;
margin-right: 20rpx;
color: #ffffff;
}
.group-title {
color: #ffffff;
font-size: 30rpx;
font-weight: 500;
}
/* 菜单项 */
.menu-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 25rpx 30rpx;
border-top: 1px solid #333333;
}
.menu-item:first-child {
border-top: none;
}
/* 菜单图标 */
.menu-icon {
font-size: 36rpx;
margin-right: 25rpx;
width: 40rpx;
text-align: center;
}
.feedback {
color: #00BCD4;
}
/* 菜单内容 */
.menu-content {
flex: 1;
min-width: 0;
}
.menu-title {
color: #ffffff;
font-size: 30rpx;
display: block;
margin-bottom: 5rpx;
}
.menu-subtitle {
color: #aaaaaa;
font-size: 24rpx;
}
/* 菜单箭头 */
.menu-arrow {
color: #666666;
font-size: 30rpx;
}
/* 退出登录按钮 */
.logout-section {
padding: 40rpx 30rpx;
}
.logout-btn {
width: 100%;
height: 90rpx;
line-height: 90rpx;
background: linear-gradient(135deg, #044db4 0%, #156301 100%);
color: #ffffff;
font-size: 32rpx;
border-radius: 45rpx;
text-align: center;
padding: 0;
border: none;
outline: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
box-shadow: 0 4px 6px -1px rgb(48, 51, 238),
inset 0 1px 0 rgb(255, 0, 0);
transition: all 0.2s ease;
}
.logout-btn:active {
transform: scale(0.98);
background: linear-gradient(135deg, #1d69d3 0%, #273140 100%);
box-shadow: 0 2px 4px -1px rgba(250, 0, 0, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* 底部安全区域 */
.bottom-space {
height: 60rpx;
}