(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0c21f5be"],{"04ed":function(t,e,s){},"151a":function(t,e,s){t.exports=s.p+"view_admin/img/feed-icon.99e39a74.png"},5909:function(t,e,s){"use strict";s.r(e);var a=[function(){var t=this._self._c;return t("div",{staticClass:"img-box"},[t("img",{attrs:{src:s("151a"),mode:""}})])}],n=s("42e3"),i={name:"feedback",data:function(){return{name:"",phone:"",con:"",feedback:"",isDisabled:!1}},created:function(){this.getInfo()},methods:{getInfo:function(){var t=this;Object(n.h)().then((function(e){t.feedback=e.data.feedback}))},subMit:function(){var t=this;return this.name?this.phone&&/^1(3|4|5|7|8|9|6)\d{9}$/i.test(this.phone)?this.con?(this.isDisabled=!0,void Object(n.i)({rela_name:this.name,phone:this.phone,content:this.con}).then((function(e){t.$Message.success(e.msg),t.$router.go(-1)})).catch((function(e){t.$Message.error(e.msg)}))):this.$Message.error("请填写内容"):this.$Message.error("请填写正确的手机号码"):this.$Message.error("请填写姓名")}}},c=(s("a433"),s("2877")),o=Object(c.a)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"feedback-wrapper"},[e("div",{staticClass:"head"},[e("div",{staticClass:"left-wrapper"},[e("div",{staticClass:"title"},[t._v("商城客服已离线")]),e("div",{staticClass:"txt"},[t._v(t._s(t.feedback))])]),t._m(0)]),e("div",{staticClass:"main"},[e("div",{staticClass:"title"},[t._v("我要反馈")]),e("div",{staticClass:"input-box"},[e("Input",{attrs:{type:"text",placeholder:"请输入您的姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1),e("div",{staticClass:"input-box"},[e("Input",{attrs:{type:"text",placeholder:"请输入您的联系电话"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1),e("div",{staticClass:"input-box"},[e("Input",{attrs:{type:"textarea",placeholder:"请填写内容"},model:{value:t.con,callback:function(e){t.con=e},expression:"con"}})],1),e("Button",{staticClass:"sub_btn",attrs:{disabled:t.isDisabled},on:{click:t.subMit}},[t._v("提交")])],1)])}),a,!1,null,null,null);e.default=o.exports},a433:function(t,e,s){"use strict";s("04ed")}}]);