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; } /* 邀请码相关样式 */