From a5e58506a66f3cc3652a7c8e6e18c57a30c6d577 Mon Sep 17 00:00:00 2001
From: JerryYan <792602257@qq.com>
Date: Sun, 16 Aug 2020 15:21:09 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=94=80=E9=99=A4=E6=8E=A5=E5=8F=A3?=
=?UTF-8?q?=E5=8F=8A=E5=AE=9E=E9=99=85=E6=B5=8B=E8=AF=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
js/cancellation.js | 47 +++++++++++++++++++++----------------------
templete/setting.html | 2 +-
2 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/js/cancellation.js b/js/cancellation.js
index 99215b4..9c2b381 100644
--- a/js/cancellation.js
+++ b/js/cancellation.js
@@ -46,30 +46,29 @@ mui.plusReady(function(){
var that = $(this);
that.attr("disabled", true);
- alert('功能开发中');
- // mui.ajax(hyhUrl('app/users/backpayCode'), {
- //
- // data: {},
- // dataType: 'json', //服务器返回json格式数据
- // type: 'post', //HTTP请求类型
- // timeout: 10000, //超时时间设置为10秒
- // success: function(data) {
- // var data = toJson(data);
- // //服务器返回响应,根据响应结果,分析是否登录成功;
- // if(data.status == 1) {
- // time();
- // } else {
- // alert(data.msg)
- // }
- // that.removeAttr('disabled');
- // },
- //
- // error: function(xhr, type, errorThrown) {
- // //异常处理;
- // // alert(type)
- // // alert(type);
- // }
- // });
+ mui.ajax(hyhUrl('app/users/backpayCode'), {
+
+ data: {},
+ dataType: 'json', //服务器返回json格式数据
+ type: 'post', //HTTP请求类型
+ timeout: 10000, //超时时间设置为10秒
+ success: function(data) {
+ var data = toJson(data);
+ //服务器返回响应,根据响应结果,分析是否登录成功;
+ if(data.status == 1) {
+ time();
+ } else {
+ alert(data.msg)
+ }
+ that.removeAttr('disabled');
+ },
+
+ error: function(xhr, type, errorThrown) {
+ //异常处理;
+ // alert(type)
+ // alert(type);
+ }
+ });
})
mui('.down').on('tap', '#true', function() {
var phoneCode = $('#phoneCode').val();
diff --git a/templete/setting.html b/templete/setting.html
index bdf6b35..50fd5ab 100644
--- a/templete/setting.html
+++ b/templete/setting.html
@@ -31,7 +31,7 @@
class="r2">收款信息管理