diff --git a/src/views/mall/trade/order/index.vue b/src/views/mall/trade/order/index.vue index 603928e0..683a2d90 100644 --- a/src/views/mall/trade/order/index.vue +++ b/src/views/mall/trade/order/index.vue @@ -153,14 +153,6 @@ - - - @@ -401,29 +393,34 @@ const openInNewWindow = () => { } .print-btn { display: none; + height: 50px; } }
+ 物流面单
${productText}
- +
` // 在新窗口中打开 - const newWindow = window.open('', '_blank', 'width=800,height=600,scrollbars=yes,resizable=yes') + const newWindow = window.open('', '_blank', 'scrollbars=yes,resizable=yes') if (newWindow) { newWindow.document.write(htmlContent) newWindow.document.close() + // 窗口最大化 + newWindow.moveTo(0, 0) + newWindow.resizeTo(screen.width, screen.height) // 关闭当前弹窗 showLabelDialog.value = false } else {