Commit c001c644 authored by songrui's avatar songrui

居民表单样式修改

parent 32013db1
......@@ -54,6 +54,23 @@ body {
border-bottom: 1px solid var(--van-cell-border-color);
}
}
// 必选标记修改
.van-field__label--required {
&::before {
display: none;
}
>label {
&::after {
content: "*";
margin-left: 4px;
color: var(--van-field-required-mark-color);
display: inline-block;
transform: translateY(1px);
}
}
}
// 在table表格中的控件
.table-field {
padding: 0;
......
......@@ -109,6 +109,12 @@
placeholder="请输入"
maxlength="50"
/>
<div class="flex pt-3 pr-4 justify-end">
<van-button size="mini" plain type="primary"
@click="setRegisteredAddress">
<span class="text-12">同步住址</span>
</van-button>
</div>
<van-field required
v-model="form.registeredCodeName"
......@@ -132,12 +138,6 @@
placeholder="请输入"
maxlength="50"
>
<template #button>
<div class="flex items-center">
<van-button size="mini" plain type="primary"
@click="setRegisteredAddress">同步住址</van-button>
</div>
</template>
</van-field>
</van-form>
......
......@@ -565,12 +565,17 @@ table {
>tr {
>td {
padding-left: 14px;
padding-bottom: 12px;
padding-bottom: 20px;
&:first-child {
text-align: right;
padding-left: 0;
}
}
&:last-child {
>td {
padding-bottom: 12px;
}
}
}
.divide {
transform: translateY(4px);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment