Commit 37388f4b authored by 潘永坪's avatar 潘永坪

新增订单列表页面

parent cf7fe368
......@@ -267,6 +267,15 @@
}
}
,{
"path" : "pages/my/order/orderList/orderList",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
......
<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>
......@@ -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) {
......
......@@ -153,6 +153,7 @@
//#ifdef MP-ALIPAY
this.enterUrl=uni.getStorageSync("alipayQrCode")
uni.removeStorageSync('alipayQrCode')//临时解决出租车扫码之后跳转到组合票时,参数会有问题,有时间再根本解决
this.payType = 33
//#endif
if(this.enterUrl){//扫普通二维码进入
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment