Commit c6cfcb62 authored by Mac's avatar Mac

1

parent 33f6224a
...@@ -263,12 +263,20 @@ ...@@ -263,12 +263,20 @@
>确认收货</u-button >确认收货</u-button
> >
</view> </view>
<view class="item" v-if="orders.OrderStatus == '1'">
<u-button shape="circle" size="medium" :custom-style="themCustomStyle" <view class="item" v-if="orders.OrderStatus == '1'">
<u-button shape="circle" size="medium" :custom-style="themCustomStyle"
v-on:click.stop="payment(orders)" v-on:click.stop="payment(orders)"
>立即支付</u-button >立即支付</u-button
> >
</view> </view>
<view class="item" v-if="orders.OrderStatus == '1'">
<u-button shape="circle" size="medium" :custom-style="themCustomStyle"
open-type="share"
send-message-title="是好友就帮忙代付" :send-message-path="path" send-message-img="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zhaoren.png"
>找人代付</u-button
>
</view>
<view class="item" v-if="orders.OrderStatus == '3'&& orders.PresentFXGrade!=1"> <view class="item" v-if="orders.OrderStatus == '3'&& orders.PresentFXGrade!=1">
<u-button <u-button
shape="circle" shape="circle"
...@@ -421,6 +429,7 @@ export default { ...@@ -421,6 +429,7 @@ export default {
uid:0, uid:0,
NewUserId:0, //zk新增 NewUserId:0, //zk新增
isShowBtn:true, isShowBtn:true,
path:'',
}; };
}, },
onLoad(option) { onLoad(option) {
...@@ -555,6 +564,16 @@ export default { ...@@ -555,6 +564,16 @@ export default {
this.orders = res.data; this.orders = res.data;
this.loading = false; this.loading = false;
let u = uni.getStorageSync("mall_UserInfo");
let uid = u.UserId ? u.UserId : 0;
let Up = u.UserPageType ? u.UserPageType:0;
let SmallShopId = u.SmallShopId ? u.SmallShopId : 0;
if (SmallShopId == 0) {
//如果微店id为0 去找所属微店id
SmallShopId = u.UserSmallShopId ? u.UserSmallShopId : 0;
}
this.path = '/pages/index/index?OrderId=' + res.data.OrderId + "&user_id=" + uid+ "&Up=" + Up+ "&SmallShopId=" + SmallShopId+'&JumpType=4' ;
console.log(this.path)
this.initRecommend(); this.initRecommend();
this.getexpressInfo(res.data.OrderId) this.getexpressInfo(res.data.OrderId)
} }
......
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