You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
13 KiB
1 lines
13 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-subPages-live-newLive"],{"055e":function(t,e,o){"use strict";var i=o("12ca"),n=o.n(i);n.a},"0f1d":function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{}},mounted:function(){},computed:{loadImage:function(){var t=this,e=t.$store.state.appInfo.loading;return e||""}}};e.default=i},"12ca":function(t,e,o){var i=o("3683");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o("4f06").default;n("ef2aa2ae",i,!0,{sourceMap:!1,shadowMode:!1})},"219d":function(t,e,o){"use strict";o.r(e);var i=o("95f8"),n=o("a94a");for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("6e53");var r,s=o("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"39146c58",null,!1,i["a"],r);e["default"]=l.exports},"2b98":function(t,e,o){"use strict";var i;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"loadMore-box",style:{backgroundColor:t.bgc}},[t.isMore?t._e():[o("v-uni-view",{staticClass:"more-status dis-flex flex-y-center flex-x-center"},[o("v-uni-view",{staticClass:"loadingImg m-right10",style:{"background-image":"url("+t.loadingSrc+")"}}),o("v-uni-view",{staticClass:"f-28 col-3"},[t._v("正在加载")])],1)],t.isMore?[o("v-uni-view",{staticClass:"not-more-status dis-flex flex-y-center flex-x-center"},[o("v-uni-view",{staticClass:"cut-off cut-off-left"}),o("v-uni-view",{staticClass:"not-moreTitle col-9 f-28 m-left-right-20",staticStyle:{flex:"0.35","text-align":"center"}},[t._v(t._s(1!=t.languageStatus?"暂无数据":"기록이 없습니다"))]),o("v-uni-view",{staticClass:"cut-off cut-off-right"})],1)]:t._e()],2)},a=[]},3683:function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.loadMore-box[data-v-29eb8a1e]{background-color:#fff}.more-status .loadingImg[data-v-29eb8a1e]{width:%?38?%;height:%?38?%;background-size:%?38?% %?38?%;background-repeat:no-repeat;-webkit-animation:loading-data-v-29eb8a1e 2s linear 2s infinite;animation:loading-data-v-29eb8a1e 2s linear 2s infinite}@-webkit-keyframes loading-data-v-29eb8a1e{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-data-v-29eb8a1e{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.not-more-status .cut-off[data-v-29eb8a1e]{flex:0.3;height:%?2?%;background-color:#eee}',""]),t.exports=e},"3f74":function(t,e,o){"use strict";var i=o("4ea4");o("d81d"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(o("2c7c")),a=i(o("d398")),r=i(o("c2a2")),s=i(o("8f6e")),l={components:{loadMore:a.default,Loadlogo:r.default,PopManager:s.default},data:function(){return{loadingMore:!1,loadlogo:!1,swiperList:[{thumb:""}],duration:500,interval:2e3,page:1,liveList:[],bgc:"",count:100,outtime:null,oneTime:!0,qrimg:"",listlength:0,videoshow:!1,videoContext:null,videolint:[],videoindex:0,videopage:1,videototal:0,roomid:0}},onLoad:function(){console.log("onLoad")},onReady:function(){this.videoContext=uni.createVideoContext("myvideo"),this.videoContext.requestFullScreen()},onShow:function(){if(console.log("onShow"),this.oneTime)return this.getliveList(),void(this.oneTime=!1);1==this.page&&this.getliveList(),this.timesout()},methods:{cloce:function(){this.videoshow=!1,this.videopage=1,this.videoindex=0},downvideo:function(){if(this.videoindex==this.videolint.length-1){if(this.videototal==this.videopage)return;this.videopage++,this.videoindex=0,this.getpagelive()}else this.videoindex++},topvideo:function(){0==this.videoindex?(this.videopage--,this.videoindex=0,this.getpagelive()):this.videoindex--},getpagelive:function(){var t=this,e={page:this.videopage,room_id:this.roomid};n.default._post_form("&p=wxapp&do=playBack",e,(function(e){t.videolint=e.data.live_replay}))},videoControl:function(t){console.log(t),t.detail.fullScreen?this.videoContext.play():this.videoContext.pause()},numgolive:function(t){n.default.navigationTo({url:"pages/subPages/livePlayer/livePlayer?id=".concat(t.roomid)})},golive:function(t){var e=this;if(103==t.live_status){var o={page:this.videopage,room_id:t.roomid};this.roomid=t.roomid,n.default._post_form("&p=wxapp&do=playBack",o,(function(t){e.videototal=t.data.total_page,e.videolint=t.data.live_replay})),this.videoshow=!0,this.videoContext.requestFullScreen({direction:0})}else n.default.navigationTo({url:"pages/subPages/livePlayer/livePlayer?id=".concat(t.roomid)})},goodsUrl:function(t){console.log(t.url),clearInterval(this.outtime),n.default.navigationTo({url:t.url})},goimgUrl:function(t){clearInterval(this.outtime),n.default.navigationTo({url:t.link})},timesout:function(){var t=this;this.outtime=setInterval((function(){var e=(new Date).getTime();t.liveList.map((function(o,i){var n=o.starttime,a=n-e/1e3,r=Math.floor(a/86400),s=Math.floor(a%86400/3600),l=Math.floor(a%86400%3600/60),u=Math.floor(a%86400%3600%60);t.$set(o,"newtime",(r>0?r+"天":"")+s+"时"+l+"分"+u+"秒"),a<0&&t.$set(o,"newtime","已结束"),console.log(o.newtime)}))}),1e3)},getliveList:function(){var t=this;n.default._post_form("&p=wxapp&do=newLiveList&page=".concat(this.page),{},(function(e){console.log(e),t.qrimg=e.data.qrimg,t.loadlogo=!0,t.loadingMore=!0}))}},onHide:function(){console.log("onHide"),clearInterval(this.outtime)},onUnload:function(){console.log("onUnload"),clearInterval(this.outtime)},onPullDownRefresh:function(){this.page=1,this.count=!1,this.getliveList()},onReachBottom:function(){console.log(this.page,this.count),this.loadingMore=!1,this.page==this.count?this.loadingMore=!0:(this.page++,this.getliveList(!0))}};e.default=l},"60c9":function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.bgcr[data-v-39146c58]{background:-webkit-linear-gradient(right,#999,#999);\r\n /* Safari 5.1 - 6.0 */background:-o-linear-gradient(right,#999,#999);\r\n /* Opera 11.1 - 12.0 */background:-moz-linear-gradient(right,#999,#999);\r\n /* Firefox 3.6 - 15 */background:linear-gradient(right,#999,#999)\r\n /* 标准的语法(必须放在最后) */}.newLive[data-v-39146c58]{height:100vh;overflow:auto;padding-bottom:%?20?%}.qurl[data-v-39146c58]{position:absolute;left:50%;top:20%;-webkit-transform:translate(-50%);transform:translate(-50%)}.UpshowNum[data-v-39146c58]{height:%?100?%;font-size:%?24?%;text-align:center;line-height:%?100?%;width:%?100?%;position:absolute;left:%?10?%;border-radius:%?7?%;color:#fff;top:0;z-index:100;background-color:rgba(0,0,0,.5)}.UpshowNums[data-v-39146c58]{height:%?100?%;font-size:%?18?%;text-align:left;line-height:%?150?%;width:%?100?%;position:absolute;left:%?20?%;border-radius:%?7?%;color:rgba(0,0,0,.5);top:0;z-index:100}.advance[data-v-39146c58]{position:absolute;font-size:%?24?%;color:#fff;left:%?20?%;top:%?20?%;background-color:rgba(0,0,0,.5);border-radius:%?60?%}.titleImg[data-v-39146c58]{width:100%;height:100%;border-radius:%?10?% 0 0 %?10?%;background-size:%?150?% %?150?%}',""]),t.exports=e},"688a":function(t,e,o){"use strict";o.r(e);var i=o("d950"),n=o.n(i);for(var a in i)"default"!==a&&function(t){o.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},"6e53":function(t,e,o){"use strict";var i=o("6f98"),n=o.n(i);n.a},"6f98":function(t,e,o){var i=o("60c9");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o("4f06").default;n("28ad81c3",i,!0,{sourceMap:!1,shadowMode:!1})},7316:function(t,e,o){"use strict";var i;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",[o("v-uni-view",{staticClass:"loadlogo-container"},[o("v-uni-view",{staticClass:"loadlogo"},[o("v-uni-image",{staticClass:"image",attrs:{src:t.loadImage||t.imgfixUrls+"loadlogo.svg",mode:"aspectFill"}})],1)],1)],1)},a=[]},"95f8":function(t,e,o){"use strict";var i;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{class:t.listlength<3?"newLive":"oldlive",style:{backgroundColor:t.bgc,paddingBottom:"10px"}},[t.loadlogo?t._e():o("loadlogo"),t.loadlogo?[o("far-bottom"),o("v-uni-view",{staticClass:"qurl"},[o("v-uni-view",{staticClass:"f-30",staticStyle:{padding:"30upx 0"}},[t._v("应官方要求,直播功能目前只支持小程序平台,长按识别二维码前往小程序端观看直播。")]),o("v-uni-view",{staticStyle:{"box-shadow":"0upx 0upx 35upx #333333",width:"600upx",height:"600upx"}},[o("v-uni-image",{staticStyle:{width:"600upx",height:"600upx","border-radius":"10upx"},attrs:{src:t.qrimg,mode:""}})],1)],1)]:t._e()],2)},a=[]},a94a:function(t,e,o){"use strict";o.r(e);var i=o("3f74"),n=o.n(i);for(var a in i)"default"!==a&&function(t){o.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},c2a2:function(t,e,o){"use strict";o.r(e);var i=o("7316"),n=o("d7e5");for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("c861");var r,s=o("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"bce21d66",null,!1,i["a"],r);e["default"]=l.exports},c757:function(t,e,o){var i=o("eb38");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o("4f06").default;n("e81adc74",i,!0,{sourceMap:!1,shadowMode:!1})},c861:function(t,e,o){"use strict";var i=o("c757"),n=o.n(i);n.a},d398:function(t,e,o){"use strict";o.r(e);var i=o("2b98"),n=o("688a");for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("055e");var r,s=o("f0c5"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"29eb8a1e",null,!1,i["a"],r);e["default"]=l.exports},d7e5:function(t,e,o){"use strict";o.r(e);var i=o("0f1d"),n=o.n(i);for(var a in i)"default"!==a&&function(t){o.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},d950:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{}},computed:{loadingSrc:function(){return this.imageRoot+"loadmore.svg"}},props:{isMore:{type:Boolean,default:function(){return!1}},bgc:{type:String,default:"#f8f8f8"}}};e.default=i},eb38:function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,".loadlogo-container[data-v-bce21d66]{width:100%;height:100%;background-color:#fff;position:fixed;z-index:999}.loadlogo[data-v-bce21d66]{width:80px;height:80px;\n\t/* margin: -60px 0 0 -60px; */position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loadlogo .image[data-v-bce21d66]{width:100%;height:100%}",""]),t.exports=e}}]);
|