iv>
    </div>
</div>
{% endif %}

<script>
    document.addEventListener('DOMContentLoaded', function() {
        // 打印功能
        const printButton = document.querySelector('.print-button');
        if (printButton) {
            printButton.addEventListener('click', function() {
                window.print();
            });
        }
    });
</script>

<style>
    @media print {
        .btn, nav, footer, .no-print {
            display: none !important;
        }
        
