huahuazenmehua/app.wxss

97 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2026-05-08 17:00:10 +08:00
/* 全局样式 */
page {
background-color: #f7f8fc;
font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
color: #333333;
font-size: 28rpx;
box-sizing: border-box;
}
/* 公共容器 */
.page-container {
min-height: 100vh;
padding-bottom: 40rpx;
}
/* 卡片通用样式 */
.card {
background: #ffffff;
border-radius: 24rpx;
overflow: hidden;
}
/* 主色 */
.text-primary { color: #6C8CFF; }
.text-orange { color: #FFB84D; }
.text-gray { color: #999999; }
.text-dark { color: #333333; }
/* 徽章/标签 */
.badge {
display: inline-block;
padding: 4rpx 16rpx;
border-radius: 20rpx;
font-size: 22rpx;
line-height: 1.4;
}
.badge-blue { background: #EEF1FF; color: #6C8CFF; }
.badge-orange { background: #FFF4E5; color: #FFB84D; }
.badge-green { background: #E8FAF0; color: #3CB371; }
.badge-gray { background: #F2F2F2; color: #999999; }
/* 通用按钮 */
.btn-primary {
background: #6C8CFF;
color: #ffffff;
border-radius: 50rpx;
text-align: center;
font-size: 32rpx;
font-weight: 500;
border: none;
padding: 24rpx 0;
}
.btn-primary::after { border: none; }
.btn-outline {
background: #ffffff;
color: #6C8CFF;
border: 2rpx solid #6C8CFF;
border-radius: 50rpx;
text-align: center;
font-size: 32rpx;
font-weight: 500;
padding: 24rpx 0;
}
.btn-outline::after { border: none; }
/* 分割线 */
.divider {
height: 1rpx;
background: #F0F0F0;
margin: 0 32rpx;
}
/* 空状态 */
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 80rpx 40rpx;
color: #BBBBBB;
}
.empty-state .empty-icon {
font-size: 80rpx;
margin-bottom: 20rpx;
}
.empty-state .empty-text {
font-size: 28rpx;
}
/* 安全区底部 */
.safe-bottom {
height: env(safe-area-inset-bottom);
}