(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["my/setting/feedback"],{340:function(e,t,n){"use strict";(function(e){n(5);s(n(4));var t=s(n(341));function s(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n(1)["createPage"])},341:function(e,t,n){"use strict";n.r(t);var s=n(342),i=n(344);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n(346);var a,c=n(11),r=Object(c["default"])(i["default"],s["render"],s["staticRenderFns"],!1,null,null,null,!1,s["components"],a);r.options.__file="my/setting/feedback.vue",t["default"]=r.exports},342:function(e,t,n){"use strict";n.r(t);var s=n(343);n.d(t,"render",(function(){return s["render"]})),n.d(t,"staticRenderFns",(function(){return s["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return s["recyclableRender"]})),n.d(t,"components",(function(){return s["components"]}))},343:function(e,t,n){"use strict";var s;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return a})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return s}));var i=function(){var e=this,t=e.$createElement;e._self._c},o=!1,a=[];i._withStripped=!0},344:function(e,t,n){"use strict";n.r(t);var s=n(345),i=n.n(s);for(var o in s)"default"!==o&&function(e){n.d(t,e,(function(){return s[e]}))}(o);t["default"]=i.a},345:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{XCXIsSelect:"是",msgContents:["界面显示错乱","启动缓慢，卡出翔了","UI无法直视，丑哭了","偶发性崩溃"],stars:[1,2,3,4,5],imageList:[],sendDate:{score:5,feedbackMessage:"",userEmail:""}}},onLoad:function(){this.XCXIsSelect=this.$queue.getData("XCXIsSelect")?this.$queue.getData("XCXIsSelect"):"是"},methods:{close:function(e){this.imageList.splice(e,1)},chooseMsg:function(){var t=this;e.showActionSheet({itemList:this.msgContents,success:function(e){t.sendDate.feedbackMessage=t.msgContents[e.tapIndex]}})},chooseImg:function(){var t=this;e.chooseImage({sourceType:["camera","album"],sizeType:"compressed",count:8-this.imageList.length,success:function(e){t.imageList=t.imageList.concat(e.tempFilePaths)}})},chooseStar:function(e){this.sendDate.score=e},previewImage:function(){e.previewImage({urls:this.imageList})},send:function(){console.log(JSON.stringify(this.sendDate)),this.sendDate.feedbackMessage?this.sendDate.userEmail?(this.$queue.showLoading("加载中..."),this.$Request.postJson("/app/userinfo/userFeedback",{userEmail:this.sendDate.userEmail,feedbackMessage:this.sendDate.feedbackMessage,feedbackType:1}).then((function(t){0===t.code?(e.showToast({title:"提交成功"}),setTimeout((function(){e.navigateBack()}),1e3)):(e.hideLoading(),e.showModal({showCancel:!1,title:"提交失败",feedbackMessage:t.msg}))}))):e.showToast({icon:"none",title:"请填写QQ或邮箱"}):e.showToast({icon:"none",title:"请输入反馈内容"})}}};t.default=n}).call(this,n(1)["default"])},346:function(e,t,n){"use strict";n.r(t);var s=n(347),i=n.n(s);for(var o in s)"default"!==o&&function(e){n.d(t,e,(function(){return s[e]}))}(o);t["default"]=i.a},347:function(e,t,n){}},[[340,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/my/setting/feedback.js.map