浏览代码

优化

master
pangdongxu 3 年前
父节点
当前提交
d6e80af8cf
共有 2 个文件被更改,包括 8 次插入8 次删除
  1. +7
    -7
      pages/pay/detail.js
  2. +1
    -1
      pages/pay/detail.wxml

+ 7
- 7
pages/pay/detail.js 查看文件

@@ -29,7 +29,8 @@ Page({
var that = this; var that = this;
that.setData({ that.setData({
taskId:options.taskId, taskId:options.taskId,
pageType:options.type
pageType:options.type,
payId:options.ids
}) })
wx.showLoading({ wx.showLoading({
title: '正在加载模板', title: '正在加载模板',
@@ -285,12 +286,6 @@ Page({
// }) // })


},1000) },1000)



}, },
onChangePayee(event) { onChangePayee(event) {
console.log(event); console.log(event);
@@ -303,6 +298,11 @@ Page({
url: 'payee/payee?options='+JSON.stringify(event.currentTarget.dataset.option) url: 'payee/payee?options='+JSON.stringify(event.currentTarget.dataset.option)
}) })
}, },
goPay(event){
wx.navigateTo({
url: '/pages/paymentManager/toPay/toPay?id='+this.data.payId
})
},
goDis(){ goDis(){
var that = this ; var that = this ;
console.log() console.log()


+ 1
- 1
pages/pay/detail.wxml 查看文件

@@ -218,7 +218,7 @@
</van-collapse> </van-collapse>


<view class="bottom"> <view class="bottom">
<view type="primary" class="btnAgree" bindtap="goAgree">去支付</view>
<view type="primary" class="btnAgree" bindtap="goPay">去支付</view>
</view> </view>
<!-- <view class="bottom" wx:if="{{pageType!='see'}}"> <!-- <view class="bottom" wx:if="{{pageType!='see'}}">
<button type="primary" plain class="btnOther" bindtap="goAgree">转办</button> <button type="primary" plain class="btnOther" bindtap="goAgree">转办</button>


正在加载...
取消
保存