bztang-admin/addons/yun_shop/static/app/js/chunk-15b8eb16.d59e8f3e.js

1 line
30 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-15b8eb16"],{"09ce":function(e,t,i){"use strict";i("435d")},"0fc1":function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:e.className},[i("div",{domProps:{innerHTML:e._s(e.css)}}),i("div",{style:{height:e.datas.show_search.value?e.datas.search_height.value+(e.datas.title_list.value&&e.datas.title_list.value.length>0?e.datas.title_height.value-1:0)+"px":e.datas.title_height.value+"px"}}),i("div",{staticClass:"advertising-preview",style:{width:e.clientWidth+"px",top:e.isfollow?"2.875rem":""}},[e.datas.show_search.value?[1==e.datas.logo_style.value?i("div",{staticClass:"weixin-title",class:[{hidestyle:e.amout&&e.datas.scroll_hide_search.value}]},[e.datas.show_logo.value?i("div",{staticClass:"weixin-logo-one"},[i("img",{attrs:{src:e.datas.logo.value||e.emptyImage},on:{click:e.gotoUrl}})]):e._e(),i("div",{staticClass:"weixin-sousuo",class:{w:3==e.datas.choose_search_style.value,center:2==e.datas.choose_search_style.value,padding:3==e.datas.choose_search_style.value},on:{click:e.tosearch}},[1==e.datas.choose_search_style.value||2==e.datas.choose_search_style.value?i("i",{staticClass:"iconfont icon-all_search_2"}):e._e(),i("div",[e._v(e._s(e.datas.search_title.value))])]),3==e.datas.choose_search_style.value?i("span",{staticClass:"block",class:{borderOne:3==e.datas.choose_search_style.value},on:{click:e.tosearch}},[e._v("搜索")]):e._e()]):i("div",{staticClass:"weixin-title",class:[{hidestyle:e.amout&&e.datas.scroll_hide_search.value}]},[3==e.datas.choose_search_style.value?i("span",{staticClass:"block",class:{borderTwo:3==e.datas.choose_search_style.value},on:{click:e.tosearch}},[e._v("搜索")]):e._e(),i("div",{staticClass:"weixin-sousuo",class:{w:3==e.datas.choose_search_style.value,center:2==e.datas.choose_search_style.value,padding:3==e.datas.choose_search_style.value},on:{click:e.tosearch}},[1==e.datas.choose_search_style.value||2==e.datas.choose_search_style.value?i("i",{staticClass:"iconfont icon-all_search_2"}):e._e(),i("div",[e._v(e._s(e.datas.search_title.value))])]),e.datas.show_logo.value?i("div",{staticClass:"weixin-logo-two"},[i("img",{attrs:{src:e.datas.logo.value||e.emptyImage},on:{click:e.gotoUrl}})]):e._e()])]:e._e(),e.datas.title_list.value&&e.datas.title_list.value.length>0?i("div",{staticClass:"weixin-bd"},[i("ul",{staticClass:"weixin-menu",class:{scroll:!0,"not-pc-style":3!=e.fun.getPhoneEnv()},style:{fontWeight:e.datas.title_style.value.includes("1")?"bold":"",fontStyle:e.datas.title_style.value.includes("2")?"italic":""},attrs:{id:"weixin-menu"}},e._l(e.datas.title_list.value,(function(t,n){return i("li",{key:n,staticClass:"menu-item",on:{click:function(i){return e.selectedMenu(n,t)}}},[1==t.is_minApp?i("div",{staticClass:"menu-item-title",class:{current:e.isChoose==e.urlParse(t.h5_link)||e.page_id==e.urlParse(t.h5_link)}},["2"==e.datas.choose_style.value?i("img",{attrs:{src:t.image||e.emptyImage}}):e._e(),i("span",[e._v(e._s(t.text))])]):e._e(),2==t.is_minApp?i("div",{staticClass:"menu-item-title",domProps:{innerHTML:e._s(t.html)},on:{click:function(e){e.stopPropagation()}}}):e._e()])})),0)]):e._e()],2)])},o=[],a=(i("99af"),i("a9e3"),i("9911"),i("d81d"),i("b64b"),i("ac1f"),i("466d"),i("5319"),i("4d63"),i("c607"),i("2c3e"),i("25f0"),i("2042")),s=i.n(a),r=function(){var e=this.datas,t=e.title_height,i=e.title_size,n=e.choose_title_color,o=e.title_bg_color,a=e.title_color,s=e.navigate_color,r=e.preview_color,l=e.search_color,d=e.font_color,c=e.search_height,u=e.border_style,h=e.border_color,p=e.search_border_radius,f=e.border_radius;return"\n\t\t .component-".concat(this.id," .weixin-title{\n height: ").concat(c.value,"px;\n background-color: ").concat(r.value||"#ffffff",";\n\t }\n\n\t .component-").concat(this.id," .weixin-sousuo {\n\t background-color: ").concat(l.value,";\n\t color: ").concat(d.value,";\n\t border-radius: ").concat(p.value,"px;\n border: solid ").concat(u.value,"px ").concat(h.value,";\n\t }\n\t .component-").concat(this.id," .weixin-logo-one img, .component-").concat(this.id," .weixin-logo-two img{\n\t border-radius: ").concat(f.value,"px;\n\t }\n\n .component-").concat(this.id," .advertising-preview .weixin-menu{\n height: ").concat(t.value,"px;\n font-size: ").concat(i.value,"px;\n color: ").concat(a.value||"#333333",";\n background-color: ").concat(s.value||"#ffffff",";\n }\n .component-").concat(this.id," .advertising-preview .weixin-menu .menu-item {\n height: ").concat(t.value,"px;\n line-height: ").concat(t.value,"px;\n }\n .component-").concat(this.id," .advertising-preview .weixin-menu .current{\n color: ").concat(n.value||"#333333",";\n background-color: ").concat(o.value||"#ffffff",";\n }\n\n ")},l={props:["id","datas","isfollow"],data:function(){return{amout:!1,selectedMenuIndex:0,clientWidth:"375",emptyImage:s.a,isChoose:"",page_id:""}},computed:{css:function(){return"<style>"+r.call(this)+"</style>"},className:function(){var e=["component-wrapper","component-".concat(this.id)];return e}},watch:{$route:function(e,t){this.isChoose=e.path,this.page_id=this.fun.getKey("page_id")}},mounted:function(){var e=this;this.isChoose=this.$route.path,this.page_id=this.fun.getKey("page_id"),3==this.fun.getPhoneEnv()?this.clientWidth=375:this.clientWidth=document.body.clientWidth,this.slider(),this.$nextTick((function(){e.initButtons()}))},activated:function(){var e=this;this.isChoose=this.$route.path,this.page_id=this.fun.getKey("page_id"),3==this.fun.getPhoneEnv()?this.clientWidth=375:this.clientWidth=document.body.clientWidth,this.slider(),this.$nextTick((function(){e.initButtons()}))},methods:{initButtons:function(){for(var e=0;e<this.datas.title_list.value.length;e++){var t=document.createElement("script");t.type="text/wxtag-template",t.text='<img style="display: '.concat("2"==this.datas.choose_style.value?"inline-block":"none",";margin: 0 auto;width: 20px; height: 20px; align-self: center; vertical-align: middle; line-height: ").concat(this.datas.title_height.value,'px;" src="').concat(this.datas.title_list.value[e].image||s.a,'" alt="图标"/><span style="font-size: 14px;margin-left: 5px; display: inline-block; vertical-align: middle;line-height: ').concat(this.datas.title_height.value,'px;">').concat(this.datas.title_list.value[e].text,"</span>"),this.datas.title_list.value[e].html='<wx-open-launch-weapp username="'.concat(this.datas.title_list.value[e].gh_id,'" path="').concat(this.datas.title_list.value[e].minApp_link,'">').concat(t.outerHTML,"</wx-open-launch-weapp>")}this.datas.title_list.value.reverse().reverse()},slider:function(){var e=this;window.onscroll=function(){var t=document.documentElement.scrollTop||document.body.scrollTop;e.amout=!(t<90)}},tosearch:function(){this.$router.push(this.fun.getUrl("search",{fromHome:1}))},gotoUrl:function(){var e=this.datas.notice_link&&this.datas.notice_link.value||{};2==Number(e.is_h5)&&this.fun.isApp()?YDB.MiniWX(e.gh_id,e.minApp_link):1==Number(e.is_h5)&&e.link&&(window.location.href=e.link)},handle_data:function(e){var t={};return Object.keys(e).map((function(i){t[i]=e[i].value})),t},selectedMenu:function(e,t){this.selectedMenuIndex=e,t.h5_link&&t.h5_link!==window.location.href&&(window.location.href=this.fun.changeURLArg(t.h5_link,"mid",this.fun.getKeyByMid()))},urlParse:function(e){if(void 0!=e){var t=e.match(/#\/(\S*)\?i=/);if(t instanceof Array&&void 0!=t[1]){var i="/"+t[1];return"/newDiy"==this.isChoose?this.page_id?(new RegExp("[?|&]page_id=([^&;]+?)(&|#|;|$)").exec(e)||[,""])[1].replace(/\+/g,"%20"):"-1":void 0!=t&&i==this.isChoose?i:"-1"}return"/newDiy"==this.isChoose&&this.page_id?(new RegExp("[?|&]page_id=([^&;]+?)(&|#|;|$)").exec(e)||[,""])[1].replace(/\+/g,"%20"):"-1"}return""}}},d=l,c=(i("a326"),i("2877")),u=Object(c["a"])(d,n,o,!1,null,"29d45d2e",null);t["a"]=u.exports},"3cbd":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,".cover .fullScreen[data-v-36866866]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:9999}.cover .fullScreen .full-image[data-v-36866866]{position:relative;width:100%;height:100%}.cover .fullScreen .full-image img[data-v-36866866]{width:100%;height:100%}.cover .fullScreen .full-image .close[data-v-36866866]{position:absolute;right:1rem;top:1rem;color:#fff;font-size:16px}.cover .fullScreen .full-image .close .skip[data-v-36866866]{margin-right:.5rem}.cover .mask-blank .pop[data-v-36866866]{width:65%;position:fixed;z-index:8888;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.cover .mask-blank .pop.pcStyle[data-v-36866866]{width:270px}.cover .mask-blank .pop .pop-image[data-v-36866866]{position:relative}.cover .mask-blank .pop .pop-image img[data-v-36866866]{width:100%;height:100%}.cover .mask-blank .pop .pop-image .icon_close[data-v-36866866]{top:0;right:0;position:absolute;background-color:#333;width:1.5rem;height:1.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin-top:-.75rem;margin-right:-.75rem;border-radius:50%;color:#fff}.minLink[data-v-36866866]{width:100%;height:100%;position:absolute;top:0;left:0}.noPowerShow[data-v-36866866]{width:100%;height:100vh;overflow:hidden;background:#999;position:relative}.noPowerShow .warnTestBox[data-v-36866866]{position:absolute;display:inline-block;top:50%;left:50%;margin-top:-1.5rem;margin-left:-5rem;color:#fff;width:10rem;height:3rem;line-height:3rem;border-radius:.5rem;background:#333}.modal-mask[data-v-36866866]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100%}",""]),e.exports=t},"434c":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.showPage?i("div",{attrs:{id:"new_diy"}},[1==e.$store.state.isWatchDiypage?[e.top_info.group_title?i("top_navigation",{attrs:{id:e.id,datas:e.top_info}}):e._e(),e._l(e.components,(function(t,n){return[i(t.component_key,{key:n,ref:t.component_key,refInFor:!0,tag:"component",attrs:{isBottom:e.isBottom,lastIndex:e.lastIndex,btnFlag:e.btnFlag,id:t.id,page_id:e.page_id,component_key:t.component_key,datas:t.remote_data,index:n,store_id:e.store_id},on:{refresh:e.refreshComponent}})]})),i("div",{staticClass:"cover"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.fullShow,expression:"fullShow"}],staticClass:"fullScreen"},[i("div",{staticClass:"full-image"},[i("img",{attrs:{src:e.full_screen.image},on:{click:e.turnFullTo}}),i("span",{staticClass:"close"},[i("span",{staticClass:"skip",on:{click:function(t){return t.stopPropagation(),e.close.apply(null,arguments)}}},[e._v("跳过")]),e._v(e._s(e.full_screen.show_time))])])]),i("div",{directives:[{name:"show",rawName:"v-show",value:1===e.advertising.is_default,expression:"advertising.is_default === 1"}],staticClass:"mask"},[e.advertising.datas&&e.advertising.datas.background_over&&e.popShow?i("div",{staticClass:"modal-mask",style:{backgroundColor:"rgba(0, 0, 0, "+e.advertising.datas.background_over/100+")"}}):e._e(),i("div",{staticClass:"mask-blank"},[e.popShow?i("div",{staticClass:"pop",class:[3==e.fun.getPhoneEnv()?"pcStyle":""]},[i("div",{staticClass:"pop-image"},[i("img",{attrs:{src:e.advertising.image},on:{click:e.turnTo}}),2==e.advertising.url_type?i("div",{staticClass:"minLink",domProps:{innerHTML:e._s(e.advertising.html)},on:{click:function(t){return t.stopPropagation(),e.onClickADUrl.apply(null,arguments)}}}):e._e(),i("div",{staticClass:"icon_close"},[i("i",{staticClass:"iconfont icon-close11",on:{click:e.closePop}})])])]):e._e()])])])]:e._e(),0==e.$store.state.isWatchDiypage?[e._m(0)]:e._e(),e.bottom_info?i("U_foot",{attrs:{id:e.id+"1",diydatas:e.bottom_info}}):e._e()],2):e._e()},o=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"noPowerShow"},[i("div",{staticClass:"warnTestBox"},[e._v("暂无浏览权限!")])])}],a=(i("a9e3"),i("e9c4"),i("99af"),i("b0c0"),i("d81d"),i("caad"),i("2532"),i("9911"),i("d3b7"),i("159b"),i("3ca3"),i("ddb0"),i("9727")),s=i("0fc1"),r=document.documentElement,l=document.body;window.page_idAdvertisings=[],window.page_idFull_screens=[];var d={data:function(){return{page_id:"",clientWidth:"375",page_name:"",isInHome:0,id:"M"+(new Date).getTime(),fullShow:!1,popShow:!1,advertising:{},full_screen:{},top_info:{},bottom_info:"",components:[],showPage:!0,isBottom:!1,btnFlag:!1,isMounted:!1,current_page:1,total_page:0,isLoadMore:!0,lastIndex:"",is_store:!1,store_id:0,isInitVideoScrollFn:!0}},mounted:function(){window.diyHomeScrollTop=0,this.isInHome=1,this.getTemp(),this.isMounted=!0},activated:function(){if(this.isInitVideoScrollFn=!0,3==this.fun.getPhoneEnv()?this.clientWidth=375:this.clientWidth=document.body.clientWidth,window.page_id!=this.fun.getKey("page_id")||window.isInHome)this.isMounted||(this.fun.setWXTitle(""),this.isInHome=1,this.getTemp());else{var e=window.localStorage.getItem("diypage_title");this.fun.setWXTitle(e),window.location.href.indexOf("#/newDiy?")>-1&&setTimeout((function(){window.scrollTo(0,window.diyHomeScrollTop)}),200)}this.isMounted&&(this.isMounted=!1),this.page_id=this.fun.getKey("page_id"),window.page_id=this.fun.getKey("page_id"),window.isInDiy=1,window.addEventListener("scroll",this.debounce(this.handleScroll,50))},deactivated:function(){window.removeEventListener("scroll",this.debounce(this.handleScroll,50))},beforeRouteLeave:function(e,t,i){window.diyHomeScrollTop=document.documentElement.scrollTop||document.body.scrollTop,i()},methods:{getImg:function(e,t){var i=new Image;i.src=e,i.complete?t(Number(i.height)/Number(i.width)):(i.onload=function(){t(Number(i.height)/Number(i.width))},i.onerror=function(){})},onClickADUrl:function(){if(this.fun.isCPS()){var e={mini_route:this.advertising.s_url,mini_id:this.advertising.s_id};"ios"===this.fun.isIosOrAndroid()?miniWXIOS({body:"miniWXIOS",json:JSON.stringify(e)}):miniWXAndroid(JSON.stringify(e))}else;},initAdvertising:function(){var e=this;this.getImg(this.advertising.image,(function(t){var i=document.createElement("script");i.type="text/wxtag-template",i.text='<div style="width: '.concat(.65*e.clientWidth,"px;height: ").concat(.65*e.clientWidth*t,'px;"></div>'),e.advertising.html='<wx-open-launch-weapp username="'.concat(e.advertising.s_id,'" path="').concat(e.advertising.s_url,'">').concat(i.outerHTML,"</wx-open-launch-weapp>"),e.$forceUpdate()}))},getTemp:function(){var e=this;this.showPage=!1;var t="home-page.index",i={page_id:this.fun.getKey("page_id")};this.is_store=!1,this.fun.getKey("store_id")&&(this.store_id=this.fun.getKey("store_id"),this.is_store=!0,t="plugin.store-cashier.frontend.store.get-store-info.get-the-provider",i={page_id:this.fun.getKey("page_id"),store_id:this.fun.getKey("store_id")}),$http.get(t,i,"loading").then((function(t){if(t){if(e.is_store&&t.data.store_decorate&&t.data.store_decorate.datas)return e.showPage=!0,e.components=t.data.store_decorate.datas,e.store_pageInfo=t.data.store_decorate.page_info,e.page_name=e.store_pageInfo&&e.store_pageInfo.page_title?e.store_pageInfo.page_title:e.$store.state.temp.mailInfo.name,-1==t.data.store_decorate.foot_type?e.bottom_info="":1==t.data.store_decorate.foot_type?t.data.store_decorate.foot_id&&t.data.store_decorate.foot_id&&t.data.store_decorate.foot_id.page_info?e.bottom_info=JSON.parse(t.data.store_decorate.foot_id.page_info):e.bottom_info={defaultData:!0}:2==t.data.store_decorate.foot_type&&(t.data.store_decorate.foot_id instanceof Array?e.bottom_info={}:e.bottom_info=JSON.parse(t.data.store_decorate.foot_id.page_info)),e.shareInfo=t.data.store_decorate.page_info||{},e.getShareData(),void e.fun.setWXTitle(e.page_name);if(t.data.item){e.showPage=!0,t.data.item.page&&(e.total_page=t.data.item.page.total_page,e.current_page=t.data.item.page.current_page,e.lastIndex=t.data.item.page.count-1,e.isLoadMore=!0);var i=["U_location","U_stores","U_goodsnearby","U_community","U_goodstores"];e.components=t.data.item.datas,e.components&&e.components.length>0&&e.components.map((function(t){i.includes(t.component_key)&&(e.isLocation=!0)})),t.data.item.page_info&&(e.advertising=t.data.item.page_info.advertising_id,e.advertising.id&&e.advertising.datas&&(e.advertising.datas=JSON.parse(e.advertising.datas)),e.full_screen=t.data.item.page_info.full_screen_id),t.data.item.top&&t.data.item.top.id&&(e.top_info=JSON.parse(t.data.item.top.page_info)),e.fun.isCPS()&&e.fun.isCPSAPPI()&&t.data.item.cps_foot_type?-1==t.data.item.cps_foot_type?e.bottom_info="":1==t.data.item.cps_foot_type?t.data.item.foot&&t.data.item.foot&&t.data.item.foot.page_info?e.bottom_info=JSON.parse(t.data.item.foot.page_info):e.bottom_info={defaultData:!0}:2==t.data.item.cps_foot_type&&(t.data.item.foot instanceof Array?e.bottom_info={}:e.bottom_info=JSON.parse(t.data.item.foot.page_info)):-1==t.data.item.foot_type?e.bottom_info="":1==t.data.item.foot_type?t.data.item.foot&&t.data.item.foot&&t.data.item.foot.page_info?e.bottom_info=JSON.parse(t.data.item.foot.page_info):e.bottom_info={defaultData:!0}:2==t.data.item.foot_type&&(t.data.item.foot instanceof Array?e.bottom_info={}:e.bottom_info=JSON.parse(t.data.item.foot.page_info)),e.full_screen&&e.full_screen.id&&1===e.full_screen.show_rule&&(window.page_idFull_screens.includes(e.page_id)||(window.page_idFull_screens.push(e.page_id),e.fullShow=!0,e.countDown(e.full_screen.show_time))),e.advertising&&e.advertising.id&&1===e.advertising.show_rule&&(window.page_idAdvertisings.includes(e.page_id)||(window.page_idAdvertisings.push(e.page_id),e.popShow=!0,e.$nextTick((function(){e.initAdvertising()})))),window.isInHome=0,e.isInHome=0,e.page_name=t.data.item.page_info&&t.data.item.page_info.page_title?t.data.item.page_info.page_title:e.$store.state.temp.mailInfo.name,e.fun.setWXTitle(e.page_name),window.localStorage.setItem("diypage_title",e.page_name),window.location.href.indexOf("#/newDiy?")>-1&&setTimeout((function(){window.scrollTo(0,window.diyHomeScrollTop)}),200),t.data.item.page_info&&(e.shareInfo=t.data.item.page_info||{},e.getShareData(t.data.item.page_info),e.$store.commit("setWatchDiypage",t.data.item.pageinfo.params.allowauth),0==t.data.item.pageinfo.params.allowauth&&t.data.item.page_info.member_level_url&&t.data.item.page_info.member_level_url.link&&(e.timer=setTimeout((function(){clearTimeout(e.timer),window.location.href=t.data.item.page_info.member_level_url.link}),3e3)))}else window.isInHome=1}}),(function(e){}))},getMoreDecorate:function(){var e=this;this.isLoadMore=!1,this.current_page<this.total_page&&(this.current_page=this.current_page+1,$http.get("plugin.decorate.frotend.decorate-api.get-page",{decorate_page:this.current_page,decorate_id:this.page_id},"..").then((function(t){1==t.result?(e.isLoadMore=!0,e.components=e.components.concat(t.data.datas)):(e.isLoadMore=!1,e.current_page=e.current_page-1)})))},getScrollTop:function(){var e=0;return r&&r.scrollTop?e=r.scrollTop:l&&(e=l.scrollTop),e},getClientHeight:function(){var e=0;return e=l.clientHeight&&r.clientHeight?Math.min(l.clientHeight,r.clientHeight):Math.max(l.clientHeight,r.clientHeight),e},getScrollHeight:function(){return Math.max(l.scrollHeight,r.scrollHeight)},debounce:function(e,t){var i,n;return function(o){var a=this,s=arguments,r=+new Date;i&&r<i+t?(clearTimeout(n),n=setTimeout((function(){i=r,e.apply(a,s)}),t)):(i=r,e.apply(a,s))}},handleScroll:function(){var e=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=e>60,Number(this.getScrollTop()+this.getClientHeight()+105)>=this.getScrollHeight()?(this.isLoadMore&&this.getMoreDecorate(),this.isBottom=!0):this.isBottom=!1,this.videoScrollHandle()},videoScrollHandle:function(){if(this.$refs.U_video){var e=this.$refs.U_video||[];e.forEach((function(e,t){var i=e.$el.getBoundingClientRect(),n=i.top+200,o=i.bottom;n-200<=window.innerHeight&&o>=0?e.showComponent():e.pauseFn()}))}},pauseVideoOther:function(e){if(this.$refs.U_video){var t=this.$refs.U_video||[];t.forEach((function(t,i){t.id!=e&&t.pauseFn()}))}},initVideoScrollFn:function(){var e=this;this.$nextTick((function(){e.videoScrollHandle()}))},refreshComponent:function(e){e&&("selfpick"==e.type?this.initShare_v2():"video"==e.type?this.pauseVideoOther(e.id):"initVideo"==e.type&&this.isInitVideoScrollFn&&(this.isInitVideoScrollFn=!1,this.initVideoScrollFn()))},getShareData:function(){var e=this;this.fun.wxShare("",{page_id:this.fun.getKey("page_id")},{title:this.shareInfo.page_title||"",imgUrl:this.shareInfo.page_icon||"",description:this.shareInfo.page_description||""},(function(){}),(function(){for(var t=0;t<e.components.length;t++)"U_lottery"==e.components[t].component_key&&e.getShare(e.components[t].remote_data.lottery.id)}))},getShare:function(e){$http.post("plugin.lucky-draw.frontend.draw.getShare",{lotteryId:e}).then((function(e){e.result})).catch((function(e){}))},turnFullTo:function(){this.full_screen.h_url&&this.full_screen.h_url!==window.location.href&&(window.location.href=this.full_screen.h_url)},turnTo:function(){this.advertising.h_url&&(this.advertising.h_url===window.location.href?this.popShow=!1:window.location.href=this.advertising.h_url)},close:function(){this.fullShow=!1},closePop:function(){this.popShow=!1},countDown:function(e){var t=this;this.full_screen.show_time=e,--e,setTimeout((function(){e<=0?t.fullShow=!1:t.countDown(e)}),1e3)}},components:{top_navigation:s["a"],U_article:function(){return Promise.resolve().then(i.bind(null,"07c2"))},U_backup:function(){return Promise.all([i.e("chunk-commons"),i.e("chunk-2d213ca5")]).then(i.bind(null,"86f2"))},U_blank:function(){return i.e("chunk-2d0b3a49").then(i.bind(null,"28f3"))},U_button:function(){return Promise.resolve().then(i.bind(null,"8e27"))},U_community:function(){return Promise.resolve().then(i.bind(null,"9c56"))},U_coupons:function(){return i.e("chunk-e13b396a").then(i.bind(null,"cc6a"))},U_cube:function(){return Promise.resolve().then(i.bind(null,"fc4e"))},U_deposit:function(){return i.e("chunk-3c481019").then(i.bind(null,"f226"))},U_form:function(){return i.e("chunk-2fb8b3f0").then(i.bind(null,"06f8"))},U_goods:function(){return Promise.resolve().then(i.bind(null,"ed76"))},U_goodsgroup:function(){return Promise.resolve().then(i.bind(null,"d1a6"))},U_ywmgroup:function(){return Promise.resolve().then(i.bind(null,"d8ab"))},U_goodsnearby:function(){return Promise.resolve().then(i.bind(null,"d7d9"))},U_goodstores:function(){return i.e("chunk-610a620f").then(i.bind(null,"d1ea"))},U_goodsrush:function(){return Promise.resolve().then(i.bind(null,"7844a"))},U_headline:function(){return i.e("chunk-df28d1e4").then(i.bind(null,"2bfd"))},U_homedata:function(){return i.e("chunk-4d0fea09").then(i.bind(null,"7bd4"))},U_line:function(){return i.e("chunk-2d230815").then(i.bind(null,"ed22"))},U_livestreaming:function(){return Promise.resolve().then(i.bind(null,"5328"))},U_location:function(){return i.e("chunk-0a5c0fd5").then(i.bind(null,"42aa"))},U_lottery:function(){return Promise.resolve().then(i.bind(null,"648d"))},U_maps:function(){return i.e("chunk-4921ca92").then(i.bind(null,"51fd"))},U_notice:function(){return i.e("chunk-5b4e6db6").then(i.bind(null,"fada"))},U_richtext:function(){return i.e("chunk-613398cc").then(i.bind(null,"959b"))},U_search:function(){return Promise.all([i.e("chunk-commons"),i.e("chunk-2d216257")]).then(i.bind(null,"0e87"))},U_staff:function(){return i.e("chunk-03c97040").then(i.bind(null,"37c9"))},U_shopfor:function(){return i.e("chunk-095e4d43").then(i.bind(null,"6e1f"))},U_shortvideo:function(){return Promise.resolve().then(i.bind(null,"7508"))},U_signin:function(){return i.e("chunk-070f6c50").then(i.bind(null,"3ffe"))},U_simplegraph:function(){return Promise.resolve().then(i.bind(null,"b4fd"))},U_slideshow:function(){return i.e("chunk-commons").then(i.bind(null,"f4f7"))},U_stores:function(){return Promise.resolve().then(i.bind(null,"a018"))},U_storesranking:function(){return i.e("chunk-8f4ce448").then(i.bind(null,"4cc8"))},U_suspendbutton:function(){return Promise.all([i.e("chunk-commons"),i.e("chunk-2d216257"),i.e("chunk-2d0bd3ca")]).then(i.bind(null,"e99d"))},U_tabcontrol:a["a"],U_title:function(){return i.e("chunk-38a00702").then(i.bind(null,"4568"))},U_video:function(){return i.e("chunk-2d0efc9c").then(i.bind(null,"9a31"))},U_foot:function(){return Promise.resolve().then(i.bind(null,"b9e3"))},U_moretabcontrol:function(){return i.e("chunk-b5cceeba").then(i.bind(null,"3e0a"))},U_selfpick:function(){return i.e("chunk-60f878ba").then(i.bind(null,"21fb"))},U_wechatcode:function(){return i.e("chunk-cfc03e3c").then(i.bind(null,"0bb9"))},U_bonuspool:function(){return i.e("chunk-commons").then(i.bind(null,"3917"))},U_scanpicture:function(){return i.e("chunk-0765604d").then(i.bind(null,"97e0"))},U_lawyer:function(){return i.e("chunk-commons").then(i.bind(null,"44ea"))},U_storebalance:function(){return i.e("chunk-e496962c").then(i.bind(null,"62eb"))},U_assetstatistics:function(){return i.e("chunk-8faa7306").then(i.bind(null,"67a1"))},U_imageslider:function(){return i.e("chunk-6ab8bf9b").then(i.bind(null,"28c3"))},U_storeinfo:function(){return i.e("chunk-544ae535").then(i.bind(null,"3d62"))},U_rankinglotteryprize:function(){return i.e("chunk-041e07da").then(i.bind(null,"d034"))}}},c=d,u=c,h=(i("09ce"),i("2877")),p=Object(h["a"])(u,n,o,!1,null,"36866866",null);t["default"]=p.exports},"435d":function(e,t,i){var n=i("3cbd");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("499e").default;o("dfd907dc",n,!0,{sourceMap:!1,shadowMode:!1})},"6ac1":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,"*[data-v-29d45d2e]{-webkit-box-sizing:border-box;box-sizing:border-box}ul[data-v-29d45d2e]{padding:0}li[data-v-29d45d2e]{list-style:none}.component-wrapper[data-v-29d45d2e]{position:relative}.advertising-preview[data-v-29d45d2e]{position:fixed;top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:170;width:100%}.advertising-preview .weixin-bd[data-v-29d45d2e]{margin-top:-1px}.advertising-preview .weixin-menu[data-v-29d45d2e]{white-space:nowrap;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.advertising-preview .weixin-menu[data-v-29d45d2e]::-webkit-scrollbar{width:8px;height:8px}.advertising-preview .weixin-menu[data-v-29d45d2e]::-webkit-scrollbar-track{background:#efefef;border-radius:2px}.advertising-preview .weixin-menu[data-v-29d45d2e]::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:10px}.advertising-preview .weixin-menu[data-v-29d45d2e]::-webkit-scrollbar-thumb:hover{background:#29ba9c}.advertising-preview .weixin-menu[data-v-29d45d2e]::-webkit-scrollbar-corner{background:#efefef}.advertising-preview .weixin-menu.not-pc-style[data-v-29d45d2e]::-webkit-scrollbar{display:none}.advertising-preview .weixin-menu .menu-item[data-v-29d45d2e]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;position:relative;line-height:36px;height:36px;text-align:center;cursor:pointer;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box}.advertising-preview .weixin-menu .menu-item .menu-item-title[data-v-29d45d2e]{padding:0 12px;text-align:center}.advertising-preview .weixin-menu .menu-item .menu-item-title img[data-v-29d45d2e]{width:20px;height:20px;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;display:inline-block;vertical-align:middle}.advertising-preview .weixin-menu .menu-item .menu-item-title span[data-v-29d45d2e]{margin-left:5px;display:inline-block;vertical-align:middle}.menu-item-delete[data-v-29d45d2e]{position:absolute;top:0;right:3px;font-size:12px}.weixin-title[data-v-29d45d2e]{height:50px;position:relative;-webkit-transition:.5s;transition:.5s}.weixin-title[data-v-29d45d2e],.weixin-title .weixin-logo-one[data-v-29d45d2e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.weixin-title .weixin-logo-one[data-v-29d45d2e]{margin-right:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.weixin-title .weixin-logo-one img[data-v-29d45d2e]{height:30px}.weixin-title .weixin-logo-two[data-v-29d45d2e]{margin-left:10px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.weixin-title .weixin-logo-two img[data-v-29d45d2e]{height:30px}.weixin-title .weixin-sousuo[data-v-29d45d2e]{width:80%;height:30px;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.weixin-title .weixin-sousuo i[data-v-29d45d2e]{font-size:14px;display:inline-block;margin-right:10px;margin-left:10px}.weixin-title.hidestyle[data-v-29d45d2e]{margin-top:-50px}.block[data-v-29d45d2e]{width:50px;height:30px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#f3f2f2}.padding[data-v-29d45d2e]{padding-left:10px}.center[data-v-29d45d2e]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.borderOne[data-v-29d45d2e]{border-left:1px solid #ccc}.borderTwo[data-v-29d45d2e]{border-right:1px solid #ccc}.w[data-v-29d45d2e]{width:65%!important}.scroll[data-v-29d45d2e]{overflow-x:scroll;overflow-y:hidden}.fix-class[data-v-29d45d2e]{position:fixed;top:95px;right:385px;width:80px}",""]),e.exports=t},7055:function(e,t,i){var n=i("6ac1");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("499e").default;o("6d5d7a94",n,!0,{sourceMap:!1,shadowMode:!1})},a326:function(e,t,i){"use strict";i("7055")}}]);