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
37388f4b
Commit
37388f4b
authored
Sep 27, 2021
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增订单列表页面
parent
cf7fe368
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
1 deletion
+40
-1
pages.json
pages.json
+9
-0
orderList.vue
pages/my/order/orderList/orderList.vue
+29
-0
orderPayment.vue
pages/payment/orderPayment/orderPayment.vue
+1
-1
ourPayment.vue
pages/payment/ourPayment/ourPayment.vue
+1
-0
No files found.
pages.json
View file @
37388f4b
...
...
@@ -267,6 +267,15 @@
}
}
,{
"path"
:
"pages/my/order/orderList/orderList"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
],
"globalStyle"
:
{
"navigationBarTextStyle"
:
"white"
,
...
...
pages/my/order/orderList/orderList.vue
0 → 100644
View file @
37388f4b
<
template
>
<view>
<web-view
:src=
"outUrl"
></web-view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
outUrl
:
""
,
//跳出地址
}
},
onLoad
()
{
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/#/ordersList1?pdOpenid="
+
pdOpenid
+
"&pdToken="
+
pdToken
+
"&pdCreateUserId="
+
pdCreateUserId
+
"&pdUserId="
+
pdUserId
},
methods
:
{
}
}
</
script
>
<
style
>
</
style
>
pages/payment/orderPayment/orderPayment.vue
View file @
37388f4b
...
...
@@ -187,7 +187,7 @@
paySign
:
this
.
paySign
,
success
:
function
(
res
)
{
uni
.
navigateTo
({
url
:
"/pages/my/order/
electronicTicket/electronicTicket?orderId="
+
_this
.
orderId
url
:
"/pages/my/order/
orderList/orderList"
})
},
fail
:
function
(
err
)
{
...
...
pages/payment/ourPayment/ourPayment.vue
View file @
37388f4b
...
...
@@ -153,6 +153,7 @@
//#ifdef MP-ALIPAY
this
.
enterUrl
=
uni
.
getStorageSync
(
"alipayQrCode"
)
uni
.
removeStorageSync
(
'alipayQrCode'
)
//临时解决出租车扫码之后跳转到组合票时,参数会有问题,有时间再根本解决
this
.
payType
=
33
//#endif
if
(
this
.
enterUrl
){
//扫普通二维码进入
...
...
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