pages-mine-questionDetails.9505b510.js 3.4 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mine-questionDetails"],{"14ba":function(e,t,n){"use strict";n("d3b7"),Object.defineProperty(t,"__esModule",{value:!0}),t.request=t.baseURL=void 0;var o="http://yuanjie.n.broing.cn/api/";t.baseURL=o;var r=function(e){return new Promise((function(t,n){uni.request({url:o+e.url,method:e.method||"GET",data:e.data||{},header:{"Content-Type":"application/x-www-form-urlencoded",token:uni.getStorageSync("token")||""},success:function(e){console.log(e,uni.getStorageSync("token")),1==e.data.code?t(e.data.data):(401==e.data.code&&(uni.navigateTo({url:"/login/login"}),uni.clearStorageSync()),n(e.data.msg))},fail:function(e){console.log(e),n(e)}})}))};t.request=r},"446a":function(e,t,n){"use strict";n.r(t);var o=n("b1b3"),r=n.n(o);for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=r.a},"6e64":function(e,t,n){"use strict";var o;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{},[n("v-uni-rich-text",{attrs:{nodes:e.detail}})],1)},a=[]},a8b1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moneyLog=t.takeMoney=t.doFeedback=t.problemDetail=t.problemList=t.problemSort=t.getContactQrcode=t.logotLogin=t.getUserInfo=void 0;var o=n("14ba"),r=function(){return(0,o.request)({url:"user/index",method:"post",data:{}})};t.getUserInfo=r;var a=function(){return(0,o.request)({url:"user/logout",method:"post",data:{}})};t.logotLogin=a;var u=function(e){return(0,o.request)({url:"common/contact",method:"post",data:{type:e}})};t.getContactQrcode=u;var i=function(){return(0,o.request)({url:"common/problem_sort",method:"post",data:{}})};t.problemSort=i;var c=function(e,t,n){return(0,o.request)({url:"common/problem_list",method:"post",data:{sort_id:e,page:t,pagenum:n}})};t.problemList=c;var s=function(e){return(0,o.request)({url:"common/problem_detail",method:"post",data:{problem_id:e}})};t.problemDetail=s;var l=function(e,t){return(0,o.request)({url:"user/feedback",method:"post",data:{content:e,image:t}})};t.doFeedback=l;var d=function(e){return(0,o.request)({url:"user/user_withdraw",method:"post",data:e})};t.takeMoney=d;var f=function(){return(0,o.request)({url:"user/user_money_log",method:"post"})};t.moneyLog=f},b1b3:function(e,t,n){"use strict";var o=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("96cf");var r=o(n("1da1")),a=n("a8b1"),u={data:function(){return{detail:"",id:""}},onLoad:function(e){this.id=e.id,this.problemDetail()},methods:{problemDetail:function(){var e=this;return(0,r.default)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,(0,a.problemDetail)(e.id);case 3:n=t.sent,e.detail=n.detail.content,console.log("problemDetail",n),t.next=12;break;case 8:t.prev=8,t.t0=t["catch"](0),uni.showToast({title:t.t0,icon:"none"}),console.log("problemDetail",t.t0);case 12:case"end":return t.stop()}}),t,null,[[0,8]])})))()}}};t.default=u},ef75:function(e,t,n){"use strict";n.r(t);var o=n("6e64"),r=n("446a");for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);var u,i=n("f0c5"),c=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,"3a3be07e",null,!1,o["a"],u);t["default"]=c.exports}}]);