Commit dba9eddd authored by zhengke's avatar zhengke

修改

parent 76ff5e35
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
</view> </view>
<view class="jz_PayDiv"> <view class="jz_PayDiv">
<view class="jz_CancleBtn">取消</view> <view class="jz_CancleBtn">取消</view>
<view class="jz_CancleBtn" @click="goZhifu()" style="background-color: #111111;color:#fff;">去付款</view> <view class="jz_CancleBtn" @click="goFukuan()" style="background-color: #111111;color:#fff;">去付款</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -163,6 +163,19 @@ ...@@ -163,6 +163,19 @@
console.log(this.orderData,'this.orderData'); console.log(this.orderData,'this.orderData');
}, },
methods: { methods: {
goFukuan(){
var tempObj = uni.getStorageSync('basedata').mall.wechatmessage;
var tmplIds = '';
if(tempObj&&tempObj.length>0){
tmplIds = tempObj[0].MessageId;
}
uni.requestSubscribeMessage({
tmplIds: tmplIds,
complete(res) {
this.goZhifu();
}
})
},
//支付 //支付
goZhifu(){ goZhifu(){
let url='/api/WeChatPay/GetTravlePayInfo' let url='/api/WeChatPay/GetTravlePayInfo'
......
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