Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
454715ab
Commit
454715ab
authored
Mar 27, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
洞见首页增加
parent
ca2dbe5a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
3 deletions
+44
-3
pages.json
pages.json
+9
-0
distributionCombiChoose.vue
...ation/distributionCombiChoose/distributionCombiChoose.vue
+2
-2
dongjianIndex.vue
pages/dongjianIndex/dongjianIndex.vue
+26
-0
orderPayment.vue
pages/payment/orderPayment/orderPayment.vue
+7
-1
No files found.
pages.json
View file @
454715ab
...
@@ -301,6 +301,15 @@
...
@@ -301,6 +301,15 @@
}
}
}
}
,{
"path"
:
"pages/dongjianIndex/dongjianIndex"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
],
],
"globalStyle"
:
{
"globalStyle"
:
{
"navigationBarTextStyle"
:
"white"
,
"navigationBarTextStyle"
:
"white"
,
...
...
pages/combination/distributionCombiChoose/distributionCombiChoose.vue
View file @
454715ab
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
url
:
"../combiChoose/combiChoose?channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
url
:
"../combiChoose/combiChoose?channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
})
})
}
else
{
//分销
}
else
{
//分销
this
.
outUrl
=
"https://wx.pangdly.com/#/distributionCombiChoose?channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
+
"&pageCode"
+
pageCode
this
.
outUrl
=
"https://wx.pangdly.com/#/distributionCombiChoose
S
?channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
+
"&pageCode"
+
pageCode
}
}
}
else
{
//小程序页面跳转进入
}
else
{
//小程序页面跳转进入
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
let
pdToken
=
uni
.
getStorageSync
(
"token"
)
||
''
let
pdToken
=
uni
.
getStorageSync
(
"token"
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
"createUserId"
)
||
''
let
pdCreateUserId
=
uni
.
getStorageSync
(
"createUserId"
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
"userId"
)
||
''
let
pdUserId
=
uni
.
getStorageSync
(
"userId"
)
||
''
let
baseUrl
=
"https://wx.pangdly.com/#/distributionCombiChoose?thirdOpenid="
+
thirdOpenid
+
"&touristType="
+
touristType
let
baseUrl
=
"https://wx.pangdly.com/#/distributionCombiChoose
S
?thirdOpenid="
+
thirdOpenid
+
"&touristType="
+
touristType
this
.
outUrl
=
baseUrl
+
"&channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
+
"&pageCode"
+
pageCode
this
.
outUrl
=
baseUrl
+
"&channelId="
+
channelId
+
"&merchantId="
+
merchantId
+
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
+
"&pageCode"
+
pageCode
}
}
...
...
pages/dongjianIndex/dongjianIndex.vue
0 → 100644
View file @
454715ab
<
template
>
<view
>
<web-view
:src=
"outUrl"
></web-view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
outUrl
:
""
,
//跳出地址
}
},
onLoad
(
option
){
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdToken
=
uni
.
getStorageSync
(
"token"
)
let
pdCreateUserId
=
uni
.
getStorageSync
(
"createUserId"
)
let
pdUserId
=
uni
.
getStorageSync
(
"userId"
)
this
.
outUrl
=
"https://wx.pangdly.com/#/dongjianIndex?pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
}
}
</
script
>
<
style
>
</
style
>
pages/payment/orderPayment/orderPayment.vue
View file @
454715ab
...
@@ -113,7 +113,6 @@ export default {
...
@@ -113,7 +113,6 @@ export default {
this
.
orderId
=
option
.
orderId
this
.
orderId
=
option
.
orderId
}
}
this
.
ifyukuaiCode
=
option
.
ifyukuaiCode
||
''
this
.
ifyukuaiCode
=
option
.
ifyukuaiCode
||
''
this
.
afterBuyUrl
=
option
.
afterBuyUrl
||
'/pages/my/order/orderList/orderList'
this
.
openid
=
uni
.
getStorageSync
(
'openid'
)
||
''
this
.
openid
=
uni
.
getStorageSync
(
'openid'
)
||
''
if
(
this
.
openid
)
{
if
(
this
.
openid
)
{
this
.
initDetail
()
this
.
initDetail
()
...
@@ -176,6 +175,13 @@ export default {
...
@@ -176,6 +175,13 @@ export default {
}
}
this
.
$request
(
'orderc/order/findOrderInfo'
,
data
).
then
(
res
=>
{
this
.
$request
(
'orderc/order/findOrderInfo'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
if
(
res
.
code
==
'00'
)
{
if
(
res
.
data
.
orderType
==
'10'
){
//组合票和联票跳订单列表
this
.
afterBuyUrl
=
'/pages/my/order/orderList/orderList'
}
else
{
//单票跳详情
this
.
afterBuyUrl
=
'/pages/my/order/electronicTicket/electronicTicket'
}
this
.
bodyShow
=
true
this
.
bodyShow
=
true
//支付参数开始
//支付参数开始
this
.
timeStamp
=
res
.
data
.
timestamp
this
.
timeStamp
=
res
.
data
.
timestamp
...
...
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