Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
activities
/
web-lottery
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9d369254
authored
Mar 04, 2024
by
Lays-lzq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 信息限制样式优化
parent
8b135853
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
components/Common/ConfigPopup.vue
+11
-4
No files found.
components/Common/ConfigPopup.vue
View file @
9d369254
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
v-model=
"visible"
v-model=
"visible"
position=
"bottom"
position=
"bottom"
round
round
transfer
>
>
<div
class=
"main"
>
<div
class=
"main"
>
<div
class=
"top"
>
<div
class=
"top"
>
...
@@ -11,7 +12,7 @@
...
@@ -11,7 +12,7 @@
<div
class=
"top-btn"
@
click=
"submit"
>
提交
</div>
<div
class=
"top-btn"
@
click=
"submit"
>
提交
</div>
</div>
</div>
<div
class=
"form"
:class=
"
{error: isError}">
<div
class=
"form"
:class=
"
{error: isError}">
<van-field
v-if=
"lotteryInfo.premise && lotteryInfo.premise.includes('name')"
v-model=
"form.name"
label-width=
"6
5
"
label=
"联系人"
placeholder=
"请输入联系人"
@
focus=
"isError = false"
/>
<van-field
v-if=
"lotteryInfo.premise && lotteryInfo.premise.includes('name')"
v-model=
"form.name"
label-width=
"6
0
"
label=
"联系人"
placeholder=
"请输入联系人"
@
focus=
"isError = false"
/>
<template
v-if=
"lotteryInfo.premise && lotteryInfo.premise.includes('phone')"
>
<template
v-if=
"lotteryInfo.premise && lotteryInfo.premise.includes('phone')"
>
<van-field
v-model=
"form.phone"
label-width=
"60"
label=
"手机号"
placeholder=
"请输入联系电话"
@
focus=
"isError = false"
/>
<van-field
v-model=
"form.phone"
label-width=
"60"
label=
"手机号"
placeholder=
"请输入联系电话"
@
focus=
"isError = false"
/>
<van-field
v-model=
"form.code"
label-width=
"60"
label=
"验证码"
placeholder=
"请输入验证码"
@
focus=
"isError = false"
>
<van-field
v-model=
"form.code"
label-width=
"60"
label=
"验证码"
placeholder=
"请输入验证码"
@
focus=
"isError = false"
>
...
@@ -44,7 +45,7 @@
...
@@ -44,7 +45,7 @@
position=
"bottom"
position=
"bottom"
round
round
>
>
<van-area
title=
"
标题
"
:area-list=
"areaList"
@
confirm=
"chooseAdd"
@
cancel=
"isShowAdd = false"
/>
<van-area
title=
"
区域选择
"
:area-list=
"areaList"
@
confirm=
"chooseAdd"
@
cancel=
"isShowAdd = false"
/>
</van-popup>
</van-popup>
</div>
</div>
</van-popup>
</van-popup>
...
@@ -204,14 +205,14 @@ export default {
...
@@ -204,14 +205,14 @@ export default {
this
.
$toast
(
errorMessage
)
this
.
$toast
(
errorMessage
)
}
}
})
})
}
}
,
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.main
{
.main
{
height
:
60
vh
;
height
:
42
vh
;
}
}
.top
{
.top
{
display
:
flex
;
display
:
flex
;
...
@@ -239,6 +240,9 @@ export default {
...
@@ -239,6 +240,9 @@ export default {
font-weight
:
400
;
font-weight
:
400
;
color
:
#357BF0
;
color
:
#357BF0
;
}
}
/
deep
/
.van-cell
{
padding
:
9.5px
13px
;
}
/
deep
/
.van-field__label
{
/
deep
/
.van-field__label
{
height
:
20px
;
height
:
20px
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -249,6 +253,9 @@ export default {
...
@@ -249,6 +253,9 @@ export default {
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
}
}
/
deep
/
.van-field__word-limit
{
color
:
#999
;
}
/
deep
/
.van-cell
::after
{
/
deep
/
.van-cell
::after
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
...
...
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