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
cbc85525
Commit
cbc85525
authored
Jun 04, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
5401d27a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
2 deletions
+62
-2
index.vue
pages/index/index.vue
+15
-1
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+47
-1
No files found.
pages/index/index.vue
View file @
cbc85525
...
...
@@ -171,7 +171,10 @@
carMsg
:
''
,
//景点专车分享带过来的字段
id
:
0
,
//酒店带过来字段
dayObj
:
''
,
//酒店带过来字段
searchObj
:
''
//酒店带过来字段
searchObj
:
''
,
//酒店带过来字段
tcid
:
0
,
//线路带过来字段
configId
:
0
,
//线路带过来字段
cityId
:
0
//线路带来字段
};
},
components
:
{
...
...
@@ -369,6 +372,15 @@
if
(
options
&&
options
.
OrderId
)
{
//代付订单id
this
.
OrderId
=
options
.
OrderId
;
}
if
(
options
&&
options
.
tcid
){
this
.
tcid
=
options
.
tcid
}
if
(
options
&&
options
.
configId
){
this
.
configId
=
options
.
configId
}
if
(
options
&&
options
.
cityId
){
this
.
cityId
=
options
.
cityId
}
that
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
if
(
!
that
.
u
)
{
...
...
@@ -823,6 +835,8 @@
uni
.
navigateTo
({
url
:
'/pages/guidecar/bookaCarList?carMsg='
+
that
.
carMsg
})
}
else
if
(
that
.
JumpType
==
18
){
//酒店详情
uni
.
navigateTo
({
url
:
'/pages/hotel/detail?id='
+
that
.
id
+
'&dayObj='
+
that
.
dayObj
+
'&searchObj='
+
that
.
searchObj
})
}
else
if
(
that
.
JumpType
==
19
){
//线路详情
uni
.
navigateTo
({
url
:
'/pages/jiuzhai/jz_LineDetail?tcid='
+
that
.
tcid
+
'&configId='
+
that
.
configId
+
'&cityId='
+
that
.
cityId
})
}
},
500
);
},
...
...
pages/jiuzhai/jz_LineDetail.vue
View file @
cbc85525
...
...
@@ -580,7 +580,53 @@
uni
.
navigateTo
({
url
:
"/pages/jiuzhai/jz_Reserve?currentPriceInfo="
+
encodeURIComponent
(
myCurr
)
+
"&ln="
+
this
.
dataList
.
ltName
+
"&seat="
+
encodeURIComponent
(
JSON
.
stringify
(
ren
))
+
"&tips="
+
encodeURIComponent
(
this
.
dataList
.
feature
.
importantTipText
)
});
},
//分享朋友圈
onShareTimeline
()
{
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
:
0
;
if
(
uid
==
0
){
uid
=
uni
.
getStorageSync
(
"pid"
)?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
}
let
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
SmallShopId
:
0
;
if
(
SmallShopId
==
0
){
//如果微店id为0 去找所属微店id
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
:
0
;
}
let
title
=
this
.
dataList
.
title
?
this
.
dataList
.
title
:
'帖子'
;
let
imageUrl
=
this
.
dataList
.
tempImgCover
&&
this
.
dataList
.
tempImgCover
.
length
>
0
?
this
.
dataList
.
tempImgCover
[
0
]:
''
;
return
{
title
:
title
,
query
:
"tcid="
+
this
.
delMsg
.
tcid
+
"&user_id="
+
uid
+
"&SmallShopId="
+
SmallShopId
+
"&Up="
+
this
.
Up
+
'&JumpType=19'
+
'&configId='
+
this
.
delMsg
.
configId
+
'&cityId='
+
this
.
delMsg
.
cityId
,
imageUrl
:
imageUrl
,
};
},
//分享给朋友
onShareAppMessage
(
res
)
{
let
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
let
uid
=
u
.
UserId
?
u
.
UserId
:
0
;
if
(
uid
==
0
){
uid
=
uni
.
getStorageSync
(
"pid"
)?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
}
let
SmallShopId
=
u
.
SmallShopId
?
u
.
SmallShopId
:
0
;
if
(
SmallShopId
==
0
){
//如果微店id为0 去找所属微店id
SmallShopId
=
u
.
UserSmallShopId
?
u
.
UserSmallShopId
:
0
}
return
{
title
:
this
.
dataList
.
title
?
this
.
dataList
.
title
:
'帖子'
,
path
:
"/pages/index/index?tcid="
+
this
.
delMsg
.
tcid
+
"&user_id="
+
uid
+
"&SmallShopId="
+
SmallShopId
+
"&Up="
+
this
.
Up
+
'&JumpType=19'
+
'&configId='
+
this
.
delMsg
.
configId
+
'&cityId='
+
this
.
delMsg
.
cityId
,
imageUrl
:
this
.
dataList
.
tempImgCover
&&
this
.
dataList
.
tempImgCover
.
length
>
0
?
this
.
dataList
.
tempImgCover
[
0
]:
''
,
};
},
},
};
</
script
>
...
...
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