文件
jw-beauty/miniprogram/app.wxss
T

145 行
2.1 KiB
Plaintext

page {
background-color: #f5f5f5;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
font-size: 28rpx;
color: #333333;
}
.container {
padding: 24rpx;
min-height: 100vh;
}
.section-title {
font-size: 32rpx;
font-weight: 600;
margin-bottom: 20rpx;
}
.card {
background-color: #ffffff;
border-radius: 16rpx;
padding: 32rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
}
.btn-primary {
background-color: #333333;
color: #ffffff;
border-radius: 12rpx;
padding: 24rpx 40rpx;
text-align: center;
font-size: 30rpx;
font-weight: 500;
}
.btn-primary:active {
opacity: 0.8;
}
.btn-secondary {
background-color: #ffffff;
color: #333333;
border: 2rpx solid #333333;
border-radius: 12rpx;
padding: 24rpx 40rpx;
text-align: center;
font-size: 30rpx;
}
.text-muted {
color: #999999;
}
.text-center {
text-align: center;
}
.text-primary {
color: #333333;
}
.text-success {
color: #52c41a;
}
.text-warning {
color: #faad14;
}
.text-error {
color: #ff4d4f;
}
.mt-10 { margin-top: 10rpx; }
.mt-20 { margin-top: 20rpx; }
.mt-30 { margin-top: 30rpx; }
.mb-10 { margin-bottom: 10rpx; }
.mb-20 { margin-bottom: 20rpx; }
.mb-30 { margin-bottom: 30rpx; }
.p-20 { padding: 20rpx; }
.flex-row {
display: flex;
flex-direction: row;
align-items: center;
}
.flex-between {
display: flex;
justify-content: space-between;
align-items: center;
}
.flex-center {
display: flex;
justify-content: center;
align-items: center;
}
.flex-1 {
flex: 1;
}
.divider {
height: 1rpx;
background-color: #eeeeee;
margin: 20rpx 0;
}
.badge {
display: inline-block;
padding: 4rpx 16rpx;
border-radius: 8rpx;
font-size: 22rpx;
color: #ffffff;
}
.badge-success {
background-color: #52c41a;
}
.badge-error {
background-color: #ff4d4f;
}
.badge-warning {
background-color: #faad14;
}
.empty-state {
padding: 120rpx 40rpx;
text-align: center;
}
.empty-state .empty-icon {
font-size: 80rpx;
margin-bottom: 20rpx;
}
.empty-state .empty-text {
color: #999999;
font-size: 28rpx;
}