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
b5108999
Commit
b5108999
authored
Jan 26, 2022
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加渝快码跳转参数,以及跳回渝快码页面
parent
bdf8f0b8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
105 additions
and
4 deletions
+105
-4
pages.json
pages.json
+9
-0
combiOrder.vue
pages/combination/combiOrder/combiOrder.vue
+4
-1
backMiniProgram.vue
pages/configure/backMiniProgram/backMiniProgram.vue
+81
-0
scenicJointOrder.vue
pages/scenic/scenicJointOrder/scenicJointOrder.vue
+4
-1
scenicSingleOrder.vue
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
+7
-2
NumberBg.jpg
static/img/my/NumberBg.jpg
+0
-0
No files found.
pages.json
View file @
b5108999
...
@@ -293,6 +293,15 @@
...
@@ -293,6 +293,15 @@
}
}
}
}
,{
"path"
:
"pages/configure/backMiniProgram/backMiniProgram"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
],
],
"globalStyle"
:
{
"globalStyle"
:
{
"navigationBarTextStyle"
:
"white"
,
"navigationBarTextStyle"
:
"white"
,
...
...
pages/combination/combiOrder/combiOrder.vue
View file @
b5108999
...
@@ -18,11 +18,14 @@
...
@@ -18,11 +18,14 @@
let
companyId
=
option
.
companyId
let
companyId
=
option
.
companyId
let
productIdList
=
option
.
productIdList
let
productIdList
=
option
.
productIdList
let
orderSource
=
option
.
orderSource
let
orderSource
=
option
.
orderSource
let
ifyukuaiCode
=
option
.
ifyukuaiCode
//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
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"
)
this
.
outUrl
=
"https://wx.pangdly.com/#/combiOrder?groupId="
+
groupId
+
"&orderSource"
+
orderSource
+
"&productIdList="
+
productIdList
+
"&groupChannelId="
+
groupChannelId
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
let
baseUrl
=
"https://wx.pangdly.com/#/combiOrder?pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
let
url
=
"&groupId="
+
groupId
+
"&groupChannelId="
+
groupChannelId
+
"&productIdList="
+
productIdList
+
"&orderSource="
+
orderSource
+
"&companyId="
+
companyId
+
"&ifyukuaiCode="
+
ifyukuaiCode
this
.
outUrl
=
baseUrl
+
url
},
},
methods
:
{
methods
:
{
...
...
pages/configure/backMiniProgram/backMiniProgram.vue
0 → 100644
View file @
b5108999
<
template
>
<!--返回上一个小程序中转页面-->
<view
class=
"wrap"
>
<view
class=
"imgBox"
>
<image
src=
"../../../static/img/my/NumberBg.jpg"
></image>
</view>
<view
class=
"contentBox"
>
<view
class=
"title"
>
微信提示
</view>
<view
class=
"content"
>
验证码用于入园游玩时核验使用
</view>
<view
class=
"remark"
>
注:验证码信息已自动同步至订单所有游玩人渝快码,游玩人直接使用本人渝快码即可入园核验
</view>
<view
class=
"know"
>
<text
@
click=
"returnMini()"
>
我知道了
</text>
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
methods
:
{
//---返回上一个小程序
returnMini
(){
//#ifdef MP-WEIXIN
wx
.
navigateBackMiniProgram
({
extraData
:
{
},
fail
(
res
){
uni
.
showToast
({
title
:
"获取失败,请退出后重新进入渝快码小程序获取验证码"
,
icon
:
"none"
,
duration
:
3000
})
}
})
//#endif
//#ifdef MP-ALIPAY
my
.
navigateBackMiniProgram
({
extraData
:{
},
fail
:
(
res
)
=>
{
uni
.
showToast
({
title
:
"获取失败,请退出后重新进入渝快码小程序获取验证码"
,
icon
:
"none"
,
duration
:
3000
})
}
})
//#endif
}
}
}
</
script
>
<
style
>
.imgBox
{
position
:
fixed
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;}
.imgBox
image
{
width
:
100%
;
height
:
100%
;}
.contentBox
{
padding
:
200
rpx
80
rpx
0
80
rpx
;
text-align
:
center
;
position
:
fixed
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
z-index
:
1
;}
.title
{
font-size
:
40
rpx
;
font-weight
:
bold
;
color
:
#FC6703
}
.content
{
margin-top
:
48
rpx
;
font-size
:
32
rpx
;
color
:
#000000
;}
.remark
{
margin-top
:
40
rpx
;
color
:
#666666
;}
.know
{
margin-top
:
40
rpx
;}
.know
text
{
display
:
inline-block
;
width
:
240
rpx
;
height
:
72
rpx
;
background
:
rgb
(
54
,
136
,
255
);
box-shadow
:
0px
0px
12px
rgba
(
255
,
255
,
255
,
0.2
);
border-radius
:
48px
;
text-align
:
center
;
line-height
:
72
rpx
;
color
:
#FFFFFF
;}
</
style
>
pages/scenic/scenicJointOrder/scenicJointOrder.vue
View file @
b5108999
...
@@ -17,11 +17,14 @@
...
@@ -17,11 +17,14 @@
let
productId
=
option
.
productId
let
productId
=
option
.
productId
let
companyId
=
option
.
companyId
let
companyId
=
option
.
companyId
let
orderSource
=
option
.
orderSource
let
orderSource
=
option
.
orderSource
let
ifyukuaiCode
=
option
.
ifyukuaiCode
//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
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"
)
this
.
outUrl
=
"https://wx.pangdly.com/#/scenicJointOrder?merchantId="
+
merchantId
+
"&orderSource"
+
orderSource
+
"&productId="
+
productId
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
let
baseUrl
=
"https://wx.pangdly.com/#/scenicJointOrder?pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
let
url
=
"&merchantId="
+
merchantId
+
"&productId="
+
productId
+
"&orderSource="
+
orderSource
+
"&companyId="
+
companyId
+
"&ifyukuaiCode="
+
ifyukuaiCode
this
.
outUrl
=
baseUrl
+
url
},
},
methods
:
{
methods
:
{
...
...
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
View file @
b5108999
...
@@ -30,18 +30,23 @@
...
@@ -30,18 +30,23 @@
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"
)
this
.
outUrl
=
"https://wx.pangdly.com/#/scenicSingleOrder?merchantId="
+
merchantId
+
"&productId="
+
productId
+
"&orderSource="
+
orderSource
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
let
baseUrl
=
"https://wx.pangdly.com/#/scenicSingleOrder?pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
let
url
=
"&merchantId="
+
merchantId
+
"&productId="
+
productId
+
"&orderSource="
+
orderSource
+
"&companyId="
+
companyId
this
.
outUrl
=
baseUrl
+
url
}
else
{
//小程序页面跳转进入
}
else
{
//小程序页面跳转进入
let
merchantId
=
option
.
merchantId
let
merchantId
=
option
.
merchantId
let
productId
=
option
.
productId
let
productId
=
option
.
productId
let
orderSource
=
option
.
orderSource
let
orderSource
=
option
.
orderSource
let
companyId
=
option
.
companyId
let
companyId
=
option
.
companyId
let
ifyukuaiCode
=
option
.
ifyukuaiCode
//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
let
pdOpenid
=
uni
.
getStorageSync
(
"openid"
)
//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
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"
)
this
.
outUrl
=
"https://wx.pangdly.com/#/scenicSingleOrder?merchantId="
+
merchantId
+
"&productId="
+
productId
+
"&orderSource="
+
orderSource
+
"&companyId="
+
companyId
+
"&pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
let
baseUrl
=
"https://wx.pangdly.com/#/scenicSingleOrder?pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
let
url
=
"&merchantId="
+
merchantId
+
"&productId="
+
productId
+
"&orderSource="
+
orderSource
+
"&companyId="
+
companyId
+
"&ifyukuaiCode="
+
ifyukuaiCode
this
.
outUrl
=
baseUrl
+
url
}
}
},
},
methods
:
{
methods
:
{
...
...
static/img/my/NumberBg.jpg
0 → 100644
View file @
b5108999
55.8 KB
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