From e8203057cd831abae61a3cf6fbd1dfa0ace83c4e Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Wed, 9 Dec 2020 15:14:51 +0800 Subject: [PATCH] =?UTF-8?q?12=E4=BB=BD=E5=8A=9F=E8=83=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Payment/View/Payment/edit.html | 27 +++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/Application/Payment/View/Payment/edit.html b/Application/Payment/View/Payment/edit.html index 7cb0d1efa..7d8589d8b 100644 --- a/Application/Payment/View/Payment/edit.html +++ b/Application/Payment/View/Payment/edit.html @@ -45,6 +45,13 @@ + + @@ -56,6 +63,18 @@ highlight_subnav('{:U('Payment/memberList')}'); $(function(){ + + var MSG={ + showmsg:function(str){ + $("#creat_msg").show(); + $("#tip_msg").html(str); + }, + hidemsg:function(){ + $("#creat_msg").hide(); + $("#tip_msg").html(''); + } + } + var is_change = 0; $("#name,#mobile").change(function () { @@ -106,13 +125,15 @@ var verify = $("#verify").val(); data = {id:id,name:name,mobile:mobile,verify:verify}; publicAjax(url,data,function (data) { - layer.msg(data.msg); + // layer.msg(data.msg); + MSG.showmsg(data.msg); + setTimeout(function() { + MSG.hidemsg(); + },2000); if (data.status ==1) { setTimeout(function(){ window.location.href = "{:U('memberList')}"; },2000) - } else { - } }); return;