Files
cuotibiye/miniprogram/pages/queue/queue.wxss
T

78 lines
3.7 KiB
Plaintext

.pick { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.chip { padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: #5f5852; }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.mode { margin-left: auto; color: var(--brand); border-color: #f0cfc4; background: #fff7f4; }
/* 空着的时候:一个大方框让人点 */
.shot {
position: relative; height: 210px; border-radius: 16px; border: 2px dashed #e0d5c9;
display: flex; flex-direction: column; align-items: center; justify-content: center;
background: #fff; margin-bottom: 16px; overflow: hidden;
}
.shot.math { background: var(--paper-math) repeating-linear-gradient(0deg, rgba(169,118,26,.07) 0 1px, transparent 1px 13px); }
.shot.chn { background: var(--paper-chn) repeating-linear-gradient(0deg, rgba(47,107,87,.07) 0 1px, transparent 1px 14px); }
.plus { font-size: 40px; color: #c9bda9; line-height: 1; }
.shot-t { margin-top: 8px; font-size: 15px; font-weight: 700; }
.shot-s { margin-top: 4px; font-size: 12px; color: var(--muted); }
/* 拍完:图 + 切块框 */
.stage { position: relative; margin-bottom: 10px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.page { display: block; width: 100%; }
.overlay { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.blk {
position: absolute; border: 2px dashed rgba(140,130,120,.55); border-radius: 8px;
background: rgba(255,255,255,.04);
}
.blk.on { border: 2px solid var(--brand); background: rgba(179,39,45,.16); }
.blk-n {
position: absolute; left: -2px; top: -2px; min-width: 18px; height: 18px; line-height: 18px;
padding: 0 5px; border-radius: 8px 0 8px 0; background: rgba(140,130,120,.92);
color: #fff; font-size: 11px; text-align: center;
}
.blk.on .blk-n { background: var(--brand); }
.blk-more { font-size: 10px; }
/* 并排两个按钮 */
.row2 { display: flex; gap: 10px; }
.row2 .btn { flex: 1; }
.btn.half { width: auto; }
/* 手输 */
.ta {
width: 100%; box-sizing: border-box; min-height: 74px; margin-top: 10px; padding: 10px 12px;
border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.6;
}
.line { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.lk { flex: 0 0 72px; font-size: 13px; color: #5f5852; }
.ipt {
flex: 1; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px;
background: #fff; font-size: 15px;
}
/* 逐条勾选 */
.q { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid #f5efe8; }
.q:last-of-type { border-bottom: none; }
.box {
flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px;
border: 2px solid #ddd3c9; border-radius: 6px; background: #fff; color: #fff;
font-size: 12px; text-align: center; line-height: 17px;
}
.box.on { background: var(--brand); border-color: var(--brand); }
.qmain { flex: 1; }
.qstem { font-size: 14px; line-height: 1.5; }
.qstem.off { color: #b7afa8; text-decoration: line-through; }
/* 题单预览 */
.queue { border: 1px solid #f0cfc4; background: #fffaf7; margin-top: 16px; }
.qbig { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 8px; }
.qnum { font-size: 34px; font-weight: 800; color: var(--brand); line-height: 1; }
.qunit { font-size: 13px; color: #6b6560; }
.note { margin-top: 18px; padding: 11px 13px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 11px; color: #9a938c; line-height: 1.7; }
.cutinfo {
margin: 0 0 12px; padding: 9px 12px; border-radius: 10px;
background: #fbf2e1; border: 1px solid #ecd9b6; color: #7a6440; font-size: 12px;
white-space: pre-line; line-height: 1.6;
}