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
63771624
Commit
63771624
authored
May 14, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
63d3eb09
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
34 additions
and
30 deletions
+34
-30
busDetails.vue
pages/bus/busDetails.vue
+1
-1
orderInfor.vue
pages/bus/orderInfor.vue
+2
-4
orderdetails.vue
pages/bus/orderdetails.vue
+1
-1
hotelRoom.vue
pages/hotel/components/hotelRoom.vue
+1
-1
search.vue
pages/hotel/components/search.vue
+2
-2
date.vue
pages/hotel/components/time/date.vue
+22
-16
index.vue
pages/hotel/components/time/index.vue
+2
-2
detail.vue
pages/hotel/detail.vue
+1
-1
orderInfor.vue
pages/hotel/orderInfor.vue
+1
-1
orderdetails.vue
pages/hotel/orderdetails.vue
+1
-1
No files found.
pages/bus/busDetails.vue
View file @
63771624
...
...
@@ -148,7 +148,7 @@
<view
class=
"busTispBox"
style=
"margin-top: 20rpx;"
>
<template
v-if=
"(dataList.PriceIncludeList&&dataList.PriceIncludeList.length>0)||
(dataList.PriceNotIncludeList&&dataList.PriceNotIncludeList.length>0)"
>
<view
class=
"bu
getWeek(date)
{
sTispTitle">费用说明
</view>
<view
class=
"busTispTitle"
>
费用说明
</view>
<view
class=
"busTispInfor"
>
<view
class=
"busTispFY"
v-if=
"dataList.PriceIncludeList&&dataList.PriceIncludeList.length>0"
>
费用包含:
...
...
pages/bus/orderInfor.vue
View file @
63771624
...
...
@@ -92,9 +92,7 @@
<view
class=
"ResInforText row"
v-if=
"dataList.CancelPolicy"
>
<view
class=
"ResInforL"
>
取消政策
</view>
<view
class=
"ResInforR"
>
<text>
<rich-text
:nodes=
"dataList.CancelPolicy"
></rich-text>
</text>
<rich-text
:nodes=
"dataList.CancelPolicy"
></rich-text>
</view>
</view>
</view>
...
...
@@ -600,7 +598,7 @@
margin-bottom
:
20
rpx
;
height
:
34
rpx
;
line-height
:
26
rpx
;
padding
:
0
12
rpx
;
padding
:
2
rpx
12
rpx
0
12
rpx
;
display
:
inline-block
;
}
.hotel-detail
.hotel-content
.hotel-base
.head
.op-box
image
{
...
...
pages/bus/orderdetails.vue
View file @
63771624
...
...
@@ -1013,7 +1013,7 @@
margin-bottom
:
20
rpx
;
height
:
34
rpx
;
line-height
:
26
rpx
;
padding
:
0
12
rpx
;
padding
:
2
rpx
12
rpx
0
12
rpx
;
display
:
inline-block
;
}
...
...
pages/hotel/components/hotelRoom.vue
View file @
63771624
...
...
@@ -747,7 +747,7 @@
margin-bottom
:
20
rpx
;
height
:
34
rpx
;
line-height
:
26
rpx
;
padding
:
0
12
rpx
;
padding
:
2
rpx
12
rpx
0
12
rpx
;
display
:
inline-block
;
}
...
...
pages/hotel/components/search.vue
View file @
63771624
...
...
@@ -229,8 +229,8 @@
roomNum
:
1
,
numberOfAdults
:
2
,
numberOfChildren
:
0
,
ChildAgeDetails
:
null
,
ChildAgeTexts
:
[],
ChildAgeDetails
:
[]
,
ChildAgeTexts
:
[],
//儿童年龄
}],
},
day
:
0
,
...
...
pages/hotel/components/time/date.vue
View file @
63771624
...
...
@@ -64,7 +64,7 @@
>
</u-number-box>
</view>
<view
class=
"row"
>
<view
class=
"row"
v-for=
"(items,indexs) in item.ChildAge
Text
s"
:key=
"indexs"
>
<view
class=
"row"
v-for=
"(items,indexs) in item.ChildAge
Detail
s"
:key=
"indexs"
>
<uni-section
title=
""
type=
"line"
>
<uni-data-select
:ref=
"`select_$
{index}`"
:placeholder="`年龄`"
...
...
@@ -160,8 +160,8 @@ export default {
roomNum
:
e
.
value
,
numberOfAdults
:
2
,
numberOfChildren
:
0
,
ChildAgeDetails
:
null
,
ChildAgeTexts
:
[],
ChildAgeDetails
:
[],
})
}
if
(
e
.
value
<
this
.
parameters
.
rooms
){
...
...
@@ -176,30 +176,36 @@ export default {
this
.
$refs
[
`select_
${
index
}
`
][
0
].
toggleSelector
();
},
ageChange
(
e
,
index
,
indexs
){
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
[
indexs
].
number
=
e
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeDetails
=
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
[
indexs
].
number
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeDetails
[
indexs
].
number
=
e
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
=
[]
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeDetails
.
forEach
((
item
,
indexs
)
=>
{
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
.
push
(
item
.
number
)
})
},
etChange
(
e
,
index
){
this
.
parameters
.
searchroomGroup
[
index
].
numberOfChildren
=
e
.
value
;
if
(
e
.
value
<
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Text
s
.
length
){
let
num
=
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Text
s
.
length
-
e
.
value
if
(
e
.
value
<
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Detail
s
.
length
){
let
num
=
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Detail
s
.
length
-
e
.
value
for
(
let
i
=
0
;
i
<
num
;
i
++
){
let
indexs
=
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Text
s
.
length
-
1
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Text
s
.
splice
(
indexs
,
1
)
let
length
=
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Text
s
.
length
let
indexs
=
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Detail
s
.
length
-
1
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Detail
s
.
splice
(
indexs
,
1
)
let
length
=
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Detail
s
.
length
if
(
length
==
0
){
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Details
=
null
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Texts
=
[]
}
else
{
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeDetails
=
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
[
length
-
1
].
number
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
=
[]
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeDetails
.
forEach
((
item
,
indexs
)
=>
{
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
.
push
(
item
.
number
)
})
}
}
}
else
if
(
e
.
value
>
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Text
s
.
length
){
let
num
=
e
.
value
-
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Text
s
.
length
}
else
if
(
e
.
value
>
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Detail
s
.
length
){
let
num
=
e
.
value
-
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Detail
s
.
length
for
(
let
i
=
0
;
i
<
num
;
i
++
){
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Text
s
.
push
({
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Detail
s
.
push
({
number
:
1
,
})
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Details
=
1
this
.
parameters
.
searchroomGroup
[
index
].
ChildAge
Texts
.
push
(
1
)
}
}
this
.
peopleChange
()
...
...
@@ -221,7 +227,7 @@ export default {
chosenDateResult
(
obj
)
{
for
(
let
i
=
0
;
i
<
this
.
parameters
.
searchroomGroup
.
length
;
i
++
){
let
list
=
this
.
parameters
.
searchroomGroup
[
i
]
if
(
list
.
numberOfChildren
>
list
.
ChildAge
Text
s
.
length
){
if
(
list
.
numberOfChildren
>
list
.
ChildAge
Detail
s
.
length
){
return
uni
.
showToast
({
title
:
`请选择房间
${
i
+
1
}
儿童年龄`
,
icon
:
'none'
,
...
...
pages/hotel/components/time/index.vue
View file @
63771624
...
...
@@ -112,8 +112,8 @@
</view>
</view>
</scroll-view>
<view
class=
"submit"
>
<button
class=
"sub-btn"
:disabled=
"!isSub"
@
click=
"submit"
>
<view
class=
"submit"
@
click=
"submit"
>
<button
class=
"sub-btn"
:disabled=
"!isSub"
>
<text
v-if=
"isSub"
>
确定
</text>
<text
v-if=
"!isSub"
>
请选择入住日期
</text>
</button>
...
...
pages/hotel/detail.vue
View file @
63771624
...
...
@@ -1325,7 +1325,7 @@
margin-bottom
:
20
rpx
;
height
:
34
rpx
;
line-height
:
26
rpx
;
padding
:
0
12
rpx
;
padding
:
2
rpx
12
rpx
0
12
rpx
;
display
:
inline-block
;
}
...
...
pages/hotel/orderInfor.vue
View file @
63771624
...
...
@@ -755,7 +755,7 @@
margin-bottom
:
20
rpx
;
height
:
34
rpx
;
line-height
:
26
rpx
;
padding
:
0
12
rpx
;
padding
:
2
rpx
12
rpx
0
12
rpx
;
display
:
inline-block
;
}
...
...
pages/hotel/orderdetails.vue
View file @
63771624
...
...
@@ -1021,7 +1021,7 @@
margin-bottom
:
20
rpx
;
height
:
34
rpx
;
line-height
:
26
rpx
;
padding
:
0
12
rpx
;
padding
:
2
rpx
12
rpx
0
12
rpx
;
display
:
inline-block
;
}
...
...
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