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
6e98c052
Commit
6e98c052
authored
May 13, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
c2bcc7e0
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
49 additions
and
43 deletions
+49
-43
header.vue
pages/AggregateOrders/components/header.vue
+8
-6
busDetails.vue
pages/bus/busDetails.vue
+2
-2
orderInfor.vue
pages/bus/orderInfor.vue
+1
-1
index.vue
pages/hotel/components/address/index.vue
+2
-2
hotel-good.vue
pages/hotel/components/hotel-good.vue
+1
-1
date.vue
pages/hotel/components/time/date.vue
+27
-18
detail.vue
pages/hotel/detail.vue
+4
-9
mapList.vue
pages/hotel/mapList.vue
+4
-4
No files found.
pages/AggregateOrders/components/header.vue
View file @
6e98c052
<
template
>
<view
class=
"carrHeader"
:style=
"[titleStyle]"
>
<view
class=
"carrHeaderBox"
>
<view
class=
"carrHeader-left"
>
<view
class=
"carrHeader-left-icon"
@
click=
"goBack"
>
<u-icon
name=
"arrow-left"
size=
"38"
color=
"#000"
></u-icon>
<view
class=
"row"
@
click=
"goBack"
>
<view
class=
"carrHeader-left"
>
<view
class=
"carrHeader-left-icon"
>
<u-icon
name=
"arrow-left"
size=
"38"
color=
"#000"
></u-icon>
</view>
</view>
<view
class=
"carrHeader-title"
>
<slot>
{{
title
?
title
:
''
}}
</slot>
</view>
</view>
<view
class=
"carrHeader-title"
>
<slot>
{{
title
?
title
:
''
}}
</slot>
</view>
<view
class=
"carrHeader-right row"
>
<view
class=
"carrHeader-S row items-center justify-center"
>
...
...
pages/bus/busDetails.vue
View file @
6e98c052
...
...
@@ -169,7 +169,7 @@
<
template
v-if=
"dataList.BuyNotes"
>
<view
class=
"busTispTitle"
>
购买须知
</view>
<view
class=
"busTispInfor"
>
{{
dataList
.
BuyNotes
}}
<rich-text
:nodes=
"dataList.BuyNotes"
></rich-text>
</view>
</
template
>
<view
class=
"busTispTitle"
>
...
...
@@ -192,7 +192,7 @@
<
template
v-if=
"dataList.CancelPolicy"
>
<view
class=
"busTispTitle"
>
取消政策
</view>
<view
class=
"busTispInfor"
style=
"border: 0;"
>
{{
dataList
.
CancelPolicy
}}
<rich-text
:nodes=
"dataList.CancelPolicy"
></rich-text>
</view>
</
template
>
...
...
pages/bus/orderInfor.vue
View file @
6e98c052
...
...
@@ -93,7 +93,7 @@
<view
class=
"ResInforL"
>
取消政策
</view>
<view
class=
"ResInforR"
>
<text>
{{
dataList
.
CancelPolicy
}}
<rich-text
:nodes=
"dataList.CancelPolicy"
></rich-text>
</text>
</view>
</view>
...
...
pages/hotel/components/address/index.vue
View file @
6e98c052
...
...
@@ -63,7 +63,7 @@
style=
"
box-shadow: 0px -10px 30px 0px rgba(36, 36, 36, 0.06);
margin-top: 40rpx;
margin-bottom:
4
0rpx;
margin-bottom:
10
0rpx;
display: flex;
"
>
...
...
@@ -170,7 +170,7 @@ export default {
<
style
scoped
>
@import
url("@/asset/css/flex.css")
;
.hotelRegionBox
{
height
:
1
218
rpx
;
height
:
1
00%
;
}
.hotelRegionL
{
width
:
183
rpx
;
...
...
pages/hotel/components/hotel-good.vue
View file @
6e98c052
...
...
@@ -228,7 +228,7 @@
.hotel-SubR
{
max-width
:
102
rpx
;
height
:
3
5
rpx
;
height
:
3
9
rpx
;
margin-right
:
10
rpx
;
position
:
relative
;
top
:
6
rpx
;
...
...
pages/hotel/components/time/date.vue
View file @
6e98c052
...
...
@@ -69,15 +69,28 @@
v-model=
"item.ChildAgeDetails"
@
change=
"(e)=>
{ageChange(e,index)}"
style="margin-left: 10rpx;"
>
</u-number-box>
-->
>
</u-number-box>
<template
v-if=
"item.ChildAgeTexts.length>1"
>
<text
v-for=
"(items,indexs) in item.ChildAgeTexts"
:key=
"indexs"
@
click=
"eitAge(index,indexs)"
>
:key=
"indexs"
@
click=
"eitAge(index,indexs)"
:style=
"
{'color':current==indexs?'#B99846':''}">
{{
items
}}
岁
<template
v-if=
"indexs!=(item.ChildAgeTexts.length-1)"
>
,
</
template
>
</text>
</template>
</template>
-->
<view
class=
"row"
v-for=
"(items,indexs) in item.ChildAgeTexts"
:key=
"indexs"
>
<uni-section
title=
""
type=
"line"
>
<uni-data-select
:ref=
"`select_${index}`"
:placeholder=
"`年龄`"
v-model=
"items.number"
:localdata=
"TypeList"
:clear=
"false"
@
change=
"(e)=>{ageChange(e,index,indexs)}"
></uni-data-select>
</uni-section>
<u-icon
name=
"arrow"
:size=
"32"
color=
"#ccc"
style=
"position: relative;top: -9rpx;"
></u-icon>
</view>
<uni-section
title=
""
type=
"line"
>
<!--
<uni-section title="" type="line">
<uni-data-select :ref="`select_${index}`"
:placeholder="`年龄${item.numberOfChildren>1?'(选多次)':''}`"
v-model="item.ChildAgeDetails"
...
...
@@ -86,7 +99,7 @@
@change="(e)=>{ageChange(e,index)}"
></uni-data-select>
</uni-section>
<u-icon
name=
"arrow"
:size=
"32"
color=
"#ccc"
style=
"position: relative;top: -9rpx;"
></u-icon>
<u-icon name="arrow" :size="32" color="#ccc" style="position: relative;top: -9rpx;"></u-icon>
-->
</view>
</view>
</view>
...
...
@@ -186,19 +199,8 @@ export default {
this
.
current
=
indexs
this
.
$refs
[
`select_
${
index
}
`
][
0
].
toggleSelector
();
},
ageChange
(
e
,
index
){
let
list
=
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
if
(
this
.
current
>=
0
){
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
[
this
.
current
]
=
e
this
.
current
=
-
1
}
else
{
if
(
list
.
length
==
0
||
list
.
length
<
this
.
parameters
.
searchroomGroup
[
index
].
numberOfChildren
){
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
.
push
(
e
)
}
else
{
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
[
list
.
length
-
1
]
=
e
}
}
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeDetails
=
e
ageChange
(
e
,
index
,
indexs
){
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
[
indexs
].
number
=
e
},
etChange
(
e
,
index
){
this
.
parameters
.
searchroomGroup
[
index
].
numberOfChildren
=
e
.
value
;
...
...
@@ -214,6 +216,13 @@ export default {
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeDetails
=
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
[
length
-
1
]
}
}
}
else
if
(
e
.
value
>
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
.
length
){
let
num
=
e
.
value
-
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
.
length
for
(
let
i
=
0
;
i
<
num
;
i
++
){
this
.
parameters
.
searchroomGroup
[
index
].
ChildAgeTexts
.
push
({
number
:
1
,
})
}
}
this
.
peopleChange
()
},
...
...
pages/hotel/detail.vue
View file @
6e98c052
...
...
@@ -432,15 +432,10 @@
if
(
qitem
.
RatePlanList
&&
qitem
.
RatePlanList
.
length
>
0
)
{
qitem
.
RatePlanList
.
forEach
(
pItem
=>
{
if
(
pItem
.
PriceList
&&
pItem
.
PriceList
.
length
>
0
)
{
pItem
.
PriceList
.
forEach
(
mItem
=>
{
var
tempObj
=
_this
.
qBedTypeList
.
find
(
mItem
=>
mItem
.
BedType
==
_this
.
qMsg
.
BedType
);
if
(
mItem
.
MealAmount
&&
pItem
.
BedType
==
tempObj
.
BedType
)
{
tempRetePlanList
.
push
(
pItem
)
}
})
var
tempObj
=
_this
.
qBedTypeList
.
find
(
mItem
=>
mItem
.
BedType
==
_this
.
qMsg
.
BedType
);
if
(
pItem
.
BedType
==
tempObj
.
BedType
)
{
tempRetePlanList
.
push
(
pItem
)
}
}
})
}
...
...
pages/hotel/mapList.vue
View file @
6e98c052
...
...
@@ -55,6 +55,7 @@
</
template
>
<
script
>
const
img
=
'../../static/images/position.png'
;
import
rangeSlider
from
"./components/range-slider.vue"
;
import
canlendar
from
"./components/time/index"
;
import
hotelGood
from
"./components/hotel-good.vue"
;
...
...
@@ -96,9 +97,9 @@
id
:
null
,
latitude
:
39.909
,
longitude
:
116.39742
,
iconPath
:
''
,
iconPath
:
img
,
title
:
''
,
alpha
:
0
,
alpha
:
1
,
width
:
20
,
height
:
30
,
callout
:{
...
...
@@ -197,9 +198,8 @@
},
mounted
()
{
// #ifdef MP-WEIXIN
this
.
getLocation
()
this
.
initMiniProgramMap
();
// #endif
},
methods
:
{
initMiniProgramMap
(){
...
...
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