SPA preview in PrintMenu
This commit is contained in:
@ -362,7 +362,8 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="page-container">
|
||||
{#if !activeFile}
|
||||
<div class="page-container">
|
||||
<header class="header">
|
||||
<button class="back-btn" onclick={onBack}>← Назад</button>
|
||||
<h1>Печать</h1>
|
||||
@ -452,10 +453,11 @@
|
||||
<span class="summary-price">{totalPrice}</span>
|
||||
</div>
|
||||
<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" />
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════════════ -->
|
||||
<!-- УНИВЕРСАЛЬНЫЙ ОВЕРЛЕЙ (Галерея выбора ИЛИ Просмотр) -->
|
||||
@ -620,8 +622,6 @@
|
||||
.price-summary { display: flex; justify-content: space-between; align-items: baseline; width: 100%; }
|
||||
.summary-itogo { font-size: 30px; font-weight: 700; color: #8b93a1; }
|
||||
.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); }
|
||||
|
||||
/* ═══════════════════════════════════════ */
|
||||
/* ОБЩИЙ ОВЕРЛЕЙ */
|
||||
|
||||
0
src/lib/preview/PreviewPage.svelte
Normal file
0
src/lib/preview/PreviewPage.svelte
Normal file
0
src/lib/preview/SelectionPage.svelte
Normal file
0
src/lib/preview/SelectionPage.svelte
Normal file
Reference in New Issue
Block a user