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
0a8f06ae
Commit
0a8f06ae
authored
May 09, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'B2C' of
http://gitlab.oytour.com/zk123/jz_travel
into B2C
parents
70355c88
571bf4af
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
28 deletions
+33
-28
index.vue
pages/bus/index.vue
+3
-3
order.vue
pages/bus/order.vue
+30
-25
No files found.
pages/bus/index.vue
View file @
0a8f06ae
...
...
@@ -142,7 +142,7 @@
<view>
包含成人和儿童
</view>
</view>
<view
class=
"peopleCenterR row items-center"
>
<
input
type=
"number"
v-model=
"busInfor.peopleNum"
@
change=
"getPeople
"
/>
<
u-number-box
:min=
"1"
v-model=
"busInfor.peopleNum"
@
change=
"(e)=>
{busInfor.peopleNum=e.value,getPeople()}
"/>
<text>
人
</text>
</view>
</view>
...
...
@@ -158,7 +158,7 @@
<view></view>
</view>
<view
class=
"peopleCenterR row items-center"
>
<
input
type=
"number"
v-model=
"busInfor.days"
@
change=
"getPeople
"
/>
<
u-number-box
:min=
"1"
v-model=
"busInfor.days"
@
change=
"(e)=>
{busInfor.days=e.value}
"/>
<text>
天
</text>
</view>
</view>
...
...
@@ -372,7 +372,7 @@
},
getPeople
(){
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
){
if
(
type
)
{
...
...
pages/bus/order.vue
View file @
0a8f06ae
...
...
@@ -162,57 +162,57 @@
<
input
type
=
"text"
v
-
model
=
"orderMsg.GetoffAddress"
placeholder
=
"请输入下车地址"
/>
<
/view
>
<
/view
>
<
view
class
=
"form-items row"
>
<
view
class
=
"label"
>
成人数
<
/view
>
<
view
class
=
"LastNameBox column val"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"row items-center"
>
<
input
type
=
"number"
v
-
model
=
"orderMsg.ManNum"
placeholder
=
"请输入成人数"
@
change
=
"getPeoples"
/>
<
view
class
=
"form-items row items-center"
>
<
view
class
=
"label active"
>
成人
<
/view
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
u
-
number
-
box
:
min
=
"1"
v
-
model
=
"orderMsg.ManNum"
placeholder
=
"成人数"
@
change
=
"(e)=>{orderMsg.ManNum=e.value,getPeoples()
}
"
/>
<
/view
>
<
/view
>
<
view
class
=
"row-sbas-n"
>
<
view
class
=
"form-items row col"
>
<
view
class
=
"label"
>
儿童
数
<
view
class
=
"label
active
"
>
儿童
<
/view
>
<
view
class
=
"LastNameBox
column val
"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"row items-center"
>
<
input
type
=
"number"
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
class
=
"form-items row col"
>
<
view
class
=
"label"
>
婴儿
数
<
view
class
=
"label
active
"
>
婴儿
<
/view
>
<
view
class
=
"LastNameBox
column val
"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"row items-center"
>
<
input
type
=
"number"
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
class
=
"row-sbas-n"
>
<
view
class
=
"form-items row col"
>
<
view
class
=
"label"
>
手提
行李
<
view
class
=
"label
active
"
>
手提
<
/view
>
<
view
class
=
"LastNameBox
column val
"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"row items-center"
>
<
input
type
=
"number
"
v
-
model
=
"orderMsg.HandLuggageNum"
placeholder
=
"手提数"
/>
<
u
-
number
-
box
:
min
=
"0
"
v
-
model
=
"orderMsg.HandLuggageNum"
placeholder
=
"手提数"
/>
<
/view
>
<
/view
>
<
/view
>
<
view
class
=
"form-items row col"
>
<
view
class
=
"label"
>
托运
行李
<
view
class
=
"label
active
"
>
托运
<
/view
>
<
view
class
=
"LastNameBox
column val
"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"LastNameBox"
style
=
"width: 1px;flex: 1;"
>
<
view
class
=
"row items-center"
>
<
input
type
=
"number
"
v
-
model
=
"orderMsg.RegisteredLuggageNum"
placeholder
=
"托运数"
/>
<
u
-
number
-
box
:
min
=
"0
"
v
-
model
=
"orderMsg.RegisteredLuggageNum"
placeholder
=
"托运数"
/>
<
/view
>
<
/view
>
<
/view
>
...
...
@@ -1056,6 +1056,10 @@
margin
-
right
:
57
rpx
;
flex
-
shrink
:
0
;
}
.
hotel
-
order
.
form
.
form
-
items
.
label
.
active
{
width
:
80
rpx
;
margin
-
right
:
10
rpx
;
}
.
hotel
-
order
.
form
.
form
-
items
.
val
{
flex
:
1
;
...
...
@@ -1367,7 +1371,7 @@
}
.
LastNameBox
view
{
margin
-
bottom
:
20
rpx
;
/*margin-bottom: 20rpx;*/
}
.
LastNameBox
view
:
last
-
child
{
...
...
@@ -1382,6 +1386,7 @@
border
-
radius
:
4
px
;
margin
:
0
10
rpx
;
padding
:
20
rpx
;
width
:
100
%
;
}
.
bus
-
radio
:
last
-
child
{
margin
-
left
:
137
rpx
;
...
...
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