2 lines
4.9 KiB
JavaScript
2 lines
4.9 KiB
JavaScript
webpackJsonp([14],{"2KIr":function(n,e){},"4ml/":function(n,e){},CTpd:function(n,e){},NHnr:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("7+uW"),o={render:function(){var n=this.$createElement,e=this._self._c||n;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var a=t("VU/8")({name:"App"},o,!1,function(n){t("CTpd")},null,null).exports,r=t("YaEn"),c=(t("2KIr"),t("NYxO")),d=t("Z4iZ"),u=Object(d.b)().app;console.log(u,"store"),i.a.use(c.a);var s=new c.a.Store({state:{info:{ticket:"123",uid:"678"},isApp:u},mutations:{setInfo:function(n,e){n.info.ticket=e.ticket,n.info.uid=e.uid}},getters:{getInfo:function(n){return n.info},getIsApp:function(n){return n.info}},actions:{getUserInfo:function(n){return n.state}}}),l=t("pFYg"),p=t.n(l);window.info={},window.getMessage=function(n,e){info[n]=e};t("4ml/");var f=t("Fd2+"),m=(t("sVYa"),t("DVXL")),h=t.n(m);!function(){var n=Object(d.b)();if(n.app)if(window.sessionStorage.clear(),n.ios){var e=document.cookie.match(/\d+/);info.uid=e[0],window.webkit.messageHandlers.getTicket.postMessage(null),window.webkit.messageHandlers.getDeviceId.postMessage(null)}else n.android&&androidJsObj&&"object"===("undefined"==typeof androidJsObj?"undefined":p()(androidJsObj))&&(info.uid=parseInt(window.androidJsObj.getUid()),info.ticket=window.androidJsObj.getTicket(),info.deviceId=window.androidJsObj.getDeviceId());else window.sessionStorage.clear(),info.uid=936365,info.ticket="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0aWNrZXRfdHlwZSI6bnVsbCwidWlkIjo5MzYzNjUsInRpY2tldF9pZCI6IjFkMWU2NjRlLTllYTctNGE2Yy05NzhiLTI3Nzc2ZTI2MTk4ZCIsImV4cCI6MzYwMCwiY2xpZW50X2lkIjoiZXJiYW4tY2xpZW50In0.Ynu92NqCtV1tDCihkA_CWYjhfqcILBLCL1RQ_yU3C1M"}(),i.a.config.productionTip=!1,h.a.attach(document.body),h.a.prototype.focus=function(n){var e;n.setSelectionRange&&0!==n.type.indexOf("date")&&"time"!==n.type&&"month"!==n.type?(e=n.value.length,n.focus(),n.setSelectionRange(e,e)):n.focus()},i.a.use(f.c),new i.a({el:"#app",router:r.a,store:s,components:{App:a},template:"<App/>"})},YaEn:function(n,e,t){"use strict";var i=t("7+uW"),o=t("/ocq");i.a.use(o.a);var a=new o.a({routes:[{path:"/MyIncome",name:"MyIncome",component:function(){return Promise.all([t.e(0),t.e(4)]).then(t.bind(null,"kutM"))}},{path:"/CrystalExchangeDiamond",name:"CrystalExchangeDiamond",component:function(){return Promise.all([t.e(0),t.e(11)]).then(t.bind(null,"3IW4"))}},{path:"/GoldExchangeDiamond",name:"GoldExchangeDiamond",component:function(){return Promise.all([t.e(0),t.e(9)]).then(t.bind(null,"RpvA"))}},{path:"/WithDraw",name:"WithDraw",component:function(){return Promise.all([t.e(0),t.e(3)]).then(t.bind(null,"9SZj"))}},{path:"/BindAlipay",name:"BindAlipay",component:function(){return Promise.all([t.e(0),t.e(2)]).then(t.bind(null,"b+Mi"))}},{path:"/CrystalLog",name:"CrystalLog",component:function(){return Promise.all([t.e(0),t.e(8)]).then(t.bind(null,"4tis"))}},{path:"/GoldLog",name:"GoldLog",component:function(){return Promise.all([t.e(0),t.e(10)]).then(t.bind(null,"b+89"))}},{path:"/DiamondLog",name:"DiamondLog",component:function(){return Promise.all([t.e(0),t.e(5)]).then(t.bind(null,"QAJJ"))},meta:{title:"钻石记录"}},{path:"/Login",name:"Login",component:function(){return Promise.all([t.e(0),t.e(6)]).then(t.bind(null,"CroZ"))},meta:{title:"登录"}},{path:"/runningWater",name:"runningWater",component:function(){return t.e(7).then(t.bind(null,"Ok5E"))},meta:{title:"房间流水"}},{path:"/GameWithDrawDesc",name:"GameWithDrawDesc",component:function(){return Promise.all([t.e(0),t.e(12)]).then(t.bind(null,"CXh3"))},meta:{title:"领奖说明"}},{path:"/WithDrawInfoBind",name:"WithDrawInfoBind",component:function(){return Promise.all([t.e(0),t.e(1)]).then(t.bind(null,"Vj3e"))},meta:{title:"个人信息绑定"}}]});a.beforeEach(function(n,e,t){"Login"===e.name||window.sessionStorage.getItem("ticket")?t():setTimeout(function(){window.sessionStorage.setItem("uid",info.uid),window.sessionStorage.setItem("ticket",info.ticket),console.log(info,"router"),t()},50)}),e.a=a},Z4iZ:function(n,e,t){"use strict";t.d(e,"b",function(){return i}),t.d(e,"a",function(){return o});var i=function(){var n=navigator.userAgent;navigator.appVersion;return{trident:n.indexOf("Trident")>-1,presto:n.indexOf("Presto")>-1,webKit:n.indexOf("AppleWebKit")>-1,gecko:n.indexOf("Gecko")>-1&&-1==n.indexOf("KHTML"),mobile:!!n.match(/AppleWebKit.*Mobile.*/),ios:!!n.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:n.indexOf("Android")>-1||n.indexOf("Adr")>-1,iPhone:n.indexOf("iPhone")>-1,iPad:n.indexOf("iPad")>-1,webApp:-1==n.indexOf("Safari"),weixin:n.indexOf("MicroMessenger")>-1,qq:" qq"==n.match(/\sQQ/i),app:"pekoApp"==n.match("pekoApp")}},o=function(){if(window.location.href){var n=window.location.href,e=n.match(/api.uat.z/),t=n.match(/120.79.211.243/),i=n.match(/192.168/),o=n.match(/127.0.0.1/),a=n.match(/api.uat/);return e||t||i||o||a?"test":"live"}}}},["NHnr"]);
|
|
//# sourceMappingURL=app.00a8676fa11f5adb88eb.js.map
|