|
@@ -33,7 +33,7 @@
|
|
|
<p style="width: 60%;margin-left: 20%;">“刷头兑换券”请移至上朵公众号【朵粉特供】→【福利社】领取</p>
|
|
|
</div>
|
|
|
<img width="100%" src="images/youhuiquan.jpg" />
|
|
|
- <div style="padding: 15px 10px;">
|
|
|
+ <div style="padding: 15px 10px;font-weight: bold;font-size: 15px;">
|
|
|
完善信息
|
|
|
</div>
|
|
|
<form class="mui-input-group">
|
|
@@ -47,11 +47,11 @@
|
|
|
</div>
|
|
|
<div class="mui-input-row line-bottom">
|
|
|
<label>手机号码</label>
|
|
|
- <input type="text" id="ipt-phone" maxlength="11" placeholder="填写您的手机号码">
|
|
|
+ <input type="tel" id="ipt-phone" maxlength="11" placeholder="填写您的手机号码">
|
|
|
</div>
|
|
|
<div class="mui-input-row line-bottom">
|
|
|
- <label>验 证 码</label>
|
|
|
- <input style="width: 50% !important;float: left;" type="tel" placeholder="请输入验证码" maxlength="4" id="code"><button type="button" class="pull-code" disabled="disabled">获取验证码</button>
|
|
|
+ <label>验 证 码</label>
|
|
|
+ <input style="width: 50% !important;float: left;" type="tel" placeholder="请输入验证码" maxlength="4" id="code"><button type="button" class="pull-code" disabled="disabled">获取验证码</button>
|
|
|
</div>
|
|
|
<div class="mui-table my-table" style="padding:15px 10px 0px 10px;">
|
|
|
<div class="mui-table-cell mui-col-xs-2">
|
|
@@ -134,7 +134,7 @@
|
|
|
</div>
|
|
|
<div class="mui-table-cell mui-col-xs-3">
|
|
|
<div class="mui-input-row mui-radio mui-left">
|
|
|
- <label class="my-label">JD</label>
|
|
|
+ <label class="my-label">京东</label>
|
|
|
<input name="radio2" class="radio2" type="radio" value="3">
|
|
|
</div>
|
|
|
</div>
|
|
@@ -194,7 +194,7 @@
|
|
|
var phone = this.value;
|
|
|
var mobile = /^(13|14|15|17|18)[0-9]{9}$/; //手机号码
|
|
|
if(phone.length == 11) {
|
|
|
- if(mobile.test(phone) && countdown==60) {
|
|
|
+ if(mobile.test(phone) && countdown == 60) {
|
|
|
$(".pull-code").removeAttr("disabled").addClass("active");
|
|
|
} else {
|
|
|
$(".pull-code").attr("disabled", "disabled").removeClass("active");
|
|
@@ -204,23 +204,24 @@
|
|
|
}
|
|
|
});
|
|
|
//发送验证码
|
|
|
- var validate_flag = false,show_msg = '';
|
|
|
+ var validate_flag = false,
|
|
|
+ show_msg = '';
|
|
|
$(document).on('tap', '.pull-code', function() {
|
|
|
- var th=$(this);
|
|
|
+ var th = $(this);
|
|
|
var mobile = /^(13|14|15|17|18)[0-9]{9}$/; //手机号码
|
|
|
var phone = $("#ipt-phone").val();
|
|
|
if(mobile.test(phone)) {
|
|
|
settime(th);
|
|
|
if(!window.sessionStorage) {
|
|
|
mui.alert("您的浏览器不支持sessionStorage");
|
|
|
- } else {
|
|
|
- //自定义json数据
|
|
|
- var obj = {};
|
|
|
- obj["phone"] = phone;
|
|
|
- obj["codetime"] = new Date().getTime();
|
|
|
- //json格式化插入
|
|
|
- sessionStorage.setItem('code_data', JSON.stringify(obj));
|
|
|
- }
|
|
|
+ } else {
|
|
|
+ //自定义json数据
|
|
|
+ var obj = {};
|
|
|
+ obj["phone"] = phone;
|
|
|
+ obj["codetime"] = new Date().getTime();
|
|
|
+ //json格式化插入
|
|
|
+ sessionStorage.setItem('code_data', JSON.stringify(obj));
|
|
|
+ }
|
|
|
//ajax
|
|
|
$.ajax(base_path + '/wechat/apparatus/send_phone?dates=' + new Date().getTime(), {
|
|
|
data: {
|
|
@@ -247,6 +248,7 @@
|
|
|
},
|
|
|
error: function(xhr, type, errorThrown) {
|
|
|
console.log(xhr);
|
|
|
+ mui.alert("获取短信失败!网络错误");
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
@@ -257,10 +259,11 @@
|
|
|
}
|
|
|
mui.alert(show_msg);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
var countdown = 60;
|
|
|
+
|
|
|
function settime(obj) {
|
|
|
if(countdown <= 0) {
|
|
|
obj.addClass("active").removeAttr("disabled");
|
|
@@ -280,7 +283,7 @@
|
|
|
mui('body').on('tap', '#buyDate', function(event) {
|
|
|
var date = new Date();
|
|
|
var y = date.getFullYear();
|
|
|
- var m = date.getMonth();//获取当前月份的日期
|
|
|
+ var m = date.getMonth(); //获取当前月份的日期
|
|
|
var d = date.getDate();
|
|
|
var picker = new mui.DtPicker({
|
|
|
type: "date", //设置日历初始视图模式
|
|
@@ -288,35 +291,35 @@
|
|
|
endDate: new Date(y, m, d) //设置结束日期
|
|
|
});
|
|
|
picker.show(function(rs) {
|
|
|
-
|
|
|
+
|
|
|
$("#buyDate").val(rs.text);
|
|
|
picker.dispose();
|
|
|
picker = null;
|
|
|
-
|
|
|
+
|
|
|
});
|
|
|
});
|
|
|
//选择出生日期
|
|
|
mui('body').on('tap', '#newDate', function(event) {
|
|
|
var date = new Date();
|
|
|
var y = date.getFullYear();
|
|
|
- var m = date.getMonth();//获取当前月份的日期
|
|
|
+ var m = date.getMonth(); //获取当前月份的日期
|
|
|
var d = date.getDate();
|
|
|
var picker = new mui.DtPicker({
|
|
|
type: "date", //设置日历初始视图模式
|
|
|
- beginDate: new Date(1930, 00, 01), //设置开始日期
|
|
|
- endDate: new Date(2010,00, 01) //设置结束日期
|
|
|
+ beginDate: new Date(1949, 9, 01), //设置开始日期
|
|
|
+ endDate: new Date((y - 8), 00, 01) //设置结束日期
|
|
|
});
|
|
|
- picker.show(function(rs) {
|
|
|
+ picker.show(function(rs) {
|
|
|
$("#newDate").val(rs.text);
|
|
|
picker.dispose();
|
|
|
- picker = null;
|
|
|
+ picker = null;
|
|
|
});
|
|
|
});
|
|
|
|
|
|
var qrCode = null;
|
|
|
var isFocusOn = null;
|
|
|
var userIdentity = null;
|
|
|
-
|
|
|
+
|
|
|
mui.ready(function() {
|
|
|
console.log("页面加载完毕");
|
|
|
$(".loading").hide().css("opacity", "0"); //隐藏(正在加载...)
|
|
@@ -325,214 +328,245 @@
|
|
|
var code_data = JSON.parse(sessionStorage.getItem('code_data'));
|
|
|
if(code_data != null) {
|
|
|
$("#ipt-phone").val(code_data.phone);
|
|
|
- if((new Date().getTime()-code_data.codetime)>59000){
|
|
|
+ if((new Date().getTime() - code_data.codetime) > 59000) {
|
|
|
$(".pull-code").addClass("active").removeAttr("disabled");
|
|
|
- }else{
|
|
|
- countdown=parseInt(60-((new Date().getTime()-code_data.codetime)/1000));
|
|
|
+ } else {
|
|
|
+ countdown = parseInt(60 - ((new Date().getTime() - code_data.codetime) / 1000));
|
|
|
console.log(countdown)
|
|
|
settime($(".pull-code"));
|
|
|
}
|
|
|
}
|
|
|
- if(qrCode != null){
|
|
|
-
|
|
|
- $("#barCodeId").html("("+qrCode+")");
|
|
|
+ if(qrCode != null) {
|
|
|
+
|
|
|
+ $("#barCodeId").html("(" + qrCode + ")");
|
|
|
$.ajax(base_path + '/wechat/getActivationAndMember?dates=' + new Date().getTime(), {
|
|
|
- data: {
|
|
|
- "qrCode":qrCode//产品类型id
|
|
|
- },
|
|
|
- dataType: 'json',
|
|
|
- xhrFields: {
|
|
|
- withCredentials: true
|
|
|
- },
|
|
|
- crossDomain: true,
|
|
|
- type: 'get',
|
|
|
- timeout: 15000,
|
|
|
- success: function(dt) {
|
|
|
- if(dt.isRedirect) {
|
|
|
- location.href = dt.redirectURL;
|
|
|
- } else {
|
|
|
- if(dt.status) {//判断接口返回状态status
|
|
|
- if(dt.data.isActivation){
|
|
|
- //已激活
|
|
|
- mui.alert('该产品已被激活!', '提醒', function() {
|
|
|
- location.href="my-center.html";
|
|
|
- });
|
|
|
- }
|
|
|
- if(dt.data.memberInfo.userStatus != 2){
|
|
|
- //未关注
|
|
|
- mui.alert('请先关注公众号再激活!', '提醒', function() {
|
|
|
- location.href="follow-me-tooth.html";
|
|
|
- });
|
|
|
+ data: {
|
|
|
+ "qrCode": qrCode //产品类型id
|
|
|
+ },
|
|
|
+ dataType: 'json',
|
|
|
+ xhrFields: {
|
|
|
+ withCredentials: true
|
|
|
+ },
|
|
|
+ crossDomain: true,
|
|
|
+ type: 'get',
|
|
|
+ timeout: 15000,
|
|
|
+ success: function(dt) {
|
|
|
+ if(dt.isRedirect) {
|
|
|
+ location.href = dt.redirectURL;
|
|
|
+ } else {
|
|
|
+ if(dt.status) { //判断接口返回状态status
|
|
|
+ if(dt.data.isActivation) {
|
|
|
+ //已激活
|
|
|
+ mui.alert('该产品已被激活!', '提醒', function() {
|
|
|
+ location.href = "my-center.html";
|
|
|
+ });
|
|
|
+ }
|
|
|
+ if(dt.data.memberInfo.userStatus != 2) {
|
|
|
+ //未关注
|
|
|
+ mui.alert('请先关注公众号再激活!', '提醒', function() {
|
|
|
+ location.href = "follow-me-tooth.html";
|
|
|
+ });
|
|
|
//填充用户数据
|
|
|
$("#ipt-name").val(dt.data.memberInfo.userName);
|
|
|
- if(dt.data.memberInfo.userSex != null){
|
|
|
- if(dt.data.memberInfo.userSex == 1){
|
|
|
+ if(dt.data.memberInfo.userSex != null) {
|
|
|
+ if(dt.data.memberInfo.userSex == 1) {
|
|
|
$("#maleId").attr("checked", true);
|
|
|
}
|
|
|
- if(dt.data.memberInfo.userSex == 2){
|
|
|
+ if(dt.data.memberInfo.userSex == 2) {
|
|
|
$("#femaleId").attr("checked", true);
|
|
|
}
|
|
|
}
|
|
|
var radios = $(".radio1");
|
|
|
- switch (dt.data.memberInfo.userAgeStage) {
|
|
|
- case (1):
|
|
|
- radios.eq(0).attr("checked", true);
|
|
|
- break;
|
|
|
- case (2):
|
|
|
- radios.eq(1).attr("checked", true);
|
|
|
- break;
|
|
|
- case (3):
|
|
|
- radios.eq(2).attr("checked", true);
|
|
|
- break;
|
|
|
- case (4):
|
|
|
- radios.eq(3).attr("checked", true);
|
|
|
- break;
|
|
|
- case (5):
|
|
|
- radios.eq(4).attr("checked", true);
|
|
|
- break;
|
|
|
- case (6):
|
|
|
- radios.eq(5).attr("checked", true);
|
|
|
- }
|
|
|
+ switch(dt.data.memberInfo.userAgeStage) {
|
|
|
+ case(1):
|
|
|
+ radios.eq(0).attr("checked", true);
|
|
|
+ break;
|
|
|
+ case(2):
|
|
|
+ radios.eq(1).attr("checked", true);
|
|
|
+ break;
|
|
|
+ case(3):
|
|
|
+ radios.eq(2).attr("checked", true);
|
|
|
+ break;
|
|
|
+ case(4):
|
|
|
+ radios.eq(3).attr("checked", true);
|
|
|
+ break;
|
|
|
+ case(5):
|
|
|
+ radios.eq(4).attr("checked", true);
|
|
|
+ break;
|
|
|
+ case(6):
|
|
|
+ radios.eq(5).attr("checked", true);
|
|
|
+ }
|
|
|
isFocusOn = dt.data.memberInfo.userStatus;
|
|
|
userIdentity = dt.data.memberInfo.userIdentity;
|
|
|
} else {
|
|
|
mui.alert("查询失败!");
|
|
|
}
|
|
|
- }}
|
|
|
- },
|
|
|
- error: function(xhr, type, errorThrown) {
|
|
|
- console.log(xhr);
|
|
|
- mui.alert("网络错误!");
|
|
|
+ }
|
|
|
}
|
|
|
- });
|
|
|
+ },
|
|
|
+ error: function(xhr, type, errorThrown) {
|
|
|
+ console.log(xhr);
|
|
|
+ mui.alert("网络错误!");
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
});
|
|
|
$(document).on('tap', '#my-btn-submit', function() {
|
|
|
- validate();//验证文本框
|
|
|
+ validate(); //验证文本框
|
|
|
var userName = $("#ipt-name").val();
|
|
|
var userSex = $('input[name="radio0"]:checked ').val();
|
|
|
var userBirthDate = $('#newDate').val();
|
|
|
var apparatusStore = $('input[name="radio2"]:checked').val();
|
|
|
var buyDate = $("#buyDate").val();
|
|
|
var tel = $("#ipt-phone").val();
|
|
|
- var code=$("#code").val();
|
|
|
- var selectDate = new Date(Date.parse(buyDate));
|
|
|
- var nowDate = new Date(Date.parse(new Date().toLocaleDateString()));
|
|
|
+ var code = $("#code").val();
|
|
|
+ var selectDate = new Date(Date.parse(buyDate));
|
|
|
+ var nowDate = new Date(Date.parse(new Date().toLocaleDateString()));
|
|
|
//if(selectDate>nowDate){
|
|
|
- //mui.alert("购买日期不能大于当前日期");
|
|
|
- //return false;
|
|
|
+ //mui.alert("购买日期不能大于当前日期");
|
|
|
+ //return false;
|
|
|
//}
|
|
|
- if(validate_flag){
|
|
|
+ if(validate_flag) {
|
|
|
//验证通过
|
|
|
$.ajax(base_path + '/wechat/apparatus/add_apparatus?dates=' + new Date().getTime(), {
|
|
|
- data: {
|
|
|
- "barCode":qrCode,//条码
|
|
|
- "userName":userName,//用户姓名
|
|
|
- "userSex":userSex,//用户姓名
|
|
|
- "userTel":tel,//手机
|
|
|
- "code":code,//验证码
|
|
|
- "userBirthDate":userBirthDate,//出生日期
|
|
|
- "apparatusStore":apparatusStore,//渠道id 1:天猫 2:淘宝 3:京东 4:微信 5:其他 6:一条 7:小红书
|
|
|
- "buyDate":buyDate//购买日期
|
|
|
- },
|
|
|
- dataType: 'json',
|
|
|
- xhrFields: {
|
|
|
- withCredentials: true
|
|
|
- },
|
|
|
- crossDomain: true,
|
|
|
- type: 'get',
|
|
|
- timeout: 15000,
|
|
|
- success: function(dt) {
|
|
|
- if(dt.isRedirect) {
|
|
|
- location.href = dt.redirectURL;
|
|
|
- } else {
|
|
|
- if(dt.status) {//判断接口返回状态status
|
|
|
- mui.alert('注册成功!', '提醒', function() {
|
|
|
- if(userIdentity == 1){//会员
|
|
|
- if(isFocusOn == 1 || isFocusOn == 0){//未关注
|
|
|
- location.href="member-follow-me.html";
|
|
|
- }else{//已关注
|
|
|
- location.href="welfare-service.html";
|
|
|
- }
|
|
|
- }else{//非会员
|
|
|
- if(isFocusOn == 1 || isFocusOn == 0){//未关注
|
|
|
- location.href="follow-me.html";
|
|
|
- }else{//已关注
|
|
|
- location.href="welfare-service.html";
|
|
|
- }
|
|
|
+ data: {
|
|
|
+ "barCode": qrCode, //条码
|
|
|
+ "userName": userName, //用户姓名
|
|
|
+ "userSex": userSex, //用户姓名
|
|
|
+ "userTel": tel, //手机
|
|
|
+ "code": code, //验证码
|
|
|
+ "userBirthDate": userBirthDate, //出生日期
|
|
|
+ "apparatusStore": apparatusStore, //渠道id 1:天猫 2:淘宝 3:京东 4:微信 5:其他 6:一条 7:小红书
|
|
|
+ "buyDate": buyDate //购买日期
|
|
|
+ },
|
|
|
+ dataType: 'json',
|
|
|
+ xhrFields: {
|
|
|
+ withCredentials: true
|
|
|
+ },
|
|
|
+ crossDomain: true,
|
|
|
+ type: 'get',
|
|
|
+ timeout: 15000,
|
|
|
+ success: function(dt) {
|
|
|
+ if(dt.isRedirect) {
|
|
|
+ location.href = dt.redirectURL;
|
|
|
+ } else {
|
|
|
+ if(dt.status) { //判断接口返回状态status
|
|
|
+ mui.alert('注册成功!', '温馨提示', function() {
|
|
|
+ if(userIdentity == 1) { //会员
|
|
|
+ if(isFocusOn == 1 || isFocusOn == 0) { //未关注
|
|
|
+ location.href = "member-follow-me.html";
|
|
|
+ } else { //已关注
|
|
|
+ $.ajax(base_path + '/wechat/coupon/getIsReceive?dates=' + new Date().getTime(), {
|
|
|
+ data: {},
|
|
|
+ dataType: 'json',
|
|
|
+ xhrFields: {
|
|
|
+ withCredentials: true
|
|
|
+ },
|
|
|
+ crossDomain: true,
|
|
|
+ type: 'get',
|
|
|
+ timeout: 15000,
|
|
|
+ success: function(dt) {
|
|
|
+ //console.log(dt);
|
|
|
+ if(dt.isRedirect) {
|
|
|
+ location.href = dt.redirectURL;
|
|
|
+ } else {
|
|
|
+ if(dt.status) {
|
|
|
+ console.log("未领取!");
|
|
|
+ location.href = "welfare-service.html";
|
|
|
+ } else {
|
|
|
+ console.log("已领取!");
|
|
|
+ location.href = "my-center.html";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error: function(xhr, type, errorThrown) {
|
|
|
+ console.log(xhr);
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
}
|
|
|
-
|
|
|
- });
|
|
|
- } else {
|
|
|
- mui.alert(dt.message, '提醒', function() {
|
|
|
- location.href="my-center.html";
|
|
|
- });
|
|
|
- //mui.alert(dt.message);
|
|
|
- }
|
|
|
+ } else { //非会员
|
|
|
+ if(isFocusOn == 1 || isFocusOn == 0) { //未关注
|
|
|
+ location.href = "follow-me.html";
|
|
|
+ } else { //已关注
|
|
|
+ location.href = "welfare-service.html";
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ mui.alert(dt.message, '温馨提示', function() {
|
|
|
+ location.href = "my-center.html";
|
|
|
+ });
|
|
|
}
|
|
|
- },
|
|
|
- error: function(xhr, type, errorThrown) {
|
|
|
- console.log(xhr);
|
|
|
- mui.alert("网络错误");
|
|
|
}
|
|
|
- });
|
|
|
- }else{
|
|
|
- mui.alert(dalog_msg);//弹窗提示
|
|
|
+ },
|
|
|
+ error: function(xhr, type, errorThrown) {
|
|
|
+ console.log(xhr);
|
|
|
+ mui.alert("网络错误");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ mui.alert(dalog_msg); //弹窗提示
|
|
|
}
|
|
|
- });
|
|
|
-
|
|
|
+ });
|
|
|
+
|
|
|
//正则表达式示例
|
|
|
- var dalog_msg='',validate_flag=false;
|
|
|
+ var dalog_msg = '',
|
|
|
+ validate_flag = false;
|
|
|
+
|
|
|
function validate() {
|
|
|
var ch_en_num = /^[A-Za-z_\-\u4e00-\u9fa5]{2,10}$/; //简体中文英文(2-10位)
|
|
|
var positive_int = /^[0-9]\d*$/; //正整数0-9
|
|
|
var code_int = /^[0-9]{4}$/; //正整数0-9,4位数字
|
|
|
var mobile = /^(13|14|15|17|18)[0-9]{9}$/; //手机号码
|
|
|
var full_date = /^\d{4}(\-|\/|.)\d{1,2}\1\d{1,2}$/; //日期格式 (2016\12\12,2016-12-12,2016.12.12)
|
|
|
- var name = $("#ipt-name").val().trim(),tel=$("#ipt-phone").val(),code=$("#code").val();
|
|
|
+ var name = $("#ipt-name").val().trim(),
|
|
|
+ tel = $("#ipt-phone").val(),
|
|
|
+ code = $("#code").val();
|
|
|
if(ch_en_num.test(name)) {
|
|
|
//验证通过
|
|
|
if($("#newDate").val() == null || $("#newDate").val() == "") {
|
|
|
- validate_flag=false;
|
|
|
- dalog_msg='请选择出生日期';
|
|
|
- }else{
|
|
|
+ validate_flag = false;
|
|
|
+ dalog_msg = '请选择出生日期';
|
|
|
+ } else {
|
|
|
if(mobile.test(tel)) {
|
|
|
console.log(code_int.test(code))
|
|
|
if(code_int.test(code)) {
|
|
|
- if($("#buyDate").val() == null || $("#buyDate").val() == ""){
|
|
|
- dalog_msg='请选择购买日期';
|
|
|
- validate_flag=false;
|
|
|
- }else{
|
|
|
- validate_flag=true;
|
|
|
+ if($("#buyDate").val() == null || $("#buyDate").val() == "") {
|
|
|
+ dalog_msg = '请选择购买日期';
|
|
|
+ validate_flag = false;
|
|
|
+ } else {
|
|
|
+ validate_flag = true;
|
|
|
}
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
if(code != '') {
|
|
|
- dalog_msg='验证码格式不正确';
|
|
|
- }else{
|
|
|
- dalog_msg='请填写验证码';
|
|
|
+ dalog_msg = '验证码格式不正确';
|
|
|
+ } else {
|
|
|
+ dalog_msg = '请填写验证码';
|
|
|
}
|
|
|
- validate_flag=false;
|
|
|
+ validate_flag = false;
|
|
|
}
|
|
|
- }else{
|
|
|
- validate_flag=false;
|
|
|
+ } else {
|
|
|
+ validate_flag = false;
|
|
|
if(tel != '') {
|
|
|
- dalog_msg='手机格式不正确';
|
|
|
- }else{
|
|
|
- dalog_msg='请填写手机号码';
|
|
|
+ dalog_msg = '手机格式不正确';
|
|
|
+ } else {
|
|
|
+ dalog_msg = '请填写手机号码';
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
//未通过验证
|
|
|
if(name != '') {
|
|
|
- dalog_msg='名字格式不正确';
|
|
|
+ dalog_msg = '名字格式不正确';
|
|
|
} else {
|
|
|
- dalog_msg='请填写名字';
|
|
|
+ dalog_msg = '请填写名字';
|
|
|
}
|
|
|
- validate_flag=false;
|
|
|
- }
|
|
|
- return dalog_msg;//返回提示信息
|
|
|
+ validate_flag = false;
|
|
|
+ }
|
|
|
+ return dalog_msg; //返回提示信息
|
|
|
}
|
|
|
</script>
|
|
|
</body>
|