diff --git a/css/login.css b/css/login.css index 460f3a8..e3f3568 100644 --- a/css/login.css +++ b/css/login.css @@ -113,7 +113,7 @@ .con .row input { /* float: left; */ margin: 0; - width:auto ; + /* width:auto ; */ border: none; font-size: 17px; } diff --git a/js/cancellation.js b/js/cancellation.js index b319161..9d0a228 100644 --- a/js/cancellation.js +++ b/js/cancellation.js @@ -46,7 +46,7 @@ mui.plusReady(function(){ var that = $(this); that.attr("disabled", true); - mui.ajax(hyhUrl('app/users/backpayCode'), { + mui.ajax(hyhUrl('app/users/unregister_get_sms_code'), { data: {}, dataType: 'json', //服务器返回json格式数据 @@ -74,6 +74,7 @@ mui.plusReady(function(){ var phoneCode = $('#phoneCode').val(); var op_content = $('#reason').val(); var op_user = $('#userName').val(); + var handholdId = $("#handholdId").val(); var that = $(this); if(phoneCode == '') { alert('验证码不能为空!'); @@ -93,11 +94,13 @@ mui.plusReady(function(){ op_user: op_user, op_content: op_content, code: phoneCode, + op_pic: handholdId, }, dataType: 'json', success(res) { - mui.alert(res.msg, '提示') - mui.ajax(qlgUrl('app/users/logout'), { + if (res.status == 1) { + mui.alert(res.msg, '提示') + mui.ajax(qlgUrl('app/users/logout'), { headers: { "HYH-Token": token }, @@ -115,16 +118,14 @@ mui.plusReady(function(){ mui.fire(self.parent, 'refresh'); mui.back(); var data = toJson(data, 1); - if(data.status == 1) { - - } - }, error: function(xhr, type, errorThrown) { //异常处理; - // mui.alert(type); + mui.alert("请手动重新登陆"); } }); - + } else { + mui.alert(res.msg); + } }, error(err) { mui.alert('请求异常', '提示') diff --git a/js/register.js b/js/register.js index eb388ab..7419918 100644 --- a/js/register.js +++ b/js/register.js @@ -20,10 +20,6 @@ mui.plusReady(function() { mui.mui.alert('用户名不能为空') return; } - if (6 > loginName.length) { - mui.alert('用户名不能小于6个字符') - return; - } JZL.ajax(qlgUrl('app/users/check_login_name'), { loginName: loginName }, function(data) { diff --git a/templete/cancellation.html b/templete/cancellation.html index 20f59ff..de9133a 100644 --- a/templete/cancellation.html +++ b/templete/cancellation.html @@ -45,7 +45,7 @@
预获得券非存款
-行恶脱真禁友户
+违规脱真禁友户
慈善壮举随心悦
爱国孝亲定和谐
释放爱全亮共赢
演绎情人生非凡
物人供购品优旺
-菜肉米面盐茶来
+菜肉米面盐茶果