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
1 lines
19 KiB
(function(e){function n(n){for(var i,r,s=n[0],c=n[1],u=n[2],l=0,g=[];l<s.length;l++)r=s[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&g.push(o[r][0]),o[r]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);d&&d(n);while(g.length)g.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,s=1;s<t.length;s++){var c=t[s];0!==o[c]&&(i=!1)}i&&(a.splice(n--,1),e=r(r.s=t[0]))}return e}var i={},o={index:0},a=[];function r(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,r),t.l=!0,t.exports}r.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,s=document.createElement("script");s.charset="utf-8",s.timeout=120,r.nc&&s.setAttribute("nonce",r.nc),s.src=function(e){return r.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":"5b10d269","pages-check-index":"06163df7","pages-clear-index":"ca9967a5","pages-declare-index":"b058c2c1","pages-index-index":"8079a854","pages-index-init":"e330aec0","pages-schedule-index":"7b111a47","pages-score-index":"dbfa7fac"}[e]+".js"}(e);var c=new Error;a=function(n){s.onerror=s.onload=null,clearTimeout(u);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;c.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",c.name="ChunkLoadError",c.type=i,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout((function(){a({type:"timeout",target:s})}),12e4);s.onerror=s.onload=a,document.head.appendChild(s)}return Promise.all(n)},r.m=e,r.c=i,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)r.d(t,i,function(n){return e[n]}.bind(null,i));return t},r.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="./",r.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],c=s.push.bind(s);s.push=n,s=s.slice();for(var u=0;u<s.length;u++)n(s[u]);var d=c;a.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("d049")},3769:function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){}));var i=function(){var e=this.$createElement,n=this._self._c||e;return n("App",{attrs:{keepAliveInclude:this.keepAliveInclude}})},o=[]},"38e2":function(e,n,t){"use strict";var i=t("66ad"),o=t.n(i);o.a},"66ad":function(e,n,t){var i=t("a614");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=t("967d").default;o("372bbc8e",i,!0,{sourceMap:!1,shadowMode:!1})},"795e":function(e,n,t){"use strict";(function(e){var n=t("f5bd").default;t("473f"),t("bf0f"),t("de6c"),t("5c47"),t("a1c1");var i=n(t("9b8e")),o={keys:function(){return[]}};e["____0D1DD09____"]=!0,delete e["____0D1DD09____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"劳拉之星",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"},uniIdRouter:{}},e.__uniConfig.compilerVersion="4.24",e.__uniConfig.darkmode=!1,e.__uniConfig.themeConfig={},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("ecc0"))}.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("ce46"))}.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("73af"))}.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("43cf"))}.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("133b"))}.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("e5a1"))}.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("5fa1"))}.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("651f"))}.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:"/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("0ee4"))},"7d59":function(e,n,t){"use strict";t.r(n);var i=t("f584"),o=t.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(a);n["default"]=o.a},a614:function(e,n,t){var i=t("c86c");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},b3d6:function(e,n,t){var i=t("dd7e").default,o=t("46c5").default,a=t("883d").default,r=t("4db6").default;t("d4b5");var s=function(){"use strict";function e(n){a(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 r(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 o(i().mark((function e(){return i().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=s},c268:function(e,n,t){var i=t("bdbb").default;t("bf0f"),uni.addInterceptor({returnValue:function(e){return!e||"object"!==i(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])}))}))}})},d049:function(e,n,t){"use strict";var i=t("f5bd").default,o=i(t("9b1b"));t("3dde"),t("a8b2"),t("1480"),t("6e4a"),t("795e"),t("9337");var a=i(t("e958")),r=i(t("9b8e"));t("c268");var s=i(t("b3d6"));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()},e958:function(e,n,t){"use strict";t.r(n);var i=t("3769"),o=t("7d59");for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);t("38e2");var r=t("828b"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=s.exports},f584:function(e,n,t){"use strict";t("6a54"),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}}); |