(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/living"],{"3b13":function(n,t,e){"use strict";e.r(t);var o=e("9500"),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(a);t["default"]=i.a},"3dee":function(n,t,e){"use strict";(function(n,t){var o=e("4ea4");e("12d5");o(e("66fd"));var i=o(e("7568"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(i.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},"5d60":function(n,t,e){"use strict";var o=e("b6b0"),i=e.n(o);i.a},7568:function(n,t,e){"use strict";e.r(t);var o=e("b0fb"),i=e("3b13");for(var a in i)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(a);e("5d60");var r=e("f0c5"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=c.exports},9500:function(n,t,e){"use strict";(function(n){var o=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=e("c46b"),a=e("4d39"),r=e("b7b7"),c=o(e("0908")),u={onShareAppMessage:function(n){if(console.log(this.share),"button"===n.from){var t=getCurrentPages(),e=t[t.length-1],o="/"+e.route+"?";for(var i in e.options)o+=i+"="+e.options[i]+"&";var a={path:o,imageUrl:this.share.cover_img,title:this.share.name};return console.log("data",a),a}},data:function(){return{list:[],shareShow:!1,share:""}},onLoad:function(){this.loadData()},onShow:function(){},onReachBottom:function(){},onReady:function(){},methods:{loadData:function(){var n=this;(0,i.getZbList)({page:1,limit:50}).then((function(t){var e=t.data;e.forEach((function(n){n.add_time=(0,r.getTime)(n.start_time)})),n.list=e,console.log(e)}))},shareLink:function(n){console.log("dainjideniang"),this.share=n},copy:function(){var n=this;(0,a.short_link)({url:"pages/user/living"}).then((function(t){var e=t.data;console.log(e),n.comfirm(e.link)}))},comfirm:function(t){console.log(t);var e=(0,c.default)(t);!1===e?n.showToast({title:"不支持"}):n.showToast({title:"复制成功",icon:"none"})},cancel:function(){this.shareShow=!1},navTo:function(t){var e=t.roomid,o=encodeURIComponent(JSON.stringify({path:"pages/index/index",pid:1}));n.navigateTo({url:"plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=".concat(e,"&custom_params=").concat(o)})}}};t.default=u}).call(this,e("543d")["default"])},b0fb:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return o}));var o={uEmpty:function(){return e.e("uview-ui/components/u-empty/u-empty").then(e.bind(null,"e5d5"))}},i=function(){var n=this.$createElement,t=(this._self._c,this.list.length);this.$mp.data=Object.assign({},{$root:{g0:t}})},a=[]},b6b0:function(n,t,e){}},[["3dee","common/runtime","common/vendor"]]]);