Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
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
1
Merge Requests
1
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
wbx-PCAndMobi
mobi
Commits
280b13f6
Commit
280b13f6
authored
Jul 19, 2021
by
zhangrui123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小卫
parent
2bf6a550
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1304 additions
and
46 deletions
+1304
-46
index.html
index.html
+1
-1
package-lock.json
package-lock.json
+1294
-40
mobi.vue
src/views/mobi.vue
+9
-5
No files found.
index.html
View file @
280b13f6
...
...
@@ -2,7 +2,7 @@
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0
, user-scalable=no
"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<title>
小卫服务
</title>
</head>
...
...
package-lock.json
View file @
280b13f6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/views/mobi.vue
View file @
280b13f6
<
template
>
<div
style=
"height: 100%; background-color: #F5F5F5"
>
<van-dialog
v-model=
"showDialog"
title=
"是否再填写一份?"
showConfirmButton
show-cancel-button
@
confirm=
'clearAllFormFields'
></van-dialog>
<van-nav-bar
<
!--
<
van-nav-bar
title=
"小卫服务"
/>
/>
-->
<van-form
@
submit=
"onSubmit"
style=
"border-radius: 10px; margin: 10px"
>
<van-field
v-model=
"postPerson"
label=
"报修人"
placeholder=
"请输入"
placeholder=
"请输入
报修人
"
:rules=
"[
{ required: true, message: '此项为必填项!' }]"
required
clearable
...
...
@@ -24,7 +24,7 @@
type=
"tel"
maxlength=
"150"
placeholder=
"请输入手机号码"
:rules=
"[
{ required: true, message: '
此项为必填项!'
}]"
:rules=
"[
{ required: true, message: '
请输入正确的手机号!',validator: validatePhoneBYT
}]"
required
clearable
label-width='8em'
...
...
@@ -194,6 +194,7 @@ export default {
}
})
},
repairAreaConfirm
(
val
)
{
this
.
repairArea
=
val
this
.
showrepairAreaPicker
=
!
this
.
showrepairAreaPicker
...
...
@@ -219,7 +220,10 @@ export default {
this
.
phone
=
''
this
.
dueDate
=
''
this
.
dueTime
=
''
}
},
validatePhoneBYT
(
val
){
return
/^1
[
3-9
][
0-9
]{9}
$/
.
test
(
val
)
},
}
}
</
script
>
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