JhHardwareWRS/pages/records/records.wxss
2026-06-24 15:19:14 +08:00

285 lines
5.4 KiB
Plaintext

.records-header-row {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 16rpx;
}
.records-header-main {
min-width: 0;
width: 100%;
flex: none;
}
.detail-toggle {
position: relative;
z-index: 2;
flex: 0 0 auto;
min-width: 150rpx;
height: 62rpx;
line-height: 62rpx;
margin: 4rpx 0 0;
padding: 0 18rpx;
border-radius: 14rpx;
color: #1463ff;
font-size: 24rpx;
font-weight: 800;
}
.records-header-row .top-action-group {
width: 100%;
display: grid;
grid-template-columns: 240rpx minmax(0, 1fr);
align-items: center;
gap: 18rpx;
margin-top: 0;
}
.records-header-row .void-filter-switch {
width: 240rpx;
}
.records-header-row .detail-toggle {
width: 100%;
min-width: 0;
height: 68rpx;
line-height: 68rpx;
box-sizing: border-box;
}
.status-row {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12rpx;
margin-bottom: 20rpx;
padding: 6rpx;
border-radius: 16rpx;
background: linear-gradient(180deg, #f7faff 0%, #e4ebf5 100%);
box-shadow:
inset 0 4rpx 8rpx rgba(22, 34, 50, 0.06),
0 8rpx 0 rgba(205, 216, 229, 0.48),
0 12rpx 18rpx rgba(22, 34, 50, 0.07);
}
.status-btn {
width: 100%;
min-width: 0;
height: 62rpx;
line-height: 62rpx;
margin: 0;
padding: 0 10rpx;
border-radius: 14rpx;
background: transparent;
color: #475467;
font-size: 24rpx;
font-weight: 600;
box-sizing: border-box;
}
.status-btn::after {
border: 0;
}
.status-btn.active {
background: linear-gradient(180deg, #2876ff 0%, #1456c2 100%);
color: #ffffff;
box-shadow:
0 7rpx 0 #0d3f93,
0 12rpx 18rpx rgba(20, 99, 255, 0.2),
inset 0 2rpx 0 rgba(255, 255, 255, 0.24);
}
.record-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18rpx;
padding: 4rpx 0;
}
.record-card {
position: relative;
overflow: hidden;
border-color: #aebbd0;
}
.cleaning-watermark {
position: absolute;
right: 28rpx;
top: 18rpx;
z-index: 1;
padding: 8rpx 18rpx;
border: 2rpx solid rgba(18, 163, 117, 0.55);
border-radius: 12rpx;
color: rgba(8, 116, 67, 0.72);
background: rgba(226, 255, 243, 0.82);
font-size: 30rpx;
font-weight: 900;
transform: rotate(10deg);
pointer-events: none;
}
.record-card.expanded {
border-color: #1463ff;
box-shadow:
0 0 0 2rpx rgba(255, 255, 255, 0.9),
0 13rpx 0 rgba(20, 86, 194, 0.48),
0 24rpx 36rpx rgba(20, 86, 194, 0.16),
inset 0 0 0 1rpx rgba(20, 99, 255, 0.24),
inset 0 2rpx 0 rgba(255, 255, 255, 0.96);
}
.pending-action-row,
.record-action-row {
display: flex;
justify-content: flex-end;
flex-wrap: wrap;
gap: 12rpx;
margin-top: 18rpx;
}
.review-entry-btn,
.record-action-btn {
width: 172rpx;
height: 62rpx;
line-height: 62rpx;
margin: 0;
padding: 0;
font-size: 24rpx;
font-weight: 800;
}
.review-entry-btn,
.record-action-btn.secondary {
color: #1463ff;
}
.record-detail-list {
margin-top: 20rpx;
padding: 18rpx;
border: 2rpx solid #bfcadd;
border-radius: 16rpx;
background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
box-shadow:
inset 0 0 0 1rpx rgba(255, 255, 255, 0.86),
0 8rpx 0 rgba(177, 191, 211, 0.58),
0 14rpx 22rpx rgba(22, 34, 50, 0.08);
}
.detail-section-title {
display: block;
margin-bottom: 16rpx;
color: #162232;
font-size: 26rpx;
font-weight: 700;
}
.record-detail-item {
position: relative;
padding: 18rpx;
border: 2rpx solid #aebbd0;
border-radius: 14rpx;
background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
box-shadow:
0 0 0 2rpx rgba(255, 255, 255, 0.82),
0 8rpx 0 rgba(176, 190, 209, 0.64),
0 14rpx 20rpx rgba(22, 34, 50, 0.08),
inset 0 0 0 1rpx rgba(174, 187, 208, 0.34),
inset 0 2rpx 0 rgba(255, 255, 255, 0.94);
box-sizing: border-box;
}
.detail-multi-stamp {
position: absolute;
right: 18rpx;
top: 14rpx;
z-index: 2;
padding: 7rpx 14rpx;
border: 2rpx solid rgba(217, 119, 6, 0.62);
border-radius: 10rpx;
color: rgba(154, 74, 5, 0.88);
background: rgba(255, 247, 232, 0.92);
font-size: 23rpx;
font-weight: 900;
line-height: 1;
pointer-events: none;
}
.detail-continuous-stamp {
position: absolute;
right: 18rpx;
top: 14rpx;
z-index: 2;
padding: 7rpx 14rpx;
border: 2rpx solid rgba(217, 119, 6, 0.62);
border-radius: 10rpx;
color: rgba(154, 74, 5, 0.88);
background: rgba(255, 247, 232, 0.92);
font-size: 23rpx;
font-weight: 900;
line-height: 1;
pointer-events: none;
}
.detail-continuous-stamp.lower-detail-stamp {
top: 56rpx;
}
.record-detail-item:first-of-type {
margin-top: 0;
}
.record-detail-item + .record-detail-item {
margin-top: 18rpx;
}
.record-detail-item:last-child {
margin-bottom: 0;
}
.record-detail-item.multi-detail-item,
.record-detail-item.marked-detail-item {
padding-top: 56rpx;
}
.record-detail-item.stacked-detail-item {
padding-top: 96rpx;
}
.detail-head {
align-items: flex-start;
}
.device-pill {
max-width: 260rpx;
height: auto;
min-height: 44rpx;
white-space: normal;
word-break: break-all;
line-height: 1.3;
padding-top: 8rpx;
padding-bottom: 8rpx;
}
.detail-product {
display: block;
color: #162232;
font-size: 27rpx;
font-weight: 700;
line-height: 1.4;
}
.detail-meta {
display: block;
margin-top: 6rpx;
color: #667085;
font-size: 24rpx;
line-height: 1.4;
}
.detail-qty-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14rpx 18rpx;
margin-top: 16rpx;
}