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

441 lines
7.3 KiB
Plaintext

.qr-work-card {
border-left: 6rpx solid #12a375;
}
.field-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
margin-bottom: 10rpx;
}
.field-head .label {
margin-bottom: 0;
}
.batch-entry-btn {
flex: 0 0 168rpx;
margin: 0;
}
.mold-dropdown {
overflow-y: auto;
max-height: 420rpx;
margin-top: 12rpx;
border: 2rpx solid #b8c6dc;
border-radius: 16rpx;
background: #ffffff;
box-shadow:
0 10rpx 0 rgba(174, 188, 208, 0.46),
0 18rpx 28rpx rgba(22, 34, 50, 0.12),
inset 0 2rpx 0 rgba(255, 255, 255, 0.9);
}
.mold-option {
display: flex;
flex-direction: column;
gap: 8rpx;
padding: 22rpx 24rpx;
border-bottom: 1rpx solid #e6edf6;
color: #162232;
font-size: 27rpx;
font-weight: 650;
line-height: 1.35;
}
.mold-option-name {
color: #162232;
font-size: 28rpx;
font-weight: 800;
line-height: 1.35;
}
.mold-option-process {
color: #667085;
font-size: 24rpx;
font-weight: 650;
line-height: 1.3;
}
.mold-option-tag {
align-self: flex-start;
padding: 6rpx 12rpx;
border: 2rpx solid rgba(217, 119, 6, 0.58);
border-radius: 10rpx;
color: #9a4a05;
background: #fff7e8;
font-size: 22rpx;
font-weight: 900;
line-height: 1;
}
.mold-option-tag.continuous-tag {
color: #b45f00;
border-color: rgba(217, 119, 6, 0.58);
background: #fff4e0;
}
.mold-option:last-child {
border-bottom: 0;
}
.mold-option:active {
background: #eef5ff;
}
.mold-empty {
padding: 32rpx 24rpx;
color: #667085;
text-align: center;
}
.modal-mask {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 50;
display: flex;
align-items: center;
justify-content: center;
padding: 32rpx;
background: rgba(15, 23, 42, 0.48);
box-sizing: border-box;
}
.modal-panel {
width: 100%;
overflow-y: auto;
padding: 30rpx;
border: 1rpx solid #e4e9f1;
border-radius: 18rpx;
background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
box-shadow:
0 16rpx 0 rgba(170, 184, 204, 0.62),
0 30rpx 64rpx rgba(15, 23, 42, 0.24),
inset 0 2rpx 0 rgba(255, 255, 255, 0.96);
box-sizing: border-box;
}
.batch-modal-mask {
align-items: flex-start;
padding: 28rpx 20rpx calc(env(safe-area-inset-bottom) + 28rpx);
}
.batch-modal-panel {
max-height: 92vh;
}
.batch-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
margin-bottom: 18rpx;
}
.batch-title {
display: block;
color: #162232;
font-size: 30rpx;
font-weight: 850;
line-height: 1.3;
}
.batch-select-btn {
flex: 0 0 156rpx;
margin: 0;
}
.batch-search {
margin-bottom: 18rpx;
}
.batch-list {
height: 64vh;
margin-bottom: 22rpx;
border: 2rpx solid #b8c6dc;
border-radius: 16rpx;
background: #ffffff;
box-shadow:
0 10rpx 0 rgba(174, 188, 208, 0.46),
0 18rpx 28rpx rgba(22, 34, 50, 0.12),
inset 0 2rpx 0 rgba(255, 255, 255, 0.9);
}
.batch-option {
display: flex;
align-items: flex-start;
gap: 18rpx;
padding: 22rpx 24rpx;
border-bottom: 1rpx solid #e6edf6;
box-sizing: border-box;
}
.batch-option.checked {
background: #eef6ff;
}
.batch-option:last-child {
border-bottom: 0;
}
.batch-option-text {
min-width: 0;
display: flex;
flex: 1;
flex-direction: column;
gap: 8rpx;
}
.batch-actions {
display: grid;
grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
gap: 16rpx;
}
.batch-task-card {
border-left: 6rpx solid #1463ff;
}
.task-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
margin-bottom: 18rpx;
}
.task-title {
display: block;
color: #162232;
font-size: 30rpx;
font-weight: 850;
line-height: 1.3;
}
.task-swipe-wrap {
position: relative;
overflow: hidden;
margin-bottom: 22rpx;
}
.task-delete-btn {
position: absolute;
top: 0;
right: 0;
bottom: 0;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
width: 150rpx;
height: 100%;
margin: 0;
padding: 0;
border-radius: 0 16rpx 16rpx 0;
color: #ffffff;
background: #d92d20;
font-size: 28rpx;
font-weight: 900;
line-height: normal;
box-sizing: border-box;
}
.task-delete-btn text {
color: #ffffff;
font-size: 28rpx;
font-weight: 900;
line-height: 1;
}
.task-item {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
gap: 16rpx;
margin-bottom: 0;
padding: 22rpx;
border: 2rpx solid #c8d3e3;
border-radius: 16rpx;
background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
box-shadow:
0 9rpx 0 rgba(180, 193, 213, 0.48),
0 15rpx 24rpx rgba(22, 34, 50, 0.08),
inset 0 2rpx 0 rgba(255, 255, 255, 0.94);
box-sizing: border-box;
transition: transform 180ms ease;
}
.task-item.swiped {
transform: translateX(-150rpx);
}
.task-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18rpx;
}
.task-main {
min-width: 0;
display: flex;
flex: 1;
flex-direction: column;
gap: 8rpx;
}
.task-file {
color: #162232;
font-size: 27rpx;
font-weight: 850;
line-height: 1.35;
word-break: break-all;
}
.task-meta {
color: #667085;
font-size: 24rpx;
font-weight: 650;
line-height: 1.35;
}
.task-status {
min-width: 96rpx;
padding: 8rpx 12rpx;
border-radius: 999rpx;
color: #1463ff;
background: #eef5ff;
font-size: 24rpx;
font-weight: 900;
text-align: center;
}
.task-side {
flex: 0 0 auto;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 10rpx;
}
.task-small-btn {
min-width: 108rpx;
height: 54rpx;
line-height: 54rpx;
margin: 0;
padding: 0 14rpx;
font-size: 22rpx;
border-radius: 12rpx;
}
.task-status.success {
color: #087443;
background: #e8fff4;
}
.task-status.paused {
color: #8a5a00;
background: #fff7df;
}
.task-status.danger {
color: #b42318;
background: #fff1f0;
}
.progress-track {
overflow: hidden;
height: 18rpx;
border-radius: 999rpx;
background: #dbe4f0;
box-shadow: inset 0 2rpx 5rpx rgba(22, 34, 50, 0.12);
}
.progress-fill {
height: 100%;
min-width: 8rpx;
border-radius: 999rpx;
background: linear-gradient(90deg, #1463ff 0%, #12a375 100%);
}
.progress-fill.failed {
background: linear-gradient(90deg, #d92d20 0%, #f79009 100%);
}
.progress-fill.paused {
background: linear-gradient(90deg, #f79009 0%, #fdb022 100%);
}
.task-time-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14rpx;
}
.task-error {
color: #b42318;
font-size: 24rpx;
font-weight: 700;
line-height: 1.4;
word-break: break-all;
}
.task-actions-row {
display: flex;
gap: 14rpx;
margin-top: 2rpx;
}
.task-action-btn {
flex: 1;
margin-top: 2rpx;
}
.task-pager {
gap: 14rpx;
margin-top: 10rpx;
}
.qr-result {
display: flex;
flex-direction: column;
align-items: center;
gap: 20rpx;
margin-top: 26rpx;
padding-top: 26rpx;
border-top: 2rpx solid #e6edf6;
}
.qr-frame {
width: 520rpx;
max-width: 100%;
min-height: 520rpx;
padding: 16rpx;
border: 1rpx solid #ccd8e6;
border-radius: 18rpx;
background: #ffffff;
box-shadow:
0 12rpx 0 rgba(205, 216, 229, 0.58),
0 18rpx 28rpx rgba(22, 34, 50, 0.1),
inset 0 2rpx 0 rgba(255, 255, 255, 0.96);
box-sizing: border-box;
}
.qr-image {
display: block;
width: 100%;
height: auto;
}
.qr-error {
color: #b42318;
font-size: 24rpx;
line-height: 1.4;
text-align: center;
}