体育大屏
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
19 KiB

(function(e){function n(n){for(var i,r,s=n[0],c=n[1],u=n[2],d=0,l=[];d<s.length;d++)r=s[d],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&l.push(o[r][0]),o[r]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);g&&g(n);while(l.length)l.shift()();return a.push.apply(a,u||[]),t()}function t(){for(var e,n=0;n<a.length;n++){for(var t=a[n],i=!0,r=1;r<t.length;r++){var c=t[r];0!==o[c]&&(i=!1)}i&&(a.splice(n--,1),e=s(s.s=t[0]))}return e}var i={},o={index:0},a=[];function r(e){return s.p+"static/js/"+({"pages-award-index":"pages-award-index","pages-check-index":"pages-check-index","pages-clear-index":"pages-clear-index","pages-declare-index":"pages-declare-index","pages-index-index":"pages-index-index","pages-index-init":"pages-index-init","pages-schedule-index":"pages-schedule-index","pages-score-index":"pages-score-index"}[e]||e)+"."+{"pages-award-index":"b010b142","pages-check-index":"886986cc","pages-clear-index":"4a482dc8","pages-declare-index":"8fced3ba","pages-index-index":"014b11e4","pages-index-init":"69aa6bfb","pages-schedule-index":"2fcd2961","pages-score-index":"9221d9fd"}[e]+".js"}function s(n){if(i[n])return i[n].exports;var t=i[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,s),t.l=!0,t.exports}s.e=function(e){var n=[],t=o[e];if(0!==t)if(t)n.push(t[2]);else{var i=new Promise((function(n,i){t=o[e]=[n,i]}));n.push(t[2]=i);var a,c=document.createElement("script");c.charset="utf-8",c.timeout=120,s.nc&&c.setAttribute("nonce",s.nc),c.src=r(e);var u=new Error;a=function(n){c.onerror=c.onload=null,clearTimeout(d);var t=o[e];if(0!==t){if(t){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,t[1](u)}o[e]=void 0}};var d=setTimeout((function(){a({type:"timeout",target:c})}),12e4);c.onerror=c.onload=a,document.head.appendChild(c)}return Promise.all(n)},s.m=e,s.c=i,s.d=function(e,n,t){s.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,n){if(1&n&&(e=s(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(s.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)s.d(t,i,function(n){return e[n]}.bind(null,i));return t},s.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(n,"a",n),n},s.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},s.p="./",s.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],u=c.push.bind(c);c.push=n,c=c.slice();for(var d=0;d<c.length;d++)n(c[d]);var g=u;a.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("7168")},"3eb4":function(e,n,t){var i=t("d2d4");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=t("4f06").default;o("1b76ad64",i,!0,{sourceMap:!1,shadowMode:!1})},5129:function(e,n,t){"use strict";t.r(n);var i=t("d637"),o=t("855b");for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);t("563b");var r,s=t("f0c5"),c=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],r);n["default"]=c.exports},"563b":function(e,n,t){"use strict";var i=t("3eb4"),o=t.n(i);o.a},"6d25":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={onLaunch:function(){console.log("App Launch")},onShow:function(){},onHide:function(){console.log("App Hide")}};n.default=i},7168:function(e,n,t){"use strict";var i=t("4ea4"),o=i(t("5530"));t("e260"),t("e6cf"),t("cca6"),t("a79d"),t("d69c"),t("1c31");var a=i(t("5129")),r=i(t("e143"));t("7781");var s=i(t("ef54"));r.default.config.productionTip=!1,a.default.mpType="app",r.default.prototype.$websocketUtils=s.default;var c=new r.default((0,o.default)({},a.default));c.$mount()},7781:function(e,n,t){t("d3b7"),uni.addInterceptor({returnValue:function(e){return!e||"object"!==typeof e&&"function"!==typeof e||"function"!==typeof e.then?e:new Promise((function(n,t){e.then((function(e){return e[0]?t(e[0]):n(e[1])}))}))}})},"855b":function(e,n,t){"use strict";t.r(n);var i=t("6d25"),o=t.n(i);for(var a in i)"default"!==a&&function(e){t.d(n,e,(function(){return i[e]}))}(a);n["default"]=o.a},d2d4:function(e,n,t){var i=t("24fb");n=i(!1),n.push([e.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/* 文章场景相关 */\r\n/*每个页面公共css */.header{width:100%;height:184px;box-sizing:border-box;background:url(/static/hd2-bg.png) 0 0 no-repeat;background-size:auto 100%;display:flex;align-items:center}.header .logo{width:130px;height:130px;margin-right:88px;margin-left:50px}.header .logo uni-image{width:100%;height:100%}.header .info{flex:1}.header .info .a{font-weight:700;font-size:58px;color:#fff}.header .info .b{font-weight:700;font-size:48px;color:#fff;margin-top:15px;display:flex;align-items:center;justify-content:space-between}.header .info .b .fs{font-weight:700;font-size:48px;color:#fff;margin-right:50px}.header .info .b .fs uni-text{margin-right:50px}.header1{width:100%;height:136px;box-sizing:border-box;background:url(/static/hd1-bg.png) 0 0 no-repeat;background-size:auto 100%;display:flex;align-items:center}.header1 .logo{width:245px;height:95px;margin-right:25px;margin-left:45px}.header1 .logo uni-image{width:100%;height:100%}.header1 .logo1{width:750px;height:150px;margin-right:25px;margin-left:45px}.header1 .logo1 uni-image{width:100%;height:100%}.header1 .info{flex:1;display:flex;align-items:center;justify-content:space-between}.header1 .info .a{font-weight:700;font-size:73px;color:#fff;float:left}.header1 .info .b{float:right;font-weight:700;font-size:50px;color:#ff0;line-height:46px;margin-right:20px}.header1 .info .b uni-text{font-weight:400;font-size:%?40?%;color:#ff0;display:block}@media screen and (min-width:1200px) and (max-width:1359px){.header .info .a{font-size:45px;white-space:nowrap}.header .info .b{font-size:36px;white-space:nowrap;margin-top:30px}.header .info .b .fs{font-size:36px;margin-right:10px}.header .info .b .fs uni-text{margin-right:10px}.header1 .info .a{font-size:45px;white-space:nowrap}.header1 .info .b{font-size:30px;text-align:right}}@media screen and (min-width:1360px) and (max-width:1500px){.header .info .b{font-size:36px;white-space:nowrap}.header .info .b .fs{font-size:36px;margin-right:20px}.header1 .info .a{font-size:45px;white-space:nowrap}}',""]),e.exports=n},d637:function(e,n,t){"use strict";var i;t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return i}));var o=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},a=[]},d69c:function(e,n,t){"use strict";(function(e){var n=t("4ea4");t("13d5"),t("d3b7"),t("ac1f"),t("5319"),t("ddb0");var i=n(t("e143")),o={keys:function(){return[]}};e["____0D1DD09____"]=!0,delete e["____0D1DD09____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"劳拉之星",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},uniIdRouter:{}},e.__uniConfig.compilerVersion="3.6.5",e.__uniConfig.uniPlatform="h5",e.__uniConfig.appId="__UNI__0D1DD09",e.__uniConfig.appName="sport_big",e.__uniConfig.appVersion="1.0.0",e.__uniConfig.appVersionCode="100",e.__uniConfig.router={mode:"hash",base:"./"},e.__uniConfig.publicPath="./",e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey=void 0,e.__uniConfig.googleMapKey=void 0,e.__uniConfig.aMapKey=void 0,e.__uniConfig.aMapSecurityJsCode=void 0,e.__uniConfig.aMapServiceHost=void 0,e.__uniConfig.locale="",e.__uniConfig.fallbackLocale=void 0,e.__uniConfig.locales=o.keys().reduce((function(e,n){var t=n.replace(/\.\/(uni-app.)?(.*).json/,"$2"),i=o(n);return Object.assign(e[t]||(e[t]={}),i.common||i),e}),{}),e.__uniConfig.nvue={"flex-direction":"column"},e.__uniConfig.__webpack_chunk_load__=t.e,i.default.component("pages-index-index",(function(e){var n={component:t.e("pages-index-index").then(function(){return e(t("5988"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),i.default.component("pages-award-index",(function(e){var n={component:t.e("pages-award-index").then(function(){return e(t("7451"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),i.default.component("pages-schedule-index",(function(e){var n={component:t.e("pages-schedule-index").then(function(){return e(t("0ff0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),i.default.component("pages-clear-index",(function(e){var n={component:t.e("pages-clear-index").then(function(){return e(t("11df"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),i.default.component("pages-check-index",(function(e){var n={component:t.e("pages-check-index").then(function(){return e(t("b11f"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),i.default.component("pages-score-index",(function(e){var n={component:t.e("pages-score-index").then(function(){return e(t("ad33"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),i.default.component("pages-declare-index",(function(e){var n={component:t.e("pages-declare-index").then(function(){return e(t("a530"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),i.default.component("pages-index-init",(function(e){var n={component:t.e("pages-index-init").then(function(){return e(t("28c6"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n})),e.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{render:function(e){return e("Page",{props:Object.assign({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationStyle:"custom"})},[e("pages-index-index",{slot:"page"})])}},meta:{id:1,name:"pages-index-index",isNVue:!1,maxWidth:0,pagePath:"pages/index/index",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/award/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom"})},[e("pages-award-index",{slot:"page"})])}},meta:{name:"pages-award-index",isNVue:!1,maxWidth:0,pagePath:"pages/award/index",windowTop:0}},{path:"/pages/schedule/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom"})},[e("pages-schedule-index",{slot:"page"})])}},meta:{name:"pages-schedule-index",isNVue:!1,maxWidth:0,pagePath:"pages/schedule/index",windowTop:0}},{path:"/pages/clear/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom"})},[e("pages-clear-index",{slot:"page"})])}},meta:{name:"pages-clear-index",isNVue:!1,maxWidth:0,pagePath:"pages/clear/index",windowTop:0}},{path:"/pages/check/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom"})},[e("pages-check-index",{slot:"page"})])}},meta:{name:"pages-check-index",isNVue:!1,maxWidth:0,pagePath:"pages/check/index",windowTop:0}},{path:"/pages/score/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom"})},[e("pages-score-index",{slot:"page"})])}},meta:{name:"pages-score-index",isNVue:!1,maxWidth:0,pagePath:"pages/score/index",windowTop:0}},{path:"/pages/declare/index",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom"})},[e("pages-declare-index",{slot:"page"})])}},meta:{name:"pages-declare-index",isNVue:!1,maxWidth:0,pagePath:"pages/declare/index",windowTop:0}},{path:"/pages/index/init",component:{render:function(e){return e("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom"})},[e("pages-index-init",{slot:"page"})])}},meta:{name:"pages-index-init",isNVue:!1,maxWidth:0,pagePath:"pages/index/init",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}],e.UniApp&&new e.UniApp}).call(this,t("c8ba"))},ef54:function(e,n,t){t("96cf");var i=t("c973"),o=t("970b"),a=t("5bc3"),r=function(){"use strict";function e(n){o(this,e),this.url="wss://sports.njrenzhou.cn/ws",this.data=null,this.isOpenSocket=!1,this.timeout=10,this.sid=uni.getStorageSync("sid"),this.type=n,this.heartbeatInterval=null,this.reconnectTimeOut=null;try{return this.connectSocketInit()}catch(t){console.log("===========连接错误捕获catch====================",t),this.isOpenSocket=!1,this.reconnect()}}return a(e,[{key:"connectSocketInit",value:function(){var e=this;this.socketTask=uni.connectSocket({url:this.url,header:{"content-type":"application/json"},success:function(){return console.log("============正准备建立websocket中================"),e.socketTask}}),this.socketTask.onOpen((function(n){console.log("==============WebSocket连接正常============="),clearTimeout(e.reconnectTimeOut),clearInterval(e.heartbeatInterval),e.isOpenSocket=!0,2==e.type?e.sid&&e.startCheck():e.sid&&e.startStatement(),e.start(),e.socketTask.onMessage((function(e){console.log(e.data,"===============接收===onMessage==============="),uni.$emit("socketMessage",e)}))})),this.socketTask.onClose((function(n){console.log("========已经被关闭了====================",n),e.isOpenSocket=!1,uni.$emit("onClose",1),(!n||"user"!=n.reason)&&e.reconnect()}))}},{key:"send",value:function(e){this.socketTask.send({data:e,success:function(){return i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:console.log("===========消息发送成功===============");case 1:case"end":return e.stop()}}),e)})))()}})}},{key:"start",value:function(){var e=this;this.data={cmd:"ping"},this.heartbeatInterval=setInterval((function(){console.log("======start====开启心跳检测====",e.data),e.send(JSON.stringify(e.data))}),1e3*this.timeout)}},{key:"startStatement",value:function(){this.data={cmd:"statement",matchs_id:this.sid},this.send(JSON.stringify(this.data))}},{key:"startCheck",value:function(){this.data={cmd:"check",matchs_id:this.sid},this.send(JSON.stringify(this.data))}},{key:"reconnect",value:function(){var e=this;clearInterval(this.heartbeatInterval),this.isOpenSocket||(this.reconnectTimeOut=setTimeout((function(){e.connectSocketInit()}),3e3))}},{key:"closeSocket",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"关闭",n=this;this.socketTask.close({reason:e,success:function(){n.data=null,n.isOpenSocket=!1,n.socketTask=null,clearTimeout(n.reconnectTimeOut),clearInterval(n.heartbeatInterval),console.log("===============关闭 WebSocket 成功===================")},fail:function(){console.log("===================关闭 WebSocket 失败=====================")}})}},{key:"exportMessage",value:function(e){this.socketTask.onMessage((function(n){return console.log(n,"===============exportMessage============"),e(n)}))}}]),e}();e.exports=r}});