(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/qushi/quDet"],{"2aaf":function(n,t,e){"use strict";e.r(t);var o=e("6d68"),i=e("c094");for(var u in i)["default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(u);var s=e("f0c5"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"751e2e93",null,!1,o["a"],void 0);t["default"]=c.exports},"3c9c":function(n,t,e){"use strict";(function(n){var t=e("4ea4");e("0178");t(e("66fd"));var o=t(e("2aaf"));wx.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("543d")["createPage"])},"6d68":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return o}));var o={uniPopup:function(){return e.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(e.bind(null,"118f"))},uniPopupDialog:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog")]).then(e.bind(null,"3234"))}},i=function(){var n=this.$createElement;this._self._c},u=[]},c094:function(n,t,e){"use strict";e.r(t);var o=e("d5c0"),i=e.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(u);t["default"]=i.a},d5c0:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{quId:"",quDet:{},commentList:[],onCommentId:""}},onLoad:function(n){this.quId=n.id,this.getQuDet(),this.getComment()},methods:{dianZan:function(n){var t=this;this.axiosFromToken("POST","user/fabulous",{interesting_id:n},"加载中").then((function(n){t.showtt(n.msg),"点赞成功"==n.msg?t.quDet.fabulous_num++:t.quDet.fabulous_num--}))},writeComment:function(n){var t=this;this.axiosFromToken("POST","user/comment",{interesting_id:this.quId,pid:this.onCommentId,content:n},"加载中").then((function(n){t.showtt(n.msg),t.close(),t.getComment(),1==n.code&&t.quDet.comment_num++}))},close:function(){this.$refs.writeComment.close()},openComment:function(n){this.onCommentId=n,this.$refs.writeComment.open()},getQuDet:function(){var n=this;this.axiosFromToken("POST","index/interesting",{id:this.quId},"加载中").then((function(t){n.quDet=t.data}))},getComment:function(){var n=this;this.axiosFromToken("POST","index/comment_sel",{interesting_id:this.quId},"加载中").then((function(t){n.commentList=t.data}))}}}}},[["3c9c","common/runtime","common/vendor"]]]);