Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songrui
frontend-h5
Commits
c001c644
Commit
c001c644
authored
Sep 10, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
居民表单样式修改
parent
32013db1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
7 deletions
+29
-7
base.less
src/assets/css/base.less
+17
-0
BaseInfo.vue
src/resident/screening/first/form/BaseInfo.vue
+6
-6
ScreenInfo.vue
src/resident/screening/first/form/ScreenInfo.vue
+6
-1
No files found.
src/assets/css/base.less
View file @
c001c644
...
...
@@ -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;
...
...
src/resident/screening/first/form/BaseInfo.vue
View file @
c001c644
...
...
@@ -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>
...
...
src/resident/screening/first/form/ScreenInfo.vue
View file @
c001c644
...
...
@@ -565,12 +565,17 @@ table {
>tr {
>td {
padding-left: 14px;
padding-bottom:
12
px;
padding-bottom:
20
px;
&:first-child {
text-align: right;
padding-left: 0;
}
}
&:last-child {
>td {
padding-bottom: 12px;
}
}
}
.divide {
transform: translateY(4px);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment