weixinxiaochengxu/pages/details/details.wxss

164 lines
2.3 KiB
Plaintext

/* ===== 数据详细信息 ===== */
/* 筛选 */
.filter-row {
margin-top: 4rpx;
}
.custom-range {
display: flex;
align-items: center;
gap: 16rpx;
}
.range-sep {
font-size: 26rpx;
color: #718096;
flex-shrink: 0;
}
.picker-display {
display: flex;
align-items: center;
justify-content: center;
padding: 16rpx 24rpx;
border: 1rpx solid #e2e8f0;
border-radius: 8rpx;
background: #f7fafc;
font-size: 28rpx;
color: #2d3748;
}
.picker-display--sm {
flex: 1;
padding: 12rpx 16rpx;
font-size: 26rpx;
}
.picker-arrow {
font-size: 20rpx;
color: #a0aec0;
margin-left: 10rpx;
}
.picker-label-sm {
color: #a0aec0;
margin-right: 8rpx;
}
/* 表格 */
.table-scroll {
width: 100%;
overflow-x: auto;
}
.table {
display: flex;
flex-direction: column;
}
.table-row {
display: flex;
flex-wrap: nowrap;
border-bottom: 1rpx solid #edf2f7;
}
.table-row--head {
background: #f7fafc;
font-weight: 600;
color: #4a5568;
}
.table-cell {
flex-shrink: 0;
min-width: 120rpx;
padding: 16rpx 10rpx;
font-size: 24rpx;
text-align: center;
box-sizing: border-box;
}
.table-cell--date {
min-width: 150rpx;
color: #4a5568;
font-weight: 500;
}
.table-cell--value {
color: #2c7a7b;
}
.table-cell--action {
min-width: 70rpx;
}
.table-empty {
color: #cbd5e0;
}
.btn-del-text {
color: #e53e3e;
font-size: 22rpx;
padding: 4rpx 8rpx;
}
.btn-edit-text {
color: #3182ce;
font-size: 22rpx;
padding: 4rpx 8rpx;
}
/* ===== 修改弹窗 ===== */
.modal-date {
font-size: 26rpx;
color: #718096;
text-align: center;
margin-bottom: 20rpx;
padding-bottom: 16rpx;
border-bottom: 1rpx solid #edf2f7;
}
.modal-scroll {
max-height: 480rpx;
}
.modal-row {
display: flex;
align-items: center;
padding: 14rpx 0;
border-bottom: 1rpx solid #f7fafc;
}
.modal-row:last-of-type {
border-bottom: none;
}
.modal-row-label {
width: 160rpx;
flex-shrink: 0;
font-size: 26rpx;
color: #2d3748;
font-weight: 500;
}
.modal-row-input {
flex: 1;
}
.modal-input {
width: 100%;
padding: 12rpx 16rpx;
border: 1rpx solid #e2e8f0;
border-radius: 8rpx;
background: #f7fafc;
font-size: 26rpx;
text-align: center;
box-sizing: border-box;
height: 56rpx;
}
.modal-input:focus {
border-color: #2c7a7b;
background: #e6f2f2;
}