Files
lik 1d8af0cb26 style: 统一全局字号层级,首页快捷入口改为单行
正文统一 28rpx,小字整体上调一级;快捷入口所有项目单行等分展示。
2026-11-10 21:13:34 +08:00

122 lines
1.9 KiB
Plaintext

/* components/order-stats/index.wxss */
.os-section {
margin-top: 30rpx;
}
.os-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16rpx;
}
.os-title {
position: relative;
font-size: 30rpx;
font-weight: 600;
color: #2A211B;
margin-left: 20rpx;
letter-spacing: 1rpx;
}
.os-title::before {
content: '';
position: absolute;
left: -20rpx;
top: 50%;
transform: translateY(-50%);
width: 8rpx;
height: 28rpx;
border-radius: 4rpx;
background: #C26A2E;
}
.os-card {
background: #ffffff;
border-radius: 24rpx;
box-shadow: 0 4rpx 20rpx rgba(180, 85, 42, 0.10);
padding: 36rpx 0 32rpx;
display: flex;
align-items: stretch;
position: relative;
overflow: hidden;
}
/* 左上角装饰色块,呼应首页头部主色 */
.os-card::before {
content: '';
position: absolute;
top: -40rpx;
left: -40rpx;
width: 160rpx;
height: 160rpx;
border-radius: 50%;
background: rgba(194, 106, 46, 0.07);
}
.os-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
position: relative;
z-index: 1;
}
.os-num {
font-size: 48rpx;
font-weight: 700;
line-height: 1;
font-family: 'DIN Alternate', -apple-system, sans-serif;
}
.os-num.green {
color: #E8A96B;
}
.os-num.blue {
color: #C26A2E;
}
.os-num.orange {
color: #D98E04;
}
.os-label {
margin-top: 12rpx;
font-size: 26rpx;
color: #8A8078;
}
.os-fee {
margin-top: 10rpx;
font-size: 24rpx;
font-weight: 600;
color: #2A211B;
padding: 4rpx 16rpx;
border-radius: 20rpx;
background: rgba(42, 33, 27, 0.05);
}
.os-item:nth-child(1) .os-fee {
color: #C26A2E;
background: rgba(232, 169, 107, 0.12);
}
.os-item:nth-child(3) .os-fee {
color: #A8551F;
background: rgba(180, 85, 42, 0.12);
}
.os-item:nth-child(5) .os-fee {
color: #D98E04;
background: rgba(217, 142, 4, 0.14);
}
.os-divider {
width: 1rpx;
margin: 8rpx 0;
background: #EAE1D6;
flex-shrink: 0;
}