modify landing page
This commit is contained in:
commit
dd232b1c02
2599 files changed
+226992
No files matched your search
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp-ae-fe/cosmos-1"]=window["webpackJsonp-ae-fe/cosmos-1"]||[]).push([[21,40],{1050:function(e,t,n){"use strict";n.r(t);var o,a,r,i,c,s=[{name:"gep",component:function(){return n.e(16).then(n.bind(null,1073))}}],l=n(14),u=n(2),p=n.n(u),d=n(0),f=n.n(d),m=n(3),g=n(26),h=(null===(o=m.a.get("config"))||void 0===o?void 0:o.page)||{},w={mtop:(r=f()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.a.load();case 2:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)}),react:(a=f()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",m.a.get("Global"));case 1:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)})},_=[{name:"aplus",pages:[h.account],component:function(){Object(l.a)({type:"script",url:"//assets.alicdn.com/g/alilog/??aplus_plugin_aefront/index.js,mlog/aplus_int.js",attrs:{crossOrigin:"anonymous",id:"beacon-aplus",exparams:"aplus&sidx=aplusSidx&ckx=aplusCkx"}})}}],v=n(59),b=n.n(v),y=(i={},b()(i,h.home,"pc_homepage"),b()(i,h.best,"pc_Best_Homepage"),b()(i,h.detail,"PC_Product_Detail_Page"),b()(i,h.search,"PC_Search_Ui_Product_List"),b()(i,h.shopcart,"PC_Shop_Cart"),i),x=[{name:"popLayer",pages:[h.home,h.best,h.detail,h.search,h.shopcart],component:(c=f()(p()().mark((function e(t){var o,a,r;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.page,a=t.options,!(r=(void 0===a?{}:a).positionSign||y[o])){e.next=8;break}return e.next=5,n.e(31).then(n.bind(null,1077));case 5:(0,e.sent.default)({positionSign:r},null);case 8:case"end":return e.stop()}}),e)}))),function(e){return c.apply(this,arguments)}),deps:[w.mtop]}],k=[{pages:[h.home,h.best,h.detail,h.seoDetail],component:function(){return Promise.all([n.e(0),n.e(2),n.e(4),n.e(5),n.e(36)]).then(n.bind(null,1076))}}],C=n(92),S=n.n(C),L=n(51);n(781);var T,j=function(){var e;return{ups_d:null===(e=L.cookie.get("aep_usuc_f","ups_d"))||void 0===e?void 0:e.split("|"),t:L.cookie.get("aep_usuc_f","ups_u_t"),ups:L.cookie.get("aep_usuc_f","ae_u_p_s")}},P=function(){var e=j();return null==e?void 0:e.ups},A=n(6),E=[{name:"google",pages:[],component:function(){if("1"!=P()){var e,t,n,o,a,r;e=window,t=document,n="script",o="ga",e.GoogleAnalyticsObject=o,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,a=t.createElement(n),r=t.getElementsByTagName(n)[0],a.async=1,a.src="//www.google-analytics.com/analytics.js",r.parentNode.insertBefore(a,r),window.ga("create","UA-17640202-1","auto"),window.ga("require","ec"),ga((function(){var e,t=null===(e=ga.getByName("t0"))||void 0===e?void 0:e.get("clientId");t&&ga("set","dimension6",t)}));A.a.isLoggedIn()&&function(){var e;try{e=parseInt(window.localStorage.getItem("_dmp_tag_time_"))}catch(e){console.error(e)}return!e||!!(e&&e+864e5<(new Date).getTime())}()&&g.a.request({api:"mtop.aliexpress.adlink.google.queryDMPUserTag",v:"1.0"}).then((function(e){var t;if(null!=e&&null!==(t=e.data)&&void 0!==t&&t.result){var n=e.data.result,o=n.algoTag,a=n.bTag;ga("set",{dimension7:a,dimension8:o}),ga("send",{hitType:"event",eventCategory:"UserTag",eventAction:"Update",nonInteraction:!0}),window.localStorage.setItem("_dmp_tag_time_",(new Date).getTime())}})),window.ga("send","pageview"),function(e,t,n,o,a){e[o]=e[o]||[],e[o].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var r=t.getElementsByTagName(n)[0],i=t.createElement(n);i.async=!0,i.src="https://www.googletagmanager.com/gtm.js?id=GTM-5VJNN2G",r.parentNode.insertBefore(i,r)}(window,document,"script","dataLayer");var i=function(e){var t;(t=window).ga.apply(t,S()(e))};window._gaCache&&window._gaCache.length&&window._gaCache.forEach(i),window._gaCache={push:i}}}}],O=n(11),I=function(){var e=f()(p()().mark((function e(){var t;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object(O.a)("isLogout")){e.next=7;break}return e.next=4,Promise.all([n.e(0),n.e(2),n.e(7)]).then(n.bind(null,1051));case 4:t=e.sent,(0,t.logout)();case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=[{pages:[h.best,h.home],component:function(){var e=f()(p()().mark((function e(){var t;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.e(0),n.e(2),n.e(7),n.e(34)]).then(n.bind(null,1069));case 2:t=e.sent,(0,t.default)({forcePopupLogin:!0}),I();case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{pages:[h.detail,h.search],component:(T=f()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.e(0),n.e(2),n.e(7),n.e(34)]).then(n.bind(null,1069));case 2:(0,e.sent.default)({forcePopupLogin:!1}),I();case 6:case"end":return e.stop()}}),e)}))),function(){return T.apply(this,arguments)})}],R=[{name:"facebook",pages:[],component:function(){if("1"!=P()){var e,t,n,o,a,r;eLine truncated
|
||||
Reference in new issue
Block a user