2 lines
4.7 KiB
JavaScript
2 lines
4.7 KiB
JavaScript
![]() |
webpackJsonp([14],{"2KIr":function(n,e){},"4ml/":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("nnj/")},null,null).exports,r=t("YaEn"),c=(t("2KIr"),t("NYxO")),s=t("Z4iZ"),d=Object(s.b)().app;console.log(d,"store"),i.a.use(c.a);var u=new c.a.Store({state:{info:{ticket:"123",uid:"678"},isApp:d},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"),f=t.n(l);window.info={},window.getMessage=function(n,e){info[n]=e};t("4ml/");var p=t("Fd2+"),m=(t("sVYa"),t("Lw6n")),h=t.n(m),g=t("DVXL"),w=t.n(g);!function(){var n=Object(s.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":f()(androidJsObj))&&(info.uid=parseInt(window.androidJsObj.getUid()),info.ticket=window.androidJsObj.getTicket(),info.deviceId=window.androidJsObj.getDeviceId());else window.sessionStorage.clear(),info.uid=1016,info.ticket="test"}(),i.a.config.productionTip=!1,"test"===Object(s.a)()&&new h.a,w.a.attach(document.body),w.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(p.c),new i.a({el:"#app",router:r.a,store:u,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(9)]).then(t.bind(null,"3IW4"))}},{path:"/GoldExchangeDiamond",name:"GoldExchangeDiamond",component:function(){return Promise.all([t.e(0),t.e(12)]).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(11)]).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.ind
|
||
|
//# sourceMappingURL=app.861748a1f83bae0fde49.js.map
|