|
|
|
@ -45,6 +45,13 @@
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="width: 100vw;height: 200vh;padding: 0;position: absolute;top: 0;z-index: 9999999999;display: none;" id="creat_msg">
|
|
|
|
|
<div class="layui-layer layui-layer-dialog layui-layer-border layui-layer-msg layui-layer-hui"
|
|
|
|
|
type="dialog" times="1" showtime="50000" contype="string" style="z-index: 19891015; top:48%; left:47%;">
|
|
|
|
|
<div id="tip_msg" class="layui-layer-content">开始时间与结束时间都不允许为空</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|
<block name="script">
|
|
|
|
@ -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;
|
|
|
|
|