(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pagesA-profile-feedback-feedback"],{"1b2e":function(t,a,e){"use strict";e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return n})),e.d(a,"a",(function(){}));var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"feedback"},[e("v-uni-view",{staticClass:"feedback_area"},[e("v-uni-textarea",{attrs:{placeholder:"请输入你需要反馈的内容"},model:{value:t.content,callback:function(a){t.content=a},expression:"content"}})],1),e("v-uni-view",{staticClass:"upload"},[e("v-uni-view",{staticClass:"upload_title"},[t._v("上传图片")]),e("v-uni-view",{staticClass:"tup"},[t._l(t.imgArr,(function(a,i){return 0!==t.imgArr.length?e("v-uni-view",{key:i,staticClass:"pian"},[e("v-uni-image",{attrs:{src:a.url}})],1):t._e()})),e("v-uni-view",{staticClass:"tu",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.upload.apply(void 0,arguments)}}},[e("v-uni-image",{attrs:{src:t.BASE_IMG_URL+"jia.png",mode:"aspectFill"}}),e("v-uni-view",[t._v("选择图片")])],1)],2)],1),e("v-uni-view",{staticClass:"btn_g bg-blue button-hover round",attrs:{id:"btn"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.submitFeedback.apply(void 0,arguments)}}},[t._v("提交")])],1)},n=[]},3448:function(t,a,e){var i=e("c86c");a=i(!1),a.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.feedback_area[data-v-6c8cf461]{background-color:#fff;padding:%?30?%;margin-bottom:%?20?%}.feedback_area uni-textarea[data-v-6c8cf461]{width:100%;height:%?300?%;background:#f8f8f8;box-sizing:border-box;padding:%?24?%;border-radius:%?20?%}.upload[data-v-6c8cf461]{background-color:#fff;padding:%?30?%}.upload .upload_title[data-v-6c8cf461]{font-size:%?28?%;margin-bottom:%?30?%}.upload .tup[data-v-6c8cf461]{display:flex;flex-wrap:wrap}.upload .tup .tu[data-v-6c8cf461]{width:%?200?%;height:%?200?%;border-radius:%?5?%;background:#ededed;text-align:center;margin:%?10?%}.upload .tup .tu uni-image[data-v-6c8cf461]{width:30%;height:30%;margin:0 auto;margin-top:%?50?%;z-index:9}.upload .tup .pian[data-v-6c8cf461]{border-radius:%?5?%;width:%?200?%;height:%?200?%;float:left;margin:%?10?%}.upload .tup .pian uni-image[data-v-6c8cf461]{width:100%;height:100%}.fllow_form[data-v-6c8cf461]{display:flex;justify-content:space-between;height:%?100?%;line-height:%?100?%;background-color:#fff;border-bottom:%?1?% solid #eaeaea;padding:0 %?24?%;margin:%?20?% 0;font-size:%?28?%}.fllow_form .form_right[data-v-6c8cf461]{display:flex;color:#999;font-size:%?24?%}.fllow_form .form_input uni-input[data-v-6c8cf461]{height:%?100?%;line-height:%?100?%;text-align:right;margin-right:%?10?%}.feedback_back[data-v-6c8cf461]{padding:0 %?30?%;line-height:%?30?%}#btn[data-v-6c8cf461]{font-size:%?26?%;color:#fff;text-align:center;line-height:%?88?%;width:%?500?%;height:%?88?%;background:#008eff;border-radius:%?29?%;margin:%?30?% auto}',""]),t.exports=a},"479c":function(t,a,e){"use strict";e("6a54"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,e("bf0f"),e("2797"),e("aa9c");var i=e("af8c"),n=e("3a07"),o={data:function(){return{BASE_IMG_URL:n.BASE_IMG_URL,fileList:[],content:"",imgArr:[],percent:0,loading:!1,disabled:!1}},onLoad:function(){},methods:{upload:function(){var t=this;uni.chooseImage({count:9,sizeType:["compressed"],success:function(a){var e=a.tempFilePaths;e.forEach((function(a){t.uploadFile(a)}))}})},uploadFile:function(t){var a=this;uni.uploadFile({url:i.uploadUrl,name:"file",header:{token:uni.getStorageSync("token")},filePath:t,success:function(t){var e=JSON.parse(t.data);a.imgArr.push(e.data)},fail:function(t){console.log(t)}})},submitFeedback:function(){var t=[];this.imgArr.forEach((function(a){t.push(a.id)}));var a={content:this.content,file:t.join(",")};(0,i.netFeedBack)(a).then((function(t){uni.showToast({title:t.msg,icon:"none"}),setTimeout((function(){uni.navigateBack({delta:1})}),2e3)}))}}};a.default=o},6881:function(t,a,e){var i=e("3448");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("967d").default;n("50564649",i,!0,{sourceMap:!1,shadowMode:!1})},"812c":function(t,a,e){"use strict";var i=e("6881"),n=e.n(i);n.a},b655:function(t,a,e){"use strict";e.r(a);var i=e("1b2e"),n=e("ded2");for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(o);e("812c");var c=e("828b"),u=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"6c8cf461",null,!1,i["a"],void 0);a["default"]=u.exports},ded2:function(t,a,e){"use strict";e.r(a);var i=e("479c"),n=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(o);a["default"]=n.a}}]);