(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-home"],{"0627":function(t,e,n){"use strict";n.r(e);var a=n("0c21"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"0c21":function(t,e,n){"use strict";(function(t){var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("5530")),o=n("26cb"),r={data:function(){return{windowHeight:0,statusBar:0,countdown:3,cTimer:null}},computed:(0,i.default)({},(0,o.mapState)(["common"])),onReady:function(){var t=this.$wanlshop.wanlsys();this.windowHeight=t.windowHeight,this.statusBar=15,uni.createVideoContext("advertVideo").hideStatusBar()},onLoad:function(){var t=this;uni.getNetworkType({success:function(e){"none"==e.networkType?uni.redirectTo({url:"/pages/page/no_network",animationType:"fade-in",animationDuration:200}):t.loadExecution()}})},methods:{loadExecution:function(){try{var e=uni.getStorageSync("wanlshop:launch");e||0==this.$store.state.common.adData.firstAdverts.length?1==e?this.startTimer():this.clearTimerGuide():(uni.setStorage({key:"wanlshop:launch",data:!0,success:function(e){t.log("存储launchFlag")}}),this.clearTimerGuide())}catch(n){uni.setStorage({key:"wanlshop:launch",data:!0,success:function(e){t.log("error时存储launchFlag")}}),this.clearTimerGuide()}},outBtn:function(){this.clearTimerIndex()},outImage:function(){this.clearTimerIndex()},startTimer:function(){var t=this;null==this.cTimer&&(this.cTimer=setInterval((function(){t.countdown--,0==t.countdown&&t.clearTimerIndex()}),1e3))},clearTimerIndex:function(){clearInterval(this.cTimer),this.cTimer=null,uni.switchTab({url:"/pages/index"})},clearTimerGuide:function(){uni.redirectTo({url:"/pages/guide"}),clearInterval(this.cTimer),this.cTimer=null}}};e.default=r}).call(this,n("5a52")["default"])},"36e9":function(t,e,n){"use strict";n.r(e);var a=n("7b62"),i=n("0627");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("9a44");var r,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"599dec41",null,!1,a["a"],r);e["default"]=c.exports},"42e0":function(t,e,n){var a=n("9b22");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("6247448e",a,!0,{sourceMap:!1,shadowMode:!1})},"7b62":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"wanladvert-container",style:{height:t.windowHeight+"px"}},["video"==t.common.adData.openAdverts.type?n("v-uni-video",{ref:"advertVideo",style:{height:t.windowHeight+"px",width:"100%"},attrs:{id:"advertVideo",src:t.common.adData.openAdverts.media?t.common.adData.openAdverts.media:"",direction:0,objectFit:"fill",controls:!1,autoplay:!0,muted:!0,loop:!0}},[n("v-uni-cover-view",{staticClass:"advert-info",style:{top:t.statusBar+"px"}},[t._v("预加载系统中...")]),n("v-uni-cover-view",{staticClass:"advert-btn",style:{bottom:t.statusBar+"px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.outBtn.apply(void 0,arguments)}}},[t._v("跳过 "+t._s(t.countdown))]),n("v-uni-cover-image",{staticClass:"advert-logo",style:{top:t.statusBar+"px"},attrs:{src:t.$wanlshop.appstc("/common/wanlian4@2x.png")}})],1):n("v-uni-view",[n("v-uni-image",{style:{height:t.windowHeight+"px",width:"100%"},attrs:{src:t.common.adData.openAdverts.media?t.$wanlshop.oss(t.common.adData.openAdverts.media,414,0,2,"transparent","png"):"",mode:"aspectFill"}}),n("v-uni-view",{staticClass:"advert-info",style:{top:t.statusBar+"px"}},[t._v("预加载系统中...")]),n("v-uni-view",{staticClass:"advert-btn",style:{bottom:t.statusBar+"px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.outBtn.apply(void 0,arguments)}}},[t._v("跳过 "+t._s(t.countdown))]),n("v-uni-image",{staticClass:"advert-logo",style:{top:t.statusBar+"px"},attrs:{src:t.$wanlshop.appstc("/common/wanlian4@2x.png"),mode:""}})],1)],1)},o=[]},"9a44":function(t,e,n){"use strict";var a=n("42e0"),i=n.n(a);i.a},"9b22":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */.wanladvert-container[data-v-599dec41]{position:relative;width:100%;overflow:hidden}.wanladvert-container .advert-info[data-v-599dec41]{position:absolute;height:%?60?%;width:%?170?%;text-align:right;line-height:%?60?%;right:%?30?%;font-size:%?24?%;color:hsla(0,0%,100%,.7)}.wanladvert-container .advert-btn[data-v-599dec41]{position:absolute;right:%?32?%;background:rgba(0,0,0,.4);border-radius:%?20?%;font-size:%?28?%;color:#fff;width:%?140?%;height:%?66?%;line-height:%?66?%;text-align:center}.wanladvert-container .advert-logo[data-v-599dec41]{position:absolute;left:%?40?%;width:%?252?%;height:%?56?%}',""]),t.exports=e}}]);