Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
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
zhengke
jz_Travel
Commits
571bf4af
Commit
571bf4af
authored
May 09, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
f09ffbef
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
index.vue
pages/bus/index.vue
+3
-3
order.vue
pages/bus/order.vue
+6
-4
No files found.
pages/bus/index.vue
View file @
571bf4af
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
<view>
包含成人和儿童
</view>
<view>
包含成人和儿童
</view>
</view>
</view>
<view
class=
"peopleCenterR row items-center"
>
<view
class=
"peopleCenterR row items-center"
>
<u-number-box
:min=
"1"
v-model=
"busInfor.peopleNum"
@
change=
"
getPeople
"
/>
<u-number-box
:min=
"1"
v-model=
"busInfor.peopleNum"
@
change=
"
(e)=>
{busInfor.peopleNum=e.value,getPeople()}
"/>
<text>
人
</text>
<text>
人
</text>
</view>
</view>
</view>
</view>
...
@@ -158,7 +158,7 @@
...
@@ -158,7 +158,7 @@
<view></view>
<view></view>
</view>
</view>
<view
class=
"peopleCenterR row items-center"
>
<view
class=
"peopleCenterR row items-center"
>
<u-number-box
:min=
"1"
v-model=
"busInfor.days"
@
change=
"
getPeople
"
/>
<u-number-box
:min=
"1"
v-model=
"busInfor.days"
@
change=
"
(e)=>
{busInfor.days=e.value}
"/>
<text>
天
</text>
<text>
天
</text>
</view>
</view>
</view>
</view>
...
@@ -372,7 +372,7 @@
...
@@ -372,7 +372,7 @@
},
},
getPeople
(){
getPeople
(){
if
(
this
.
busInfor
.
CarType
<
3
&&
(
this
.
busInfor
.
peopleNum
<
1
||!
this
.
busInfor
.
peopleNum
))
this
.
busInfor
.
peopleNum
=
1
if
(
this
.
busInfor
.
CarType
<
3
&&
(
this
.
busInfor
.
peopleNum
<
1
||!
this
.
busInfor
.
peopleNum
))
this
.
busInfor
.
peopleNum
=
1
if
(
this
.
busInfor
.
CarType
==
3
&&
(
this
.
busInfor
.
days
<
1
||!
this
.
busInfor
.
days
))
this
.
busInfor
.
peopleNum
=
1
//
if(this.busInfor.CarType==3&&(this.busInfor.days
<
1
||!
this
.
busInfor
.
days
))
this
.
busInfor
.
peopleNum
=
1
},
},
setType
(
type
){
setType
(
type
){
if
(
type
)
{
if
(
type
)
{
...
...
pages/bus/order.vue
View file @
571bf4af
...
@@ -167,8 +167,8 @@
...
@@ -167,8 +167,8 @@
成人
成人
<
/view
>
<
/view
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
u
-
number
-
box
:
min
=
"1"
v
-
model
=
"orderMsg.ManNum"
<
u
-
number
-
box
:
min
=
"1"
v
-
model
=
"orderMsg.ManNum"
placeholder
=
"成人数"
placeholder
=
"请输入成人数"
@
change
=
"getPeoples"
/>
@
change
=
"(e)=>{orderMsg.ManNum=e.value,getPeoples()
}
"
/>
<
/view
>
<
/view
>
<
/view
>
<
/view
>
<
view
class
=
"row-sbas-n"
>
<
view
class
=
"row-sbas-n"
>
...
@@ -178,7 +178,8 @@
...
@@ -178,7 +178,8 @@
<
/view
>
<
/view
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"row items-center"
>
<
view
class
=
"row items-center"
>
<
u
-
number
-
box
:
min
=
"0"
v
-
model
=
"orderMsg.ChildNum"
placeholder
=
"儿童数"
@
change
=
"getPeoples"
/>
<
u
-
number
-
box
:
min
=
"0"
v
-
model
=
"orderMsg.ChildNum"
placeholder
=
"儿童数"
@
change
=
"(e)=>{orderMsg.ChildNum=e.value,getPeoples()
}
"
/>
<
/view
>
<
/view
>
<
/view
>
<
/view
>
<
/view
>
<
/view
>
...
@@ -188,7 +189,8 @@
...
@@ -188,7 +189,8 @@
<
/view
>
<
/view
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"row items-center"
>
<
view
class
=
"row items-center"
>
<
u
-
number
-
box
:
min
=
"0"
v
-
model
=
"orderMsg.BabyNum"
placeholder
=
"婴儿数"
@
change
=
"getPeoples"
/>
<
u
-
number
-
box
:
min
=
"0"
v
-
model
=
"orderMsg.BabyNum"
placeholder
=
"婴儿数"
@
change
=
"(e)=>{orderMsg.BabyNum=e.value,getPeoples()
}
"
/>
<
/view
>
<
/view
>
<
/view
>
<
/view
>
<
/view
>
<
/view
>
...
...
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