From 5e68bbfe71079ba83efbc34f1f646824ae79b861 Mon Sep 17 00:00:00 2001 From: Peanut Date: Tue, 7 Apr 2026 21:59:11 +0800 Subject: [PATCH] =?UTF-8?q?style(mini-program):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=A0=B8=E5=BF=83=E5=8F=82=E6=95=B0=E9=80=89=E9=A1=B9=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 减小 padding 从 12rpx 20rpx → 8rpx 12rpx,按钮更紧凑 - 添加 text-align: center,文字居中显示 - 移除 white-space: nowrap,允许内容换行 --- mini-program/src/pages/main/ScriptView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mini-program/src/pages/main/ScriptView.vue b/mini-program/src/pages/main/ScriptView.vue index 10d9050..a651fe3 100644 --- a/mini-program/src/pages/main/ScriptView.vue +++ b/mini-program/src/pages/main/ScriptView.vue @@ -616,13 +616,13 @@ onMounted(async () => { } .param-option { - padding: 12rpx 20rpx; + padding: 8rpx 12rpx; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20rpx; font-size: 20rpx; color: rgba(255, 255, 255, 0.4); - white-space: nowrap; + text-align: center; transition: all 0.2s ease; }