feedback.js 2.2 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/columnGoods/HotNewGoods/feedback"],{"2cf7":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=(this._self._c,this.$t("商城客服已离线")),n=this.$t("我要反馈"),i=this.$t("请输入姓名"),c=this.$t("请输入手机号"),a=this.$t("请填写内容"),o=this.$t("提交");this.$mp.data=Object.assign({},{$root:{m0:e,m1:n,m2:i,m3:c,m4:a,m5:o}})},c=[]},"678b":function(t,e,n){},6898:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("0ec6"),c={name:"feedback",data:function(){return{name:"",phone:"",con:"",feedback:""}},onLoad:function(){this.getInfo()},methods:{getInfo:function(){var t=this;(0,i.serviceFeedBack)().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?void(0,i.feedBackPost)({rela_name:this.name,phone:this.phone,content:this.con}).then((function(e){t.$util.Tips({title:e.msg,icon:"success"},{tab:3})})).catch((function(t){that.$util.Tips({title:t})})):this.$util.Tips({title:this.$t("请填写内容")}):this.$util.Tips({title:this.$t("请输入正确的手机号码")}):this.$util.Tips({title:this.$t("请输入姓名")})}}};e.default=c},"9a0c":function(t,e,n){"use strict";n.r(e);var i=n("6898"),c=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=c.a},b0c9:function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("4789");i(n("66fd"));var c=i(n("ed6f"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(c.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},ed6f:function(t,e,n){"use strict";n.r(e);var i=n("2cf7"),c=n("9a0c");for(var a in c)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return c[t]}))}(a);n("f1f3");var o=n("f0c5"),s=Object(o["a"])(c["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},f1f3:function(t,e,n){"use strict";var i=n("678b"),c=n.n(i);c.a}},[["b0c9","common/runtime","common/vendor"]]]);