From f734f1bb87e6d328961ea45b77c9592cc4b8e763 Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Mon, 29 Sep 2025 15:23:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8C=89=E9=92=AE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other-transaction/other-inbound.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/views/modules/other-transaction/other-inbound.vue b/src/views/modules/other-transaction/other-inbound.vue index 945e34c..2ad32df 100644 --- a/src/views/modules/other-transaction/other-inbound.vue +++ b/src/views/modules/other-transaction/other-inbound.vue @@ -394,11 +394,19 @@ export default { .custom-switch { transform: scale(1.3); } - /* 中间文字 */ .switch-text { position: absolute; left: 25%; + transform: translateX(-50%); + top: 50%; + transform: translateY(-50%) translateX(-50%); + font-size: 12px; + font-weight: 500; + color: #606266; + white-space: nowrap; + pointer-events: none; + z-index: 1; top: 53%; transform: translate(-50%, -50%); font-size: 12px; @@ -411,6 +419,15 @@ export default { .switch-text2 { position: absolute; left: 75%; + transform: translateX(-50%); + top: 50%; + transform: translateY(-50%) translateX(-50%); + font-size: 12px; + font-weight: 500; + color: #606266; + white-space: nowrap; + pointer-events: none; + z-index: 1; top: 53%; transform: translate(-50%, -50%); font-size: 12px;