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
b414444b
Commit
b414444b
authored
May 07, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片 标题
parent
bc50c239
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
11 deletions
+36
-11
busDetails.vue
pages/bus/busDetails.vue
+1
-1
airport.vue
pages/bus/components/address/airport.vue
+9
-9
index.vue
pages/bus/index.vue
+13
-0
picture.vue
pages/hotel/picture.vue
+13
-1
No files found.
pages/bus/busDetails.vue
View file @
b414444b
...
...
@@ -564,7 +564,7 @@
openPicture
()
{
let
imgObj
=
JSON
.
stringify
(
this
.
imgList
);
uni
.
navigateTo
({
url
:
"/pages/hotel/picture?imgObj="
+
imgObj
,
url
:
"/pages/hotel/picture?imgObj="
+
imgObj
+
"&carType="
+
this
.
orderMsg
.
OrderType
,
});
},
formatDate
(
str
)
{
...
...
pages/bus/components/address/airport.vue
View file @
b414444b
...
...
@@ -150,28 +150,28 @@
currentData
(
item
,
items
)
{
this
.
busInfor
.
CountryId
=
item
.
Country
this
.
busInfor
.
CountryName
=
item
.
CountryName
this
.
busInfor
.
desCountryId
=
item
.
Country
this
.
busInfor
.
desCountryName
=
item
.
CountryName
this
.
busInfor
.
ThreeCode
=
item
.
ThreeCode
this
.
busInfor
.
CityId
=
items
.
City
this
.
busInfor
.
CityName
=
items
.
CityName
this
.
busInfor
.
oriLatitude
=
items
.
Lat
this
.
busInfor
.
oriLongitude
=
items
.
Lng
this
.
busInfor
.
desCountryId
=
item
.
Country
this
.
busInfor
.
desCountryName
=
item
.
CountryName
this
.
busInfor
.
desCityId
=
items
.
City
this
.
busInfor
.
desCityName
=
items
.
CityName
this
.
busInfor
.
ThreeCode
=
item
.
ThreeCode
this
.
busInfor
.
AirportId
=
items
.
AirportId
this
.
busInfor
.
AirportName
=
items
.
AirportName
this
.
busInfor
.
oriLatitude
=
items
.
Lat
this
.
busInfor
.
oriLongitude
=
items
.
Lng
if
(
this
.
busInfor
.
CarType
==
1
){
this
.
busInfor
.
startaddress
=
`
${
item
.
CountryName
}
${
items
.
CityName
}
${
items
.
AirportName
}
`
}
if
(
this
.
busInfor
.
CarType
==
2
){
this
.
busInfor
.
destination
=
`
${
item
.
CountryName
}
${
items
.
CityName
}
${
items
.
AirportName
}
`
}
console
.
log
(
item
)
// this.busInfor.CityId = items.CityId
// this.busInfor.CityName = items.CityName
this
.
$emit
(
'change'
,
this
.
busInfor
)
},
}
...
...
pages/bus/index.vue
View file @
b414444b
...
...
@@ -292,6 +292,19 @@
},
methods
:
{
getAirport
(
msg
,
type
){
console
.
log
(
msg
,
'---'
,
type
)
if
(
msg
.
CountryId
!=
this
.
busInfor
.
CountryId
){
if
(
msg
.
CarType
==
1
){
msg
.
destination
=
''
msg
.
desLatitude
=
''
msg
.
desLongitude
=
''
}
if
(
msg
.
CarType
==
2
){
msg
.
startaddress
=
''
msg
.
oriLatitude
=
''
msg
.
oriLongitude
=
''
}
}
this
.
busInfor
=
msg
if
(
type
==
2
&&
(
msg
.
CountryId
!=
msg
.
desCountryId
)){
this
.
busInfor
.
CountryId
=
null
...
...
pages/hotel/picture.vue
View file @
b414444b
...
...
@@ -50,6 +50,16 @@
uni
.
setNavigationBarTitle
({
title
:
"线路图片"
,
});
}
else
if
(
options
.
imgObj
&&
options
.
carType
){
this
.
imageList
=
JSON
.
parse
(
decodeURIComponent
(
options
.
imgObj
))
this
.
isLine
=
0
;
let
text
=
'接机'
if
(
options
.
carType
==
2
)
text
=
'送机'
else
if
(
options
.
carType
==
3
)
text
=
'包车'
this
.
getSeperate
();
uni
.
setNavigationBarTitle
({
title
:
text
+
"图片"
,
});
}
else
{
this
.
imageList
=
JSON
.
parse
(
options
.
imgObj
);
this
.
isLine
=
0
;
...
...
@@ -86,7 +96,9 @@
current
:
src
,
longPressActions
:
{
itemList
:
[
"发送给朋友"
,
"保存图片"
,
"收藏"
],
success
:
function
(
data
)
{},
success
:
function
(
data
)
{
},
fail
:
function
(
err
)
{
console
.
log
(
err
.
errMsg
);
},
...
...
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