40.6ddedeaf3d272eeae684.js 2.5 KB

12
  1. webpackJsonp([40],{NicW:function(e,t){},qizy:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("mtWM"),i=a.n(s),n=a("oWtu"),o=(n.a,{name:"changePassword",components:{Icon:n.a},data:function(){return{typeVal:1,textarea:""}},created:function(){},methods:{getData:function(){var e=this;i()({method:"POST",url:"/api/feedback",data:{type:this.typeVal,content:this.textarea}}).then(function(t){"success"===t.data.code?(e.$vux.toast.text("反馈成功,感谢您的支持","middle"),setTimeout(function(){e.$router.push({path:"/userinfo/feedback_success"})},2e3)):e.$vux.toast.text(t.data.message,"middle")})}}}),r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"title_top clear"},[a("p",[e._v("反馈类型")]),e._v(" "),a("div",{staticClass:"right_radio clear"},[a("div",{staticClass:"left_radio_one"},[a("icon",{directives:[{name:"show",rawName:"v-show",value:2==e.typeVal,expression:"typeVal==2"}],attrs:{type:"circle"}}),e._v(" "),a("icon",{directives:[{name:"show",rawName:"v-show",value:1==e.typeVal,expression:"typeVal==1"}],attrs:{type:"success"}}),e._v(" "),a("label",{staticClass:"left-60"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.typeVal,expression:"typeVal"}],attrs:{type:"radio",name:"type",value:"1"},domProps:{checked:e._q(e.typeVal,"1")},on:{change:function(t){e.typeVal="1"}}}),e._v("\n 建议\n ")])],1),e._v(" "),a("div",{staticClass:"right_radio_one"},[a("icon",{directives:[{name:"show",rawName:"v-show",value:1==e.typeVal,expression:"typeVal==1"}],attrs:{type:"circle"}}),e._v(" "),a("icon",{directives:[{name:"show",rawName:"v-show",value:2==e.typeVal,expression:"typeVal==2"}],attrs:{type:"success"}}),e._v(" "),a("label",{staticClass:"left-60"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.typeVal,expression:"typeVal"}],attrs:{type:"radio",name:"type",value:"2"},domProps:{checked:e._q(e.typeVal,"2")},on:{change:function(t){e.typeVal="2"}}}),e._v("\n 投诉\n ")])],1)])]),e._v(" "),a("div",{staticClass:"textarea_count"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.textarea,expression:"textarea"}],attrs:{placeholder:"请输入投诉或者建议的内容"},domProps:{value:e.textarea},on:{input:function(t){t.target.composing||(e.textarea=t.target.value)}}})]),e._v(" "),a("div",{staticClass:"getData",on:{click:e.getData}},[e._v("提交")])])},staticRenderFns:[]};var c=a("VU/8")(o,r,!1,function(e){a("NicW")},null,null);t.default=c.exports}});
  2. //# sourceMappingURL=40.6ddedeaf3d272eeae684.js.map