领用申请联系电话必填去除

This commit is contained in:
lSun 2025-07-05 16:22:53 +08:00
parent c2a651c780
commit 75d5a76eb1
1 changed files with 9 additions and 9 deletions

View File

@ -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;