Files
SupplierSystem/miniprogram/components/ble-printer-sheet/index.wxss
T
雨天 5e7d3af057
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
feat(分拣): 标签加二维码 + 蓝牙打印弹层改居中
标签二维码沿用旧秤端 QR:内容取装框码(无则条码/SKU)。小程序内嵌 qrcode-generator 把模块矩阵画进 ESC/POS 画布;Web 用 npm qrcode-generator 生成内联 SVG,不调外部二维码服务。ble-printer-sheet 由底部弹层改居中弹窗(共享组件,备货/采购面板同步生效)。
2026-10-13 18:33:46 +08:00

69 lines
1.1 KiB
Plaintext

.sheet {
box-sizing: border-box;
width: 620rpx;
max-width: 86vw;
max-height: 72vh;
overflow-y: auto;
padding: 32rpx;
background: #fff;
border-radius: 24rpx;
}
.sheet-title {
font-size: 32rpx;
font-weight: 700;
color: #0a0a0b;
}
.sheet-hint {
margin-top: 10rpx;
font-size: 22rpx;
color: #71717a;
line-height: 1.45;
}
.sheet-error {
margin-top: 16rpx;
font-size: 24rpx;
color: #ef4444;
}
.sheet-muted {
margin-top: 24rpx;
font-size: 24rpx;
color: #a1a1aa;
}
.device-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16rpx;
padding: 22rpx 0;
border-bottom: 1px solid #f4f4f5;
}
.device-name {
font-size: 28rpx;
font-weight: 600;
color: #0a0a0b;
}
.device-rssi {
font-size: 22rpx;
color: #a1a1aa;
}
.sheet-actions {
display: flex;
gap: 16rpx;
margin-top: 24rpx;
}
.sheet-btn {
flex: 1;
height: 80rpx;
line-height: 80rpx;
text-align: center;
border-radius: 16rpx;
background: #059669;
color: #fff;
font-size: 28rpx;
font-weight: 600;
}
.sheet-btn--ghost {
background: #f4f4f5;
color: #3f3f46;
}