diff --git a/src/pages/business/leaseApply.vue b/src/pages/business/leaseApply.vue index d34f154..21e9510 100644 --- a/src/pages/business/leaseApply.vue +++ b/src/pages/business/leaseApply.vue @@ -39,7 +39,7 @@ style="width: 100%; height: 70rpx" /> - + { // 使用 :deep 选择器调整错误提示样式,添加 !important 提高优先级 :deep(.uni-forms-item__error-message) { position: absolute !important; - bottom: 0 !important; - margin-top: 0 !important; - font-size: 14rpx !important; + bottom: 0 !important; + margin-top: 0 !important; + font-size: 14rpx !important; line-height: 1 !important; // 确保行高合适 transform: translateY(50%); // 向下移动提示信息,可根据实际调整 } :deep(.uni-forms-item) { - position: relative !important; - padding-bottom: 5rpx !important; + position: relative !important; + padding-bottom: 5rpx !important; box-sizing: border-box; // 确保内边距包含在元素尺寸内 } @@ -873,7 +873,7 @@ const clearConfig = () => { } } } - + // 操作按钮样式 .uni-group { display: flex;