(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tools-live-list-index"],{"0195":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-f55d4a30] .u-form-item--right__content__slot > uni-view,[data-v-f55d4a30] .u-form-item--right__content__slot > div,[data-v-f55d4a30] .u-form-item--right__content__slot > span,[data-v-f55d4a30] .u-form-item--right__content__slot > uni-text{width:100%}.toolsMore[data-v-f55d4a30]{padding:%?30?% 0;text-align:center;color:#c1c1c1;font-size:%?22?%}',""]),t.exports=e},"0fc0":function(t,e,a){var n=a("42a0c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("7aa5a4a4",n,!0,{sourceMap:!1,shadowMode:!1})},"1c62":function(t,e,a){"use strict";var n=a("a779"),i=a.n(n);i.a},"1cec":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("e966"),a("aa9c"),a("c223"),a("fd3c");var i=n(a("b7c7")),o=n(a("2634")),r=n(a("2fdc")),s=n(a("2ba3")),c=n(a("3dcd")),u=a("4b6d"),l={components:{Shenhe:s.default,toolsMore:c.default},data:function(){return{current:0,cat:[],isEnd:!1,page:1,list:[],moreStatus:1,is_close:0,anchor_is_recommen:1,anchor_is_follow:0,has_record:-1,playImg:a("3947")}},onLoad:function(){var t=this;return(0,r.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.catList();case 1:case"end":return e.stop()}}),e)})))()},methods:{clearData:function(){this.page=1,this.isEnd=!1,this.list=[],this.getList()},getList:function(){var t=this;return(0,r.default)((0,o.default)().mark((function e(){var a,n,r,s,c,l,d,f,v,m,p,h,g,w;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=t.list,n=t.page,r=t.is_close,s=t.current,c=t.cat,l=t.anchor_is_recommen,d=t.anchor_is_follow,f=t.has_record,v={pageNo:n,pageSize:20,is_close:r,anchor_is_recommen:l,anchor_is_follow:d,has_record:f},c.length&&(v.cat_id=c[s].id),(l||d||f)&&delete v.cat_id,t.moreStatus=2,e.next=7,(0,u.roomList)(v,!0);case 7:m=e.sent,uni.stopPullDownRefresh(),t.moreStatus=1,m.code||(p=m.data,h=p.list,g=p.totalCount,w=parseInt(g),h.length&&(a.push.apply(a,(0,i.default)(h)),t.page=t.page+1),a.length>=w&&(t.isEnd=!0,t.moreStatus=3));case 11:case"end":return e.stop()}}),e)})))()},catList:function(){var t=this;return(0,r.default)((0,o.default)().mark((function e(){var a,n;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,u.catList)({is_show:1,pageSize:9999});case 3:if(a=e.sent,a.code){e.next=10;break}return n=[{id:-2,name:"推荐"},{id:-1,name:"关注"},{id:-3,name:"回放"}],Array.isArray(a.data.list)&&(n=[].concat((0,i.default)(n),(0,i.default)(a.data.list.map((function(t){return{id:t.id,name:t.name}}))))),t.cat=n,t.clearData(),e.abrupt("return");case 10:e.next=14;break;case 12:e.prev=12,e.t0=e["catch"](0);case 14:case"end":return e.stop()}}),e,null,[[0,12]])})))()},handle:function(t,e){var a=this;this.$u.throttle((function(){switch(t){case"changTab":a.current=e;var n=0,i=0,o=-1,r=0;switch(e){case 0:n=1;break;case 1:i=1;break;case 2:o=1,r=1;break}a.anchor_is_recommen=n,a.anchor_is_follow=i,a.has_record=o,a.is_close=r,a.clearData();break;case"goUrl":if(1==e.is_close)return uni.setStorageSync("liveVideo",e.record_url),void a.$utils.toUrl("/tools/live/video/index");a.$utils.toUrl("/tools/live/player/index?id=".concat(e.id));break;default:break}}),500)}},onReachBottom:function(){this.isEnd||this.getList()},onPullDownRefresh:function(){this.clearData()}};e.default=l},"27c2":function(t,e,a){"use strict";var n=a("0fc0"),i=a.n(n);i.a},"385b":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var n={uTabs:a("4271").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return 0==t.shenheStatus?a("v-uni-view",{staticClass:"page"},[a("v-uni-view",{staticClass:"allorder-top"},[a("u-tabs",{attrs:{list:t.cat,current:t.current,"active-color":"#333","inactive-color":"#8C8C8C"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.handle("changTab",e)}.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"list"},t._l(t.list,(function(e){return a("v-uni-view",{key:e.id,staticClass:"item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.handle("goUrl",e)}}},[a("v-uni-view",{staticClass:"img"},[e.pic_url?a("v-uni-image",{staticClass:"image",attrs:{src:e.pic_url,mode:"aspectFill"}}):[t.asyncImgs.live.live_bg?a("v-uni-image",{staticClass:"image",attrs:{src:t.asyncImgs.live.live_bg,mode:"aspectFill"}}):t._e()],a("v-uni-view",{class:["num",e.pre_play_time>0?"on":""]},[a("v-uni-image",{attrs:{src:t.playImg,mode:"aspectFill"}}),e.pre_play_time>0?a("v-uni-view",{staticClass:"test"},[t._v("预告")]):a("v-uni-view",{staticClass:"test"},[t._v(t._s(e.look_num)+" 观看")])],1)],2),a("v-uni-view",{staticClass:"txt"},[a("v-uni-view",{staticClass:"tx"},[a("v-uni-image",{attrs:{src:e.saasUser.avatar,mode:"aspectFill"}})],1),a("v-uni-view",{staticClass:"title"},[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.anchor.name))])],1)],1)})),1),a("toolsMore",{attrs:{status:t.moreStatus}})],1):1==t.shenheStatus?a("Shenhe"):t._e()},o=[]},3947:function(t,e){t.exports="data:image/gif;base64,R0lGODlhIgAiAIABAP///////yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8wNi0wMTowODoyMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NkNCNTYzQjc3QkIwMTFFQTk4RUFDQjlERTVBQzk1MTEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NkNCNTYzQjY3QkIwMTFFQTk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JKZRNqcNN+RqrI+pNkl05XwpsbksvmMTnMKACH5BAUUAAEALAAAAAAiACIAAAJKjI+py+0Po5y02ouz3rz7fwEAeIgiZ5apZo5Gu8HvOp2qHciSztNRj9P9aEDXjojEDYNJ49JYpERnSsg051siqlWS9wsOi8dkSgEAOw=="},"3dcd":function(t,e,a){"use strict";a.r(e);var n=a("afd1"),i=a("d44d");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("1c62");var r=a("828b"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"f55d4a30",null,!1,n["a"],void 0);e["default"]=s.exports},4179:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa");var n={props:{status:{type:Number,default:1}},data:function(){return{}},computed:{getMoreStatus:function(){var t;switch(this.status){case 1:t="loadmore";break;case 2:t="loading";break;case 3:t="nomore";break}return t}}};e.default=n},"42a0c":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-f981a956] .u-form-item--right__content__slot > uni-view,[data-v-f981a956] .u-form-item--right__content__slot > div,[data-v-f981a956] .u-form-item--right__content__slot > span,[data-v-f981a956] .u-form-item--right__content__slot > uni-text{width:100%}.page[data-v-f981a956]{min-height:100vh;background:#fff}.allorder-top[data-v-f981a956]{background:#fff;z-index:9;position:-webkit-sticky;position:sticky;top:0}.menu .item[data-v-f981a956]{display:flex;align-items:center;padding:%?24?% 0;border-bottom:%?2?% solid #f8f8f8}.menu .title[data-v-f981a956]{flex:1;overflow:hidden;margin-right:%?10?%;font-size:%?28?%;color:#1d1d1d}.list[data-v-f981a956]{display:flex;flex-wrap:wrap;padding:%?20?% %?12?% 0}.list .item[data-v-f981a956]{padding:0 %?11?%;width:50%}.list .img[data-v-f981a956]{position:relative;height:%?460?%}.list .img .image[data-v-f981a956]{width:100%;height:100%;display:block;border-radius:%?20?%}.list .num[data-v-f981a956]{position:absolute;left:%?12?%;top:%?12?%;display:flex;align-items:center;background:rgba(0,0,0,.3);border-radius:32px}.list .num.on uni-image[data-v-f981a956]{background:#3266ef}.list .num uni-image[data-v-f981a956]{border-radius:32px;width:%?36?%;height:%?36?%;background:#f0250e}.list .num .test[data-v-f981a956]{padding:0 %?16?%;font-size:%?22?%;color:#fff}.list .txt[data-v-f981a956]{padding-bottom:%?24?%}.list .tx[data-v-f981a956]{position:relative;z-index:2;margin:%?-32?% 0 0 %?24?%;display:inline-block;vertical-align:bottom;border:2px solid #fff;border-radius:32px}.list .tx uni-image[data-v-f981a956]{width:%?64?%;height:%?64?%;border-radius:32px;background:#f2f2f2}.list .title[data-v-f981a956],\n.list .name[data-v-f981a956]{text-overflow:ellipsis;white-space:nowrap}.list .title[data-v-f981a956]{font-size:%?26?%;font-weight:700;color:#262626}.list .name[data-v-f981a956]{font-size:%?24?%;color:#8c8c8c}',""]),t.exports=e},"4b6d":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.anchorGoodsList=function(t,e){return i.default.GET("/live/anchor-goods-list",t,e)},e.anchorHome=function(t,e){return i.default.GET("/live/anchor-home",t,e)},e.anchorList=function(t,e){return i.default.GET("/live/anchor-list",t,e)},e.catList=function(t,e){return i.default.GET("/live/cat-list",t,e)},e.commentAdd=function(t,e){return i.default.GET("/live/comment-add",t,e)},e.followAdd=function(t,e){return i.default.GET("/live/follow-add",t,e)},e.followDel=function(t,e){return i.default.GET("/live/follow-del",t,e)},e.goodsAdd=function(t,e){return i.default.GET("/live/goods-add",t,e)},e.goodsExtList=function(t,e){return i.default.GET("/live/goods-ext-list",t,e)},e.roomAnchorClose=function(t,e){return i.default.GET("/live/room-anchor-close",t,e)},e.roomAnchorEnter=function(t,e){return i.default.GET("/live/room-anchor-enter",t,e)},e.roomDel=function(t,e){return i.default.GET("/live/room-del",t,e)},e.roomGoodsAdd=function(t,e){return i.default.GET("/live/room-goods-add",t,e)},e.roomInfo=function(t,e){return i.default.GET("/live/room-info",t,e)},e.roomList=function(t,e){return i.default.GET("/live/room-list",t,e)},e.roomQrcode=function(t,e){return i.default.GET("/live/room-qrcode",t,e)},e.roomUserEnter=function(t,e){return i.default.GET("/live/room-user-enter",t,e)},e.roomUserGood=function(t,e){return i.default.GET("/live/room-user-good",t,e)},e.roomUserHeartBeat=function(t,e){return i.default.GET("/live/room-user-heart-beat",t,e)},e.roomUserSubscribe=function(t,e){return i.default.GET("/live/room-user-subscribe",t,e)};var i=n(a("cc29"))},a779:function(t,e,a){var n=a("0195");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("3d3bab13",n,!0,{sourceMap:!1,shadowMode:!1})},afd1:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var n={uLoadmore:a("c9bb").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"toolsMore",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("more")}}},[a("u-loadmore",{attrs:{status:t.getMoreStatus,icon:!0}})],1)},o=[]},d44d:function(t,e,a){"use strict";a.r(e);var n=a("4179"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},efe6:function(t,e,a){"use strict";a.r(e);var n=a("1cec"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},f67b:function(t,e,a){"use strict";a.r(e);var n=a("385b"),i=a("efe6");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("27c2");var r=a("828b"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"f981a956",null,!1,n["a"],void 0);e["default"]=s.exports}}]);