This commit is contained in:
2026-07-06 16:46:07 +08:00
parent ae914b5c24
commit 21d11697a0
8 changed files with 899 additions and 1378 deletions
+97
View File
@@ -1667,3 +1667,100 @@
}
}
}
// ===== 详情页区块与卡片通用样式(do_anti_rust / 焊口详情页等)=====
.section {
margin: 0 24rpx 20rpx;
&__header {
display: flex;
align-items: center;
gap: 12rpx;
margin-bottom: 14rpx;
padding: 0 6rpx;
}
&__bar {
width: 6rpx;
height: 26rpx;
background: #2979ff;
border-radius: 3rpx;
flex-shrink: 0;
}
&__title {
font-size: 28rpx;
font-weight: 600;
color: #0f1724;
letter-spacing: 0.5rpx;
}
}
.card {
background: #fff;
border-radius: 16rpx;
overflow: hidden;
box-shadow: 0 2rpx 16rpx rgba(0, 0, 0, 0.06);
&__row {
display: flex;
align-items: center;
padding: 22rpx 28rpx;
border-bottom: 1rpx solid #e8ecf1;
&:last-child {
border-bottom: none;
}
&--stack {
flex-direction: column;
align-items: flex-start;
.card__label {
margin-bottom: 8rpx;
}
.card__value-wrap {
width: 100%;
justify-content: flex-start;
}
}
}
&__label {
width: 180rpx;
font-size: 26rpx;
color: #6b7c93;
flex-shrink: 0;
}
&__value {
flex: 1;
font-size: 28rpx;
color: #0f1724;
text-align: left;
}
&__value-wrap {
flex: 1;
display: flex;
align-items: center;
gap: 8rpx;
}
&__unit {
font-size: 24rpx;
color: #6b7c93;
flex-shrink: 0;
}
&__input {
flex: 1;
font-size: 28rpx;
color: #0f1724;
text-align: left;
height: 48rpx;
&::placeholder {
color: #b0bec5;
}
}
}