1. 修复海报图片

This commit is contained in:
李琦
2026-08-03 17:09:07 +08:00
parent 46dad0fd3f
commit ef1e2ee811

View File

@@ -373,6 +373,7 @@ async function mountCaptureQr(host) {
<span class="hb-cq-c hb-cq-br">囍</span>
<canvas></canvas>
</div>
<div class="hb-cq-tip">微信长按识别二维码</div>
`
if (!isSplit) {
@@ -836,6 +837,11 @@ onUnmounted(() => {
}
[data-hb-capture-qr].hb-cq--split .hb-cq-frame { padding: 5px; border-radius: 6px; }
[data-hb-capture-qr].hb-cq--split .hb-cq-c { font-size: 8px; }
[data-hb-capture-qr].hb-cq--split .hb-cq-tip {
font-size: 8px;
letter-spacing: 0.08em;
margin-top: 5px;
}
/* 经典竖版:置于最底部,随容器增高 */
[data-hb-capture-qr].hb-cq--classic {
position: relative;
@@ -882,4 +888,14 @@ onUnmounted(() => {
display: block;
border-radius: 3px;
}
[data-hb-capture-qr] .hb-cq-tip {
margin-top: 7px;
font-size: 10px;
letter-spacing: 0.12em;
line-height: 1.35;
color: rgba(240, 215, 140, 0.92);
text-align: center;
white-space: nowrap;
flex-shrink: 0;
}
</style>