(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["my-setting-feedback"],{"0203":function(e,t,a){"use strict";var n=a("d7f9"),s=a.n(n);s.a},"1d9c":function(e,t,a){"use strict";a.r(t);var n=a("3116"),s=a("710e");for(var i in s)"default"!==i&&function(e){a.d(t,e,(function(){return s[e]}))}(i);a("0203");var c,o=a("f0c5"),u=Object(o["a"])(s["default"],n["b"],n["c"],!1,null,"755326c6",null,!1,n["a"],c);t["default"]=u.exports},3116:function(e,t,a){"use strict";var n;a.d(t,"b",(function(){return s})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return n}));var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return"是"==e.XCXIsSelect?a("v-uni-view",{staticClass:"page",staticStyle:{"background-color":"#ffffff"}},[a("v-uni-view",{staticClass:"feedback-title"},[a("v-uni-text",[e._v("问题和意见")]),a("v-uni-text",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.chooseMsg.apply(void 0,arguments)}}},[e._v("快速键入")])],1),a("v-uni-view",{staticClass:"feedback-body"},[a("v-uni-textarea",{staticClass:"feedback-textare",attrs:{placeholder:"请详细描述你的问题和意见..."},model:{value:e.sendDate.feedbackMessage,callback:function(t){e.$set(e.sendDate,"feedbackMessage",t)},expression:"sendDate.feedbackMessage"}})],1),a("v-uni-view",{staticClass:"feedback-title"},[a("v-uni-text",[e._v("QQ/邮箱")])],1),a("v-uni-view",{staticClass:"feedback-body"},[a("v-uni-input",{staticClass:"feedback-input",attrs:{placeholder:"方便我们联系你"},model:{value:e.sendDate.userEmail,callback:function(t){e.$set(e.sendDate,"userEmail",t)},expression:"sendDate.userEmail"}})],1),a("v-uni-button",{staticClass:"feedback-submit",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.send.apply(void 0,arguments)}}},[e._v("提交")])],1):e._e()},i=[]},"710e":function(e,t,a){"use strict";a.r(t);var n=a("9259"),s=a.n(n);for(var i in n)"default"!==i&&function(e){a.d(t,e,(function(){return n[e]}))}(i);t["default"]=s.a},9259:function(e,t,a){"use strict";a("99af"),a("a434"),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 e=this;uni.showActionSheet({itemList:this.msgContents,success:function(t){e.sendDate.feedbackMessage=e.msgContents[t.tapIndex]}})},chooseImg:function(){var e=this;uni.chooseImage({sourceType:["camera","album"],sizeType:"compressed",count:8-this.imageList.length,success:function(t){e.imageList=e.imageList.concat(t.tempFilePaths)}})},chooseStar:function(e){this.sendDate.score=e},previewImage:function(){uni.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(e){0===e.code?(uni.showToast({title:"提交成功"}),setTimeout((function(){uni.navigateBack()}),1e3)):(uni.hideLoading(),uni.showModal({showCancel:!1,title:"提交失败",feedbackMessage:e.msg}))}))):uni.showToast({icon:"none",title:"请填写QQ或邮箱"}):uni.showToast({icon:"none",title:"请输入反馈内容"})}}};t.default=n},"96c3":function(e,t,a){var n=a("24fb");t=n(!1),t.push([e.i,'@font-face{font-family:uniicons;font-weight:400;font-style:normal;src:url(https://img-cdn-qiniu.dcloud.net.cn/fonts/uni.ttf) format("truetype")}uni-page-body[data-v-755326c6]{background-color:#f5f5f5!important}uni-view[data-v-755326c6]{font-size:%?28?%}\r\n/*问题反馈*/.feedback-title[data-v-755326c6]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:%?20?%;color:#8f8f94;font-size:%?28?%}.feedback-star-view.feedback-title[data-v-755326c6]{justify-content:flex-start;margin:0}.feedback-body[data-v-755326c6]{font-size:%?32?%;padding:%?16?%;margin:%?16?%;border-radius:%?16?%;background:#fff\r\n\t/* color: #FFF; */}.feedback-textare[data-v-755326c6]{height:%?200?%;font-size:%?34?%;line-height:%?50?%;width:100%;box-sizing:border-box;padding:%?20?% %?30?% 0}.feedback-input[data-v-755326c6]{font-size:%?32?%;height:%?60?%;\r\n\t/* padding: 15upx 20upx; */line-height:%?60?%}.feedback-submit[data-v-755326c6]{background:#fc0;\r\n\t/* color: #ffffff; */margin:%?20?%;margin-top:%?32?%}body.?%PAGE?%[data-v-755326c6]{background-color:#f5f5f5!important}',""]),e.exports=t},d7f9:function(e,t,a){var n=a("96c3");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var s=a("4f06").default;s("8f44753e",n,!0,{sourceMap:!1,shadowMode:!1})}}]);