(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mail-user-report-user-report"],{1524:function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"rounded mr-2 px-2 py-1",class:t.disabled?"bg-light border":"main-bg-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickEvent.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"font",class:t.disabled?"text-light-muted":"text-white"},[t._v(t._s(t.name))])],1)},i=[]},"40db":function(t,e,n){"use strict";n.r(e);var r=n("1524"),a=n("9857");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);var o,u=n("f0c5"),c=Object(u["a"])(a["default"],r["b"],r["c"],!1,null,"40510ab7",null,!1,r["a"],o);e["default"]=c.exports},"43fb":function(t,e,n){"use strict";n.r(e);var r=n("f6f0"),a=n("9668");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);var o,u=n("f0c5"),c=Object(u["a"])(a["default"],r["b"],r["c"],!1,null,"4a696df4",null,!1,r["a"],o);e["default"]=c.exports},"626a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{range:["分类一","分类二","分类三","分类四","分类五"],form:{reported_id:0,reported_type:"user",category:"",content:""}}},onLoad:function(t){if(!t.params)return this.backToast();var e=JSON.parse(t.params);this.form.reported_id=e.user_id,this.form.reported_type=e.type},methods:{change:function(t){this.form.category=this.range[t.detail.value]},submit:function(){return this.form.category?this.form.content?void 0:uni.showToast({title:"请填写投诉内容",icon:"none"}):uni.showToast({title:"请选择分类",icon:"none"})}}};e.default=r},9668:function(t,e,n){"use strict";n.r(e);var r=n("626a"),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},9857:function(t,e,n){"use strict";n.r(e);var r=n("9a79"),a=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},"9a79":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={props:{name:{type:String,default:""},disabled:{type:Boolean,default:!1}},methods:{clickEvent:function(){this.disabled||this.$emit("click")}}};e.default=r},f6f0:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var r={freeNavBar:n("3e12").default,freeMainButton:n("40db").default,freeListItem:n("7474").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"page"},[n("free-nav-bar",{attrs:{title:"用户投诉",showBack:!0,showRight:!0,bgColor:"bg-white"}},[n("free-main-button",{attrs:{slot:"right",name:"投诉"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}},slot:"right"})],1),n("v-uni-picker",{attrs:{mode:"selector",range:t.range},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.change.apply(void 0,arguments)}}},[n("free-list-item",{attrs:{showLeftIcon:!1,title:t.form.category?t.form.category:"请选择分类",showRight:!0}})],1),n("v-uni-textarea",{staticClass:"bg-white p-2 font-md",attrs:{placeholder:"请填写投诉内容..."},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1)},i=[]}}]);