liveRoomList.add7e461.js 29 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["liveRoomList"],{"5d51":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAAwtJREFUWEflmT1MVEEQgL+941/BCxqiiOBp1MAJJ8HEBInGAIUGlRDBv8bCxkQjaGXjT6wBjSY2FpYGGwW0QRqgsDGKEbAwEn6CoREBI6Lcrdl7nByHx709ft5dmO7lzex8O29238yuIEhkc50Lm7yIFOVANpAarLPCz5PAIEK24RWPxYnGnkB/wv8gm6oTSNlWj5SXAPsKQ5kd3oMQj/g5dF3UPPutjHzAs7CvkLLU7EirrNfO1PAxBW0At157gJSXVxlCz50QD0VFwxXhy1lBdxSlQaiJeJC4hWytbUSKWr3pWqQt5D0hW+o+Ai6LEHTd9ijgCQu2Ll1Qv/6kApaRWlthtwaB0zLhxyh4PeEDbouD9RkwMRJeN4TG0iK8qxz2HIXJUXj7xAAPJamboeiCAfzpJXxujwh6acCuSnAeMhzPTMOHJhh5txBkaxHkV0NcgvHuSwf0PrcAOC4R3GdhS8Gc8/4u6H0B0gMqBfIqYXvx3PuR99D9FDy+0kBblhZhvzvnYcitANtszTQ2AH3NkHcSHKrgw8jxvhbo79CGDDTQB84shA1ZIGzzHSuwdGdomG/98H1g/nuvF8aH4KuqDMyJHvC+c5C139zIOlqDb4z8NyHmgZMcUHbTxJARqEgJr2/DtKrdFxfzwOk7oHgFK9Cu+wtT5j/saxz4zy/orIedpZB9AMS/DizclwZLIjw1Bu13DbiMPCiogaS08LBKw3JgBRG/DvJPQaY7PHRUAPsx1a95bxXEJ4cGjypghZmyEY7cWPjD8U8h6oBVlAvPx0CEVRq4qiCraPE8jooIb9oN7jOQ7IjyRWePh9zjkHPQ/F5sSYS9M9DTDM4So7PQEUuAdQCDdZcd2JEDJVeXgrS4bWcDjA+HHd988aPaobI7c31Z2KE1FFQ/2HbLVNtkHlj5V92G+zTYZ5tJDaaQqgpW9Xgmuw49YOXVnmgsqOAWKRJ46TWOBjQaUn3gSMCW0SYmDwNj7Lg15g60Y+3KQK2HmLqU8QEbd3Sxc+0VAB0bF4uB22S0X93+BYuRhArKq4LiAAAAAElFTkSuQmCC"},6060:function(t,e,r){},"629e":function(t,e,r){"use strict";r("e721")},"675d":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"live-room",staticStyle:{"min-height":"100vh",overflow:"hidden"}},[n("van-sticky",{staticStyle:{height:"44px",width:"100%"},style:{height:"1"!=t.params.liveState?"88px":"44px"},attrs:{"offset-top":"0"}},[n("van-tabs",{staticClass:"van-hairline--bottom",attrs:{color:"#01C1B5","line-width":"16px","line-height":"4px"},on:{change:t.onSearch},model:{value:t.params.liveState,callback:function(e){t.$set(t.params,"liveState",e)},expression:"params.liveState"}},[n("van-tab",{attrs:{name:"1",title:"直播中"}}),n("van-tab",{attrs:{name:"0",title:"未开始"}}),n("van-tab",{attrs:{name:"2",title:"已结束"}})],1),"1"!=t.params.liveState?n("div",{staticClass:"titleWrap week",staticStyle:{height:"22px","line-height":"22px",padding:"13px 0.28rem"},on:{click:function(e){t.showCalendar=!0}}},[n("van-row",{staticStyle:{color:"#01c1b5"}},[n("van-col",{staticClass:"flex",attrs:{span:"10"}},[n("img",{staticStyle:{width:"14px",height:"14px","margin-right":"8px"},attrs:{src:r("f09d")}}),t._v("\n "+t._s(t.params.startTime))]),n("van-col",{staticClass:"flex",staticStyle:{height:"22px"},attrs:{span:"4"}},[n("span",{staticClass:"calendar-line"})]),n("van-col",{staticClass:"flex",attrs:{span:"10"}},[n("img",{staticStyle:{width:"14px",height:"14px","margin-right":"8px"},attrs:{src:r("f09d")}}),t._v("\n "+t._s(t.params.endTime)+"\n ")])],1)],1):t._e()],1),n("van-calendar",{attrs:{minDate:t.minDate,color:"#01C1B5","default-date":[t.dayjs(t.params.startTime).toDate(),t.dayjs(t.params.endTime).toDate()],type:"range","first-day-of-week":1,"get-container":"body"},on:{confirm:t.onConfirm},model:{value:t.showCalendar,callback:function(e){t.showCalendar=e},expression:"showCalendar"}}),t.dataShow?n("van-list",{key:"ing",staticStyle:{"margin-top":"0.15rem"},attrs:{finished:t.finished,"finished-text":" ","immediate-check":!1},on:{load:function(e){return t.getList()}},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.dataList,(function(t,e){return n("div",{key:e},[n("live-room",{attrs:{item:t}})],1)})),0):n("m-empty",{attrs:{msg:"暂无数据"}})],1)},o=[],i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("van-cell-group",{staticClass:"cell-group",attrs:{border:!1}},[n("van-cell",{staticStyle:{"border-radius":"0.1rem !important"},attrs:{center:""},scopedSlots:t._u([{key:"title",fn:function(){return[n("div",{staticClass:"title"},[n("img",{attrs:{src:r("5d51"),alt:""}}),n("p",{staticClass:"van-ellipsis",staticStyle:{width:"2.8rem"}},[t._v("\n "+t._s(t.item.roomTitle)+"\n ")])])]},proxy:!0},{key:"label",fn:function(){return[n("div",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"}},[t._v("直播内容:"+t._s(t.item.liveRemark))]),n("br"),1!=t.item.liveState?[t._v(" 直播时间:"+t._s(t.item.liveStartTime)+" ")]:t._e()]},proxy:!0}])}),n("van-cell",{staticClass:"userInfo",staticStyle:{"border-radius":"0.1rem !important"},attrs:{center:""},scopedSlots:t._u([{key:"title",fn:function(){return[n("div",{staticClass:"username"},[n("img",{attrs:{src:r("c558")}}),n("span",[t._v("主讲人:"+t._s(t.item.speakerName))]),2!=t.item.liveState?n("div",{staticClass:"tag"},["mobile"==t.item.os?n("img",{attrs:{src:r("9e70")}}):t._e(),"pc"==t.item.os?n("img",{attrs:{src:r("9e70")}}):t._e(),"client"==t.item.os?n("img",{attrs:{src:r("f997")}}):t._e(),t._v("\n "+t._s("client"==t.item.os?"电脑直播":"")+"\n "+t._s("pc"==t.item.os?"web直播":"")+"\n "+t._s("mobile"==t.item.os?"手机直播":"")+"\n ")]):t._e()])]},proxy:!0}])},[1==t.item.liveState?n("van-button",{attrs:{round:"",size:"small",color:"#FF806F"},on:{click:t.onDetail}},[n("img",{staticClass:"svg",attrs:{src:r("9dd6"),alt:""}}),t._v("\n 开始直播\n ")]):t._e(),2==t.item.liveState?n("van-button",{staticStyle:{"min-width":"68px"},attrs:{round:"",size:"small",type:"info"},on:{click:t.onDetail}},[t._v(" 查看回放 ")]):t._e()],1)],1),n("van-popup",{staticStyle:{width:"90%"},attrs:{round:"",closeable:""},model:{value:t.videoStatus,callback:function(e){t.videoStatus=e},expression:"videoStatus"}},[t.videoStatus?n("preview-video",{attrs:{videoList:t.videoList}}):t._e()],1)],1)},a=[],c=r("ddf4"),s=r("e7ae");function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(D){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new L(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=h(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(D){return{type:"throw",arg:D}}}t.wrap=s;var f={};function d(){}function p(){}function v(){}var y={};c(y,o,(function(){return this}));var m=Object.getPrototypeOf,A=m&&m(m(j([])));A&&A!==e&&r.call(A,o)&&(y=A);var g=v.prototype=d.prototype=Object.create(y);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(o,i,a,c){var s=h(t[o],t,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==u(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,c)}))}c(s.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function S(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=h(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function j(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return p.prototype=v,c(g,"constructor",v),c(v,"constructor",p),p.displayName=c(v,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,c(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},w(b.prototype),c(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new b(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(g),c(g,a,"Generator"),c(g,o,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=j,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function h(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(u){return void r(u)}c.done?e(s):Promise.resolve(s).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){h(i,n,o,a,c,"next",t)}function c(t){h(i,n,o,a,c,"throw",t)}a(void 0)}))}}var d={components:{previewVideo:s["default"]},props:["item"],data:function(){return{videoStatus:!1,videoList:[],src:""}},methods:{onDetail:function(){var t=f(l().mark((function t(){var e;return l().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=this.item,1==e.liveState?"mobile"!==e.os?this.$toast("请在相关客户端进行直播"):Object(c["b"])({api:"enterLiveRoom",content:{roomId:e.roomUid,serviceProvider:e.serviceProvider}}):2==e.liveState&&(this.$router.push("/previewVideo?roomUid="+e.roomUid),this.videoStatus=!0);case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},p=d,v=(r("629e"),r("2877")),y=Object(v["a"])(p,i,a,!1,null,"d7211e36",null),m=y.exports,A=r("d678"),g=r("70e7"),w=r("5a0c"),b=r.n(w);function S(t){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(t)}var x=["startTime","endTime"];function E(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */E=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(D){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new L(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=w(a,r);if(c){if(c===l)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=u(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(D){return{type:"throw",arg:D}}}t.wrap=s;var l={};function h(){}function f(){}function d(){}var p={};c(p,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(j([])));y&&y!==e&&r.call(y,o)&&(p=y);var m=d.prototype=h.prototype=Object.create(p);function A(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function g(t,e){function n(o,i,a,c){var s=u(t[o],t,i);if("throw"!==s.type){var l=s.arg,h=l.value;return h&&"object"==S(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(h).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,c)}))}c(s.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function j(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return f.prototype=d,c(m,"constructor",d),c(d,"constructor",f),f.displayName=c(d,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,a,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},A(g.prototype),c(g.prototype,i,(function(){return this})),t.AsyncIterator=g,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new g(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},A(m),c(m,a,"Generator"),c(m,o,(function(){return this})),c(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=j,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function L(t){return D(t)||O(t)||N(t)||j()}function j(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function D(t){if(Array.isArray(t))return G(t)}function P(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?P(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t,e){if(null==t)return{};var r,n,o=Q(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Q(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}function B(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(u){return void r(u)}c.done?e(s):Promise.resolve(s).then(n,o)}function U(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){B(i,n,o,a,c,"next",t)}function c(t){B(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Y(t,e){return F(t)||I(t,e)||N(t,e)||R()}function R(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(t,e){if(t){if("string"===typeof t)return G(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?G(t,e):void 0}}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function I(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(n=r.next()).done);a=!0)if(i.push(n.value),e&&i.length===e)break}catch(s){c=!0,o=s}finally{try{a||null==r["return"]||r["return"]()}finally{if(c)throw o}}return i}}function F(t){if(Array.isArray(t))return t}var V=b()().startOf("month").format("YYYY-MM-DD"),K=b()().endOf("month").format("YYYY-MM-DD"),H={components:{liveRoom:m,MEmpty:A["a"]},data:function(){var t=this.$route.query,e=sessionStorage.getItem("liveRoomListTab");return{minDate:new Date(2e3,0,1),showCalendar:!1,dataList:[],dataLoading:!1,dataShow:!0,loading:!1,finished:!1,params:{endTime:K,startTime:V,page:1,rows:20,liveState:0==t.t?"0":e||"1"},hiddenProperty:null,pageStatusTimer:null}},mounted:function(){this.hiddenProperty="hidden"in document?"hidden":"webkitHidden"in document?"webkitHidden":"mozHidden"in document?"mozHidden":null,this.visibilityChangeEvent=this.hiddenProperty.replace(/hidden/i,"visibilitychange"),document.addEventListener(this.visibilityChangeEvent,this.onVisibilityChange),document.title="直播间",this.getList()},methods:{dayjs:b.a,onVisibilityChange:function(){var t=this;document[this.hiddenProperty]?this.pageStatusTimer=setInterval((function(){document[t.hiddenProperty]||(clearInterval(t.pageStatusTimer),t.onSearch())}),1e3):(clearInterval(this.pageStatusTimer),this.onSearch())},onConfirm:function(t){var e=Y(t,2),r=e[0],n=e[1];this.params.startTime=b()(r).format("YYYY-MM-DD"),this.params.endTime=b()(n).format("YYYY-MM-DD"),this.showCalendar=!1,this.onSearch()},onSearch:function(){sessionStorage.setItem("liveRoomListTab",this.params.liveState),this.dateShow=!0,this.loading=!1,this.finished=!1,this.params.page=1,this.dataList=[],this.getList()},getList:function(){var t=U(E().mark((function t(){var e,r,n,o,i,a,c,s;return E().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,!this.dataLoading){t.next=3;break}return t.abrupt("return");case 3:return this.dataLoading=!0,r=this.params,n=r.startTime,o=r.endTime,i=T(r,x),a=C({},i),"1"!=this.params.liveState&&(a.startTime=n,a.endTime=o),t.next=9,Object(g["a"])(a);case 9:if(c=t.sent,this.dataLoading=!1,s=c.data,this.loading=!1,!(this.dataList.length>0&&1==s.pageNo)){t.next=15;break}return t.abrupt("return");case 15:(e=this.dataList).push.apply(e,L(s.rows||[])),this.params.page>=Math.ceil(s.total/this.params.rows)&&(this.finished=!0),this.params.page++,this.dataList.length<=0?this.dataShow=!1:this.dataShow=!0,t.next=23;break;case 21:t.prev=21,t.t0=t["catch"](0);case 23:case"end":return t.stop()}}),t,this,[[0,21]])})));function e(){return t.apply(this,arguments)}return e}()},beforeDestroy:function(){clearInterval(this.pageStatusTimer),document.removeEventListener(this.visibilityChangeEvent,this.onVisibilityChange)}},W=H,M=(r("bec3"),Object(v["a"])(W,n,o,!1,null,"14d88cac",null));e["default"]=M.exports},"9dd6":function(t,e,r){t.exports=r.p+"img/audio.8f8f3d19.svg"},"9e70":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAVNJREFUSEvtlj0vBFEUhp93RCKRLTQkIkEpdEpKrd+gsp0dVBTMHQoqzOpW5TdolZQ6okQiEpotRCKRnSO+Nlbszo7YzRZzktOdk+fe9z2554o2h9rMo7OAtrk4RsXmQH3JSliZLh1qbe+yUW3dG5pbmoH4COhJhlUrnsGblds9rtdTHxj65xjjwONnJnFzQA5xoSCaSA90fgXwkDkFxTCJZmEhwOSAWC7q+gvQ3pvSA5GL6irXwEM/A9bY9M3DTNLfB9hcNjS1ymRD86VHZ7805haGkDcF8sBiLD6V2799O31LPDTnXwEj38blWi4abR0wXDzBbKoKlE4V7E23DpjPdzPYO1yV9O7pRqXSy38B74F+4Ax0lrSAwSaBt3yQiwbSL+CgsIK0lQz6UWG2qrC4nR5oJjaWC1g8DzTxa6OMvAPWd4qSPpb3L9FZ/9LUcjbR8AqMPgws3MVpOgAAAABJRU5ErkJggg=="},bec3:function(t,e,r){"use strict";r("6060")},c558:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAeCAYAAAA2Lt7lAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAHgAAAABtdYANAAADQUlEQVRIDa1WTWjUUBD+Jo0VlVoRxEI9WEGw2pNolfoDgnhTaasHD5Z6Kx5sl4qodenWtYo/y3ryqKIoWLQgHoX6B1ZrPYluvQiKaG+14qGyScZ5bze72c3L5uKDJDPffDNf8vLeJISYwZyykJ4/DvZ6wGjVdEIOZN1BsvEGUcqrVYJqBflSYh3+eneF0xHBe43F1lE6k/0SEYcVFeCxVL0Uf1yjuErtUBzNjSgUKYBPc8OS0xaRF4TbitwgVrKNAjw2VgdQX4kVa1BfISdMNArg87u1AK8M06MQ4eqccNwswM7SMDUGicgxC9TXfwPBjSlZDiuuyjEMowCdvjwv3AkDPwqaKOaE4kYBzVpkn5DrQigjDCygwA1HBIkUoLOZGZkmESHHmKlBiQlHcyNINXeyyuHzg1vB7i0wb6qoQfQRddRL57LTFXiVowWYmTA6uA0ut4JY9oCMXStu056UvnsdT5/cAjiFXgQ7h+S1aSJiReVnKRuvfvUqG0yuCOcwlHmr4sTZgRWYh7QE3q0J/onsfTSceeq76soXEu3qKnc9pa7+4HRiL1yvgiusl2jEQQu/6UqouMpk95BfQLsj/YflCZ+rg5UdHK7XHXQLttyw1JaX7B0IBwUh7vS3P48MDAnyQN7DEn2IXcTElXZO6DTWYG+/JT1+tTmIVci9KU4bHxNeeUFoWzA1Rud2RtYAmiKXqU4uTZP1UPsVpyLmWIbpKRNrCwBdegrqEBYQTK8ueF3lcmErTqBJPpc79Fon+lpKF1tjamkDa0q4wYgTkDWAwmpiPCrl+7ZjWj0lljbi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