From d6e80af8cfd1d0a6059afe3391d26d3f99c7f7d7 Mon Sep 17 00:00:00 2001 From: pangdongxu <850374051@qq.com> Date: Tue, 14 Jun 2022 08:43:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pay/detail.js | 14 +++++++------- pages/pay/detail.wxml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) 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 @@ - 去支付 + 去支付