(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/zc/zc"],{"243f":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},a=[]},"3e79":function(t,n,e){},7763:function(t,n,e){"use strict";(function(t,n){var o=e("4ea4");e("d1cd");o(e("66fd"));var a=o(e("78a0"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(a.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},"77a1":function(t,n,e){"use strict";e.r(n);var o=e("fd80"),a=e.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);n["default"]=a.a},"78a0":function(t,n,e){"use strict";e.r(n);var o=e("243f"),a=e("77a1");for(var c in a)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(c);e("d9cc");var i=e("f0c5"),u=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=u.exports},d9cc:function(t,n,e){"use strict";var o=e("3e79"),a=e.n(o);a.a},fd80:function(t,n,e){"use strict";(function(t){var o=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("2eee")),c=o(e("c973")),i=e("82ba"),u=e("1d73"),r=e("cd04"),s={onShareAppMessage:function(t){if(console.log(this.share),"button"===t.from){var n=getCurrentPages(),e=n[n.length-1],o="/"+e.route+"?";for(var a in e.options)o+=a+"="+e.options[a]+"&";var c={path:o,imageUrl:this.share.image_input[0],title:this.share.title};return console.log("data",c),c}},components:{sunuiGrand:function(){e.e("components/sunui-grand/sunui-grand").then(function(){return resolve(e("d678"))}.bind(null,e)).catch(e.oe)}},data:function(){return{tabCurrentIndex:0,height:"",bjsclist:"",mjfklist:"",share:""}},onLoad:function(){},onShow:function(){this.loadData()},onReachBottom:function(){},onReady:function(n){var e=this;t.getSystemInfo({success:function(n){var o=t.createSelectorQuery();o.select(".swiper-box").boundingClientRect(),o.exec((function(t){e.height=n.windowHeight-t[0].top+"px",console.log("打印页面的剩余高度",e.height)}))},fail:function(t){}})},methods:{seave:function(t){this.share=t},clickSearch:function(){t.navigateTo({url:"/pages/product/search"})},changeTab:function(t){this.tabCurrentIndex=t.target.current,this.loadData()},tabClick:function(t){this.tabCurrentIndex=t,this.loadData()},wzdz:function(t){(0,r.article_good)({},t.id).then((function(n){0==t.user_good?(t.user_good=1,t.goods_count+=1):(t.user_good=0,t.goods_count-=1)}))},pldz:function(t){(0,r.reply_good)({},t.id).then((function(n){0==t.user_good?(t.user_good=1,t.goods_count+=1):(t.user_good=0,t.goods_count-=1)}))},navTo:function(n){t.navigateTo({url:n})},loadData:function(t){var n=this;return(0,c.default)(a.default.mark((function t(){return a.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n,0==n.tabCurrentIndex?(0,i.articleList)({page:1,limit:1e3},1).then((function(t){var e=t.data;n.bjsclist=e})).catch((function(t){console.log(t)})):(0,u.reply_list)({page:1,limit:1e3},0).then((function(t){var e=t.data;n.mjfklist=e})).catch((function(t){console.log(t)}));case 2:case"end":return t.stop()}}),t)})))()}}};n.default=s}).call(this,e("543d")["default"])}},[["7763","common/runtime","common/vendor"]]]);