Commit 1221a1c9 authored by Mac's avatar Mac

成功页面的修改

parent 81f49110
......@@ -450,7 +450,10 @@
},{
"path":"share_qrcode"
},{
"path":"offline-success"
"path":"offline-success",
"style": {
"navigationStyle": "custom"
}
},{
"path":"draw"
}
......
......@@ -28,15 +28,16 @@
<text style="font-size: 33px;">{{payInfo.total_price}}</text>
</view>
</view>
<!-- <view class="pay-item" style="margin-top: 10px;">
<view class="pay-item" style="margin-top: 10px;">
<text>订单编号:</text>
<text>5465464646</text>
<text>{{OrderInfo.OrderNo?OrderInfo.OrderNo:''}}</text>
</view>
<view class="pay-item">
<text>下单时间:</text>
<text>5465464646</text>
</view> -->
<view class="pay-item" style="margin-top: 10px;">
<text>{{OrderInfo.CreateDate?OrderInfo.CreateDate:''}}</text>
</view>
<view class="pay-item">
<text>支付方式:</text>
<text>微信</text>
</view>
......@@ -58,7 +59,8 @@
pageTitle: "交易成功",
mainColor: "",
headStyle:{},
payInfo:{}
payInfo:{},
OrderInfo:{}
};
},
......@@ -72,19 +74,41 @@
});
let nav = uni.getMenuButtonBoundingClientRect().top;
this.headStyle.paddingTop = nav +'px';
this.init()
},
mounted() {
},
methods: {
init() {
this.payInfo.OpenId = uni.getStorageSync('mall_UserInfo').OpenId;
this.request2({
url: '/api/OSGoods/GetOfflineOrderInfo',
data: {
OrderId: this.payInfo.OrderId,
NewUserId: 0,
}
},
(res) => {
this.OrderInfo = res.data
}
);
},
goback(){
uni.navigateBack({})
},
godingdan(){
uni.reLaunch({
url: '/pages/reserve/personal/orderList?status=2'
});
try {
uni.reLaunch({
url: '/pages/reserve/personal/orderList?status=2',
});
} catch (e) {
console.log(e)
}
}
......
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