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
8b135853
authored
Feb 29, 2024
by
Lays-lzq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修复label换行问题
parent
86d8fbd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
api/request.js
+1
-1
components/Common/ConfigPopup.vue
+4
-1
No files found.
api/request.js
View file @
8b135853
...
@@ -11,7 +11,7 @@ const axiosService = axios.create();
...
@@ -11,7 +11,7 @@ const axiosService = axios.create();
// 默认content-type
// 默认content-type
axiosService
.
defaults
.
headers
[
"Content-Type"
]
=
"application/x-www-form-urlencoded"
;
axiosService
.
defaults
.
headers
[
"Content-Type"
]
=
"application/x-www-form-urlencoded"
;
// 默认baseURL
// 默认baseURL
axiosService
.
defaults
.
baseURL
=
`//
${
process
.
env
.
CUSTOMER_API_DOMAIN
}
/v1`
;
axiosService
.
defaults
.
baseURL
=
`
https:
//
${
process
.
env
.
CUSTOMER_API_DOMAIN
}
/v1`
;
// 默认请求超时时间
// 默认请求超时时间
axiosService
.
defaults
.
timeout
=
3
*
1000
;
axiosService
.
defaults
.
timeout
=
3
*
1000
;
...
...
components/Common/ConfigPopup.vue
View file @
8b135853
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,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
0
"
label=
"联系人"
placeholder=
"请输入联系人"
@
focus=
"isError = false"
/>
<van-field
v-if=
"lotteryInfo.premise && lotteryInfo.premise.includes('name')"
v-model=
"form.name"
label-width=
"6
5
"
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"
>
...
@@ -245,6 +245,9 @@ export default {
...
@@ -245,6 +245,9 @@ export default {
font-family
:
PingFangSC
,
PingFang
SC
;
font-family
:
PingFangSC
,
PingFang
SC
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#333333
;
color
:
#333333
;
span
{
white-space
:
nowrap
;
}
}
}
/
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