纸通宝SAAS仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

36 lines
748 B

// pages/home/agreement/index.js
import { getCustomerList } from "../../../api/saas"
const util = require('../../../utils/util')
Page({
/**
* 页面的初始数据
*/
data: {
show: false,
form: {
amount: 0
}
},
onImageLoad: function(e){
console.log(e)
},
tellPhone: function(){
// wx.makePhoneCall({
// phoneNumber: '020-82516486',
// })
this.setData({ show: true })
},
onClose: function(){
this.setData({ show: false })
},
bindInput: function (e) {
this.data.form[e.target.id] = e.detail.value
},
onConfirm: function(){
if(util.isEmpty(this.data.form.amount) || Number(this.data.form.amount) <= 0){
util.showToast('请输入额度')
return
}
}
})