(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-feedback-add"],{"0404":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uPopup:n("9f5d").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"add"},[a("v-uni-view",{staticClass:"add-hd",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getConfigData()}}},[t._v("如需尽快解决问题,可直接联系在线客服"),a("v-uni-image",{attrs:{src:n("ded9")}})],1),a("v-uni-view",{staticClass:"add-content"},[a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",{staticClass:"red"},[t._v("*")]),t._v("反馈内容")],1),a("v-uni-view",{staticClass:"box"},[a("v-uni-textarea",{attrs:{maxlength:"200",placeholder:"如有必要,请详细描述(200字以内)~"},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}}),a("v-uni-view",{staticClass:"tips"},[t._v(t._s(t.content.length)+"/200字")])],1)],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",{staticClass:"red"},[t._v("*")]),t._v("图片上传"),a("v-uni-text",{staticClass:"hs"},[t._v("(上传聊天截图或与问题描述相关的图片)")])],1),a("v-uni-view",{staticClass:"list"},[t._l(t.imgurl,(function(e,i){return a("v-uni-view",{key:i,staticClass:"item"},[a("v-uni-image",{staticClass:"pic",attrs:{src:e}}),a("v-uni-image",{staticClass:"del",attrs:{src:n("243d")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toDel(i)}}})],1)})),a("v-uni-view",{staticClass:"upload",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadImg()}}},[a("v-uni-image",{staticClass:"pic",attrs:{src:n("fd1f")}}),a("v-uni-view",{staticClass:"txt"},[t._v("上传图片")])],1)],2)],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",{staticClass:"red"},[t._v("*")]),t._v("联系方式")],1),a("v-uni-view",{staticClass:"list"},[a("v-uni-view",{staticClass:"dd"},[a("v-uni-input",{attrs:{type:"text",placeholder:"请填写您的姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1),a("v-uni-view",{staticClass:"dd"},[a("v-uni-input",{attrs:{type:"text",placeholder:"请填写您的电话"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1)],1)],1)],1),a("v-uni-view",{staticClass:"add-fd"},[a("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toReg()}}},[t._v("提交反馈")]),a("v-uni-view",{staticClass:"history",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toPage()}}},[t._v("反馈记录 >")])],1),a("u-popup",{attrs:{mode:"center","border-radius":"20","mask-close-able":!0},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[a("v-uni-view",{staticClass:"feed"},[a("v-uni-image",{attrs:{src:n("c6f5")}}),a("v-uni-view",{staticClass:"title"},[t._v("反馈提交成功")]),a("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.show=!1}}},[t._v("我知道了")])],1)],1)],1)},o=[]},"243d":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAsNJREFUSEvtl01vElEUhk8TyAx1OmqiJu2CllVXVE3Qv+DCuCGk6XYIH43RULCE0kzCqgltM5UOZOKigU4TCum2K/0JutC4Eo0LjNUQjQmOE/kYGHMIUxtTOpcC6UZWA/fc95n33HMP947B348dAOYA4AYAWE78PozHBgB8B4C3APAJBce6qncA4PYwCAQarwHgFYKnAeAewYRhhjxH8AMAmBymKoHWVwR7R7CmZmwNwQGzqFGM/wePIqunahKl+vDw8L7L5ZoLhULywcHBl7Pezu12T2az2UeVSuVodnZW6hVLBK5Wq2ssy16r1WoKx3FbxWLxVPj8/PxULpcLj4+Ps41G4zdFUUsDgRcXFx2iKC5ZrVa6F9zj8Uzu7e09sdlsE5qmNXmeT6+vr5cGAuNkn883LUlSpAv/xXGcYDhHp7u7uxGEtlqt5vLy8nYqlfpw1pIQpdoQOA2uaZpuOEXo6upqemNjo6dTQ6svME4KBoMz6XQ6jM5VVa3quq4zDHMFobFYTBQE4T3J1ugbjKJ+v39GFMXHNE0z+L1Wq6k8zz8jhRp/i323TCwkWZaxei+jiKqqP/1+f6pQKByRuD0XeGFhYSqbzXYKCbeMruttiqIu1et1LLgtUnhfqcbqlWU5QtP0RLvdbkaj0W1FUZqSJIUtFguNcK/X+3R/f/+zmXNiMDrN5XLH0JWVFXFzc7NTSIFAwJHJZLDgqHq9ruJWM3NOBMY2mM/nEcpi9fI8n0kmk+9Ouuo2mQ4ci83n8wn5fL7nmhOBFUVJMgxzFaHxePzY6b/pPNnhFEX5wbJsfKDOVSqVHtrtdkcikdgxaw641QRBCJbL5Y9Op3NnILBZoZxnnCjV5xE2m4NgDgCsZoFDHu8c9i7seHsRB/oXxhXmLgDcGnI6e8m9AYCXBhiD8NJ2EwCuj+CArwHAt+6lrYywP49/M8MLP/onAAAAAElFTkSuQmCC"},"2d5f":function(t,e,n){var a=n("d1a3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("967d").default;i("8942cacc",a,!0,{sourceMap:!1,shadowMode:!1})},"2ffc":function(t,e,n){"use strict";n.r(e);var a=n("3f46"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"3f46":function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("aa9c"),n("dd2b");var i=a(n("2634")),o=a(n("2fdc")),d={data:function(){return{show:!1,imgurl:[],content:"",tabIndex:1,name:"",phone:""}},methods:{toPage:function(){uni.navigateTo({url:"/pages/users/feedback/list"})},getConfigData:function(){var t=this;return(0,o.default)((0,i.default)().mark((function e(){var n,a;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t,e.next=3,n.$api.getConfigData({dictType:"CONFIG_CUSTOMER_SERVICE_USERID"});case 3:a=e.sent,a.data.content&&n.toChat(a.data.content);case 5:case"end":return e.stop()}}),e)})))()},toChat:function(t){var e=this;return(0,o.default)((0,i.default)().mark((function n(){var a,o,d;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$api.findZegoToken({userId:uni.getStorageSync("userInfo").id,sellerId:t});case 2:a=n.sent,o=a.code,d=a.data,200==o&&(uni.setStorageSync("chatToken",d.token),uni.navigateTo({url:"/pages/users/chat/index?id="+t+"&roomId="+d.roomId}));case 6:case"end":return n.stop()}}),n)})))()},uploadImg:function(){var t=this;uni.chooseImage({count:9-t.imgurl.length,sizeType:["original"],sourceType:["album","camera"],success:function(e){console.log(e);for(var n=0;n