Commit 3233ae18f7468de3e6811b11ce5c4c79841ffcc6

Authored by vking
1 parent 6ab7d990

商家红包活动

... ... @@ -32,6 +32,7 @@ Component({
display:true,
})
}
this.triggerEvent('event')
})
},
hide(){
... ...
... ... @@ -174,7 +174,10 @@ Page({
...res.data,
success:res=>{
this.selectComponent('#xfCard').show();
this.GetCheckout()
//this.GetCheckout()
this.setData({
[`checkout.status`]:3,
})
},
})
}else{
... ... @@ -202,4 +205,9 @@ Page({
console.log('discountEvent',e)
this.GetCheckout()
},
xfCardEvent(e){
this.setData({
[`checkout.status`]:3,
})
},
})
\ No newline at end of file
... ...
... ... @@ -142,4 +142,4 @@
</view>
<showModal id="showModal" confirmText="知道了" bindshowModal="showModal" cla="checkout"></showModal>
<discount id="discount" checkout="{{checkout}}" bindevent="discountEvent"></discount>
<xfCard id="xfCard" checkout="{{checkout}}"></xfCard>
<xfCard id="xfCard" checkout="{{checkout}}" bindevent="xfCardEvent"></xfCard>
... ...