webpackJsonp([31],{Clzh:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("FevL"),i=a("AAHV");s.default.component(i.Button.name,i.Button);var o={data:()=>({title:"意见反馈",feedback:{}}),created(){},methods:{submit(){this.feedback.content?this.$axios.post(this.api.feedbackAdd,this.feedback).then(t=>{1==t.data.code?(this.$dialog.toast({mes:"信息反馈成功",timeout:1e3}),this.$router.go(-1)):this.$dialog.toast({mes:"出了点问题，请重试",timeout:1e3})}).catch(()=>{this.$dialog.toast({mes:"网络错误",timeout:1e3})}):this.$dialog.toast({mes:"请填写反馈内容",timeout:1e3})}}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",[a("v-title",{attrs:{title:t.title}}),t._v(" "),a("div",{staticClass:"p-sm"},[a("p",{staticClass:"title mt-sm mb-lg"},[t._v("您有什么问题或建议要对我们说?")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.feedback.title,expression:"feedback.title"}],attrs:{type:"text",placeholder:"反馈主题"},domProps:{value:t.feedback.title},on:{input:function(e){e.target.composing||t.$set(t.feedback,"title",e.target.value)}}}),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.feedback.content,expression:"feedback.content"}],attrs:{rows:"10",placeholder:"您的宝贵意见就是我们进步的源泉"},domProps:{value:t.feedback.content},on:{input:function(e){e.target.composing||t.$set(t.feedback,"content",e.target.value)}}}),t._v(" "),a("p",{staticClass:"mb-lg desc"},[t._v("\n      请详细描述您遇到的问题, 有助于我们快速定位并解决问题, 或留下您宝贵的建议或意见, 我们会认真进行评估!\n    ")]),t._v(" "),a("yd-button",{attrs:{type:"danger",size:"large",shape:"circle"},nativeOn:{click:function(e){t.submit()}}},[t._v("立即提交")])],1)],1)},staticRenderFns:[]};var c=a("D8HT")(o,n,!1,function(t){a("I7/v")},"data-v-e7678282",null);e.default=c.exports},"I7/v":function(t,e){}});