diff --git a/fangija-zsyf/views/user/feedBack.html b/fangija-zsyf/views/user/feedBack.html index f12b815..307c300 100644 --- a/fangija-zsyf/views/user/feedBack.html +++ b/fangija-zsyf/views/user/feedBack.html @@ -13,46 +13,40 @@ - - - +
-
+

意见反馈

-
-
-
- 您的意见是我们的动力 -
+
+
您的意见建议是我们的动力
+
+
+

提交意见

@@ -114,13 +108,9 @@ var vue = new Vue({ }, // 联系方式检查 checkContact: function() { - if(this.contact == ""){ - $.toast("请输入手机或邮箱"); - return false; - } var mobile_reg = /^1\d{10}$/; var email_reg = /^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/; - if (!mobile_reg.test(this.contact)&&!email_reg.test(this.contact)) { + if (this.contact&&(!mobile_reg.test(this.contact)&&!email_reg.test(this.contact))) { $.toast("手机或邮箱格式错误"); return false; }