Commit 23fc440d8251e27fe7c45baeef478fd53d81a200

Authored by vking
1 parent d07b6ac5

pay

... ... @@ -109,7 +109,7 @@ Page({
},
setInvoice(e){
let invoice={
orderid:this.data.checkout.id,
rid:this.options.rid,
}
Object.keys(e.detail).forEach(key=>{
invoice[key.toLowerCase()]=e.detail[key]
... ... @@ -129,7 +129,7 @@ Page({
GetOrderInfoInterval:null,
GetOrderInfoRun(){
if(!this.GetOrderInfoInterval){
setInterval(()=>{
this.GetOrderInfoInterval=setInterval(()=>{
this.GetCheckout()
},8000)
}
... ...
... ... @@ -173,6 +173,32 @@
</navigator>
</view>
</view>
<block wx:if="{{checkout.price>0}}">
<view class="hr" style="margin-top: 78rpx;margin-bottom: 78rpx;"></view>
<view class="detail-info Medium" style="margin-top: 56rpx;">
<view class="flex-lr">
<view>实付金额</view>
<view class="detail-info-right" style="color:rgba(224,32,32,1);">¥{{checkout.price}}</view>
</view>
<view class="flex-lr" style="margin-top: 26rpx;">
<view></view>
<view class="detail-info-right see-pics">查看消费详情</view>
</view>
</view>
</block>
<block wx:if="{{checkout.invoice}}">
<view class="hr" style="margin-top: 78rpx;margin-bottom: 78rpx;"></view>
<view class="detail-info Medium" style="margin-top: 56rpx;">
<view class="flex-lr">
<view>发票</view>
<view class="detail-info-right">{{checkout.invoice.title}}</view>
</view>
<view class="flex-lr" style="margin-top: 26rpx;">
<view></view>
<view class="detail-info-right">{{checkout.invoice.taxnumber}}</view>
</view>
</view>
</block>
<block wx:if="{{rsl.length>0}}">
<view class="line-push">为你推荐</view>
<view class="transverse-list">
... ...
... ... @@ -188,4 +188,12 @@
}
.checkout-icon-3{
background-image: url("http://nosqn.colorcun.com/checkout/images/1.png");
}
.see-pics{
height:42rpx;
font-size:30rpx;
font-weight:500;
color:rgba(53,53,53,1);
line-height:42rpx;
border-bottom: 2rpx solid #353535;
}
\ No newline at end of file
... ...
... ... @@ -483,7 +483,7 @@
"id": 57,
"name": "pages/customer/detail_owner",
"pathName": "pages/customer/detail_owner",
"query": "id=60472&firstShowMsg=",
"query": "id=61685",
"scene": null
},
{
... ...