SPA preview in PrintMenu

This commit is contained in:
2026-09-02 13:54:48 +03:00
parent fb0b10a66a
commit 8dac91215f
3 changed files with 89 additions and 89 deletions

View File

@ -362,6 +362,7 @@
} }
</script> </script>
{#if !activeFile}
<div class="page-container"> <div class="page-container">
<header class="header"> <header class="header">
<button class="back-btn" onclick={onBack}> Назад</button> <button class="back-btn" onclick={onBack}> Назад</button>
@ -452,10 +453,11 @@
<span class="summary-price">{totalPrice}</span> <span class="summary-price">{totalPrice}</span>
</div> </div>
<button type="button" class="action-btn secondary" onclick={onPrint}>Печать</button> <button type="button" class="action-btn secondary" onclick={onPrint}>Печать</button>
<div class="home-bar-spacer"><div class="home-bar"></div></div> <!-- Input можно оставить здесь, он скрыт через display:none и не влияет на верстку -->
<input type="file" bind:this={fileInput} accept="image/*,.pdf" multiple onchange={handleFileSelect} style="display:none" /> <input type="file" bind:this={fileInput} accept="image/*,.pdf" multiple onchange={handleFileSelect} style="display:none" />
</footer> </footer>
</div> </div>
{/if}
<!-- ═══════════════════════════════════════════════════════════ --> <!-- ═══════════════════════════════════════════════════════════ -->
<!-- УНИВЕРСАЛЬНЫЙ ОВЕРЛЕЙ (Галерея выбора ИЛИ Просмотр) --> <!-- УНИВЕРСАЛЬНЫЙ ОВЕРЛЕЙ (Галерея выбора ИЛИ Просмотр) -->
@ -620,8 +622,6 @@
.price-summary { display: flex; justify-content: space-between; align-items: baseline; width: 100%; } .price-summary { display: flex; justify-content: space-between; align-items: baseline; width: 100%; }
.summary-itogo { font-size: 30px; font-weight: 700; color: #8b93a1; } .summary-itogo { font-size: 30px; font-weight: 700; color: #8b93a1; }
.summary-price { font-size: 38px; font-weight: 800; color: #fff; } .summary-price { font-size: 38px; font-weight: 800; color: #fff; }
.home-bar-spacer { margin-top: auto; padding: 24px 0 8px; display: flex; justify-content: center; }
.home-bar { width: 134px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); }
/* ═══════════════════════════════════════ */ /* ═══════════════════════════════════════ */
/* ОБЩИЙ ОВЕРЛЕЙ */ /* ОБЩИЙ ОВЕРЛЕЙ */

View File

View File