<!doctype html><html><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"> <title>阿卡索外教网_在线英语培训_外教口语一对一培训</title> <meta name="description" content="阿卡索外教网提供在线英语口语培训,全程外教一对一教学模式,是专业的在线英语培训网站,阿卡索外教老师均毕业于国际知名的一流学府,拥有标准的英语口语以及最纯正的教学知识。您值得拥有"> <meta name="keywords" content="在线英语口语培训,在线英语培训,外教一对一,英语外教一对一,英语网络教学"> <!-- 分享配置 --> <meta itemprop="name" content="阿卡索外教网_在线英语培训_外教口语一对一培训"> <meta itemprop="image" content="https://img.acadsoc.com.cn/share/share-default.png"> <meta name="description" itemprop="description" content="阿卡索外教网提供在线英语口语培训,全程外教一对一教学模式,是专业的在线英语培训网站,阿卡索外教老师均毕业于国际知名的一流学府,拥有标准的英语口语以及最纯正的教学知识。您值得拥有"> <!--<link rel="stylesheet" href="https://img.acadsoc.com.cn/css/bootstrap.min.css">--> <link href="https://img.acadsoc.com.cn/js/editor/swiper.min.css" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="https://img.acadsoc.com.cn/web/css/header-footer.css"> <link rel="stylesheet" href="https://img.acadsoc.com.cn/web/css/editor.init.css"> <link rel="icon" href="https://www.acadsoc.com.cn/favicon.ico" type="image/x-icon"> <script type="text/javascript" src="https://img.acadsoc.com.cn/web/lps/recommend/js/jquery.min.js"></script> <script type="text/javascript"> var html = document.documentElement; var htmlClientWidth = 0; var rejustRootSize = function () { var oh = 750; html.getBoundingClientRect().width > oh ? htmlClientWidth = oh : htmlClientWidth = html.getBoundingClientRect().width; html.style.fontSize = htmlClientWidth / (oh / 100) + 'px'; }; rejustRootSize(); window.onresize = rejustRootSize; </script> <script src="https://img.acadsoc.com.cn/web/js/bootstrap.min.js"></script> <script src="https://img.acadsoc.com.cn/web/lps/activity/js/lp.js"></script> <!--IpRecord--> <script type="text/javascript" src="https://www.acadsoc.com.cn/ajax/Web.UI.Fun.IpRecord.aspx"></script> <script src="https://img.acadsoc.com.cn/web/js/IdentificationSystem.js"></script> <script src="https://img.acadsoc.com.cn/web/lps/activity/js/Record.js"></script> <!--微信分享--> <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> <script src="https://img.acadsoc.com.cn/web/lps/activity/js/wxShare.js"></script> <script> wxShare.init(); </script> <!--[if lt IE 9]> <script src="https://img.acadsoc.com.cn/web/js/vendor/html5shiv.js"></script> <script src="https://img.acadsoc.com.cn/web/js/vendor/respond.min.js"></script> <![endif]--> <script> window.HtmlWidth = 0; $(function(){ window.HtmlWidth = document.body.clientWidth || document.documentElement.clientWidth; window.pageEquipment = HtmlWidth > 768 ? 'pc' : 'mobile'; }) function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return ""; } </script> <style> body{ background-color:white; } </style> <!-- customize code header --> <script src="https://img.acadsoc.com.cn/web/SenSors/sensorsheadother.js"></script> </head> <!-- page: 517 --> <body class="body--PM"> <!-- js统计 --> <script src="https://img.acadsoc.com.cn/web/js/monitor/apm.web.js"></script> <style> /* auto generate style */ @media (min-width:769px) { .auto-element-654-0>.container { min-height:100px;border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 auto 0 auto ;opacity:1;border-style:none none none none;box-shadow: 0 0 0 #000; }.auto-element-654-0>.container>.button4 { color:white;font-size:.24rem;border-radius:60px 60px 60px 60px ;background-color:rgba(195, 13, 35, 1);text-align:center;height:.6rem;padding:0 0 0 0 ;margin:.5rem auto 0 auto ;display:block;width:4.2rem;opacity:1;border-style:none none none none;box-shadow: 0px 4px 10px rgba(195,13,35,0.4); }.auto-element-654-0>.container>.p2 { color:rgba(68, 68, 68, 1);font-size:.22rem;border-radius:0 0 0 0 ;text-align:center;padding:0 0 0 0 ;margin:.3rem 0 .4rem 0 ;line-height:1;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 auto 0 auto ;display:flex;width:90%;justify-content:space-between;align-items:center; }.auto-element-654-0>.container>.div3>.div2 { border-radius:.1rem .1rem .1rem .1rem ;padding:.15rem 0 .15rem 8% ;margin:0 0 0 -3% ;width:53%;opacity:1;border-width:2px 2px 2px 2px;border-color:#192e79 #192e79 #192e79 #192e79;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div4 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 0 0 ;display:flex;justify-content:flex-start;align-items:center; }.auto-element-654-0>.container>.div3>.div2>.div4>.p1 { padding:0 0 0 0 ;margin:0 0 0 0 ;background-size:100% 100%;color:#fff;font-size:.18rem;line-height:.36rem;background-position:center center;border-radius:0 0 0 0 ;background-repeat:no-repeat;width:.36rem;background-image:url(https://cdnstatic.acadsoc.com.cn/landing-page/files/2021/05/22/1d4lnc8dc6mfx45ewj2zn5gbf48gkgbn.png);text-align:center; }.auto-element-654-0>.container>.div3>.div2>.div4>.p2 { color:rgba(24, 46, 125, 1);font-size:.18rem;border-radius:0 0 0 0 ;flex:1;padding:0 0 0 0 ;margin:0 0 0 .2rem ;line-height:1;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div3 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 .15rem 0 ;display:flex;justify-content:flex-start;align-items:center; }.auto-element-654-0>.container>.div3>.div2>.div3>.p1 { padding:0 0 0 0 ;margin:0 0 0 0 ;background-size:100% 100%;color:#fff;font-size:.18rem;line-height:.36rem;background-position:center center;border-radius:0 0 0 0 ;background-repeat:no-repeat;width:.36rem;background-image:url(https://cdnstatic.acadsoc.com.cn/landing-page/files/2021/05/22/1d4lnc8dc6mfx45ewj2zn5gbf48gkgbn.png);text-align:center; }.auto-element-654-0>.container>.div3>.div2>.div3>.p2 { color:rgba(24, 46, 125, 1);font-size:.18rem;border-radius:0 0 0 0 ;flex:1;padding:0 0 0 0 ;margin:0 0 0 .2rem ;line-height:1;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div2 { border-radius:0 0 0 0 ;flex:1;padding:0 0 0 0 ;margin:0 0 .15rem 0 ;display:flex;justify-content:flex-start;align-items:center;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div2>.p1 { padding:0 0 0 0 ;margin:0 0 0 0 ;background-size:100% 100%;color:#fff;font-size:.18rem;line-height:.36rem;background-position:center center;border-radius:0 0 0 0 ;background-repeat:no-repeat;width:.36rem;background-image:url(https://cdnstatic.acadsoc.com.cn/landing-page/files/2021/05/22/1d4lnc8dc6mfx45ewj2zn5gbf48gkgbn.png);text-align:center; }.auto-element-654-0>.container>.div3>.div2>.div2>.p2 { color:rgba(24, 46, 125, 1);font-size:.18rem;border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 0 .2rem ;line-height:1;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div1 { color:rgba(24, 46, 125, 1);border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 .15rem 0 ;display:flex;justify-content:flex-start;align-items:center;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div1>.p1 { color:#fff;font-size:.18rem;border-radius:0 0 0 0 ;text-align:center;padding:0 0 0 0 ;margin:0 0 0 0 ;line-height:.36rem;width:.36rem;opacity:1;background-size:100% 100%;background-attachment:scroll;background-repeat:no-repeat;background-position:center center;background-image:url(https://cdnstatic.acadsoc.com.cn/landing-page/files/2021/05/22/1d4lnc8dc6mfx45ewj2zn5gbf48gkgbn.png);background-clip:border-box;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div1>.p2 { color:rgba(24, 46, 125, 1);font-size:.18rem;border-radius:0 0 0 0 ;flex:1;padding:0 0 0 0 ;margin:0 0 0 .2rem ;line-height:1;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div1 { border-radius:.18rem .18rem .18rem .18rem ;padding:.4rem .3rem .55rem 1.2rem ;margin:0 0 0 0 ;width:50%;position:relative;opacity:1;border-width:.02rem .02rem .02rem .02rem;border-color:rgba(24, 46, 125, 1) rgba(24, 46, 125, 1) rgba(24, 46, 125, 1) rgba(24, 46, 125, 1);border-style:dashed dashed dashed dashed; }.auto-element-654-0>.container>.div3>.div1>.p1 { color:rgba(68, 68, 68, 1);font-size:.18rem;border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 0 0 ;line-height:1.82;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div1>.img2 { border-radius:0 0 0 0 ;transform:translateY(-50%);top:50%;padding:0 0 0 0 ;margin:0 0 0 0 ;display:block;left:-1rem;width:2rem;position:absolute;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div1 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 0 0 ;display:flex;justify-content:center;align-items:flex-end; }.auto-element-654-0>.container>.div1>.p2 { color:rgba(23, 45, 121, 1);font-weight:bold;font-size:.34rem;border-radius:0 0 0 0 ;text-align:center;padding:0 0 0 0 ;margin:0 0 0 -.3rem ;line-height:1;opacity:1;border-style:none none none none; }.auto-element-654-0 { min-height:100px;background-color:#fff;border-radius:0 0 0 0 ;padding:.6rem 0 .6rem 0 ;margin:0 0 0 0 ;opacity:1;border-style:none none none none;box-shadow: 0 0 0 #000; } } @media (max-width:768px) { .auto-element-654-0>.container { min-height:100px;border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 auto 0 auto ;width:92%;opacity:1;border-style:none none none none;box-shadow: 0 0 0 #000; }.auto-element-654-0>.container>.button4 { color:white;font-size:.32rem;border-radius:60px 60px 60px 60px ;background-color:rgba(195, 13, 35, 1);text-align:center;height:.9rem;padding:0 0 0 0 ;margin:.5rem auto 0 auto ;display:block;width:90%;opacity:1;border-style:none none none none;box-shadow: 0px 4px 10px rgba(195,13,35,0.4); }.auto-element-654-0>.container>.p2 { color:rgba(68, 68, 68, 1);font-weight:bold;font-size:.26rem;border-radius:0 0 0 0 ;text-align:center;padding:0 0 0 0 ;margin:.3rem 0 .5rem 0 ;line-height:1;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 0 0 ; }.auto-element-654-0>.container>.div3>.div2 { border-radius:0 0 .1rem .1rem ;padding:1rem .1rem .3rem .24rem ;margin:-.5rem auto 0 auto ;width:88%;opacity:1;border-width:2px 2px 2px 2px;border-color:#192e79 #192e79 #192e79 #192e79;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div4 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 0 0 ;display:flex;justify-content:flex-start;align-items:center; }.auto-element-654-0>.container>.div3>.div2>.div4>.p1 { padding:0 0 0 0 ;margin:0 0 0 0 ;background-size:100% auto;color:#fff;font-size:.24rem;line-height:.6rem;background-position:center center;border-radius:0 0 0 0 ;background-repeat:no-repeat;width:.6rem;background-image:url(https://cdnstatic.acadsoc.com.cn/landing-page/files/2021/05/22/1d4lnc8dc6mfx45ewj2zn5gbf48gkgbn.png);text-align:center; }.auto-element-654-0>.container>.div3>.div2>.div4>.p2 { color:rgba(24, 46, 125, 1);font-size:.26rem;border-radius:0 0 0 0 ;flex:1;padding:0 0 0 0 ;margin:.05rem 0 0 .2rem ;line-height:1.5;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div3 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 .3rem 0 ;display:flex;justify-content:flex-start;align-items:center; }.auto-element-654-0>.container>.div3>.div2>.div3>.p1 { padding:0 0 0 0 ;margin:0 0 0 0 ;background-size:100% auto;color:#fff;font-size:.24rem;line-height:.6rem;background-position:center center;border-radius:0 0 0 0 ;background-repeat:no-repeat;width:.6rem;background-image:url(https://cdnstatic.acadsoc.com.cn/landing-page/files/2021/05/22/1d4lnc8dc6mfx45ewj2zn5gbf48gkgbn.png);text-align:center; }.auto-element-654-0>.container>.div3>.div2>.div3>.p2 { color:rgba(24, 46, 125, 1);font-size:.26rem;border-radius:0 0 0 0 ;flex:1;padding:0 0 0 0 ;margin:.05rem 0 0 .2rem ;line-height:1.5;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div2 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 .3rem 0 ;display:flex;justify-content:flex-start;align-items:center;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div2>.p1 { padding:0 0 0 0 ;margin:0 0 0 0 ;background-size:100% auto;color:#fff;font-size:.24rem;line-height:.6rem;background-position:center center;border-radius:0 0 0 0 ;background-repeat:no-repeat;width:.6rem;background-image:url(https://cdnstatic.acadsoc.com.cn/landing-page/files/2021/05/22/1d4lnc8dc6mfx45ewj2zn5gbf48gkgbn.png);text-align:center; }.auto-element-654-0>.container>.div3>.div2>.div2>.p2 { color:rgba(24, 46, 125, 1);font-size:.26rem;border-radius:0 0 0 0 ;flex:1;padding:0 0 0 0 ;margin:0 0 0 .2rem ;line-height:1.5;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div1 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 .3rem 0 ;display:flex;justify-content:flex-start;align-items:flex-start;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div1>.p1 { color:#fff;font-size:.24rem;border-radius:0 0 0 0 ;text-align:center;padding:0 0 0 0 ;margin:0 0 0 0 ;line-height:.6rem;width:.6rem;opacity:1;background-size:100% auto;background-attachment:scroll;background-repeat:no-repeat;background-position:center center;background-image:url(https://cdnstatic.acadsoc.com.cn/landing-page/files/2021/05/22/1d4lnc8dc6mfx45ewj2zn5gbf48gkgbn.png);background-clip:border-box;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div2>.div1>.p2 { color:rgba(24, 46, 125, 1);font-size:.26rem;border-radius:0 0 0 0 ;flex:1;padding:0 0 0 0 ;margin:.1rem 0 0 .2rem ;line-height:1.5;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div1 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 0 0 ;position:relative;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div3>.div1>.p1 { color:rgba(68, 68, 68, 1);font-size:.26rem;border-radius:.18rem .18rem .18rem .18rem ;padding:.3rem .3rem .3rem 1.7rem ;margin:0 0 0 0.9rem ;line-height:1.8;opacity:1;border-width:0.04rem 0.04rem 0.04rem 0.04rem;border-color:rgba(23, 45, 157, 1) rgba(23, 45, 157, 1) rgba(23, 45, 157, 1) rgba(23, 45, 157, 1);border-style:dashed dashed dashed dashed; }.auto-element-654-0>.container>.div3>.div1>.img2 { border-radius:0 0 0 0 ;transform:translateY(-50%);top:50%;padding:0 0 0 0 ;margin:0 0 0 0 ;display:block;width:2.3rem;position:absolute;opacity:1;border-style:none none none none; }.auto-element-654-0>.container>.div1 { border-radius:0 0 0 0 ;padding:0 0 0 0 ;margin:0 0 0 0 ;display:flex;justify-content:center;align-items:flex-start;position:relative; }.auto-element-654-0>.container>.div1>.p2 { color:rgba(23, 45, 157, 1);font-weight:bold;font-size:.4rem;border-radius:0 0 0 0 ;text-align:center;padding:0 1.2rem 0 1.1rem ;margin:0 0 0 0 ;line-height:1.5;position:relative;opacity:1;border-style:none none none none; }.auto-element-654-0 { min-height:100px;background-color:#fff;border-radius:0 0 0 0 ;padding:.6rem 0 .6rem 0 ;margin:0 0 0 0 ;opacity:1;border-style:none none none none; } } </style> <div class="auto-element-654-0 json"> <div class="container"> <div class="div1"> <p class="p2">欧美原版教材科学撰写 让孩子对接国际教育标准</p> </div> <p class="p2">知识与实践相结合,稳步提升英语学习能力</p> <div class="div3"> <div class="div1"> <p class="p1">阿卡索少儿英语,基于孩子的语言能力,参照欧洲共同语言框架体系(CEFR)标准、将欧美原版教材引进中国,并研发成适合中国孩子的教材,全面覆盖国家新课标(中小学阶段),及少儿英语考试的英语学习课程。</p> <img class="img2" src="https://cdnstatic.acadsoc.com.cn/landing-page/files/2021/05/22/dljlplg1d1de9jbj6h83njadz1dxny82.png"> </div> <div class="div2"> <div class="div1"> <p class="p1">1</p> <p class="p2">培养英语语感,内容新颖,注重趣味性</p> </div> <div class="div2"> <p class="p1">2</p> <p class="p2">激发自主学习兴趣,培养应用口语习惯</p> </div> <div class="div3"> <p class="p1">3</p> <p class="p2">学习和实践相结合,熟练掌握所学知识</p> </div> <div class="div4"> <p class="p1">4</p> <p class="p2">对接K12人群,针对性教学,减轻压力</p> </div> </div> </div> <button class="button4">立即获取优惠名额</button> </div> </div> <!--滑动验证生成end--> <div class="loading" style="position:fixed;top:50%;left:50%;margin-top:-25px;margin-left:-25px;display:none;z-index:1040;"> <img src="https://img.acadsoc.com.cn/web/img/loading1.gif" style="z-index:1050;position:relative;"> <div class="modal-backdrop in" style="background-color:#fff;opacity: .8;"></div> </div> <script type="text/javascript" src="https://img.acadsoc.com.cn/js/editor/register-editor-customeform.js"></script> <!-- <script type="text/javascript" src="https://img.acadsoc.com.cn/js/gt.js"></script> <script type="text/javascript" src="https://img.acadsoc.com.cn/js/Captcha.js"></script> --> <script charset="UTF-8" type="text/javascript" src="https://cstaticdun.126.net/load.min.js"></script> <!-- 新验证1909 End --> <script type="text/javascript" src="https://www.acadsoc.com.cn/Ajax/Web.UI.Fun.User.aspx"></script> <!-- abtest --> <script src="https://img.acadsoc.com.cn/web/js/abtest.min.js"></script> <script type="text/javascript" src="https://img.acadsoc.com.cn/js/editor/swiper-4.5.3.min.js"></script> <script type="text/javascript" src="https://img.acadsoc.com.cn/js/editor/comm-handle.js"></script> <script> var pageData = { weChatGroupID: '', }; // 支付配置 var defaultPay = { sort: 'order', value: '', } var payConfig = { sort: '', value: '', }; var paytype = 'wechat'; // wechat | alipay var _swiper = window.Swiper; window.Swiper = function (selector, options, realOptions) { var _options = { }; // 如果是pc or mobile if (options.pc && options.mobile) { options = options[pageEquipment]; } // 自动轮播 switch (typeof options.autoplay) { case 'object': if (options.autoplay.delay == '0') { _options.autoplay = false; } break; case 'string': case 'number': if (options.autoplay == '0') { _options.autoplay = false; } else { _options.autoplay = { delay: Number(options.autoplay), stopOnLastSlide: false, disableOnInteraction: false, } } break; } // 处理类型 for (const key in options) { if (Object.hasOwnProperty.call(options, key)) { const element = options[key]; if (!isNaN(Number(options[key])) && typeof element !== 'boolean'){ options[key] = Number(options[key]); } } } // 分页器 if (options.pagination === true) { _options.pagination = { el: `${selector} .swiper-pagination`, clickable: true, } } // 需要覆盖的 if (realOptions && typeof realOptions === 'object' && !Array.isArray(realOptions)) { if (realOptions[pageEquipment] && typeof realOptions[pageEquipment] === 'object') { Object.assign(_options, realOptions[pageEquipment]); } } Object.assign(options, _options); options.loop = !!options.loop; if (options.pagination && options.pagination.el) { if ($(options.pagination.el).length < 1) { $('<div class="swiper-pagination"></div>').appendTo(selector); } } return new _swiper(selector, options); } window.onload = function(){ addFixedEls(); } function addFixedEls(){ // 头部元素 const headerFixedElement = $('body>div').eq(0); $('.fixed__el').each((i,v) => { // 定位元素 const fixedEl = $(v); // 移除元素 const removeFixedElement = fixedEl.prev(); let bTop = removeFixedElement.offset().top - 10 - $(window).height() + removeFixedElement.height(); let rTop = headerFixedElement.offset().top + headerFixedElement.height(); $(window).scroll(function () { let sTop = $(this).scrollTop(); if (sTop > rTop) { fixedEl.fadeIn(300); if (sTop >= bTop) { fixedEl.removeClass('fixed'); } else { fixedEl.addClass('fixed'); } } else { fixedEl.fadeOut(300); } }) }) } /** * 绑定事件 * @param selector {String} 选择器 * @param func {(event, thisElement) => void)} 选择器 * @param type {String} 事件类型 默认click * @return void */ function onEvent(selector, func, type) { if (!type) type = 'click'; $(document).on(type, selector, func); } // currDate const date = new Date(); const curruYear = date.getFullYear(); const currMonth = date.getMonth() + 1; const currDate = date.getDate(); // dynamic data const imgIds = []; const bgImgIds = []; const textIds = []; $(function () { // 替换时间文字 document.querySelectorAll('.time').forEach(function(v) { eachTransTime(v.childNodes); }) function eachTransTime(children = []) { if (!children || children.length === 0) return; children.forEach(v => { if (v.nodeName === '#text') { v.nodeValue = getToday(v.nodeValue); } else { eachTransTime(v.childNodes); } }) } // 复制去微信号 // data-copy-wx 微信 data-wx-alter 复制后提示文案 onEvent('[data-copy-wx]', function(){ copyWx($(this)) }) // .wx text // 复制微信号并跳转微信 data-to-wx 微信 data-wx-alter 复制后提示文案 onEvent('[data-to-wx]', function(){ copyWx($(this)) toHref('weixin://'); }); // 返回弹窗 if (document.querySelector('[id*=back-popup]')) { $('[id*=back-popup]').hide(); onEvent('[id*=back-popup] [class*=close]', function(){ $('[id*=back-popup]').fadeOut(); // 取消返回,需要默认back一次 window.removeEventListener('popstate', holdBack); history.back(); }); // 防止页面后退 监听 history.pushState({ title: 'title', url: '#back' }, 'title', '#back'); window.addEventListener('popstate', holdBack); } // 关闭弹窗 onEvent('.close-popup', function(){ window.payConfig = { sort: '', value: '' }; $(this).parents('[id*=-popup]').fadeOut(); }); // 关闭注册弹窗 onEvent('.register-close', function(){ $(this).parents('[id*=register-popup]').fadeOut(); }); // 事件执行的前后回调 function eventBeforeAfterCall (callFn) { return function () { // 回调 const beforeCall = this.getAttribute('data-model-beforecall'); const afterCall = this.getAttribute('data-model-aftercall'); if ((beforeCall && window[beforeCall](this)) || !beforeCall){ // 打开弹窗 callFn && callFn.call(this); } afterCall && window[afterCall](); } } // 打开弹窗 onEvent('[data-popup-id]', eventBeforeAfterCall(function(){ window.payConfig.sort = this.getAttribute('data-pay-sort'); window.payConfig.value = this.getAttribute('data-pay-value'); // 打开弹窗 openModal(this); })); // 单链接跳转 onEvent('[data-href]', eventBeforeAfterCall(function(){ location.href = $(this).attr('data-href'); })); // 分端跳转 onEvent('[data-pm-href]', eventBeforeAfterCall(function(){ var parameter = window.location.search; var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i) == "ipad"; var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os"; var bIsMidp = sUserAgent.match(/midp/i) == "midp"; var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4"; var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb"; var bIsAndroid = sUserAgent.match(/android/i) == "android"; var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce"; var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile"; if (bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) { toHref($(this).attr('data-mobile-href')); } else if (bIsIpad) { toHref($(this).attr('data-ipad-href')); } else { toHref($(this).attr('data-pc-href')); } })); // 跳转表单 onEvent('[data-form]', eventBeforeAfterCall(function(){ $('body,html').stop().animate({ 'scrollTop': 0 }, { duration: 1000, easing: "swing" }); })); // 动态绑定 // $('[data-img-id]').each(function (i, item) { // const id = $(item).attr('data-img-id'); // if (imgIds.indexOf(id) === -1) { // imgIds.push(id); // } // }) // $('[data-text-id]').each(function (i, item) { // const id = $(item).attr('data-text-id'); // if (textIds.indexOf(id) === -1) { // textIds.push(id); // } // }) // $('[data-bg-img-id]').each(function (i, item) { // const id = $(item).attr('data-bg-img-id'); // if (bgImgIds.indexOf(id) === -1) { // bgImgIds.push(id); // } // }) // $.ajax({ // url: 'https://dmpaio.acadsoc.com.cn/api-landingpage/PageResources/selectAllResources', // method: "POST", // dataType: "json", // headers: { 'Content-Type': 'application/json' }, // data: JSON.stringify({ bgImgIds, imgIds, textIds }), // success: function (res) { // const _bgImgIds = res.data.bgImgIds; // const _imgIds = res.data.imgIds; // const _textIds = res.data.textIds; // // 背景图 // _bgImgIds.forEach(function (v) { // const ele = $(`[data-bg-img-id=${v.id}]`); // // 手机banner // if (ele.hasClass('mobile-banner')) { // ele.attr('src', v.url); // } else { // ele.css('background-image', `url(${v.url})`); // } // }); // _imgIds.forEach(function (v) { // const ele = $(`[data-img-id=${v.id}]`); // if(ele[0].nodeName === 'IMG'){ // ele.attr('src', v.url); // }else{ // ele.css('background-image', `url(${v.url})`); // } // }); // _textIds.forEach(function (v) { // const ele = $(`[data-text-id=${v.id}]`); // ele.html(v.name); // }); // } // }) // 设置支付类型 onEvent('[data-paytype]', function(){ window.paytype = this.getAttribute('data-paytype'); }); // 注册 register.init({ successTxt: false, // 值为false时不执行 successLocation: false, // 值为false时不执行 successFn: function () { ABRecord.registNotice(); $(".loading").hide(); // customize register code window.registerCallback && window.registerCallback(); return false; }, type: 'code', //注册类型:normal(常规),code(验证码注册),uid(带推荐人uid) }); }) </script> <!-- 53客服 --> <!-- customize footer code --> </body></html>