From 0be325e379fd5cc95433cc66d76fa8920d9d590e Mon Sep 17 00:00:00 2001 From: sexygoat <1538832180@qq.com> Date: Thu, 14 May 2026 14:18:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E6=8D=A2=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/device-exchange/device-exchange.vue | 26 +++++++++++++++++------ 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/pages/device-exchange/device-exchange.vue b/pages/device-exchange/device-exchange.vue index 403265f..7974be2 100644 --- a/pages/device-exchange/device-exchange.vue +++ b/pages/device-exchange/device-exchange.vue @@ -56,9 +56,14 @@ border="surround" /> 识别结果可继续手动修改 - + + + + @@ -280,6 +285,10 @@ uni.showToast({ title: '已识别并填充', icon: 'success' }); }; + const clearPastedText = () => { + form.raw_shipping_text = ''; + }; + const submitExchange = async () => { if (!form.recipient_name.trim()) { uni.showToast({ title: '请输入收件人姓名', icon: 'none' }); @@ -409,10 +418,8 @@ .popup-content { width: 660rpx; - max-height: 80vh; padding: 30rpx; box-sizing: border-box; - overflow-y: auto; .popup-title { font-size: 32rpx; @@ -437,9 +444,14 @@ color: var(--text-tertiary); } - .parse-btn { - width: 100%; + .paste-action-row { + display: flex; + gap: var(--space-md); margin-top: var(--space-sm); + + .paste-action-btn { + flex: 1; + } } }