From 3772269122d3eef7b4972e01ef11356b10bcf948 Mon Sep 17 00:00:00 2001 From: BAKEYi <16298417+bakeyi@user.noreply.gitee.com> Date: Wed, 1 Apr 2026 17:46:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/ruzhu/sj-info.vue | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/pages/ruzhu/sj-info.vue b/pages/ruzhu/sj-info.vue index 72f1407..39037df 100644 --- a/pages/ruzhu/sj-info.vue +++ b/pages/ruzhu/sj-info.vue @@ -1648,11 +1648,19 @@ export default { } .form-item-two { - display: flex; - justify-content: space-between; - align-items: center; - padding: 24rpx; -} + display: flex; + align-items: flex-start; + justify-content: space-between; + padding: 24rpx; + } + + /* 左侧标签:固定宽度,不换行 */ + .form-item-two > text.label { + flex-shrink: 0; + font-size: 28rpx; + color: #333333; + font-weight: 500; + } .input { flex: 1; @@ -1670,15 +1678,21 @@ export default { align-items: center; } -.picker-value { - font-size: 28rpx; - color: #333333; -} +.picker-value, + .placeholder { + flex: 1; /* 占据剩余宽度 */ + text-align: right; /* 文字右对齐 */ + font-size: 28rpx; + word-break: break-all; + white-space: normal; + line-height: 1.4; + } .arrow-right { width: 14rpx; height: 26rpx; margin-left: 16rpx; + flex-shrink: 0; } /* 邀请码相关样式 */