diff --git a/pages/pay/detail.js b/pages/pay/detail.js index 9bbe7af..96ed998 100644 --- a/pages/pay/detail.js +++ b/pages/pay/detail.js @@ -29,7 +29,8 @@ Page({ var that = this; that.setData({ taskId:options.taskId, - pageType:options.type + pageType:options.type, + payId:options.ids }) wx.showLoading({ title: '正在加载模板', @@ -285,12 +286,6 @@ Page({ // }) },1000) - - - - - - }, onChangePayee(event) { console.log(event); @@ -303,6 +298,11 @@ Page({ url: 'payee/payee?options='+JSON.stringify(event.currentTarget.dataset.option) }) }, + goPay(event){ + wx.navigateTo({ + url: '/pages/paymentManager/toPay/toPay?id='+this.data.payId + }) + }, goDis(){ var that = this ; console.log() diff --git a/pages/pay/detail.wxml b/pages/pay/detail.wxml index 3c77c2a..ed30c86 100644 --- a/pages/pay/detail.wxml +++ b/pages/pay/detail.wxml @@ -218,7 +218,7 @@ - 去支付 + 去支付