领用申请联系电话必填去除
This commit is contained in:
parent
c2a651c780
commit
75d5a76eb1
|
|
@ -39,7 +39,7 @@
|
|||
style="width: 100%; height: 70rpx"
|
||||
/>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item class="centered-item" label="联系电话" name="phone" required>
|
||||
<uni-forms-item class="centered-item" label="联系电话" name="phone" >
|
||||
<uni-easyinput
|
||||
v-model="formData.phone"
|
||||
maxlength="11"
|
||||
|
|
@ -288,7 +288,7 @@ const rules = ref({
|
|||
},
|
||||
],
|
||||
},
|
||||
phone: {
|
||||
/* phone: {
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
|
|
@ -301,7 +301,7 @@ const rules = ref({
|
|||
trigger: 'blur',
|
||||
},
|
||||
],
|
||||
},
|
||||
},*/
|
||||
})
|
||||
|
||||
// 适用班组数
|
||||
|
|
@ -805,16 +805,16 @@ const clearConfig = () => {
|
|||
// 使用 :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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue