Files
JoyD/Claw/client/wechat_app/pages/index/index.wxss
2026-03-16 15:47:55 +08:00

125 lines
1.9 KiB
Plaintext

/* 首页样式 */
.container {
padding: 20rpx;
background-color: #f5f5f5;
min-height: 100vh;
}
/* 用户信息区域 */
.user-info {
display: flex;
align-items: center;
padding: 40rpx;
background: linear-gradient(135deg, #07c160 0%, #06a050 100%);
border-radius: 20rpx;
margin-bottom: 30rpx;
color: white;
}
.avatar {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
margin-right: 30rpx;
border: 4rpx solid white;
}
.nickname {
font-size: 36rpx;
font-weight: bold;
}
/* 登录区域 */
.login-section {
padding: 60rpx 40rpx;
background: white;
border-radius: 20rpx;
margin-bottom: 30rpx;
text-align: center;
}
.login-btn {
background: linear-gradient(135deg, #07c160 0%, #06a050 100%);
color: white;
border: none;
border-radius: 50rpx;
padding: 30rpx 80rpx;
font-size: 32rpx;
margin-bottom: 20rpx;
}
.login-tip {
color: #999;
font-size: 28rpx;
}
/* 功能菜单 */
.feature-menu {
background: white;
border-radius: 20rpx;
padding: 20rpx;
margin-bottom: 30rpx;
}
.menu-item {
display: flex;
align-items: center;
padding: 30rpx;
border-bottom: 1rpx solid #f0f0f0;
transition: background-color 0.3s;
}
.menu-item:last-child {
border-bottom: none;
}
.menu-item:active {
background-color: #f8f8f8;
}
.menu-icon {
width: 60rpx;
height: 60rpx;
margin-right: 30rpx;
}
.menu-title {
font-size: 32rpx;
color: #333;
margin-bottom: 10rpx;
flex: 1;
}
.menu-desc {
font-size: 24rpx;
color: #999;
}
/* 系统状态 */
.system-status {
background: white;
border-radius: 20rpx;
padding: 30rpx;
}
.status-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20rpx 0;
border-bottom: 1rpx solid #f0f0f0;
}
.status-item:last-child {
border-bottom: none;
}
.status-label {
font-size: 28rpx;
color: #666;
}
.status-value {
font-size: 28rpx;
font-weight: bold;
}