关闭

给自己的人生一个精彩的PlanB

意向国家及地区
获取验证码

我已阅读并同意 《隐私保护协议》

立即咨询专家
搜索
关注我们

留学官方微信

留学官方微博

400-010-8000

关于金吉列

留学

留学攻略 留学规划师 英国 美国 日本 加拿大
新西兰 澳大利亚 韩国 欧洲 亚洲 中国香港

热门

留学产品 成功案例 院校排名
国际学校 精彩讲座 OSSD课程

申请

留学资料 语言提升
科研背提 签证准备

生活

留学安全 海外生活
实习就业 移民置业

工具栏

在线咨询

免费评估

费用计算

微信扫码体验

电话咨询

分公司电话

400-010-8000

免费咨询电话

400-010-8000

到店咨询

免费领取留学邀请函
意向国家及地区
意向学段

请留下您的信息,我们将有专人与您联系

获取验证码
我已阅读并同意《隐私保护协议》

金吉列留学北京总部2

北京市朝阳区建国门外大街8号楼IFC国际财源中心B座15层

010-56836688

复制地址
到店咨询
0
0
首页 文章详情

俄罗斯世界名校之一

宋丹丹
2018-06-07 02:56:55
人浏览
0
0

立即下载,留学必备资料库!

了解详情

留学费用计算器 算一算就知道

了解详情

金吉列留学第70届国际教育展

了解详情

专注背景提升,1V1深度咨询

了解详情
圣彼得堡国立精密机械和光学学院

页面加载中 …

页面加载中 …

页面加载中 …

页面加载中 …

        圣彼得堡国立精密机械和光学学院

        圣彼得堡国立精密机械和光学学院建于1900年,是俄罗斯著名的工科学校之一。在计算机科学技术方面居世界前列,特别是软件设计上近些年始终保持世界前三名的地位,其毕业生的技术水平使包括微软在内的软件巨头刮目相看。学校拥有一只俄罗斯优秀青年程序员团队,系首位俄罗斯编程比赛冠军(1996 年)。并于2004年、2008年、2009年、2012年和2013年成为世界编程获得冠军。

        英国泰晤士高等教育2016-2017排名,圣彼得堡国立精密机械和光学学院排名351到400位,位居俄罗斯前3,对比中国大学,排名仅次于清北复交,中科大,南大和浙大。

        学费:预科108000卢布,约合11000人民币/年(2016年秋季入学最新)

        入系: 1.5-2万人民币/年

        住宿费:2600卢步/月,约合人民币2700元/年。

        生活费2500元/月,整体一年全部费用不到5万。

</plaintext><plaintext style="isplay:none"></plaintext><plaintext style="isplay:none"></plaintext></p> </div> <div class="ar-footer-box flex" id="ar-footer-box"> <span class="ar-statement">声明:转载金吉列原创内容,须注明原作者及机构名称</span> <!-- <div class="ar-jubao-box art-report-btn article_jubao_btn"> <img src="//cdn6.jjl.cn/assets/img/page2022/jubao-icon-d21b4f84a4.png" alt="" class="ar-jubao-icon"> 举报 </div> --> </div> <!-- 正文按钮 --> <div class="article_case_country" id="article_case_country"> <a href="javascript:void(0);" col-src="101-articledetail-articlebottom-0" data-country="russia" id="article_country_service">开启俄罗斯留学之旅</a> <a href="javascript:void(0);" onclick="openWeiKefu('sysNo=115,tag=tg0000254,tGid=351,cUid=usreQDYFCQrvVE')" id="article_adviser_service" col-src="101-articledetail-articlebottom-0">立即咨询</a> </div> <!-- 文章详情表单 --> <div class="article_detail_form_wrap"> <style> .article_detail_form_wrap{ margin-bottom: 30px; } .article_detail_dialog_active { position: relative; top: -40px; } .article_detail_dialog_head { width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 124px; /* background-color: rgba(255, 255, 255, 0.9); */ background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.5) 30%, rgba(255, 255, 255, 0.8) 60%, #FFFFFF 100%); cursor: pointer; padding-top: 40px; box-sizing: border-box; /* background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA3AAAAB0CAMAAADzTSBuAAAAkFBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9oY44IAAAAL3RSTlPfxdfj58zb0/H1++vJ0O7A+LmyrKWel5GKfXZwaWNbVU5IQTQtJiAZEgwFhDs6g8Zv6jcAAAJuSURBVHja7NPXbhsxEEDRUXckee303nvc/v/vQhCRVwtpDSYPAzg4ZwiRonQfGb+ANPETSBM/gDTxHUgT34A08RVIE1+ANPEZSBNXl7euLq+qcjj4Pjzv7Xq9vr2PT0Ca+AikiQ9AmngPpIl3QJp4C6SJN0CaeA2kiVdAmngJpImLoeuL66ocyqr7sbueXq9v7+MFkCaeA2niGZAmngJp4gmQJh4DaeIRkCYeAmniDEgTZ5PJWT9Dt78NvpdV92qi1+vb+5gAaUYe3LauFnq9vr2P7XY7KVPWmP73Y//V6/XtfexuF9t/o9fr2/tYAGk8OEgUp4vTsqpFf77TYr/R6/XtfeydV2XarMq6Pev1+tY+VkAaDw4SxXTcqkxZd9Pr9e19TIE0MV0up2Xq+jPLkbvi8F6v17f3sQTShDEmbwDgPzUD0nhwkCjm81mZgVm92+0H9wMzvV7f3sf8uM28kV6vb+9jvqnmZQ1nd9v/dvSs1+vb+9gAaaLruk23Kavr9Xdj555er2/vo6tOukMng/MYvV7f3scJkMaDg0TxAEjjwUGiOAfSxN55fb4ua7cP74uyHfmPXq9v72MNpIl17+Yvp9Lr9U19/YgbII0HB+M8OLjPPDgY58HBfebBwTgP7nf7dEADAACAMKh/axMY4Bt0AMqEg084KBMOPuGgTDj4hIMy4eATDsqEg084KBMOPuGgTDj4hIMy4eATDsqEg084KBMOPuGgTDj4hIMy4eATDsqEg084KBMOPuGgTDj4hIMy4eATDsqEg084KBMOPuGgTDj4hIMy4eATDsqEg084KBMOPuGgTDj4hIOyAb5fohlnu2pIAAAAAElFTkSuQmCC'); */ } .article_detail_dialog_head p { text-align: center; font-size: 18px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #C4202E; line-height: 25px; margin-bottom: 6px; } .article_detail_dialog_head i { display: inline-block; width: 16px; height: 16px; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAX5JREFUOE+tk71LglEUxp9zfQsCoQgaGiod01JbivJjboloa4iGCAr6cKmG/oSowUpoiKaGNmmJpobUApf8SFsCtYYGoQ8QhNB74iqJ2Fu8YHe6cM95eJ7fOZfQ4qEW+/E/AlHL8HSFyzFf/uHFiKPrgcFeAW3Ek09dVB1ELI4rMHuJxClAAXcuHtcTurE6R1ligyFnCHTpzien6hEifQ4vCVpTjyAKEzjgzqXOlZByyESbkDxGECES2J3IJmLq7QeDW4vLUmGsEMlFML9WnRB1M4tjEyE4novnGt39CjHdYzO/d4gFVdxVkif2QqaoF6vGwOo8FBWOdZrLZ/ZM5vMvkGmbrf2tpM0D5PJkE6tVgWj/0DoLsa3uDByxZgr6Hu8KjUKKPFHbEgHLYJSJ5Y776X6/HkEpfxS1WRbwM7OjOhET76EiNID9zHKOiJIkEWh0qsugNhFsMXiyRlqEWPKB5zkZbo735yaqiaiGZvKGpmBkI3X3wGjjd13Ln+kLNcSMESr+kIYAAAAASUVORK5CYII='); background-size: 100% 100%; } .article_detail_dialog_wrap { width: 750px; background: #FFFFFF; box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06); border-radius: 0px 0px 4px 4px; display: flex; flex-direction: column; border-top: 4px solid #C4202E; padding: 26px 0 30px 0; margin: 0 auto; } .article_detail_dialog_wrap h4 { font-size: 24px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; line-height: 33px; text-align: center; margin-bottom: 30px; } .article_detail_dialog_form { width: 500px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; } .article_detail_form_item { width: 48%; height: 38px; background: #FFFFFF; border-radius: 4px; border: 1px solid #EEEEEE; padding: 0 15px; box-sizing: border-box; margin-bottom: 15px; } .article_detail_form_phone { width: 100%; height: 100%; } .article_detail_form_item_code { display: flex; align-items: center; justify-content: space-between; } .article_detail_form_code { width: 40%; height: 100%; } .article_detail_form_getCode { width: 50%; height: 100%; display: flex; align-items: center; justify-content: end; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #C4202E; cursor: pointer; } .article_detail_form_item_code .count_down_article { width: 50%; height: 100%; display: flex; align-items: center; justify-content: end; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #C4202E; } .article_detail_form_item_select { display: flex; align-items: center; justify-content: space-between; } .article_detail_form_item_select em { display: inline-block; height: 12px; border-left: 1px solid #EEEEEE; margin: 0 9px; } .article_detail_form_item_select span { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; display: flex; width: 50%; height: 100%; justify-content: flex-start; align-items: center; } .article_detail_form_select { width: 40%; height: 100%; display: flex; align-items: center; justify-content: center; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAAE5JREFUKFNjZCAAGIlRIMfAwDCdgYGBA03xDwYGhkyYCW4MDAwbGBgYOKGKvjMwMAQwMDDsQrYCpgikBiwJYqC7AaQIBMCS2BRguJmgLwBTNAgnLVRWFAAAAABJRU5ErkJggg=='); background-repeat: no-repeat; background-size: 8px 8px; background-position: right center; } .article_detail_form_item_btn { border: none; padding: 0; } .article_detail_form_item_btn a { display: flex; justify-content: center; align-items: center; width: 100%; height: 38px; background: #C4202E; border-radius: 4px; color: #ffffff; cursor: pointer; } .article_detail_form_agreement { width: 100%; text-align: center; display: flex; align-items: center; justify-content: center; } .article_detail_form_agreement i { display: inline-block; width: 12px; height: 12px; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMBAMAAACkW0HUAAAAD1BMVEXEIC7EHy3////EIC7xy84HTn5UAAAAAnRSTlPiSRXbpWIAAAAdSURBVAjXYxAwBgJGBhYlIHBgMAJRyiRTUO1QwwCuMgo702XJBAAAAABJRU5ErkJggg=='); background-size: 100% 100%; margin-right: 6px; cursor: pointer; } .article_detail_form_agreement p { cursor: pointer; } .article_detail_dialog_wrap .article_detail_form_agreement_active i { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAANlBMVEXEIC7EHy3EIC7129389fbJNEHILDrSV2H+/PzyztHPTVjLPEj67e/34OLsuLzYb3jVY23MQk5MZ9SSAAAAAnRSTlPiSRXbpWIAAABJSURBVAjXZY5XDsAwCEMpM6Pz/pctKBVRFf/gJ4ExbICf3AKmwk8l9LMnyLGLw0OGqMTN12KaVrZxI8S13CMgqFwzTdv6CH51Xop7AcyaJvm/AAAAAElFTkSuQmCC'); background-size: 100% 100%; } .article_detail_form_agreement a { font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #C4202E; } .article_detail_dialog_wrap .article_detail_form_item_btn .form-unable { opacity: 0.5; cursor: no-drop; } </style> <div class="article_detail_dialog" id="article_detail_dialog" data-type="liuxue" data-country="俄罗斯"> <div class="article_detail_dialog_wrap"> <h4>快速评估适合你的专业&院校</h4> <div class="article_detail_dialog_form"> <div class="article_detail_form_item"> <input type="text" placeholder="手机号" maxlength="11" class="article_detail_form_phone" id="article_detail_form_phone"> </div> <div class="article_detail_form_item article_detail_form_item_code"> <input type="text" placeholder="验证码" class="article_detail_form_code" maxlength="6" id="article_detail_form_code"> <span id="article_detail_form_getCode" class="article_detail_form_getCode form-unable">获取验证码</span> </div> <div class="article_detail_form_item article_detail_form_item_select"> <span>意向国家及地区</span> <em></em> <select class="article_detail_form_select" id="article_detail_form_select" placeholder="意向国家"> <!-- { name:"乌克兰", id:"101" },--> <option data-id="">请选择</option> <option data-id="1">美国</option> <option data-id="2">英国</option> <option data-id="4">澳大利亚</option> <option data-id="3">加拿大</option> <option data-id="5">新西兰</option> <option data-id="51">日本</option> <option data-id="50">韩国</option> <option data-id="54">中国香港</option> <option data-id="55">中国澳门</option> <option data-id="100">俄罗斯</option> <option data-id="108">爱尔兰</option> <option data-id="111">意大利</option> <option data-id="112">西班牙</option> <option data-id="102">白俄罗斯</option> <option data-id="52">新加坡</option> <option data-id="53">马来西亚</option> <option data-id="110">丹麦</option> <option data-id="103">德国</option> <option data-id="104">法国</option> <option data-id="105">挪威</option> <option data-id="106">瑞典</option> <option data-id="107">芬兰</option> <option data-id="109">荷兰</option> <option data-id="113">瑞士</option> <option data-id="114">奥地利</option> <option data-id="56">泰国</option> <option data-id="115">匈牙利</option> </select> </div> <div class="article_detail_form_item article_detail_form_item_btn"> <a col-src="101-articledetail-table-0" id="article_detail_form_item_btn" class="form-unable">立即评估</a> </div> </div> <div class="article_detail_form_agreement" id="article_detail_form_agreement"> <i></i> <p>我已阅读并同意</p> <a href="https://www.jjl.cn/privacy" target="_blank">《隐私保护协议》</a> </div> </div> </div> <script> $(function () { var article_form_type = $('#article_detail_dialog').data().type var article_form_country = $('#article_detail_dialog').data().country var isAgreement = false var article_country_list = { 'liuxue': [{ name: "请选择", id: "" }, { name: "美国", id: "1" }, { name: "英国", id: "2" }, { name: "澳大利亚", id: "4" }, { name: "加拿大", id: "3" }, { name: "新西兰", id: "5" }, { name: "日本", id: "51" }, { name: "韩国", id: "50" }, { name: "中国香港", id: "54" }, { name: "中国澳门", id: "55" }, { name: "俄罗斯", id: "100" }, { name: "爱尔兰", id: "108" }, { name: "意大利", id: "111" }, { name: "西班牙", id: "112" }, { name: "白俄罗斯", id: "102" }, { name: "新加坡", id: "52" }, { name: "马来西亚", id: "53" }, { name: "丹麦", id: "110" }, { name: "德国", id: "103" }, { name: "法国", id: "104" }, { name: "挪威", id: "105" }, { name: "瑞典", id: "106" }, { name: "芬兰", id: "107" }, { name: "荷兰", id: "109" }, { name: "瑞士", id: "113" }, { name: "奥地利", id: "114" }, { name: "泰国", id: "56" }, { name: "匈牙利", id: "115" }], 'yimin': [ { name: "请选择", id: "" }, { name: "加拿大", id: "3" }, { name: "美国", id: "1" }, { name: "英国", id: "2" }, { name: "澳大利亚", id: "4" }, { name: "新西兰", id: "5" }, { name: "德国", id: "103" }, { name: "希腊", id: "7" }, { name: "爱尔兰", id: "108" }, { name: "马耳他", id: "8" }, { name: "西班牙", id: "112" }, { name: "葡萄牙", id: "10" }, { name: "塞浦路斯", id: "11" }, { name: "土耳其", id: "6" }, { name: "格林纳达", id: "15" }, { name: "圣基茨", id: "14" }, { name: "日本", id: "51" } ] } var current_country_list = article_country_list[article_form_type] var countryIndex = returnCountryIndex(current_country_list, article_form_country) || 0 console.log(current_country_list, 'current_country_list') console.log(countryIndex, 'countryIndex') clearFormDd() var finger_visitorId = ""; if (!finger_visitorId) { initFingerprintJS(); } var grUserId = cookie("gr_user_id"); var baomingfaangshi = { //phone phone: function (phone) { if (!/^1(3|4|5|6|7|8|9)\d{9}$/.test(phone)) { return false; } return true; }, }; // 验证手机号 $("#article_detail_form_phone").on("blur", function () { judgeGetAbleDd(); if (!$(this).val()) { fn.myTostThumb('请输入您的手机号', 'null') return false; } if (!baomingfaangshi.phone($.trim($(this).val()))) { fn.myTostThumb('手机号格式不正确', 'null') return false; } }); // 验证验证码 $("#article_detail_form_code").on("blur", function () { // TODO: 已经点击获取验证码 if (!sendFlagDd) { return false; } if (!$(this).val() || $(this).val().length != 6) { fn.myTostThumb('请输入您的验证码', 'null') return false; } }); // 验证验证码 $("#article_detail_form_agreement i, #article_detail_form_agreement p").on("click", function () { isAgreement = $('#article_detail_form_agreement').hasClass('article_detail_form_agreement_active') isAgreement ? $('#article_detail_form_agreement').removeClass('article_detail_form_agreement_active') : $('#article_detail_form_agreement').addClass('article_detail_form_agreement_active') }); $("#article_detail_form_phone").bind("input porpertychange", function () { judgeGetAbleDd(); }); $("#article_detail_form_code").bind("input porpertychange", function () { judgeGetAbleDd(); }); $("#article_detail_form_select").bind("input porpertychange", function () { judgeGetAbleDd(); }); // 提交 $("#article_detail_form_item_btn").on("click", function () { if ($(this).hasClass("form-unable")) { return false; } if ($("#article_detail_form_select option:selected").text() == '请选择') { fn.myTostThumb('请选择意向国家及地区', 'null') return false; } if (!$("#article_detail_form_agreement").hasClass('article_detail_form_agreement_active')) { fn.myTostThumb('请阅读并同意《隐私保护协议》', 'null') return false; } // TODO: 传入校验码 checkCodeDd(); }); var sendFlagDd = false; // 是否已发送验证码标记 $("#article_detail_form_getCode").on("click", function () { if ($(this).hasClass("form-unable")) { return false; } if (!timerArticleDd) { getCodeDd(); } sendFlagDd = true; }); /** *提交在线评估 **/ function submitSignAssessmentDd() { var source = window.location.href // // TODO: position 值修改 // if (source.indexOf("?") === -1) { // source = source + "?position=" + ddPosition; // } else { // source = source + "&position=" + ddPosition; // } var leadsInfo = { "username": '', "phone": $("#article_detail_form_phone").val(), "source": document.referrer || source, "country": $("#article_detail_form_select option:selected").text(), "area": cookie('currentarea') && cookie('currentarea')!='' ? fn.getCityChinese(cookie('currentarea')) : '', "rel_type": article_form_type == 'yimin' ? 5 : 3, "content": '', 'url': source, 'gr_user_id': cookie("gr_user_id")//sensors.quick('getAnonymousID') } console.log(leadsInfo, 'leadsInfo-------', cookie('currentarea')) let params = { data: encrypt(JSON.stringify(leadsInfo)) } $.ajax({ url: ajaxUrlPrefix.ping_gu_url + '/api/v3/leads/data', type: "post", dataType: "json", //jsonpCallback: 'callback', contentType: "application/json", headers: { InformationCode: finger_visitorId, }, data: JSON.stringify(params), success: function (msg) { console.log(msg); if (msg.code === 200) { fn.myTostThumb('恭喜,您已提交成功!', 'null') clearFormDd() } else { alert(msg.message); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log("获取失败,请重试!CODE:" + XMLHttpRequest.status); }, }); } // TODO: 根据当前dom 修改 var timerArticleDd = null; function countDownDd() { // 60s倒计时 var countDownTimeDd = 60; timerArticleDd = window.setInterval(function () { countDownTimeDd--; $("#article_detail_form_getCode").addClass("count_down_article").html(countDownTimeDd + "s"); if (countDownTimeDd == 0) { clearInterval(timerArticleDd); timerArticleDd = null $("#article_detail_form_getCode").removeClass("count_down_article").html('获取验证码'); } }, 1000); } function getCodeDd() { console.log('发送验证码') var data = { phone: $("#article_detail_form_phone").val() }; var md5Sign = { sign_method: "md5", kqNezsMODH: "1.0", BHXPixlxDB: "" }; var md5Data = {}; for (var attr in data) { md5Data[attr] = data[attr]; } for (var attr in md5Sign) { md5Data[attr] = md5Sign[attr]; } var signArr = []; for (var i in md5Data) { signArr.push(i + "=" + md5Data[i]); } var router_key = md5(signArr.sort().join("&")); var time_key = new Date().getTime(); //获取验证码 if (!baomingfaangshi.phone($.trim($("#article_detail_form_phone").val()))) { fn.myTostThumb('手机号格式不正确', 'null') return false; } else { countDownDd() } $.ajax({ url: ajaxUrlPrefix.goApi + "/cms/api/sendPhoneCode", type: "get", headers: { "content-type": "application/x-www-form-urlencoded", RterKey: router_key, TimeKey: time_key, Authorization: '5b6bac4a04700f0001f287ce55a8c8dc0cf54ba290e20e6c4efe9a74' }, data: { phone: $("#article_detail_form_phone").val(), }, dataType: "json", // dataType:"jsonp", success: function (msg) { if (msg.code === 0) { /* alert('成功');*/ } else { alert("出错啦"); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log("获取失败,请重试!CODE:" + XMLHttpRequest.status); }, }); } // 校验验证码 function checkCodeDd() { var data = { phone: $("#article_detail_form_phone").val(), code: $("#article_detail_form_code").val(), }; var md5Sign = { sign_method: "md5", kqNezsMODH: "1.0", BHXPixlxDB: "" }; var md5Data = {}; for (var attr in data) { md5Data[attr] = data[attr]; } for (var attr in md5Sign) { md5Data[attr] = md5Sign[attr]; } var signArr = []; for (var i in md5Data) { signArr.push(i + "=" + md5Data[i]); } var router_key = md5(signArr.sort().join("&")); var time_key = new Date().getTime(); $.ajax({ url: ajaxUrlPrefix.goApi + "/cms/api/checkPhoneCode", type: "get", headers: { "content-type": "application/x-www-form-urlencoded", RterKey: router_key, TimeKey: time_key, Authorization: '5b6bac4a04700f0001f287ce55a8c8dc0cf54ba290e20e6c4efe9a74' }, data: { code: $("#article_detail_form_code").val(), phone: $("#article_detail_form_phone").val(), }, dataType: "json", success: function (msg) { console.log(msg); if (msg.code === 0) { // TODO: 根据当前修改 submitSignAssessmentDd(); } else { fn.myTostThumb(msg.data, 'null') } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log("获取失败,请重试!CODE:" + XMLHttpRequest.status); }, }); } function initFingerprintJS() { var options = { fonts: { extendedJsFonts: true }, excludes: { userAgent: true } } if (window.requestIdleCallback) { requestIdleCallback(function () { Fingerprint2.getV18(options, function (result, components) { finger_visitorId = result }) }) } else { setTimeout(function () { Fingerprint2.getV18(options, function (result, components) { finger_visitorId = result }) }, 500) } } function judgeGetAbleDd() { var phoneFlag = false; var phoneVal = $("#article_detail_form_phone").val(); if (phoneVal.length === 11) { if (/^1[3456789]\d{9}$/.test(phoneVal)) { phoneFlag = true; $("#article_detail_form_getCode").removeClass("form-unable"); } else { fn.myTostThumb('手机号格式不正确', 'null') $("#article_detail_form_getCode").addClass("form-unable"); } } else { $("#article_detail_form_getCode").addClass("form-unable"); } var codeFlag = $("#article_detail_form_code").val().length === 6; if (phoneFlag && codeFlag && sendFlagDd) { $("#article_detail_form_item_btn").removeClass("form-unable"); } else { $("#article_detail_form_item_btn").addClass("form-unable"); } } function clearFormDd() { $("#article_detail_form_phone").val('') $("#article_detail_form_code").val('') $('#article_detail_form_agreement').removeClass('article_detail_form_agreement_active') $("#article_detail_form_select")[0].options[countryIndex].selected = true; clearInterval(timerArticleDd); timerArticleDd = null $("#article_detail_form_item_btn").addClass("form-unable"); $("#article_detail_form_getCode").removeClass("count_down_article").html('获取验证码').addClass('form-unable'); } function returnCountryIndex(data, target) { var countryIndex = 0 for (var index = 0; index < data.length; index++) { if (data[index]['name'] === target) { countryIndex = index } } return countryIndex } }); </script> </div> <!--轮播图广告--> <div class="dui-layout-lg clearfix banner-box" id="article_comment_list_warp"> <div class="dui-layout-con banner-box-left"> <div class="slider"> <div class="slider-img"> <ul class="slider-img-ul"> <li> <a data-pid="649" onclick="openUrl('https://www.jjl.cn/zt/2024/20240223_offlineEducation/index.html')"> <img src="https://images.jjl.cn/content/2024/0227/20240227023350974.png" alt="" style="width: 100%;height: 100%;"> </a> </li> </ul> </div> </div> </div> </div> <div class="ar-dianzan-box flex"> </div> <!-- ========评论===== --> <div style="display: none;" class="saytext-box" id="saytext-box"> <div class="comment-tit">评论</div> <div class="com-cont-box flex"> <!-- 登陆用户头像 --> <img class="com-login-avater" src="//images.jjl.cn/avatar/default_jjl.png" alt=""> <div class="com-ip-box"> <textarea class="saytext1 saytext comment-ip-2022" id="saytext" maxlength="500" placeholder="说点什么吧"></textarea> <div class="sub-btn-box clearfix emotion-box emotion-box-2022"> <img src="//cdn6.jjl.cn/assets/img/page2022/biaoqing-d24c5cf53f.png" alt="" class="emotion com-emotion-icon"> <a href="javascript:void(0);" class="dui-btn btn-xlarge btn-consult_ylw sub-btn pinglun-btn" data-artId="58830" data-memberId="1385" id="commentBtn"> 评论 </a> </div> </div> </div> </div> <div style="display: none;" class="comment-list-box"> </div> <script src="//cdn6.jjl.cn/assets/js/jquery-browser-a3f002c387.js"></script> <script src="//cdn6.jjl.cn/assets/js/jquery-6f582923d7.qqFace.js"></script> <script src="//cdn6.jjl.cn/assets/js/moment-49748ae1f6.js"></script> <script> var adviserId = ''; var article_id = ''; var city_id = ''; var login_ss = null; $(function () { if (cookie('login_ss') != undefined) { login_ss = JSON.parse(cookie('login_ss')); console.log('有没有用户信息login_ss', login_ss) } adviserId = $("#commentBtn").attr('data-memberId'); // 获取顾问id article_id = $('#commentBtn').attr("data-artId"); // 获取文章id; city_id = $('.advisor-bumen').attr('data-cityId'); //获取顾问的分公司id $("#saytext").on("change", function () { this.value = this.value.substring(0, 500); }); $("#saytext").on("keydown", function () { this.value = this.value.substring(0, 500); }); $("#saytext").on("keyup", function () { var strLength = $.trim($(this).val()).length; $("#word-num").html(500 - strLength); if (strLength > 500) { $("#word-num").html(0); this.value = this.value.substring(0, 500); } }); $('.emotion').qqFace({ path: ajaxUrlPrefix.cdnhost + '/assets/img/gif/' //表情存放的路径 }); $('.delete-btn').on('click', function () { //删除评论 del(this, 1) }); $('.delete-btn2').on('click', function () { //删除回复 del(this, 2); }); var commontFlag = true; $("#commentBtn").on('click', function () { //文章评论 if (commontFlag) { if (login_ss == undefined) { getlogin(); return false; } if (login_ss.uid == adviserId) { layer.msg('你不能评论自己的文章') $("#saytext").val(null); return false; } var str = $.trim($("#saytext").val()); if (str == '') { layer.msg('请输入评论内容') return false; } $.ajax({ url: '/soapi/reviewArticle', type: 'POST', data: { article_id: article_id, message: str, u_id: login_ss.uid }, dataType: 'jsonp', jsonpCallback: 'cb', success: function (result) { commontFlag = true; console.log(result) if (result.code == 0) { layer.msg('评论成功') var vHtml = ''; if (login_ss.usertype == 2) { vHtml = '<i class="adviser-v-i"></i>'; } // TODO: 需修改 var delHtml = ''; if (login_ss != null && login_ss.uid == adviserId) { delHtml = '<span class="delete-btn" >' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/art-del-icon-28bc2bd94f.png" alt="" class="ar-del-icon">删除</span>' } var html = '<div class="comment-list clearfix yijipinglun" >' + // 新的 ' <div class="comment-head" style="background:url(' + fn.avaterimg(login_ss.uid, 'small', login_ss.status, login_ss.version, login_ss.usertype, login_ss.avatar_file) + ') no-repeat 0 0;background-size:cover;" ></div>' + // 新的 ' <div class="comment-info" >' + '<div class="comment-info-name-box flex">' + '<span class="comment-info-name">' + result.data.comment_id.nickname + vHtml + '</span>' + '<span class="fabulous" onclick="fabulous(this)" data-uid = "" data-commentId = "' + result.data.comment_id.comment_id + '" ><span>0</span>&nbsp;' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-icon-beb50d5eef.png" alt="" class="com-votes-icon">' + '</span>' + '</div>' + '<p class="comment-info-txt" >' + replace_em(str) + '</p>' + '<div class="comment-btn-bar" >' + '<span class="reply" data-uid = "' + login_ss.uid + '" data-commentId = "' + result.data .comment_id.comment_id + '" onclick="reply1(this)">回复</span>' + delHtml + '<span class="comment-info-time">' + moment.unix(result.data.time).format( 'YYYY年MM月D日 HH:mm') + '</span>' + '<span class="ar-jubao-box art-report-btn comment-jubao" onclick="report(this,2)">' + ' <img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/jubao-icon-d21b4f84a4.png" alt="" class="ar-jubao-icon">举报</span>' + '</div>' + '<div class="reply-box here" >' + '<textarea class="reply-text saytext" maxlength="250"></textarea>' + '<div class="clearfix emotion-box reply-emotion-box" >' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/biaoqing-d24c5cf53f.png" alt="" class="emotion com-emotion-icon ">' + '<a href="javascript:void(0);" class="dui-btn btn-xlarge btn-consult_ylw sub-btn1 reply-pinglun" data-commentId = "' + result.data.comment_id.comment_id + '" data-uid ="' + login_ss.uid + '" onclick="replyComment1(this)">评论</a>' + '</div>' + '</div>' + '<div class="reply-list" data-total_count="0" style="display:none"></div>' + '</div>' + '</div>' $("#saytext").val(null); $("#word-num").html(500); $(".comment-list-box").prepend(html); $('.emotion').qqFace({ path: ajaxUrlPrefix.cdnhost + '/assets/img/gif/' //表情存放的路径 }); $(".fabulous").on("click", function () { //点赞 layer.msg('不能对自己发表的内容进行投票') }); } else { layer.msg(result.message) } }, error: function (XMLHttpRequest, textStatus, errorThrown) { commontFlag = true; console.log(errorThrown) } }); } commontFlag = false; }); var commentPage = 1; $(".load-more").on("click", function () { //点击加载更多 commentPage++ var uid = ''; if (login_ss != undefined) { uid = login_ss.uid; } $.ajax({ url: '/soapi/article_comments', type: "GET", data: { article_id: article_id, page: commentPage, per_page: '10', u_id: uid }, dataType: "json", success: function (result) { if (result.data.list.length != 0) { var html = ''; var imgDemo = ''; //设置点赞颜色 for (var i = 0; i < result.data.list.length; i++) { if (result.data.list[i].is_vote) { imgDemo = '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-ed-icon-0052eb3e38.png" alt="" class="com-votes-icon">' } else { imgDemo = '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-icon-beb50d5eef.png" alt="" class="com-votes-icon">' } var vHtml = ''; if (result.data.list[i].user_info.usertype == 2) { vHtml = '<i class="adviser-v-i"></i>'; } var delHtml = ''; if (login_ss != null && login_ss.uid == adviserId) { delHtml = '<span class="delete-btn" ><i class="iconfont" >&#xe61e;</i>删除</span>'; } var ansBlock = 'none'; if (result.data.list[i].ans_list.total_count > 0) { ansBlock = 'block'; } html += '<div class="comment-list clearfix old-commen-list" >' + // 新的 ' <div class="comment-head" style="background:url(' + fn.avaterimg(result.data.list[i] .uid, 'small', result.data.list[i].user_info.status, result.data.list[i].user_info .version, result.data.list[i].user_info.usertype, result.data.list[i].user_info .avatar_file) + ') no-repeat 0 0;background-size:cover;" ></div>' + // 新的 result.data.list[i].add_time+ ' <div class="comment-info" >' + '<div class="comment-info-name-box flex">' + '<span class="comment-info-name">' + result.data.list[i].nickname + vHtml + '</span>' + '<span class="fabulous" onclick="fabulous(this)" data-uid = "' + result.data.list[i] .uid + '" data-commentId = "' + result.data.list[i].id + '" ><span>' + result.data.list[i].votes + '</span>&nbsp;' + imgDemo + '</span>' + '</div>' + '<p class="comment-info-txt" >' + replace_em(result.data.list[i].message) + '</p>' + '<div class="comment-btn-bar" >' + '<span class="reply" data-uid = "' + result.data.list[i].uid + '" data-commentId = "' + result.data.list[i].id + '" onclick="reply1(this)">回复</span>' + delHtml + '<span class="comment-info-time">' + moment.unix(result.data.list[i].add_time).format( 'YYYY年MM月D日 HH:mm') + '</span>' + '<span class="ar-jubao-box art-report-btn comment-jubao" onclick="report(this,2)">' + ' <img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/jubao-icon-d21b4f84a4.png" alt="" class="ar-jubao-icon">举报</span>' + '</div>' + '<div class="reply-box here" >' + '<textarea class="reply-text saytext" maxlength="250"></textarea>' + '<div class="clearfix emotion-box reply-emotion-box" >' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/biaoqing-d24c5cf53f.png" alt="" class="emotion com-emotion-icon ">' + '<a href="javascript:void(0);" class="dui-btn btn-xlarge btn-consult_ylw sub-btn1 reply-pinglun" data-commentId = "' + result.data.list[i].id + '" data-uid ="' + result.data.list[i].uid + '" onclick="replyComment1(this)">评论</a>' + '</div>' + '</div>' + '<div class="reply-list" data-total_count="' + result.data.list[i].ans_list.total_count + '" style="display:' + ansBlock + ';">' + ansHtml(result.data.list[i].ans_list.list) + '</div>' + '</div>' + '</div>'; } $(".load-more").before(html); $('.emotion').qqFace({ path: ajaxUrlPrefix.cdnhost + '/assets/img/gif/' //表情存放的路径 }); $('.delete-btn').unbind('click'); //清楚一次click事件 $('.delete-btn').on('click', function () { //删除评论 del(this, 1) }); $('.delete-btn2').unbind('click'); $('.delete-btn2').on('click', function () { //删除回复 del(this, 2); }); if (result.data.list.length > 0 && result.data.list.length < 10) { $(".load-more").html('评论加载完毕'); } } else { //没有让其隐藏起来 layer.msg("已经到底了") // $(".load-more").css({"display":"none"}); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(errorThrown) } }); }); }); function ansHtml(ans_list) { if (ans_list == null) { return ''; } //回复html var ahtml = ''; oldahtml = '' var ansImgDom = ''; //设置点赞颜色 if (ans_list) { for (var j = 0; j < ans_list.length; j++) { if (ans_list[j].is_vote) { ansImgDom = '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-ed-icon-0052eb3e38.png" alt="" class="com-votes-icon">'; } else { ansImgDom = '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-icon-beb50d5eef.png" alt="" class="com-votes-icon">'; } var delHtml = ''; if (login_ss != null && login_ss.uid == adviserId) { delHtml = '<span class="delete-btn2" ><img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/art-del-icon-28bc2bd94f.png" alt="" class="ar-del-icon">删除</span>' } ahtml += '<div class="reply-list-info ahtml666" >' + '<div class="reply-list-info-top flex">' + '<div class="reply-list-info-top-left">' + '<img class="reply-nick-icon" src="' + fn.avaterimg(ans_list[j].uid, 'small', ans_list[j].status, ans_list[j] .version, ans_list[j].user_type, ans_list[j].avatar_file) + '" alt="">' + '<span class="ans-nickname">' + ans_list[j].nickname + '</span>' + '</div>' + '<span class="fabulous" onclick="fabulous1(this)" data-uid = "' + ans_list[j].uid + '" data-commentId = "' + ans_list[j].comment_id + '"><span>' + ans_list[j].votes + '</span>&nbsp;' + ansImgDom + '</span>' + '</div>' + ' <div class="reply-cont-txt">' + replace_em(ans_list[j].message) + '</div>' + '<div class="comment-btn-bar reply-com-btn-bar" style="margin-top: 10px;">' + '<span data-uid = "' + ans_list[j].uid + '" onclick="reply2(this);" data-commentId="' + ans_list[j] .comment_id + '" data-replyId ="' + ans_list[j].id + '">' + ' 回复' + '</span>' + '<span>' + moment.unix(ans_list[j].add_time).format('YYYY年MM月D日 HH:mm') + '</span>' + '<span class="ar-jubao-box art-report-btn comment-jubao" onclick="report(this,3)">' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/jubao-icon-d21b4f84a4.png" alt="" class="ar-jubao-icon">' + ' 举报' + '</span>' + delHtml + '</div>' + '<div class="reply-box here" >' + '<textarea class="reply-text saytext" maxlength="250"></textarea>' + '<div class="clearfix emotion-box reply-emotion-box" >' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/biaoqing-d24c5cf53f.png" alt="" class="emotion com-emotion-icon ">' + '<a href="javascript:void(0);" class="dui-btn btn-xlarge btn-consult_ylw sub-btn1 reply-pinglun" data-commentId = "' + ans_list[j].comment_id + '" data-uid ="' + ans_list[j].uid + '" onclick="replyComment2(this)">评论</a>' + '</div>' + '</div>' + '</div>'; } } return ahtml; } function replace_em(str) { str = str.replace(/\</g, '&lt;'); str = str.replace(/\>/g, '&gt;'); str = str.replace(/\n/g, '<br/>'); str = str.replace(/\[em_([0-9]*)\]/g, '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/gif/$1.gif" border="0" />'); return str; } function reply1(obj) { //点击一级回复 加载回复列表 console.log('一级回复') var that = obj; if ($(that).parent().next().css('display') == 'none') { //没有回复列表 让评论框出来 $(that).parent().next().show(); //获得焦点 $(that).parent().next().find('.reply-text').focus(); } else { $(that).parent().next().hide(); } } function reply2(obj) { //点击二级回复 console.log('二级回复') if (login_ss != undefined) { console.log('login_ss.uid ==adviserId', login_ss.uid, adviserId) console.log('第二个', $(obj).parents('.reply-list').prev().prev().find('.reply').attr('data-uid')) if (login_ss.uid == adviserId || login_ss.uid == $(obj).parents('.reply-list').prev().prev().find('.reply').attr( 'data-uid')) { console.log('权限成功') } else { layer.msg('你没有权限回复该评论') return false; } } else { getlogin(); return false; } if ($(obj).parent().parent().find(".reply-box").css("display") == 'none') { //点击 显示隐藏评论框 $(obj).parent().parent().find(".reply-box").show(); //获得焦点 $(obj).parent().parent().find(".reply-box").find('.reply-text').focus(); } else { $(obj).parent().parent().find(".reply-box").hide(); } } function replyComment1(obj) { //回复一级评论 console.log('一级评论') if (login_ss != undefined) { if (login_ss.uid == adviserId || login_ss.uid == $(obj).attr('data-uid')) { console.log('权限成功') } else { layer.msg('你没有权限回复该评论') return false; } } else { getlogin(); return false; } var replyMessage = $.trim($(obj).parent().prev().val()); if (replyMessage == '') { layer.msg('评论不能为空') return false; } var that = obj; $.ajax({ url: '/soapi/save_comment_ans', type: 'POST', data: { u_id: login_ss.uid, comment_id: $(obj).attr("data-commentId"), message: replyMessage }, dataType: 'json', success: function (result) { console.log(result) if (result.code == 0) { $(that).parent().prev().val(null); //清空评论框 $(that).parent().parent().next().attr('data-total_count', 1); layer.msg('评论成功') //隐藏评论框 $(that).parent().parent().hide(); var delHtml = ''; if (login_ss.uid == adviserId) { delHtml = '<span class="delete-btn2" ><img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/art-del-icon-28bc2bd94f.png" alt="" class="ar-del-icon">删除</span>' } var html = '<div class="reply-list-info replyComment1111" >' + '<div class="reply-list-info-top flex">' + '<div class="reply-list-info-top-left">' + '<img class="reply-nick-icon" src="' + fn.avaterimg(login_ss.uid,'small',login_ss.status,login_ss.version, login_ss.usertype,login_ss.avatar_file) + '" alt="">' + '<span class="ans-nickname">' + login_ss.nickname + '</span>' + '</div>' + '<span class="fabulous" onclick="fabulous1(this)" data-uid = "' + login_ss.uid + '" data-commentId = "' + result.data + '"><span>0</span>&nbsp;' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-icon-beb50d5eef.png" alt="" class="com-votes-icon">' + '</span>' + '</div>' + // 新的 ' <div class="reply-cont-txt">' + replace_em(replyMessage) + '</div>' + // 新的 '<div class="comment-btn-bar reply-com-btn-bar" style="margin-top: 10px;">' + '<span data-uid = "' + login_ss.uid + '" onclick="reply2(this);" data-commentId="' + $(obj).attr( "data-commentId") + '" data-replyId ="' + result.data + '">' + ' 回复' + '</span>' + '<span>' + moment().format('YYYY年MM月D日 HH:mm') + '</span>' + '<span class="ar-jubao-box art-report-btn comment-jubao" onclick="report(this,3)">' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/jubao-icon-d21b4f84a4.png" alt="" class="ar-jubao-icon">' + ' 举报' + '</span>' + delHtml + '</div>' + '<div class="reply-box" >' + '<textarea class="reply-text" maxlength="250" >' + '</textarea>' + '<div class="clearfix emotion-box" style="margin-top: 10px;">' + '<span class="emotion"></span>' + '<a href="javascript:void(0);" class="dui-btn btn-xlarge btn-consult_ylw sub-btn2" data-commentId = "' + $(obj).attr("data-commentId") + '" onclick="replyComment2(this)">评论' + '</a>' + '</div>' + '</div>' + '</div>'; //插入回复列表里 $(that).parent().parent().next().prepend(html); //显示出来 $(that).parent().parent().next().show(); $('.emotion').qqFace({ path: ajaxUrlPrefix.cdnhost + '/assets/img/gif/' //表情存放的路径 }); // $('.report-btn').on("click",report); //点击举报 $(".fabulous").on("click", function () { //点赞 layer.msg('不能对自己发表的内容进行投票') }); $('.delete-btn2').on('click', function () { //删除回复 del(this, 2); }); } else if (result.code == '1210000012') { layer.msg('您输入的内容有敏感词'); } else { layer.msg(result.message) } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(errorThrown) } }); } function replyComment2(obj) { //二级回复评论点击事件 console.log('二级评论') var replyMessage = $.trim($(obj).parent().prev().val()); if (replyMessage == '') { layer.msg('评论不能为空') return false; } var that = obj; $.ajax({ url: '/soapi/save_comment_ans', type: 'POST', data: { u_id: login_ss.uid, comment_id: $(obj).attr("data-commentId"), message: replyMessage }, dataType: 'json', success: function (result) { console.log(result) if (result.code == 0) { layer.msg('评论成功'); $(that).parent().prev().val(null); //清空评论框 //隐藏评论框 $(that).parent().parent().hide(); var delHtml = ''; if (login_ss.uid == adviserId) { delHtml = '<span class="delete-btn2" ><i class="iconfont" >&#xe61e;</i>删除</span>'; } var newhtml = '<div class="reply-list-info replyComment222" >' + '<div class="reply-list-info-top flex">' + '<div class="reply-list-info-top-left">' + '<img class="reply-nick-icon" src="' + fn.avaterimg(login_ss.uid,'small',login_ss.status,login_ss.version, login_ss.usertype,login_ss.avatar_file) + '" alt="">' + '<span class="ans-nickname">' + login_ss.nickname + '</span>' + '</div>' + '<span class="fabulous" onclick="fabulous1(this)" data-uid = "' + login_ss.uid + '" data-commentId = "' + result.data+'"><span>0</span>&nbsp;' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-icon-beb50d5eef.png" alt="" class="com-votes-icon">' + '</span>' + '</div>' + ' <div class="reply-cont-txt">' + replace_em(replyMessage) + '</div>' + '<div class="comment-btn-bar reply-com-btn-bar" style="margin-top: 10px;">' + '<span data-uid = "' + login_ss.uid + '" onclick="reply2(this);" data-commentId="' + $(obj).attr( "data-commentId") + '" data-replyId ="' + result.data + '">' + ' 回复' + '</span>' + '<span>' + moment().format('YYYY年MM月D日 HH:mm') + '</span>' + '<span class="ar-jubao-box art-report-btn comment-jubao" onclick="report(this,3)">' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/jubao-icon-d21b4f84a4.png" alt="" class="ar-jubao-icon">' + ' 举报' + '</span>' + delHtml + '</div>' + '<div class="reply-box here" >' + '<textarea class="reply-text saytext" maxlength="250"></textarea>' + '<div class="clearfix emotion-box reply-emotion-box" >' + '<img src="' + ajaxUrlPrefix.cdnhost + '/assets/img/page2022/biaoqing-d24c5cf53f.png" alt="" class="emotion com-emotion-icon ">' + '<a href="javascript:void(0);" class="dui-btn btn-xlarge btn-consult_ylw sub-btn1 reply-pinglun" data-commentId = "' + $(obj).attr("data-commentId") + '" data-uid ="' + login_ss.uid + '" onclick="replyComment2(this)">评论</a>' + '</div>' + '</div>' + '</div>'; $(that).parent().parent().parent().parent().append(newhtml); $('.emotion').qqFace({ path: ajaxUrlPrefix.cdnhost + '/assets/img/gif/' //表情存放的路径 }); // $('.report-btn').on("click",report); //点击举报 $(".fabulous").on("click", function () { //点赞 layer.msg('不能对自己发表的内容进行投票') }); $('.delete-btn2').unbind('click'); $('.delete-btn2').on('click', function () { //删除回复 del(this, 2); }); } else if (result.code == '1210000012') { layer.msg('您输入的内容有敏感词'); } else { layer.msg(result.message) } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(errorThrown) } }); } function fabulous(obj) { console.log('点击点赞', obj) //点赞调取函数 if (login_ss == undefined) { getlogin(); return false; } // if(login_ss.uid == $(obj).next().attr('data-uid')){ // layer.msg('不能对自己发表的内容进行投票'); // return false; // } $.ajax({ url: '/soapi/article_vote', type: 'POST', data: { item_id: $(obj).attr("data-commentId"), item_type: "comment", u_id: login_ss.uid }, dataType: 'jsonp', jsonpCallback: 'cb', success: function (result) { var num = Number($(obj).find('span').text()) if (result.code == 0) { if (result.data.action == 'add') { layer.msg('点赞成功'); $(obj).find('img').attr('src', ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-ed-icon-0052eb3e38.png') $(obj).find('span').text(num + 1) } else if (result.data.action == 'remove') { layer.msg('取消点赞成功'); $(obj).find('img').attr('src', ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-icon-beb50d5eef.png') $(obj).find('span').text(num - 1) } } else { layer.msg(result.message) } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(errorThrown) } }); } function fabulous1(obj) { if (login_ss == undefined) { getlogin(); return false; } // if(login_ss.uid == $(obj).next().attr('data-uid')){ // layer.msg('不能对自己发表的内容进行投票'); // return false; // } $.ajax({ url: '/soapi/article_vote', type: 'POST', data: { item_id: $(obj).attr('data-commentId'), item_type: 'comment_ans', u_id: login_ss.uid }, dataType: 'jsonp', jsonpCallback: 'cb', success: function (result) { var num = Number($(obj).find('span').text()) if (result.code == 0) { if (result.data.action == 'add') { layer.msg('点赞成功'); $(obj).find('img').attr('src', ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-ed-icon-0052eb3e38.png') $(obj).find('span').text(num + 1) } else if (result.data.action == 'remove') { layer.msg('取消点赞成功'); $(obj).find('img').attr('src', ajaxUrlPrefix.cdnhost + '/assets/img/page2022/zan-icon-beb50d5eef.png') $(obj).find('span').text(num - 1) } } else { layer.msg(result.message) } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(errorThrown) } }); } function report(obj, type, city_id) { //举报调取函数 var report_content = null; isLogin(function (code) { if (!code) { getlogin(); return false; } layer.open({ type: 1, title: '举报理由', area: ['700px'], //宽高 content: '<div class="report-con">' + '<ul class="report-ul clearfix">' + '<li>' + '<span class="circle"></span>' + '<i class="iconfont">&#xe62a;</i>' + '<span class="sp-con">垃圾、广告信息</span>' + '</li>' + '<li>' + '<span class="circle"></span>' + '<i class="iconfont">&#xe62a;</i>' + '<span class="sp-con">色情、低俗内容</span>' + '</li>' + '<li>' + '<span class="circle"></span>' + '<i class="iconfont">&#xe62a;</i>' + '<span class="sp-con">时政敏感话题</span>' + '</li>' + '<li>' + '<span class="circle"></span>' + '<i class="iconfont">&#xe62a;</i>' + '<span class="sp-con">其它原因</span>' + '</li>' + '</ul>' + '<textarea class="report-txt" placeholder="内容最多为500个字符" maxlength="500" ></textarea>' + '</div>', btn: '确定', closeBtn: '2', yes: function (index, layero) { if (report_content == undefined || report_content == '') { layer.msg('请选择举报理由'); return false; } $.ajax({ // url: ajaxUrlPrefix.cmsapi+'/api/userReport', url: '/soapi/userReport', type: 'post', data: { report_source: '1', report_type: type, report_content: report_content, // userid: login_ss.uid, article_id: article_id, comment_id: $(obj).siblings().eq(0).attr('data-commentId'), reply_id: $(obj).siblings().eq(0).attr('data-replyId'), article_url: window.location.href, city_id: city_id }, dataType: 'json', success: function (result) { console.log(result) if (result.code == 0) { layer.msg('举报成功'); layer.close(index); } else { layer.msg(result.message); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(errorThrown) } }); } }); }) $("body").on("click",".report-ul li",function () { //选择举报内容 $(".report-ul li i").hide(); $(".report-ul li .circle").show(); $(this).find("i").show(); $(this).find(".circle").hide(); if ($(this).index() == 3) { $(".report-txt").show(); $(".report-con").parent().css({ "height": "115px" }); if ($('.report-txt').val() != '') { report_content = $('.report-txt').val(); } else { report_content = ''; } } else { $(".report-txt").hide(); $(".report-con").parent().css({ "height": "39px" }); report_content = $(this).find('.sp-con').text(); console.log(report_content, 'report_content') } }); $('body').on('change', ".report-txt",function () { if ($('.report-txt').val() != '') { report_content = $('.report-txt').val(); } else { report_content = ''; } }); } function del(obj, type) { //调取 删除评论、回复接口 var data = {}; var url = null; data.u_id = login_ss.uid; if (type == 1) { data.comment_id = $(obj).siblings().eq(0).attr('data-commentId'); url = '/soapi/remove_comment'; } else { data.comment_ans_id = $(obj).siblings().eq(0).attr('data-replyId'); url = '/soapi/remove_comment_ans'; } $.ajax({ url: url, type: 'POST', data: data, dataType: 'json', success: function (result) { console.log(result) if (result.code == 0) { layer.msg('删除成功') window.setTimeout(function () { window.location.reload(); }, 1000); } else { layer.msg(result.message) } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(errorThrown) } }); } function isLogin(fn) { $.ajax({ url: "/isLogin", type: "POST", dataType: "jsonp", jsonpCallback: "cb", success: function (result) { fn && fn(result.code) }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(errorThrown); }, }); } </script> <style> .fabulous>span { color: #333; } .comment-tit { padding-bottom: 15px; font-size: 20px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; line-height: 28px; } .comment-ip-2022 { width: 837px; height: 100px; box-sizing: border-box; padding: 15px; border: none; background: #F8F8F8; border-radius: 4px; } .emotion-box-2022 { position: absolute; right: 15px; bottom: 0; display: inline-block; align-items: center; } .com-cont-box { justify-content: space-between; flex-wrap: nowrap; } .com-login-avater { display: inline-block; width: 28px; height: 28px; border-radius: 50%; } .com-ip-box { position: relative; } .com-emotion-icon { display: inline-block; width: 18px; height: 18px; cursor: pointer; margin-right: 15px; margin-top: 8px; background: none; } .pinglun-btn { width: 64px; height: 32px; background: #505050; border-radius: 4px; border: none; box-sizing: border-box; padding: 0; cursor: pointer; text-align: center; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #FFFFFF; line-height: 30px; } .comment-list-box { background-color: #fff; } .comment-head { width: 28px; height: 28px; margin-right: 15px; } .comment-info-name { font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; } .reply-list { background-color: #fff; } .reply { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; line-height: 20px; } .comment-info-name-box { justify-content: space-between; padding-bottom: 10px; } .fabulous { font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; } .com-votes-icon { display: inline-block; width: 16px; height: 16px; margin-top: -4px; } .comment-info-time:before { content: ''; } .reply-nick-icon { display: inline-block; width: 24px; height: 24px; border-radius: 50%; margin-right: 15px; } .comment-tit { padding-bottom: 15px; font-size: 20px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; line-height: 28px; } .comment-ip-2022 { width: 837px; height: 100px; box-sizing: border-box; padding: 15px; border: none; background: #F8F8F8; border-radius: 4px; } .emotion-box-2022 { position: absolute; right: 15px; bottom: 0; display: inline-block; align-items: center; } .com-cont-box { justify-content: space-between; flex-wrap: nowrap; } .com-login-avater { display: inline-block; width: 28px; height: 28px; border-radius: 50%; } .com-ip-box { position: relative; } .com-emotion-icon { display: inline-block; width: 18px; height: 18px; cursor: pointer; margin-right: 15px; margin-top: 8px; background: none; } .pinglun-btn { width: 64px; height: 32px; background: #505050; border-radius: 4px; border: none; box-sizing: border-box; padding: 0; cursor: pointer; text-align: center; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #FFFFFF; line-height: 30px; } .comment-list-box { background-color: #fff; padding: 20px 0; } .comment-head { width: 28px; height: 28px; margin-right: 15px; } .comment-info-name { font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; } .reply-list { background-color: #fff; } .reply { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; line-height: 20px; } .comment-info-name-box { justify-content: space-between; } .fabulous { font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; } .com-votes-icon { display: inline-block; width: 16px; height: 16px; margin-top: -4px; } .comment-info-time:before { content: ''; } .reply-nick-icon { display: inline-block; width: 24px; height: 24px; border-radius: 50%; margin-right: 15px; } .reply-cont-txt { margin-top: 8px; padding-left: 40px; font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; line-height: 22px; } .reply-list-info-top { justify-content: space-between; } .reply-list-info-top .ans-nickname { font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; } .reply-list-info-top .fabulous { font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; } .reply-list-info { border: none; } .reply-list { padding: 0; } .reply-list-info { width: 100%; } .reply-com-btn-bar { padding-left: 40px; } .reply-text { border: none; width: 837px; height: 100px; background: #F8F8F8; border-radius: 4px; } .reply-emotion-box { position: absolute; bottom: 15px; right: 15px; } .reply-emotion-box .qqFace, .emotion-box-2022 .qqFace { width: 396px; height: 136px; margin-top: 20px; } .reply-box { position: relative; } .reply-pinglun { display: inline-block; width: 64px; height: 32px; padding: 0; background: #505050; border-radius: 4px; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #FFFFFF; line-height: 32px; } .btn-consult_ylw:hover, .btn-consult_ylw:focus { border: none; background: #505050; color: #FFFFFF; } .btn-consult_ylw { border: none; } .reply-text { padding: 15px; } .load-more { width: 880px; height: 44px; background: #F8F8F8; border-radius: 4px; border: none; font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; line-height: 44px; } .com-load-more {} .com-load-more:after { content: ''; display: inline-block; width: 7px; height: 7px; border-top: 1px solid #333; border-right: 1px solid #333; transform: rotate(45deg); -webkit-transform: rotate(45deg); vertical-align: middle; margin-bottom: 3px; } .comment-list-box { border-bottom: none; } .fabulous { cursor: pointer; } .comment-btn-bar span { margin-right: 15px; } .comment-btn-bar .comment-info-time { cursor: none; } .comment-info-txt { font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; line-height: 22px; padding-bottom: 5px; } .reply-com-btn-bar span:first-child { display: none !important; } .comment-info { width: 837px; } .reply-text { box-sizing: border-box; } </style> <!-- 更多留学话题 --> <div class="article_topic_wrap"> <div class="article_topic_head"> <i></i> <h6>更多留学话题</h6> </div> <div class="article_topic_List" id="article_topic_List"> <a col-src="101-articledetail-topic-0" href="javascript:void(0);" rel="nofollow" data-url="https://www.jjl.cn/zt/2022/20220311_countryAdmission/index.html">俄罗斯录取捷报</a> <a col-src="101-articledetail-topic-1" href="javascript:void(0);" data-target="country_strategy">俄罗斯留学申请攻略</a> <a col-src="101-articledetail-topic-2" href="javascript:void(0);" data-target="new_home_product">俄罗斯留学产品</a> <a col-src="101-articledetail-topic-3" href="javascript:void(0);" data-target="study_must_read">俄罗斯留学专业解析</a> <a col-src="101-articledetail-topic-4" href="javascript:void(0);" data-target="study_must_read">俄罗斯留学职场就业发展</a> <a col-src="101-articledetail-topic-5" href="javascript:void(0);" data-target="study_must_read">俄罗斯留学生活</a> <a col-src="101-articledetail-topic-6" href="javascript:void(0);" data-target="country_newsletter">俄罗斯留学时讯</a> <a col-src="101-articledetail-topic-7" href="javascript:void(0);" data-target="study_must_read">俄罗斯签证指导</a> <a col-src="101-articledetail-topic-8" href="javascript:void(0);" data-target="" data-url="https://www.jjl.cn/college_rank">俄罗斯大学排名</a> <a col-src="101-articledetail-topic-9" href="javascript:void(0);" data-target="success_case_wrap">俄罗斯成功案例</a> </div> </div> <!-- 更多推荐内容 --> <div class="re-art-box" id="reArtBox" data-pagetype="liuxue" data-country="100" data-city="15"> <div class="ad-re-head flex"> <h6 class="ad-re-title">更多推荐内容</h6> </div> <div class="re-art-cont"> <ul class="re-art-cont-ul flex" id="reArtContUl" data-page="1"> <!-- <a class="re-art-li flex" data-id="339514" target="_blank" href="//www.jjl.cn/article/339514.html" col-src="101-articledetail-brand-1" > <div class="re-art-li-left flex"> <div class="re-art-li-title">圣彼得堡列宾美术学院留学条件</div> <div class="re-art-li-other flex"> <span>张世红</span> <span>293阅读</span> <time class="re-art-time">2019-08-24 14:23</time> </div> </div> <img data-echo="[" alt="圣彼得堡列宾美术学院留学条件" class="re-art-li-right lazy"> </a> --> <div class="reArtContUl-item"> <a target="_blank" class="sa" href="//www.jjl.cn/article/339514.html" title="圣彼得堡列宾美术学院留学条件" col-src="101-articledetail-brand-loop.index">圣彼得堡列宾美术学院留学条件</a> <a class="ssa" data-id="sysNo=115,tag=tg0000253,tGid=458,cUid=usr1Zy6mOOZ9jk" data-country="" col-src="101-articledetail-brand-loop.index">咨询</a> </div> <!-- <a class="re-art-li flex" data-id="845532" target="_blank" href="//www.jjl.cn/article/845532.html" col-src="101-articledetail-brand-2" > <div class="re-art-li-left flex"> <div class="re-art-li-title">大龄可以申请俄罗斯留学吗?</div> <div class="re-art-li-other flex"> <span>张世红</span> <span>230阅读</span> <time class="re-art-time">2020-12-6 16:34</time> </div> </div> <img data-echo="[" alt="大龄可以申请俄罗斯留学吗?" class="re-art-li-right lazy"> </a> --> <div class="reArtContUl-item"> <a target="_blank" class="sa" href="//www.jjl.cn/article/845532.html" title="大龄可以申请俄罗斯留学吗?" col-src="101-articledetail-brand-loop.index">大龄可以申请俄罗斯留学吗?</a> <a class="ssa" data-id="sysNo=115,tag=tg0000253,tGid=458,cUid=usr1Zy6mOOZ9jk" data-country="" col-src="101-articledetail-brand-loop.index">咨询</a> </div> <!-- <a class="re-art-li flex" data-id="619624" target="_blank" href="//www.jjl.cn/article/619624.html" col-src="101-articledetail-brand-3" > <div class="re-art-li-left flex"> <div class="re-art-li-title">俄罗斯留学公证双认证是什么?</div> <div class="re-art-li-other flex"> <span>张世红</span> <span>226阅读</span> <time class="re-art-time">2020-05-16 15:25</time> </div> </div> <img data-echo="[" alt="俄罗斯留学公证双认证是什么?" class="re-art-li-right lazy"> </a> --> <div class="reArtContUl-item"> <a target="_blank" class="sa" href="//www.jjl.cn/article/619624.html" title="俄罗斯留学公证双认证是什么?" col-src="101-articledetail-brand-loop.index">俄罗斯留学公证双认证是什么?</a> <a class="ssa" data-id="sysNo=115,tag=tg0000253,tGid=458,cUid=usr1Zy6mOOZ9jk" data-country="" col-src="101-articledetail-brand-loop.index">咨询</a> </div> <!-- <a class="re-art-li flex" data-id="909801" target="_blank" href="//www.jjl.cn/article/909801.html" col-src="101-articledetail-brand-4" > <div class="re-art-li-left flex"> <div class="re-art-li-title">俄罗斯大学和中国大学考试六点区别介绍</div> <div class="re-art-li-other flex"> <span>孙亚倩</span> <span>220阅读</span> <time class="re-art-time">2021-04-18 18:23</time> </div> </div> <img data-echo="[" alt="俄罗斯大学和中国大学考试六点区别介绍" class="re-art-li-right lazy"> </a> --> <div class="reArtContUl-item"> <a target="_blank" class="sa" href="//www.jjl.cn/article/909801.html" title="俄罗斯大学和中国大学考试六点区别介绍" col-src="101-articledetail-brand-loop.index">俄罗斯大学和中国大学考试六点区别介...</a> <a class="ssa" data-id="sysNo=115,tag=tg0000253,tGid=458,cUid=usrFuwg7zz8fqU" data-country="" col-src="101-articledetail-brand-loop.index">咨询</a> </div> <!-- <a class="re-art-li flex" data-id="903208" target="_blank" href="//www.jjl.cn/article/903208.html" col-src="101-articledetail-brand-5" > <div class="re-art-li-left flex"> <div class="re-art-li-title">俄罗斯留学热门院校的含金量怎样</div> <div class="re-art-li-other flex"> <span>张世红</span> <span>149阅读</span> <time class="re-art-time">2021-03-31 16:39</time> </div> </div> <img data-echo="[" alt="俄罗斯留学热门院校的含金量怎样" class="re-art-li-right lazy"> </a> --> <div class="reArtContUl-item"> <a target="_blank" class="sa" href="//www.jjl.cn/article/903208.html" title="俄罗斯留学热门院校的含金量怎样" col-src="101-articledetail-brand-loop.index">俄罗斯留学热门院校的含金量怎样</a> <a class="ssa" data-id="sysNo=115,tag=tg0000253,tGid=458,cUid=usr1Zy6mOOZ9jk" data-country="" col-src="101-articledetail-brand-loop.index">咨询</a> </div> <!-- <a class="re-art-li flex" data-id="339507" target="_blank" href="//www.jjl.cn/article/339507.html" col-src="101-articledetail-brand-6" > <div class="re-art-li-left flex"> <div class="re-art-li-title">莫斯科国立苏里科夫美术学院升学要求</div> <div class="re-art-li-other flex"> <span>张世红</span> <span>146阅读</span> <time class="re-art-time">2019-08-24 14:19</time> </div> </div> <img data-echo="[" alt="莫斯科国立苏里科夫美术学院升学要求" class="re-art-li-right lazy"> </a> --> <div class="reArtContUl-item"> <a target="_blank" class="sa" href="//www.jjl.cn/article/339507.html" title="莫斯科国立苏里科夫美术学院升学要求" col-src="101-articledetail-brand-loop.index">莫斯科国立苏里科夫美术学院升学要求</a> <a class="ssa" data-id="sysNo=115,tag=tg0000253,tGid=458,cUid=usr1Zy6mOOZ9jk" data-country="" col-src="101-articledetail-brand-loop.index">咨询</a> </div> </ul> <!-- <div class="re-art-get-more" id="reArtGetMore">正在获取更多内容</div> <div class="re-art-get-more-no" id="reArtGetMoreNo">已无更多内容</div> --> </div> </div> <style> .reArtContUl-item { width: 45%; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; } .reArtContUl-item a { font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; position: relative; padding-left: 29px; cursor: pointer; } .reArtContUl-item .sa::before { display: block; content: ''; width: 6px; height: 6px; background: #E4E4E4; border-radius: 50%; position: absolute; left: 14px; top: 50%; margin-top: -3px; } .reArtContUl-item .ssa { display: block; padding: 3px 18px; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; border-radius: 4px; cursor: pointer; background-color: #EEEEEE; } .reArtContUl-item .sa:hover { color: #C4202E !important; } .reArtContUl-item .ssa:hover { background: #C4202E !important; color: #fff !important; } .ad-re-head { justify-content: space-between; margin-bottom: 20px; } #reArtBox .ad-re-title { font-size: 22px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; } #reArtBox .ad-re-title::before { display: inline-block; content: ''; width: 4px; height: 22px; background: #C4202E; border-radius: 5px; margin-right: 9px; vertical-align: text-top; margin-top: 3px; } .re-art-box { margin-top: 30px; box-sizing: border-box; text-align: center; } .re-art-cont {} .re-art-cont-ul { justify-content: space-between; flex-wrap: wrap; } .re-art-li { width: 427px; justify-content: space-between; margin-bottom: 30px; flex-shrink: 0; } .re-art-li-left { width: 246px; flex-direction: column; justify-content: space-between; } .re-art-li-title { font-size: 18px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; line-height: 25px; letter-spacing: 1px; text-align: left; } .re-art-li:hover .re-art-li-title { color: #C4202E } .re-art-li-other { justify-content: space-between; } .re-art-li-other span, .re-art-time { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #999999; } .re-art-li-right { width: 160px; height: 120px; border-radius: 4px; object-fit: cover; } .re-art-time {} .re-art-get-more { display: none; margin-bottom: 27px; cursor: pointer; font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #999999; line-height: 22px; } .re-art-get-more-no { display: none; margin-bottom: 27px; font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #999999; line-height: 22px; } </style> <script> var __countryArr_ = { "0": ["全部", "all"], "1": ["美国", "usa"], "2": ["英国", "uk"], "3": ["加拿大", "canada"], "4": ["澳大利亚", "australia"], "5": ["新西兰", "newzealand"], "50": ["韩国", "korea"], "51": ["日本", "japan"], "52": ["新加坡", "singapore"], "53": ["马来西亚", "malaysia"], "54": ["中国香港", "hongkong"], "55": ["中国澳门", "macau"], "100": ["俄罗斯", "russia"], "101": ["乌克兰", "ukraine"], "102": ["白俄罗斯", "belarus"], "103": ["德国", "germany"], "104": ["法国", "france"], "105": ["挪威", "norway"], "106": ["瑞典", "sweden"], "107": ["芬兰", "finland"], "108": ["爱尔兰", "ireland"], "109": ["荷兰", "netherlands"], "110": ["丹麦", "denmark"], "111": ["意大利", "italy"], "112": ["西班牙", "spain"], "113": ["瑞士", "switzerland"], "114": ["奥地利", "austria"], "115": ["匈牙利", "hungary"], "7": ["希腊", "greece"], //移民新增(澳洲用网站的澳大利亚) "8": ["马耳他", "malta"], "10": ["葡萄牙", "portugal"], "11": ["塞浦路斯", "cyprus"], "12": ["安提瓜", "antigua"], "13": ["多米尼克", "dominica"], "14": ["圣基茨", "saintkitts"], "15": ["格林纳达", "grenada"], "56": ["泰国", "thailand"], "115": ["匈牙利", "hungary"] //移民新增国家end }; function normalize(value, defaultValue) { if(value === null || value === undefined || value === false) { return defaultValue; } return value; } function getCountryChinese(id) { var obj = normalize(__countryArr_[id], __countryArr_[0]); return obj[0]; } $(".reArtContUl-item .ssa").on('click', function () { var chatParams = $(this).attr('data-id'); if (chatParams) { var chatArr = chatParams.split(","); var sysNo = chatArr[0].split("=")[1]; var tag = chatArr[1].split("=")[1]; var tGid = chatArr[2].split("=")[1]; var cUid = chatArr[3].split("=")[1]; var zcType = '顾问' } else { var sysNo = 7; var tag = ""; var tGid = 7; var cUid = ""; var zcType = '综合' } commonConsultationMd('文章详情页', zcType, getCountryChinese($(this).attr('data-country')) || '', '更多留学话题-立即咨询') openCommonKf(sysNo, tag, tGid, cUid); }) // var loadMoreFlag = true; // var page // $(document).ready(function () { // page = $('#reArtContUl').data('page') + 1; // $(window).on('scroll', function () { // var $scroll = $(window).scrollTop(); // var con = document.getElementById('get-share-img').offsetHeight; // var doc = $(document).height() // var win = $(window).height() // console.log('内容区高度', con) // if ($scroll >= (doc - win) - (con + 400)) { // if (loadMoreFlag) { // console.log('开始请求数据') // loadMoreFlag = false; // $('#reArtGetMore').show(); // setTimeout(getMoreArticle, 2000); // } // } // }); // }) // $("#reArtGetMore").click(function () { // getMoreArticle() // }) // function getMoreArticle() { // var pageType = $("#reArtBox").attr('data-pagetype') // var country = $("#reArtBox").attr('data-country') // var city = $("#reArtBox").attr('data-city') // var type = 1 // if (pageType == 'yimin') { // type = 2 // } // $.ajax({ // url: '/article_more_list_nunjucks', // type: 'get', // data: { // "page": page, // "type": type, // "city_id": city, // "country_id": country // }, // success: function (result) { // console.log("看看我的数据吧", result, parseInt(result) != 0) // if (parseInt(result) != 0) { // loadMoreFlag = true; // $('#reArtGetMore').hide(); // // $('#reArtContUl').attr('data-page',page) // page++; // $("#reArtContUl").append($.parseHTML(result)) // } else { // loadMoreFlag = false; // $('#reArtGetMore').hide(); // $("#reArtGetMoreNo").show() // } // }, // error: function (XMLHttpRequest, textStatus, errorThrown) { // $('#reArtGetMore').hide(); // console.log("获取失败,请重试!CODE:" + XMLHttpRequest.status) // } // }) // } </script> </div> <div class="ar-right-box"> <!-- 顾问信息 --> <!-- 新版文章详情右侧顾问信息板块 --> <div class="adviser-info-new-box" id="artAdviserBox" data-adviser_type="1"> <div class="adviser-info-line"></div> <div class="adviser-info flex"> <a href="//www.jjl.cn/1385" col-src="101-articledetail-profile-100" target="_blank"> <img src="//images.jjl.cn/avatar/000/00/13/85_avatar_small_1701658990.jpg!/fp/60000" alt="" class="adviser-avtar"> </a> <a class="adviser-info-name flex" href="//www.jjl.cn/1385" col-src="101-articledetail-profile-101" target="_blank"> <span>宋丹丹</span> <img src="//cdn6.jjl.cn/assets/img/renzheng-0d1695f654.png" alt="" class="adviser-v-icon"> </a> <!-- 留学 --> <div class="adviser-info-other"> <span class="adviser-info-year">12年经验</span> <span class="adviser-info-line-two"></span> <span class="adviser-info-nation">擅长美国</span> </div> <div class="adviser-info-phone" id="adTelBox"> <img src="//cdn6.jjl.cn/assets/img/telphone-68f6db68cd.png" alt="" class="adviser-phone-icon"> <span id="adTel">029-87995656</span> </div> <a class="adviser-info-ask-btn" id="adInfoAskBtn" data-chatparam="sysNo=115,tag=tg0000254,tGid=351,cUid=usreQDYFCQrvVE" data-nation="美国" col-src="101-articledetail-profile-103">立即咨询</a> </div> </div> <style> .adviser-info-new-box img { object-fit: cover; } .adviser-info-new-box { width: 260px; /* height: 619px; */ padding-bottom: 15px; background: #FFFFFF; box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06); border-radius: 4px; } .adviser-info-line { width: 260px; height: 3px; background: #C4202E; margin-bottom: 24px; } .adviser-info { justify-content: center; flex-direction: column; align-items: center; padding-bottom: 24px; } .adviser-avtar { display: block; width: 90px; height: 90px; margin-bottom: 9px; border-radius: 50%; cursor: pointer; } .adviser-info-name { align-items: center; margin-bottom: 4px; font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; } .adviser-info-name:link span, .adviser-info-name:visited span, .adviser-info-name:hover span, .adviser-info-name:active span { color: #333; } .adviser-v-icon { display: inline-block; width: 16px; height: 16px; margin-left: 2px; } .adviser-info-other { display: flex; align-items: center; margin-bottom: 9px; font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #000000; } .adviser-info-phone { display: flex; align-items: center; margin-bottom: 15px; font-size: 14px; } .adviser-phone-icon { width: 12px; height: 12px; margin-right: 2px; } .adviser-info-year {} .adviser-info-line-two { display: inline-block; width: 1px; height: 14px; background-color: #000; margin: 0 8px 0; } .adviser-info-nation {} .adviser-info-ask-btn { width: 116px; height: 32px; background: #C4202E; border-radius: 4px; font-size: 14px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #FFFFFF; line-height: 32px; text-align: center; cursor: pointer; } .adviser-hot-articles { padding: 0 15px; } .ad-hot-art-title { margin-bottom: 24px; font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; text-align: center; } .ad-hot-art-title::before, .ad-hot-art-title::after { content: ''; display: inline-block; width: 40px; height: 1px; background-color: #eee; vertical-align: middle; } .ad-hot-art-title::before { margin-right: 24px; } .ad-hot-art-title::after { margin-left: 24px; } .ad-hot-art-ul {} .ad-hot-art-li { margin-bottom: 24px; flex-wrap: nowrap; justify-content: space-between; align-items: center; cursor: pointer; } .ad-hot-art-img { display: inline-block; width: 94px; height: 70px; vertical-align: middle; } .ad-hot-art-info { display: inline-block; width: 120px; margin-left: 8px; vertical-align: middle; } .ad-hot-art-tit { margin-bottom: 9px; font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #000000; line-height: 22px; } .ad-hot-art-time { font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #999999; } .ad-hot-art-more-btn { position: relative; width: 230px; height: 40px; background: #F8F8F8; border-radius: 4px; font-size: 14px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; text-align: center; line-height: 40px; cursor: pointer; } /*右箭头*/ .ad-right { width: 20px; height: 20px; position: absolute; right: 58px; top: 12px; } .ad-right-arrow1, .ad-right-arrow2 { width: 0; height: 0; display: block; position: absolute; left: 0; top: 0; border-top: 7px transparent dashed; border-right: 7px transparent dashed; border-bottom: 7px transparent dashed; border-left: 7px white solid; overflow: hidden; } .ad-right-arrow1 { left: 1px; /*重要*/ border-left: 7px #333 solid; } .ad-right-arrow2 { border-left: 7px white solid; } </style> <script> $("#adInfoAskBtn").click(function() { var chat_param = $(this).attr('data-chatparam') var adviser_type = $("#artAdviserBox").attr('data-adviser_type') var nation = $(this).attr('data-nation') console.log('adviser_type', adviser_type) if (adviser_type == 2) { // 移民 openYiminKf() } else { openWeiKefu(chat_param) } // 咨询埋点 commonConsultationMd('文章详情页', '顾问', nation, ' 顾问-立即咨询') }) </script> <!-- 推荐规划师 --> <!-- 表单 --> <!-- 弹窗 --> <div class="dialog_2022_article_wrap"> </div> <!-- 实用指南 --> <div class="article_guide_wrap"> <div class="article_guide_head"> <i></i> <h5>俄罗斯留学实用指南</h5> </div> <div class="article_guide_list" id="article_guide_list"> <a href="javascript:void(0);" col-src="101-articledetail-guide-0"> <div class="article_guide_item" data-target="country_strategy" data-url=""> <img src="//cdn6.jjl.cn/assets/img/articleDetail/01-c682f6f12b.png" alt=""> <span>研究生申请</span> </div> </a> <a href="javascript:void(0);" col-src="101-articledetail-guide-1"> <div class="article_guide_item" data-target="country_strategy" data-url=""> <img src="//cdn6.jjl.cn/assets/img/articleDetail/02-7de6748787.png" alt=""> <span>本科申请</span> </div> </a> <a href="javascript:void(0);" col-src="101-articledetail-guide-2"> <div class="article_guide_item" data-target="country_strategy" data-url=""> <img src="//cdn6.jjl.cn/assets/img/articleDetail/03-6af57f634d.png" alt=""> <span>高中申请</span> </div> </a> <a href="javascript:void(0);" col-src="101-articledetail-guide-3"> <div class="article_guide_item" data-target="study_must_read" data-url=""> <img src="//cdn6.jjl.cn/assets/img/articleDetail/04-6ecec36e8b.png" alt=""> <span>查专业</span> </div> </a> <a href="javascript:void(0);" col-src="101-articledetail-guide-4"> <div class="article_guide_item" data-target="country_strategy" data-url="https://www.jjl.cn/college_rank"> <img src="//cdn6.jjl.cn/assets/img/articleDetail/05-479d29e43e.png" alt=""> <span>看排名</span> </div> </a> <a href="javascript:void(0);" col-src="101-articledetail-guide-5"> <div class="article_guide_item" data-target="new_home_product" data-url=""> <img src="//cdn6.jjl.cn/assets/img/articleDetail/06-7fd5334b5e.png" alt=""> <span>能力提升</span> </div> </a> </div> </div> <!-- 热门内容 --> <!-- 热门内容 --> <!-- 新版文章详情热门内容 --> <div class="ad-hot-cont" data-type="1"> <div class="ad-re-head flex"> <h6 class="ad-re-title">热门内容</h6> <!-- <div class="ad-re-more" id="hotChangeBtn">换一换</div> --> <span class="ad-re-more-txt" id="hotChangeBtn"> 换一换 <img class="ad-re-more-icon" src="//cdn6.jjl.cn/assets/img/page2022/huanyihuan-764c0c5171.png" alt="换一换"> </span> </div> <!-- 留学 --> <ul class="ad-hot-ul" id="adHotUl" data-total = 24 data-pageSize="12" data-allpage = 2> <li class="ad-hot-li ad-hot-li-active "> <a href="https://www.jjl.cn/topic/usa/lxfy.html" target="_blank" col-src="101-articledetail-hot-1" class="ad-hot-link">留学费用</a> <a href="https://www.jjl.cn/topic/uk/sqtj.html" target="_blank" col-src="101-articledetail-hot-2" class="ad-hot-link">申请条件</a> <a href="https://www.jjl.cn/so_article/q-%E8%83%8C%E6%99%AF%E6%8F%90%E5%8D%87" target="_blank" col-src="101-articledetail-hot-3" class="ad-hot-link">背景提升</a> <a href="https://www.jjl.cn/articles/tag-%E7%95%99%E5%AD%A6%E6%A1%88%E4%BE%8B" target="_blank" col-src="101-articledetail-hot-4" class="ad-hot-link">成功案例</a> <a href="https://www.jjl.cn/topic/usa/tj.html" target="_blank" col-src="101-articledetail-hot-5" class="ad-hot-link">留学方式</a> <a href="https://www.jjl.cn/topic/canada/qzbl.html" target="_blank" col-src="101-articledetail-hot-6" class="ad-hot-link">签证办理</a> <a href="https://www.jjl.cn/topic/australia/sqsj.html" target="_blank" col-src="101-articledetail-hot-7" class="ad-hot-link">申请时间</a> <a href="https://www.jjl.cn/articles/tag-%E4%B8%93%E4%B8%9A%E8%A7%A3%E6%9E%90__order-add_time" target="_blank" col-src="101-articledetail-hot-8" class="ad-hot-link">专业解析</a> <a href="https://www.jjl.cn/topic/australia/yxpm.html" target="_blank" col-src="101-articledetail-hot-9" class="ad-hot-link">院校排名</a> <a href="https://www.jjl.cn/articles/tag-%E7%94%B3%E8%AF%B7%E8%A7%84%E5%88%92" target="_blank" col-src="101-articledetail-hot-10" class="ad-hot-link">申请规划</a> <a href="https://www.jjl.cn/college_rank" target="_blank" col-src="101-articledetail-hot-11" class="ad-hot-link">QS排名</a> <a href="https://www.jjl.cn/so_article/q-%E7%95%99%E5%AD%A6%E6%8C%87%E5%AF%BC" target="_blank" col-src="101-articledetail-hot-12" class="ad-hot-link">留学指导</a> </li> <li class="ad-hot-li "> <a href="https://www.jjl.cn/canada" target="_blank" col-src="101-articledetail-hot-1" class="ad-hot-link">加拿大留学</a> <a href="https://www.jjl.cn/so_article/q-%E7%BE%8E%E5%9B%BD%E9%AB%98%E4%B8%AD" target="_blank" col-src="101-articledetail-hot-2" class="ad-hot-link">美国高中</a> <a href="https://www.jjl.cn/so_article/q-%E9%9D%A2%E8%AF%95" target="_blank" col-src="101-articledetail-hot-3" class="ad-hot-link">面试辅导</a> <a href="https://www.jjl.cn/topic/usa/sqcl.html" target="_blank" col-src="101-articledetail-hot-4" class="ad-hot-link">申请材料</a> <a href="https://www.jjl.cn/so_article/q-%E7%BE%8E%E5%9B%BD%E6%9C%AC%E7%A7%91" target="_blank" col-src="101-articledetail-hot-5" class="ad-hot-link">美国本科</a> <a href="https://www.jjl.cn/so_article/q-%E8%83%BD%E5%8A%9B%E6%8F%90%E5%8D%87" target="_blank" col-src="101-articledetail-hot-6" class="ad-hot-link">能力提升</a> <a href="https://www.jjl.cn/articles/tag-%E7%9C%81%E9%92%B1%E6%94%BB%E7%95%A5__order-add_time" target="_blank" col-src="101-articledetail-hot-7" class="ad-hot-link">省钱攻略</a> <a href="https://www.jjl.cn/zt/2022/20221014_international/index.html" target="_blank" col-src="101-articledetail-hot-8" class="ad-hot-link">国际择校</a> <a href="https://www.jjl.cn/articles/tag-%E6%B5%B7%E5%A4%96%E7%94%9F%E6%B4%BB__order-add_time" target="_blank" col-src="101-articledetail-hot-9" class="ad-hot-link">海外生活</a> <a href="https://www.jjl.cn/articles/tag-%E5%A4%87%E8%80%83%E8%B5%84%E8%AE%AF__order-add_time" target="_blank" col-src="101-articledetail-hot-10" class="ad-hot-link">备考资讯</a> <a href="https://www.jjl.cn/so_article/q-%E9%9B%85%E6%80%9D%E8%80%83%E8%AF%95" target="_blank" col-src="101-articledetail-hot-11" class="ad-hot-link">雅思考试</a> <a href="https://www.jjl.cn/articles/tag-%E7%95%99%E5%AD%A6%E6%9D%A1%E4%BB%B6__order-add_time" target="_blank" col-src="101-articledetail-hot-12" class="ad-hot-link">留学条件</a> </li> </ul> </div> <style> .ad-hot-cont{ width: 260px; margin-top: 30px; text-align: center; box-sizing: border-box; } .ad-hot-ul{ /* height: 180px; */ overflow:hidden; text-align: left; } .ad-hot-li{ display: none; } .ad-hot-li-active{ display: block; } .ad-hot-link{ display: inline-block; height: 32px; padding: 0 10px; background: #FFFFFF; border-radius: 4px; border: 1px solid #EEEEEE; margin-bottom: 15px; margin-right: 8px; cursor: pointer; line-height: 30px; box-sizing: border-box; text-align: center; } .ad-hot-link:nth-child(3n){ margin-right: 0; } .ad-hot-link{ color: #333333; } .ad-hot-link:hover{ background: rgba(196, 32, 46, 0.06); border: 1px solid rgba(196, 32, 46, 0.2); font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #C4202E; } .ad-re-head{ justify-content: space-between; margin-bottom: 20px; } .ad-re-title{ font-size: 16px; font-family: PingFangSC-Semibold, PingFang SC; font-weight: 600; color: #333333; } .ad-re-title::before{ display: inline-block; content: ''; width: 3px; height: 16px; background: #C4202E; border-radius: 5px; margin-right: 9px; vertical-align: text-top; margin-top: 3px; } .ad-re-more-icon{ display: inline-block; width: 12px; height: 12px; /* margin-top: 5px; */ } .ad-re-more:after { content: ''; display: inline-block; width: 7px; height: 7px; border-top: 1px solid #666; border-right: 1px solid #666; transform: rotate(45deg); -webkit-transform: rotate(45deg); vertical-align: middle; margin-bottom: 3px; } .ad-re-more-txt{ font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #666666; cursor: pointer; } </style> <script> var hotIndex = 0 $("#hotChangeBtn").click(function(){ var allPage = parseInt($("#adHotUl").attr('data-allpage')) -1 hotIndex++ console.log('点击换一样hotIndex,allPage',hotIndex,allPage) if(hotIndex < allPage){ $(".ad-hot-li").eq(hotIndex).addClass('ad-hot-li-active').siblings().removeClass('ad-hot-li-active') }else if(hotIndex == allPage){ $(".ad-hot-li").eq(hotIndex).addClass('ad-hot-li-active').siblings().removeClass('ad-hot-li-active') } else{ hotIndex = 0 $(".ad-hot-li").eq(hotIndex).addClass('ad-hot-li-active').siblings().removeClass('ad-hot-li-active') } }) </script> <!-- 留学推荐产品 --> <!-- 留学推荐产品 --> <!-- 新版文章详情推荐产品 --> <div class="ad-recommend-product"> <div class="ad-re-head flex"> <h6 class="ad-re-title">推荐产品</h6> <!-- <div class="ad-re-more">更多</div> --> </div> <ul class="ad-re-prod-ul" id="adReProdUl"> <li class="ad-re-prod-li" data-nation="美国"> <div class="ad-re-prod-li-top flex"> <div class="ad-re-prod-title">致知格物科研项目</div> </div> <div class="ad-re-prod-label-list"> <span class="ad-re-label-txt ellipsis">为有志于科研、升学深造的学生提供稀缺的学术资源</span> <span class="ad-re-label-txt ellipsis">培养学生学术思维及实操能力,收获科研实践经历和专业学术论文,为将来学术生涯奠定基础</span> </div> <div class="ad-re-prod-ask-btn">了解详情</div> </li> <li class="ad-re-prod-li" data-nation="加拿大"> <div class="ad-re-prod-li-top flex"> <div class="ad-re-prod-title">欧几里得数学竞赛辅导课程</div> </div> <div class="ad-re-prod-label-list"> <span class="ad-re-label-txt ellipsis">欧几里得数学竞赛(简称“欧赛”)是加拿大中学阶段最具含金量、最被认可的竞赛</span> <span class="ad-re-label-txt ellipsis">获得证书的学生会获得非常多优先聘用的机会</span> </div> <div class="ad-re-prod-ask-btn">了解详情</div> </li> <li class="ad-re-prod-li" data-nation="中国香港"> <div class="ad-re-prod-li-top flex"> <div class="ad-re-prod-title">中国名校教授科研</div> </div> <div class="ad-re-prod-label-list"> <span class="ad-re-label-txt ellipsis">中国名校教授科研采用中文授课,由大陆、港澳、新加坡优质师资进行授课,5+2导师制 论文产出独立,项目成果丰富</span> </div> <div class="ad-re-prod-ask-btn">了解详情</div> </li> </ul> </div> <style> .ad-re-head{ justify-content: space-between; margin-bottom: 20px; } .ad-re-title{ font-size: 16px; font-family: PingFangSC-Semibold, PingFang SC; font-weight: 600; color: #333333; } .ad-re-title::before{ display: inline-block; content: ''; width: 3px; height: 16px; background: #C4202E; border-radius: 5px; margin-right: 9px; vertical-align: text-top; margin-top: 3px; } .ad-re-more{ font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #666666; cursor: pointer; } .ad-re-more:after { content: ''; display: inline-block; width: 7px; height: 7px; border-top: 1px solid #666; border-right: 1px solid #666; transform: rotate(45deg); -webkit-transform: rotate(45deg); vertical-align: middle; margin-bottom: 3px; } .ad-recommend-product{ width: 260px; margin-top: 30px; text-align: center; box-sizing: border-box; } .ad-re-prod-ul{ } .ad-re-prod-li{ margin-bottom: 24px; } .ad-re-prod-li:hover .ad-re-prod-ask-btn{ display: block; } .ad-re-prod-li:hover .ad-re-prod-title{ color: #C4202E; } .ad-re-prod-li-top{ flex-wrap: nowrap; margin-bottom: 9px; } .ad-re-prod-title{ margin-right: 9px; font-size: 16px; font-family: PingFangSC-Regular, PingFang SC; color: #333; } .ad-re-prod-label{ padding: 3px 9px; background: rgba(196, 32, 46, 0.1); border-radius: 4px; border: 1px solid rgba(196, 32, 46, 0.3); font-size: 10px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #C4202E; line-height: 14px; } .ad-re-prod-label-list{ height: 42px; overflow:hidden; margin-bottom: 9px; text-align: left; } .ad-re-label-txt{ display: inline-block; width: 263px; margin-right: 9px; font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #999999; line-height: 20px; } .ad-re-prod-ask-btn{ display: none; width: 260px; height: 32px; background: rgba(196, 32, 46, 0.06); border-radius: 4px; line-height: 32px; cursor: pointer; font-size: 14px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #C4202E; } </style> <script> $("#adReProdUl").on('click','.ad-re-prod-li',function(){ var nation = $(this).attr('data-nation') nation = nation == '0' ? '' : nation // 唤起分公司指定国家客服 openNationKefu(nation) // 咨询埋点 commonConsultationMd('文章详情页','综合客服',nation,'右侧留学产品模块-了解详情') }) </script> </div> </div> <!-- footer --> <style> @font-face { font-family: 'Roboto'; src: url(//cdn6.jjl.cn/assets/img/Roboto-Medium-d08840599e.ttf); } .new_home_page_footer { width: 100%; height: 520px; background: #FFFFFF; box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.04); } .new_home_page_footer_content { width: 1200px; margin: 0 auto; box-sizing: border-box; padding-top: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(139, 139, 139, 0.1); } .new_home_page_footer_content .info_wrap { display: flex; justify-content: space-between; } .new_home_page_footer_content .info_wrap .footer_left { width: 200px; box-sizing: border-box; padding-right: 18px; border-right: 1px solid rgba(139, 139, 139, 0.1); margin-right: 40px; } .new_home_page_footer_content .info_wrap .footer_right { flex: 1; font-family: PingFangSC-Semibold, PingFang SC; display: flex; /* justify-content: space-between; */ } .new_home_page_footer_content .info_wrap .footer_right .footer_right_item { width: 150px; } .new_home_page_footer_content .info_wrap .footer_right h2 { font-weight: 500; font-size: 14px; color: #000000; height: 20px; line-height: 20px; margin-bottom: 15px; font-family: PingFangSC-Medium, PingFang SC; } .new_home_page_footer_content .info_wrap .footer_right ul li { margin: 9px 0; padding: 0; height: 17px; } .new_home_page_footer_content .info_wrap .footer_right ul li a { color: #333333; font-size: 12px; height: 17px; line-height: 17px; font-family: PingFangSC-Regular, PingFang SC; } .new_home_page_footer_content .info_wrap .footer_right ul li a:hover { color: #C4202E; } .qr_code_warp { display: flex; justify-content: space-between; box-sizing: border-box; flex-wrap: wrap; width: 100%; } .qr_code_item { display: flex; flex-direction: column; justify-content: space-between; width: 80px; height: 114px; margin-right: 60px; margin-bottom: 24px; } .qr_code_item div>img { width: 80px; height: 80px; } .qr_code_item p { font-size: 12px; color: #333; height: 20px; line-height: 20px; text-align: center; } .new_home_page_footer_link { /* width: 900px; */ width: 1200px; margin: 21px auto; padding-bottom: 30px; } .new_home_page_footer_link p { text-align: center; line-height: 21px; font-size: 12px; color: #333333; } .new_home_page_footer_link p a { font-size: 12px; color: #333333; font-family: PingFangSC-Regular, PingFang SC; } .new_home_page_footer_link p a:hover { color: #C4202E; } .footerItem { display: flex; align-items: center; justify-content: flex-start; margin-top: 24px; } .footerItem img { width: 14px; height: 14px; margin-right: 10px; } .footerItem span { font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; } .footerItem em { font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; } .footerItemAdderss p { font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; line-height: 18px; margin-top: -3px; } </style> <!-- 底部城市选择 --> <style> .country_footer_bg_wrap { position: fixed; top: 0; left: 0; bottom: 0; right: 0; background: rgba(0, 0, 0, 0.6); z-index: 1005; display: none; } .country_footer_warp { width: 466px; min-height: 341px; background: #FFFFFF; box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06); border-radius: 4px; z-index: 1006; position: fixed; top: 50%; left: 50%; margin-top: -171px; margin-left: -233px; display: none; } .country_footer_content { width: 100%; height: 100%; position: relative; box-sizing: border-box; padding: 9px 0 9px 21px; } .country_footer_middle { border-top: 1px solid #F5F5F5; border-bottom: 1px solid #F5F5F5; box-sizing: border-box; padding: 12px 0; margin: 6px 0; } .area_items { width: 100%; display: flex; align-items: top; font-size: 14px; line-height: 32px; /* margin: 6px 0; */ } .area_items .area_name { font-weight: 500; color: #000000; } .area_items .city_lists { flex: 1; display: flex; align-items: center; flex-wrap: wrap; } .area_items .city_lists .city_items { color: #333333; cursor: pointer; margin-right: 9px; } .country_footer_close_btn { width: 16px; height: 16px; cursor: pointer; position: absolute; top: 15px; right: 15px; } .area_items .city_lists .country_active { color: #C4202E; } </style> <div class="country_footer_bg_wrap"></div> <div class="country_footer_warp" data-type="other"> <div class="country_footer_content"> <div class="area_items"> <span class="area_name">华北:</span> <div class="city_lists"> <span class="city_items" data-id="1">北京</span> <span class="city_items" data-id="4">天津</span> <span class="city_items" data-id="9">济南</span> <span class="city_items" data-id="12">石家庄</span> <span class="city_items" data-id="10">青岛</span> <span class="city_items" data-id="11">郑州</span> <span class="city_items" data-id="17">太原</span> <span class="city_items" data-id="26">呼和浩特</span> <span class="city_items" data-id="18">唐山</span> <span class="city_items" data-id="31">烟台</span> <span class="city_items" data-id="32">邯郸</span> <span class="city_items" data-id="36">徐州</span> <span class="city_items" data-id="48">洛阳</span> </div> </div> <div class="area_items"> <span class="area_name">华东:</span> <div class="city_lists"> <span class="city_items" data-id="2">上海</span> <span class="city_items" data-id="16">南京</span> <span class="city_items" data-id="6">杭州</span> <span class="city_items" data-id="22">合肥</span> <span class="city_items" data-id="33">无锡</span> <span class="city_items" data-id="41">常州</span> <span class="city_items" data-id="42">温州</span> <span class="city_items" data-id="23">苏州</span> <span class="city_items" data-id="34">宁波</span> </div> </div> <div class="area_items"> <span class="area_name">华中:</span> <div class="city_lists"> <span class="city_items" data-id="14">武汉</span> <span class="city_items" data-id="19">长沙</span> <span class="city_items" data-id="29">南昌</span> <span class="city_items" data-id="44">宜昌</span> </div> </div> <div class="area_items"> <span class="area_name">华南:</span> <div class="city_lists"> <span class="city_items" data-id="3">广州</span> <span class="city_items" data-id="20">深圳</span> <span class="city_items" data-id="38">南宁</span> <span class="city_items" data-id="43">东莞</span> <span class="city_items" data-id="46">海口</span> <span class="city_items" data-id="37">佛山</span> <span class="city_items" data-id="28">厦门</span> <span class="city_items" data-id="39">福州</span> </div> </div> <div class="country_footer_middle"> <div class="area_items"> <span class="area_name">东北:</span> <div class="city_lists"> <span class="city_items" data-id="24">哈尔滨</span> <span class="city_items" data-id="8">沈阳</span> <span class="city_items" data-id="25">长春</span> <span class="city_items" data-id="13">大连</span> </div> </div> <div class="area_items"> <span class="area_name">西南:</span> <div class="city_lists"> <span class="city_items" data-id="7">重庆</span> <span class="city_items" data-id="5">成都</span> <span class="city_items" data-id="21">昆明</span> <span class="city_items" data-id="35">贵阳</span> </div> </div> <div class="area_items"> <span class="area_name">西北:</span> <div class="city_lists"> <span class="city_items" data-id="15">西安</span> <span class="city_items" data-id="27">兰州</span> <span class="city_items" data-id="47">乌鲁木齐</span> <span class="city_items" data-id="40">银川</span> <span class="city_items" data-id="45">西宁</span> </div> </div> </div> <div class="area_items"> <span class="area_name">海外:</span> <div class="city_lists"> <span class="city_items" style="color: #999;" data-id="50">多伦多</span> <span class="city_items" style="color: #999;" data-id="49">温哥华</span> <span class="city_items" style="color: #999;" data-id="52">墨尔本</span> <span class="city_items" style="color: #999;" data-id="51">奥克兰</span> </div> </div> </div> <img class="country_footer_close_btn" src="//cdn6.jjl.cn/assets/img/page2022/country_footer_close_btn-cae532a222.png" alt=""> </div> <script> $(function () { var cityId = cookie('currentarea') || '1' var cityName = fn.getCityChinese(cookie('currentarea') || '1') $('.city_items[data-id="' + cityId + '"]').addClass('country_active') $('.country_footer_close_btn').click(function () { $('.country_footer_bg_wrap').fadeOut(150) $('.country_footer_warp').fadeOut(150) }) $('.city_lists').on('click', '.city_items', function (e) { var clickCityId = $(this).data().id var clickCityName = $(this).text().toString() var type = $(".country_footer_warp").attr('data-type') changeArea(clickCityId,type) }) }) </script> <div class="new_home_page_footer" id="newHomePageFooter"> <div class="new_home_page_footer_content"> <div class="info_wrap"> <div class="footer_left"> <img style="width: 120px;height: 36px;margin-bottom: 40px;" src="//cdn6.jjl.cn/assets/img/page2022/jjl_logo_red_new-66ffe68977.png" alt=""> <!-- <p style="font-weight: 500;font-size: 14px;color: #333;margin-top: 57px;">咨询热线</p> <p style="display: flex;align-items: center;margin-top: 7px;margin-bottom: 30px;"> <img style="width:18px;height:18px; margin-right: 4px;" src="//cdn6.jjl.cn/assets/img/page2022/call_writ_icon_1-fd31485bed.png" alt="咨询热线"> <span style="font-size: 20px;font-family: Roboto !important;color: #333;">400-010-8000</span> </p> --> <!-- 选择城市 --> <p class="footer_btn_warp" style="width: 150px;height: 32px;background-color: #262626;border-radius: 4px;display: flex;box-sizing: border-box; padding: 0 12px;justify-content: space-between;align-items: center;cursor: pointer;"> <span class="new_footer_city" id="new_footer_city" data-page="文章详情" style="font-size: 14px;color: #FFFFFF;">北京站</span> <img style="width: 8px;" src="//cdn6.jjl.cn/assets/img/page2022/bottom_icon-0f82826940.png" alt=""> </p> <div class="footerItem"> <img src="//cdn6.jjl.cn/assets/img/footer/footerService-6449b0c250.png" alt=""> <p> <span>客服专线:</span> <em>400-010-8000</em> </p> </div> <div class="footerItem"> <img src="//cdn6.jjl.cn/assets/img/footer/footerPhone-d0ac17176a.png" alt=""> <p> <span>服务专线:</span> <em id="footerItemService">400-010-8000</em> </p> </div> <div class="footerItem footerItemAdderss" style="align-items: flex-start;"> <img src="//cdn6.jjl.cn/assets/img/footer/footerAddress-42f7d1e6cf.png" alt=""> <p id="footerItemAdderss" style="white-space: normal;">北京分公司:北京市朝阳区 建国门外大街永安东里甲3号院B座</p> </div> </div> <div class="footer_right"> <div class="footer_right_item"> <h2>北美留学</h2> <ul> <li><a col-src="101-articledetail-footer-1" href="//www.jjl.cn/usa" rel="nofollow" target="_blank">美国留学</a></li> <li><a col-src="101-articledetail-footer-3" href="//www.jjl.cn/canada" rel="nofollow" target="_blank">加拿大留学</a></li> <!-- <li><a col-src="101-articledetail-footer-1" href="https://usa.jjl.cn/index.html" rel="nofollow" target="_blank">美国留学</a></li> <li><a col-src="101-articledetail-footer-3" href="https://canada.jjl.cn" rel="nofollow" target="_blank">加拿大留学</a></li> --> </ul> <h2 style="margin-top: 24px;">英爱留学</h2> <ul> <li><a col-src="101-articledetail-footer-2" href="//www.jjl.cn/uk" target="_blank" rel="nofollow">英国留学</a></li> <!-- <li><a col-src="101-articledetail-footer-2" href="https://uk.jjl.cn/" target="_blank" rel="nofollow">英国留学</a></li> --> <li><a col-src="101-articledetail-footer-108" href="//www.jjl.cn/ireland" target="_blank">爱尔兰留学</a></li> </ul> <h2 style="margin-top: 24px;">大洋洲留学</h2> <ul> <li><a col-src="101-articledetail-footer-4" href="//www.jjl.cn/australia" rel="nofollow" target="_blank">澳大利亚留学</a> </li> <li><a col-src="101-articledetail-footer-5" href="//www.jjl.cn/newzealand" rel="nofollow" target="_blank">新西兰留学</a> </li> <!-- <li><a col-src="101-articledetail-footer-4" href="https://australia.jjl.cn" rel="nofollow" target="_blank">澳大利亚留学</a></li> <li><a col-src="101-articledetail-footer-5" href="https://newzealand.jjl.cn" rel="nofollow" target="_blank">新西兰留学</a></li> --> </ul> </div> <div class="footer_right_item"> <h2>亚洲留学</h2> <ul> <li><a col-src="101-articledetail-footer-54" href="//www.jjl.cn/hongkong" target="_blank">中国香港留学</a></li> <li><a col-src="101-articledetail-footer-55" href="//www.jjl.cn/macau" target="_blank">中国澳门留学</a></li> <li><a col-src="101-articledetail-footer-52" href="//www.jjl.cn/singapore" target="_blank">新加坡留学</a></li> <li><a col-src="101-articledetail-footer-53" href="//www.jjl.cn/malaysia" target="_blank">马来西亚留学</a></li> <li><a col-src="101-articledetail-footer-56" href="javascript:;">泰国留学</a></li> <!-- <li><a col-src="101-articledetail-footer-101" href="//www.jjl.cn/articles/n-101" target="_blank">乌克兰留学</a></li> --> </ul> <h2 style="margin-top: 24px;">日韩留学</h2> <ul> <li><a col-src="101-articledetail-footer-51" href="//www.jjl.cn/japan" rel="nofollow" target="_blank">日本留学</a></li> <li><a col-src="101-articledetail-footer-50" href="//www.jjl.cn/korea" rel="nofollow" target="_blank">韩国留学</a></li> <!-- <li><a col-src="101-articledetail-footer-51" href="https://japan.jjl.cn" rel="nofollow" target="_blank">日本留学</a></li> <li><a col-src="101-articledetail-footer-50" href="https://korea.jjl.cn" rel="nofollow" target="_blank">韩国留学</a></li> --> </ul> </div> <div class="footer_right_item"> <h2>欧洲留学</h2> <ul> <li><a col-src="101-articledetail-footer-111" href="//www.jjl.cn/italy" target="_blank">意大利留学</a></li> <li><a col-src="101-articledetail-footer-112" href="//www.jjl.cn/spain" target="_blank">西班牙留学</a></li> <li><a col-src="101-articledetail-footer-110" href="//www.jjl.cn/denmark" target="_blank">丹麦留学</a></li> <li><a col-src="101-articledetail-footer-104" href="//www.jjl.cn/france" target="_blank">法国留学</a></li> <li><a col-src="101-articledetail-footer-103" href="//www.jjl.cn/germany" target="_blank">德国留学</a></li> <li><a col-src="101-articledetail-footer-105" href="//www.jjl.cn/norway" target="_blank">挪威留学</a></li> <li><a col-src="101-articledetail-footer-106" href="//www.jjl.cn/sweden" target="_blank">瑞典留学</a></li> <li><a col-src="101-articledetail-footer-107" href="//www.jjl.cn/finland" target="_blank">芬兰留学</a></li> <li><a col-src="101-articledetail-footer-109" href="//www.jjl.cn/netherlands" target="_blank">荷兰留学</a></li> <li><a col-src="101-articledetail-footer-113" href="//www.jjl.cn/switzerland" target="_blank">瑞士留学</a></li> <li><a col-src="101-articledetail-footer-115" href="javascript:;">匈牙利留学</a></li> <li><a col-src="101-articledetail-footer-114" href="//www.jjl.cn/austria" target="_blank">奥地利留学</a></li> <li><a col-src="101-articledetail-footer-100" href="//www.jjl.cn/russia" target="_blank">俄罗斯留学</a></li> <li><a col-src="101-articledetail-footer-102" href="//www.jjl.cn/belarus" target="_blank">白俄罗斯留学</a></li> <!-- <li><a col-src="101-articledetail-footer-115" href="//www.jjl.cn/hungary.html" target="_blank">匈牙利留学</a></li> --> </ul> </div> <div class="footer_right_item"> <h2>关于金吉列</h2> <ul> <li><a col-src="101-articledetail-footer-001" rel="nofollow" target="_blank" href="//www.jjl.cn/about">公司简介</a></li> <!-- <li><a col-src="101-articledetail-footer-002" rel="nofollow" target="_blank" href="//www.jjl.cn/about/culture.html">企业文化</a> </li> --> <!-- <li><a col-src="101-articledetail-footer-003" rel="nofollow" target="_blank" href="//www.jjl.cn/about#honor">企业荣誉</a> </li> --> <li><a col-src="101-articledetail-footer-003" rel="nofollow" target="_blank" href="//www.jjl.cn/about#contactUs">联系我们</a> </li> <li><a col-src="101-articledetail-footer-004" rel="nofollow" target="_blank" href="//www.jjl.cn/about/contact.html#Suggestions">意见反馈</a> </li> <li><a col-src="101-articledetail-footer-005" rel="nofollow" target="_blank" href="//www.jjl.cn/about-1">大事记</a> </li> <li><a col-src="101-articledetail-footer-006" rel="nofollow" target="_blank" href="//www.jjl.cn/about#contactUs">商务合作</a> </li> <!-- <li><a col-src="101-articledetail-footer-007" rel="nofollow" target="_blank" href="//www.jjl.cn/zt/zhaopin/employment.html">诚聘英才</a> </li> --> <li><a col-src="101-articledetail-footer-008" rel="nofollow" target="_blank" href="//www.jjl.cn/agreement">使用协议</a> </li> <li><a col-src="101-articledetail-footer-009" rel="nofollow" target="_blank" href="https://www.jjl.cn/zt/public/jjlyyzz.html">营业执照</a> </li> <!-- <li><a col-src="101-articledetail-footer-010" rel="nofollow" target="_blank" href="https://www.jjl.cn/zt/2020/20200109_app/app.html">下载APP</a> </li> --> <li><a col-src="101-articledetail-footer-011" rel="nofollow" target="_blank" href="//www.jjl.cn/website_map">网站地图</a> </li> <li><a onclick="adviserlogin()" col-src="101-articledetail-footer-012" rel="nofollow" href="javascript:void(0);">顾问登录</a> </li> <li><a col-src="101-articledetail-footer-102" href="//www.jjl.cn/zhaopin.html" target="_blank">加入我们</a></li> </ul> </div> <div class="footer_right_item" style="width:360px"> <h2>关注金吉列</h2> <div class="qr_code_warp"> <div class="qr_code_item"> <div style="box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06);"> <img src="//cdn6.jjl.cn/assets/img/page2022/fuwu-36f51aa2b0.png" alt="微信服务号"> </div> <p>微信服务号</p> </div> <div class="qr_code_item"> <div style="box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06);"> <img src="//cdn6.jjl.cn/assets/img/page2022/dingyue-6ac82f8a5c.png" alt="微信订阅号"> </div> <p>微信订阅号</p> </div> <div class="qr_code_item" style="margin-right:0px"> <div style="box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06);"> <img src="//cdn6.jjl.cn/assets/img/page2022/weibo-11af2e5376.png" alt="官方微博"> </div> <p>官方微博</p> </div> <div class="qr_code_item"> <div style="box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06);"> <img src="//cdn6.jjl.cn/assets/img/page2022/douyin-6156696235.png" alt="抖音号"> </div> <p>抖音号</p> </div> <div class="qr_code_item"> <div style="box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06);"> <img src="//cdn6.jjl.cn/assets/img/page2022/yimin-894208ddfd.png" alt="移民微信"> </div> <p>移民微信</p> </div> <div class="qr_code_item" style="margin-right:0px;"> <!-- <div style="box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06);"> <img src="//cdn6.jjl.cn/assets/img/page2022/app_icon-da564a23e8.png" alt="移民微信"> </div> <p>下载APP</p> --> </div> </div> </div> </div> </div> </div> <div class="new_home_page_footer_link"> <p>友情链接&nbsp;&nbsp;·&nbsp;&nbsp; <a href="http://www.jjl.cn/canada" target="_blank">加拿大留学</a>&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="http://www.jjl.cn/newzealand" target="_blank">新西兰留学</a>&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="http://www.jjledu.cn/" target="_blank">日本留学</a>&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="http://www.jjl.cn/germany" target="_blank">欧洲留学</a>&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="http://www.chuguodiy.cn/" target="_blank">澳大利亚留学</a>&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="http://www.jjl.cn/usa" target="_blank">美国留学</a>&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="http://www.jjl.cn/uk" target="_blank">英国留学</a>&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="http://www.jjl.cn/korea" target="_blank">韩国留学</a> </p> <p style="margin-top: 15px;"> ©2024金吉列出国留学咨询服务有限公司&nbsp;&nbsp;版权所有&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" style="color: #333;" target="_blank">京ICP备05010035号</a>&nbsp;&nbsp;|&nbsp;&nbsp; <i style="background: url(//cdn6.jjl.cn/assets/img/footer_police_badge-6ff9d41b20.png) no-repeat 0 0;background-size: cover;display: inline-block;width: 18px;height: 18px;position: absolute;"></i> <i style="width: 10px;display: inline-block;margin-right: 15px;"></i>京公网安备11010502038474号&nbsp;&nbsp;|&nbsp;&nbsp; <a target="_blank" style="color: #333;" href="https://cdn6.jjl.cn/jyxk/Pblication-Operation-License.jpg">出版物经营许可:新出发京零字第朝190057号</a> </p> </div> </div> <script> var footerSpecialCityArr = { '1': ['北京', '北京分公司:北京市朝阳区建国门外大街8号楼IFC国际财源中心B座15层', '服务专线:010-56836688', '商务合作:010-56836611'], '5': ['成都', '成都分公司:成都市总府路2号时代广场A座18层', '服务专线:028-85595757', '商务合作:010-56836611'], '7': ['重庆', '重庆分公司:重庆市渝中区民权路28号英利国际金融中心37-7,37-8', '服务专线:023-60335656', '商务合作:010-56836611'], '19': ['长沙', '长沙分公司:长沙市芙蓉区五一大道447号湖南投资大厦3层305室', '服务专线:0731-82563355', '商务合作:010-56836611'], '25': ['长春', '长春分公司:长春市西安大路727号中银大厦A座22层', '服务专线:0431-81811818', '商务合作:010-56836611'], '41': ['常州', '常州分公司:江苏省常州市新北区传媒大厦5号楼803-804室', '服务专线:0519-83335656', '商务合作:010-56836611'], '13': ['大连', '大连分公司:大连市中山区人民路平安大厦25层', '服务专线:0411-39865959', '商务合作:010-56836611'], '43': ['东莞', '东莞分公司:广东省东莞市南城区金盈大厦C区7层', '服务专线:0769-22905656', '商务合作:010-56836611'], '37': ['佛山', '佛山分公司:广东省佛山市禅城区星河云颂府3栋8楼', '服务专线:0757-82030588', '商务合作:010-56836611'], '39': ['福州', '福州分公司:福州市鼓楼区五四路128号恒力城写字楼27F', '服务专线:0591-83625656', '商务合作:010-56836611'], '3': ['广州', '广州分公司:广州市天河区体育西路191号中石化大厦b座33楼3310—3321', '服务专线:020-38175656', '商务合作:010-56836611'], '35': ['贵阳', '贵阳分公司:贵阳市云岩区中华北路184号天毅大厦20层', '服务专线:0851-82215656', '商务合作:010-56836611'], '6': ['杭州', '杭州分公司:杭州市杭大路15号嘉华国际商务中心706', '服务专线:0571-28887999', '商务合作:010-56836611'], '22': ['合肥', '合肥分公司:合肥市包河区万达广场7号写字楼22层2204', '服务专线:0551-62866565', '商务合作:010-56836611'], '24': ['哈尔滨', '哈尔滨分公司:哈尔滨市道里区上海街7号海上银座B座2001室', '服务专线:0451-58669777', '商务合作:010-56836611'], '26': ['呼市', '呼和浩特分公司:内蒙古呼和浩特市回民区中山西路1号海亮广场A座1801', '服务专线:0471-3817676', '商务合作:010-56836611'], '32': ['邯郸', '邯郸分公司:邯郸市人民东路350号嘉华大厦806室', '服务专线:0310-5709558', '商务合作:010-56836611'], '46': ['海南', '海南分公司:海南省海口市龙华区滨海大道103号财富广场28楼A室', '服务专线:0898-68635656', '商务合作:010-56836611'], '9': ['济南', '济南分公司:济南市市中区纬二路51号商会大厦A座33层(大观园南邻)', '服务专线:0531-81851155', '商务合作:010-56836611'], '30': ['吉林', '吉林分公司:吉林市昌邑区财富广场B栋8层803-807', '服务专线:0432-62885656', '商务合作:010-56836611'], '21': ['昆明', '昆明分公司:云南省昆明市盘龙区北京路同德昆明广场269写字楼29楼2902', '服务专线:0871-63536688', '商务合作:010-56836611'], '27': ['兰州', '兰州分公司:兰州市城关区张掖路1号保利大厦a座15层', '服务专线:0931-8185656', '商务合作:010-56836611'], '48': ['洛阳', '洛阳分公司:河南省洛阳市西工区升龙广场E区汇金广场1211', '服务专线:0379-65165656', '商务合作:010-56836611'], '16': ['南京', '南京分公司:南京市秦淮区汉中路89号金鹰国际中心A座37层', '服务专线:025-85552299', '商务合作:010-56836611'], '29': ['南昌', '江西分公司:南昌市广场南路恒茂国际中心16栋B座27层', '服务专线:0791-86665966', '商务合作:010-56836611'], '34': ['宁波', '宁波分公司:宁波市海曙区药行街42号银亿环球中心B座803', '服务专线:0574-87008686', '商务合作:010-56836611'], '38': ['南宁', '南宁分公司:南宁市青秀区金湖路59号地王国际商会中心30层CD', '服务专线:0771-5775656', '商务合作:010-56836611'], '10': ['青岛', '青岛分公司:青岛市市南区香港中路40号数码旗舰大厦19层A1室', '服务专线:0532-86667776', '商务合作:010-56836611'], '2': ['上海', '上海分公司:上海市黄浦区徐家汇路555号广发大厦三层', '服务专线:021-61581818', '商务合作:010-56836611'], '8': ['沈阳', '沈阳分公司:沈阳市和平区和平北大街69号总统大厦A座14层', '服务专线:024-22812866', '商务合作:010-56836611'], '12': ['石家庄', '石家庄分公司:石家庄市新华区中华北大街50号军创国际商务花园22层', '服务专线:0311-85368866', '商务合作:010-56836611'], '20': ['深圳', '深圳分公司:深圳市福田区福华一路115号投行大厦12楼', '服务专线:0755-82931818', '商务合作:010-56836611'], '23': ['苏州', '苏州分公司:苏州工业园区苏州大道西9号中海财富中心东塔10楼1002室', '服务专线:0512-62893339', '商务合作:010-56836611'], '4': ['天津', '天津分公司:天津市和平区南京路181号天津世纪都会42层', '服务专线:022-23263399', '商务合作:010-56836611'], '17': ['太原', '太原分公司:太原市南内环街100号恒地大厦12层', '服务专线:0351-7668080', '商务合作:010-56836611'], '18': ['唐山', '唐山分公司:唐山市路南区新华西道32号新华贸写字楼16层', '服务专线:0315-6328566', '商务合作:010-56836611'], // '14': ['武汉', '武昌分公司:武汉市洪山区珞瑜路10号群光中心写字楼23层', '服务专线:027-67811600', '商务合作:010-56836611'], '14': ['武汉', '武汉分公司:武汉市洪山区珞瑜路10号群光中心写字楼23层/武汉市航空路新世界中心A座16层', '服务专线:027-83805656', '商务合作:010-56836611'], '33': ['无锡', '无锡分公司:无锡市崇安区中山路531号红豆国际广场办公楼19层', '服务专线:0510-81805656', '商务合作:010-56836611'], '42': ['温州', '温州分公司:温州市鹿城区车站大道577号财富中心1302', '服务专线:0577-88815656', '商务合作:010-56836611'], '15': ['西安', '西安分公司:西安市碑林区南关正街88号长安国际C座808', '服务专线:029-87995656', '商务合作:010-56836611'], '28': ['厦门', '厦门分公司:厦门市思明区鹭江道100号财富中心5层', '服务专线:0592-2115656', '商务合作:010-56836611'], '36': ['徐州', '徐州分公司:徐州市泉山区建国西路75号财富广场A座四楼', '服务专线:0516-85785656', '商务合作:010-56836611'], '45': ['西宁', '西宁分公司:青海省西宁市城中区西大街42号三田世纪广场写字楼13层1307-1308号', '服务专线:0971-4925656', '商务合作:010-56836611'], '47': ['新疆', '新疆分公司:乌鲁木齐市红山路16号广汇时代广场D座24层', '服务专线:0991-2655656', '商务合作:010-56836611'], '31': ['烟台', '烟台分公司:烟台市芝罘区海港路25号阳光100A座2907室', '服务专线:0535-6275656', '商务合作:010-56836611'], '40': ['银川', '银川分公司:银川市兴庆区文化西街国际贸易中心C栋7层', '服务专线:0951-7616655', '商务合作:010-56836611'], '44': ['宜昌', '宜昌分公司:宜昌市沿江大道特168-5号万达广场A座816-817室', '服务专线:0717-6625656', '商务合作:010-56836611'], '11': ['郑州', '郑州分公司:郑州市金水区经三路68号2号楼招商银行大厦12层1202室', '服务专线:0371-60228686', '商务合作:010-56836611'], '49': ["温哥华", '#300-4388 Beresford Street Burnaby BC Canada V5H 0E7', '(001)604-559-8969/ 604-559-8968/ 604-559-8660', '商务合作:010-56836611'], '70': ['东莞', '东莞分公司:广东省东莞市南城区金盈大厦C区7层', '服务专线:0769-22905656', '商务合作:010-56836611'] }; // 顾问登录 function adviserlogin2(e) { // e.preventDefault() var h = window.location.href; console.log('h', h); var hh = h.split("/"); console.log('hh[1]', hh[3]); var hhh = h.split("?"); console.log('hhh', hhh[1]) if (hh[3] != 'register' && hh[3] != 'forget' && hh[3] != 'login' && hh[3] != 'login?h=') { console.log('11111') // window.location.href = '/login?h=' + h window.open(js_api_config.wwhost + '/login?h=' + h); //window.open(fn.urlgen("login")+'?h='+h); } else if (hhh[1] != undefined && hh[3] != 'register' && hh[3] != 'forget' && hh[3] != 'login') { console.log('aaaa') window.location.reload(); } else { console.log('22222'); // window.location.href = '/login' window.open(js_api_config.wwhost + '/login?h='); //window.open(fn.urlgen('login')+'?h='); } } // 顾问登录 function adviserlogin() { var pathname = window.location.pathname var search = '' if (window.location.pathname === '/login') { // 顾问登录界面刷新即可 window.location.reload(); } else if (window.location.host.indexOf('global.') > -1) { search = '?fid=globalpage' } else if (window.location.host.indexOf('yimin.') > -1) { search = '?fid=yimin' } else if (pathname === '/loginUser' || pathname === '/register' || pathname === '/forget' || pathname === '/forgetUser') { var h = window.location.href; //获取全部的url var hh = h.split("?"); if ((hh[1] !== undefined) && (hh[1].indexOf('fid=') > -1)) { search = '?' + hh[1] } } else { search = '?fid=' + window.location.pathname + window.location.search } window.open(js_api_config.wwhost + '/login' + search); } $(function() { var cityId = cookie('currentarea') || '1' var cityName = fn.getCityChinese(cityId) + '站' var citySpecialName = footerSpecialCityArr[cityId][1] // 服务热线 $('#footerItemService').text(fn.getCityService(cityId)) // 分公司地址 $('#footerItemAdderss').text(citySpecialName) $('.new_footer_city').text(cityName) $('.footer_btn_warp').click(function() { $('.country_footer_bg_wrap').fadeIn(150) $('.country_footer_warp').fadeIn(150) window.sensors.track('PageClick', { clickEvent: "Footer", clickElement: $('#new_footer_city').text(), currentPage: $('#new_footer_city').data().page }); }) }) </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?27e9cf6d25e8551a8ad30712057bde86"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> (function() { var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = '//zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = '//push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> <!-- 底部吸底 --> <!-- 底部悬浮 --> <!-- 顾问不展示 --> <script> var deviceWidth setHtmlFontSize() if (window.addEventListener) { window.addEventListener('resize', function () { setHtmlFontSize() }, false) } function setHtmlFontSize() { deviceWidth = document.documentElement.clientWidth var rootFontSize = deviceWidth / 19.2 if (rootFontSize < 66) { rootFontSize = 66 } document.getElementsByTagName('html')[0].style.cssText = 'font-size:' + rootFontSize + 'px !important' } </script> <!-- <div class="act-pop-left" > <img src="//cdn6.jjl.cn/assets/img/popup_left_b-ee70835c60.png" /> </div> --> <style> .form-unable { opacity: 0.5; cursor: not-allowed; } .dd-form-items input { height: 0.38rem !important; line-height: 0.38rem !important; } .dd-box-bottoms .redbordclass { border: 1px solid #C4202E !important; } .dialog-1v1-bg { z-index: 1025 !important; } .dd-form-items .dd-form-icon { display: none !important; } .dd-form-items .form-box-item-sel-dd { left: 0.15rem !important; height: 0.38rem !important; line-height: 0.38rem !important; width: 2.2rem; font-size: 0.14rem !important; } .dd-box-bottoms .checkboxDd { width: 0.14rem !important; height: 0.14rem !important; } .dd-box-bottoms .active-1v1Dd { width: 0.14rem !important; height: 0.14rem !important; } .xlxlxl { position: absolute; top: 0.11rem; right: 0.15rem; z-index: 0; display: none; width: 0.16rem; height: 0.16rem; background: url(//cdn6.jjl.cn/assets/img/xlxlxl-4343e0ef48.png) no-repeat !important; background-size: 100% 100% !important; } .dialog-1v1-warp { z-index: 1026 !important; } .act-pop-box-dd { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; width: 100%; height: 1.5rem; background: rgba(0, 0, 0, 0.7); filter: blur(0px); box-sizing: border-box; } .dd-box-bottoms .dd-form-box { margin-top: 0.18rem; } .act-pop-box-dd-lx { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; width: 100%; /* height: 220px !important; */ height: 1.45rem !important; /* background: url(//cdn6.jjl.cn/assets/img/bg-671-ab198f31ae.png) no-repeat !important; */ background: url(//cdn6.jjl.cn/assets/img/bg-673-d2f25ea1eb.png) no-repeat !important; background-size: 100% 100% !important; -moz-background-size: 100% 100% !important; -webkit-background-size: 100% 100% !important; box-sizing: border-box; } .act-pop-box {} .act-code-btn { color: #fff; text-align: center; line-height: 0.35rem; font-size: 0.14rem; cursor: pointer; /* margin-top: 16px; */ margin-top: 0.11rem; /* margin-left:15px; */ /* margin-left: ; */ /* width: 135px; */ width: 1.74rem; height: 0.4rem; /* height: 35px; */ float: left; -webkit-border-radius: 4px; border-radius: 4px; background: url(//cdn6.jjl.cn/assets/img/btnlww-e5119fdcbf.png) center; background-size: 100% 100%; -webkit-transition: 0.3s linear; transition: 0.3s linear; } .act-code-btn:hover { background: url(//cdn6.jjl.cn/assets/img/btnlww-e5119fdcbf.png) center; background-size: 100% 100%; } .dd-left-icon { position: absolute; bottom: 0; display: inline-block; width: 1.85rem; height: 2.16rem; } .act-pop-box-con-dd { position: relative; width: 12rem; height: 1.5rem; margin: 0 auto; /* padding-left: 80px; */ vertical-align: middle; } .dd-box-top { padding-top: 0.12rem; padding-bottom: 0.1rem; } .dd-txt { font-size: 0.32rem; font-family: MicrosoftYaHei-Bold, MicrosoftYaHei; font-weight: bold; } .dd-txt-first { color: #ffffff; } .img-text { width: 2.02rem; } .img-text2 { width: 4.83rem; } .dd-box-tops { padding-top: 0px !important; } .dd-box-tops-top { width: 1.15rem; height: 1.90rem; position: absolute; top: -0.45rem; /* top: -76px; */ left: 0; display: none; background: url(//cdn6.jjl.cn/assets/img/dd-box-tops-top-4b894bd046.png) center; background-size: 100% 100%; z-index: 9; } .img-texts { width: 6.39rem; /* position: absolute; top: -20px !important; */ } .dd-txt-second { color: #e4281d; } .dd-box-bottoms #ddGetBtn { width: 1.42rem !important; height: 0.4rem !important; background: #C4202E linear-gradient(180deg, #ED1D2F 0%, #910A13 100%) !important; border-radius: 0.26rem !important; font-size: 0.16rem !important; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500 !important; line-height: 0.4rem !important; } .dd-form-items .dd-form-code { background: inherit !important; color: #C4202E !important; } .dd-box-bottoms .form-unable { /* opacity: 1 !important; */ } .dd-box-bottoms .agreement-text { color: #fff; } .dd-box-bottoms { /* background: url(//cdn6.jjl.cn/assets/img/bg2-67-330904430d.png) center; */ /* background-size: 100% 100%; */ width: 10.62rem; /* height: 180px; */ height: 0.93rem; /* background-color: #fff; */ position: absolute !important; /* top: 20px; */ top: 0.48rem; left: 0 !important; border-radius: 6px; } .dd-form-item { display: inline-block; width: 2.10rem; height: 0.40rem; padding-left: 0.15rem; margin-left: 0.08rem; line-height: 0.4rem; background: #ffffff; border-radius: 0.2rem; font-size: 0.16rem; font-family: MicrosoftYaHei; color: #666666; box-sizing: border-box; vertical-align: middle; } .dd-form-items { width: 2rem !important; height: 0.4rem !important; line-height: 0.38rem !important; background: #FFFFFF !important; border-radius: 0.26rem !important; border: 1px solid #EEEEEE !important; margin-left: 0.18rem !important; overflow: hidden; } @media screen and (max-width: 1400px) { .dd-form-items { margin-left: 0.15rem !important; } } .dd-form-icon { display: inline-block; width: 0.14rem; vertical-align: inherit; } .dd-form-ip { width: 1.6rem; box-sizing: border-box; padding-left: 0.06rem; border: none; height: 0.4rem; display: inline-block; vertical-align: top; } .form-box-item-sel-dd { position: absolute; left: 0.4rem; /* top: -2px; */ z-index: 1; width: 1.52rem; height: 0.4rem; line-height: 0.4rem; font-size: 0.16rem; font-family: MicrosoftYaHei; color: #666666; box-sizing: border-box; vertical-align: top; padding-left: 6px; cursor: pointer; background-color: rgba(0, 0, 0, 0); border: none; } .dd-form-code { position: absolute; right: 0.15rem; top: 0.05rem; display: inline-block; width: 0.9rem; height: 0.3rem; line-height: 0.3rem; background: #e4281d; border-radius: 0.16rem; text-align: center; cursor: pointer; font-size: 0.14rem; font-family: MicrosoftYaHei; color: #ffffff; } .dd-get-btn { display: inline-block; width: 1.2rem; height: 0.4rem; background: #e4281d; box-shadow: 0px 1px 1px 0px #ee2c0a; border-radius: 0.2rem; text-align: center; cursor: pointer; font-size: 0.18rem; font-family: MicrosoftYaHei; color: #ffffff; line-height: 0.4rem; vertical-align: middle; } .act-pop-info-box-dd { position: absolute; display: inline-block; left: 1.86rem; width: 10.4rem; top: 0.2rem; line-height: 0.18rem; } .act-pop-info-box-dd-lx { top: 1.4rem !important; left: 1.6rem !important; width: 11.5rem !important; } .dd-form-item-code { position: relative; } .dd-form-ip-code { position: absolute; left: 0.1rem; width: 1rem; padding-left: 0.05rem; border-radius: 0.2rem; } .agreement-warpDd { color: #fff; margin-top: 0.04rem; margin-left: 0.2rem; display: flex; align-items: center; } .agreement-warpDd .agreement-text { display: inline-block; vertical-align: middle; font-size: 0.14rem; } .agreement-warpDd img { vertical-align: middle; } .checkbox-icon { display: inline-block; cursor: pointer; width: 0.14rem; height: 0.14rem; } .agreement-link { cursor: pointer; color: #fff; } .agreement-link:hover, .agreement-link:visited, .agreement-link:active, .agreement-link:link { /* color: #e4281d; */ color: #fff; } .dd-form-sel-item-box { position: relative; } .dd-form-icon-after { position: absolute; top: 0.11rem; right: 0.15rem; z-index: 0; } .dd-form-icon-icon-sel { position: absolute; top: 0.12rem; width: 0.16rem; } .close-btn-dd { position: absolute; top: -0.4rem; right: -0.2rem; width: 0.24rem; height: 0.24rem; cursor: pointer; } .count-down { background: #eeeeee; font-size: 0.14rem; font-family: MicrosoftYaHei; color: #999999; } #formSelect1v1DdErrorDd { margin-top: 0.44rem !important; } #nameErrorDd, #phoneErrorDd, #formSelect1v1DdErrorDd, #codeErrorDd { height: 0.15rem; margin: 0; font-size: 0.12rem; color: #e4281d; line-height: 0.15rem; margin-top: 0.05rem; } #nameErrorDd { margin-left: 0.09rem; } #codeErrorDd { position: absolute; bottom: -0.15rem; } .checkboxDd { margin-right: 0.11rem; cursor: pointer; } .active-1v1Dd { margin-right: 0.11rem; cursor: pointer; display: none; } .yimin .dd-box-top { padding-bottom: 0.16rem; } .yimin .agreement-warpDd { margin-top: 0.14rem; } .lx-titles span { position: relative; font-size: 0.14rem; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #C4202E; line-height: 0.2rem; margin-left: 0.14rem; padding-left: 0.05rem; } .lx-titles span::before { position: absolute; content: ''; width: 0.04rem; height: 0.04rem; background: #C4202E; top: 50%; margin-top: -0.02rem; left: -0.05rem; border-radius: 50%; } .lx-titles { position: absolute; top: 0.23rem; transform: scale(.9); right: 0.09rem; left: 9.59rem; } .lx-submit-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000; background: rgba(0, 0, 0, 0.5); display: none; } .lx-submit-mask .mask-lx { padding: 0.14rem; width: 3.74rem; height: 1.98rem; background: #C4202E; border-radius: 0.1rem; position: fixed; top: 50%; margin-top: -0.99rem; left: 50%; margin-left: -1.87rem; } .mask-lx div { width: 3.28rem; height: 1.63rem; background: #FFFFFF; border-radius: 0.10rem; text-align: center; padding: 0.36rem 0.23rem 0 0.23rem; } .mask-lx div p { font-size: 0.20rem; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #333333; line-height: 0.28rem; } .lx-submit-mask div span { display: block; width: 1.26rem !important; height: 0.38rem !important; cursor: pointer; margin: 0 auto; background: url(//cdn6.jjl.cn/assets/img/lw-mask-btn-db5cdf3070.png) center; margin-top: 0.2rem; background-size: 100% 100%; } .img-67 { width: 100%; height: auto; } .img-texts-67 { position: absolute; width: 1.3rem; height: 1.39rem; left: -1.3rem; top: -.45rem; } .img-texts-gj { position: absolute; width: 7.6rem; height: 0.41rem; top: -0.44rem; } .yingen { position: absolute; width: 4.43rem; height: 0.16rem; left: 3.1rem; top: -0.22rem; } input::-webkit-input-placeholder { /* 使用webkit内核的浏览器 */ font-size: 0.12rem; } input:-moz-placeholder { /* Firefox版本4-18 */ font-size: 0.12rem; } input::-moz-placeholder { /* Firefox版本19+ */ font-size: 0.12rem; } input:-ms-input-placeholder { /* IE浏览器 */ font-size: 0.12rem; } </style> <link rel="stylesheet" type="text/css" href="//cdn6.jjl.cn/assets/css/custom-2413d21549.css" /> <script src="//cdn6.jjl.cn/assets/js/icheck-0972cc8153.min.js"></script> <div class="act-pop-box-dd liuxue" id="ddBox" data-type="liuxue"> <div class="act-pop-box-con-dd"> <!-- <div class="dd-box-tops-top"></div> --> <img src="//cdn6.jjl.cn/assets/img/close-dd-92f165e5f8.png" alt="关闭" class="close-btn-dd" id="closeBtnDd" /> <img src="//cdn6.jjl.cn/assets/img/people_bg-dd-f909643ca5.png" alt="" class="dd-left-icon" /> <div class="act-pop-info-box-dd clearfix"> <span class="dd-txt dd-txt-first">专业留学顾问限时</span> <span class="dd-txt dd-txt-second">1对1咨询</span> <div class="dd-box-top"> </div> <div class="22 dd-box-bottom"> <div class="dd-form-box"> <div class="dd-form-item"> <img src="//cdn6.jjl.cn/assets/img/icon_name-dd-7f89a37346.png" alt="" class="dd-form-icon" style="margin-top: -0.04rem" /> <input type="text" class="dd-form-ip" id="ddNameIp" maxlength="12" placeholder="姓名" /> <p id="nameErrorDd"></p> </div> <div class="dd-form-item dd-form-sel-item-box"> <img src="//cdn6.jjl.cn/assets/img/icon_country-dd-63a3b7d632.png" alt="" style="margin-top: -0.01rem" class="dd-form-icon dd-form-icon-icon-sel" /> <select class="form-box-item-sel-dd" name="select-1v1" id="formSelect1v1Dd" placeholder="意向国家"> <!-- { name:"乌克兰", id:"101" },--> <option data-id="">请选择</option> <option data-id="1">美国</option> <option data-id="2">英国</option> <option data-id="4">澳大利亚</option> <option data-id="3">加拿大</option> <option data-id="5">新西兰</option> <option data-id="51">日本</option> <option data-id="50">韩国</option> <option data-id="54">中国香港</option> <option data-id="55">中国澳门</option> <option data-id="100">俄罗斯</option> <option data-id="108">爱尔兰</option> <option data-id="111">意大利</option> <option data-id="112">西班牙</option> <option data-id="102">白俄罗斯</option> <option data-id="52">新加坡</option> <option data-id="53">马来西亚</option> <option data-id="110">丹麦</option> <option data-id="103">德国</option> <option data-id="104">法国</option> <option data-id="105">挪威</option> <option data-id="106">瑞典</option> <option data-id="107">芬兰</option> <option data-id="109">荷兰</option> <option data-id="113">瑞士</option> <option data-id="114">奥地利</option> <option data-id="56">泰国</option> <option data-id="115">匈牙利</option> </select> <p id="formSelect1v1DdErrorDd"></p> <img class="dd-form-icon dd-form-icon-after" src="//cdn6.jjl.cn/assets/img/icon_choose-dd-4bfaab7694.png" alt="icon" /> <span class="xlxlxl"></span> </div> <div class="dd-form-item"> <img src="//cdn6.jjl.cn/assets/img/icon_phone_number-dd-fbf1d88fff.png" alt="" class="dd-form-icon" style="margin-top: -4px" /> <input type="text" id="ddPhoneIp" class="dd-form-ip" placeholder="手机号" onkeyup="this.value=this.value.replace(/[^\d]/g,'') " onafterpaste="this.value=this.value.replace(/[^\d]/g,'') " oninput="if(value.length>11)value=value.slice(0,11)" /> <p id="phoneErrorDd"></p> </div> <div class="dd-form-item dd-form-item-code" style="margin-right: 6px"> <input id="codeDdIp" type="text" class="dd-form-ip dd-form-ip-code" placeholder="验证码" onkeyup="this.value=this.value.replace(/[^\d]/g,'') " onafterpaste="this.value=this.value.replace(/[^\d]/g,'') " oninput="if(value.length>6)value=value.slice(0,6)" /> <span class="dd-form-code form-unable" id="ddGetCodeBtn">获取验证码</span> <p id="codeErrorDd"></p> </div> <span id="pageType" data-type="liuxue"></span> <div class="dd-get-btn form-unable" id="ddGetBtn">立即预约</div> </div> <div class="agreement-warpDd"> <img class="checkboxDd checkbox-icon" src="//cdn6.jjl.cn/assets/img/btn_case_default-2de5bd769c.png" alt="icon" /> <img class="active-1v1Dd checkbox-icon" src="//cdn6.jjl.cn/assets/img/btn_case_choose-5b08b061be.png" alt="icon" /> <p class="agreement-text"> 我已阅读并同意 <a class="agreement-link" href="https://www.jjl.cn/privacy" target="_blank">《隐私保护协议》</a> </p> </div> </div> </div> </div> </div> <!-- 留学的弹框 --> <div class="lx-submit-mask"> <div class="mask-lx"> <div> <p>信息提交成功!稍后将有专人与您联系。</p> <span></span> </div> </div> </div> <script> $(function () { var dialogPath = $('#path-1v1').data().id var dialogType = $('#pageType').data().type var lwMask = getCookie("lwMask") || '' if (dialogType == 'liuxue') { // $('#ddBox').addClass('act-pop-box-dd-lx') // $('.act-pop-info-box-dd').addClass('act-pop-info-box-dds') // $('.dd-box-top').addClass('dd-box-tops') // $('.dd-box-tops-top').show() // $(".dd-box-bottom").addClass('dd-box-bottoms') // $('.act-pop-info-box-dd').addClass('act-pop-info-box-dds') // $('.dd-form-item').addClass('dd-form-items') // $(".xlxlxl").show() // $('.checkboxDd').attr('src', '//cdn6.jjl.cn/assets/img/btn_case_default_1-1673d99978.png') // $('.active-1v1Dd').attr('src', '//cdn6.jjl.cn/assets/img/btn_case_choose_1-b65a50bb60.png') } clearFormDd() var finger_visitorId = ""; if (!finger_visitorId) { initFingerprintJS(); } var grUserId = cookie("gr_user_id"); var baomingfaangshi = { //phone phone: function (phone) { if (!/^1(3|4|5|6|7|8|9)\d{9}$/.test(phone)) { return false; } return true; }, }; var isSub = cookie('1V1_SUBMIT') || '1' var f = false; // isSub不等于页面业务类型(yimin&liuxue)时,展示弹窗 if (isSub.indexOf(dialogType) < 0) { f = true; if (dialogType === 'liuxue') { // 每个页面弹出一次 关闭后不影响其他页面弹窗展示 var isHome = dialogPath === 'branch' || dialogPath === 'HOME_POP1V1' if (isHome) { // 新旧分公司未选择城市时不出弹窗吸底 if ((lwMask.indexOf('branch') < 0 && lwMask.indexOf('HOME_POP1V1') < 0) && cookie('currentarea')) { // $("#ddBox").fadeIn(); } } else if ((lwMask.indexOf(dialogPath) < 0)) { // $("#ddBox").fadeIn(); } } else if (!getCookie("lwMask")) { $("#ddBox").fadeIn(); // 让吸底弹窗不要挡住资质内容 if ($("#yiminFooter").length > 0) { console.log('存在') var ddom = '<div id="emptyDom" style="height:90px"></div>' if (!$("#emptyDom").length > 0) { $("#yiminFooter").append(ddom) } } } } else { // $("#ddBox").fadeOut(); } $(".checkboxDd").on("click", function () { $(".checkboxDd").toggle(); $(".active-1v1Dd").toggle(); }); $(".active-1v1Dd").on("click", function () { $(".checkboxDd").toggle(); $(".active-1v1Dd").toggle(); }); $('.lx-submit-mask span').on("click", function () { $('.lx-submit-mask').hide() }) $("#closeBtnDd").click(function () { $("#ddBox").fadeOut(); // 移除不挡内容的空dom if ($("#emptyDom").length > 0) { $("#emptyDom").remove() } }); $("#ddNameIp").on("blur", function () { lxjudgeGetAbleDd(); if (dialogType === 'liuxue') { if ($(this).val() == "") { $(this).parents('.dd-form-items').addClass("redbordclass") layer.msg("请输入您的姓名"); } else { $(this).parents('.dd-form-items').removeClass("redbordclass") } } else { // 姓名输入框 失去焦点事件 if ($(this).val() == "") { $("#nameErrorDd").html("请输入您的姓名"); } else { $("#nameErrorDd").html(""); } } }); $("#ddPhoneIp").on("blur", function () { lxjudgeGetAbleDd(); // 姓名输入框 失去焦点事件 if (dialogType != 'liuxue') { if (!$(this).val()) { $("#phoneErrorDd").html("请输入您的手机号"); return false; } else { $("#phoneErrorDd").html(""); } if (!baomingfaangshi.phone($.trim($(this).val()))) { //判断手机号 $("#phoneErrorDd").html("手机号格式不正确"); return false; } else { $("#phoneErrorDd").html(""); } } else { if (!$(this).val()) { $(this).parents('.dd-form-items').addClass("redbordclass") layer.msg("请输入您的手机号"); return false; } else { $(this).parents('.dd-form-items').removeClass("redbordclass") } if (!baomingfaangshi.phone($.trim($(this).val()))) { //判断手机号 $(this).parents('.dd-form-items').addClass("redbordclass") layer.msg("手机号格式不正确"); return false; } else { $(this).parents('.dd-form-items').removeClass("redbordclass") } } }); $("#codeDdIp").on("blur", function () { // TODO: 已经点击获取验证码 if (!sendFlagDd) { if (dialogType === 'liuxue') { $(this).parents('.dd-form-items').addClass("redbordclass") layer.msg("请先获取验证码"); } return false; } if (!$(this).val() || $(this).val().length != 6) { if (dialogType === 'liuxue') { layer.msg("请输入验证码"); } else { $("#codeErrorDd").html("请输入验证码"); } return false; } else { $("#codeErrorDd").html(""); } }); $("#ddNameIp").bind("input porpertychange", function () { judgeGetAbleDd(); }); $("#ddPhoneIp").bind("input porpertychange", function () { judgeGetAbleDd(); }); $("#codeDdIp").bind("input porpertychange", function () { judgeGetAbleDd(); }); // 提交 $("#ddGetBtn").on("click", function () { if ($(this).hasClass("form-unable")) { return false; } if ($("#formSelect1v1Dd option:selected").text() == '请选择') { if (dialogType === 'liuxue') { layer.msg("请选择意向国家及地区"); } else { $("#formSelect1v1DdErrorDd").html("请选择意向国家及地区"); } return false; } else { $("#formSelect1v1DdErrorDd").html(""); } if ($(".active-1v1Dd").is(":hidden")) { layer.msg("请阅读并同意《隐私保护协议》"); return false; } // TODO: 传入校验码 checkCodeDd(); }); var sendFlagDd = false; // 是否已发送验证码标记 $("#ddGetCodeBtn").bind("click", function () { if ($(this).hasClass("form-unable")) { return false; } getCodeDd(); sendFlagDd = true; }); /** *提交在线评估 **/ function submitSignAssessmentDd() { // var h = cookie("referweb"); // 获取来源url // if (h == null || h == undefined) { // h = window.location.href; // if (h.match(/[~|《|<|>|'|!|@|#|$|%|^|*|(|)|+]/)) { // alert("含有特殊字符"); // return false; // } else { // if (document.referrer) { // try { // var refer = document.referrer; // if (refer) { // h = refer; // } // } catch (e) { // console.log("获取refer异常"); // } // } else { // h = window.location.href; // } // } // } // data: { // 接口替换之前的参数 // name: $("#ddNameIp").val(), // phone: $("#ddPhoneIp").val(), // country: $("#formSelect1v1Dd option:selected").data().id, // city: cookie("currentarea") || 1, // need: "", // dataType: "3", // source: source, // relationId: 21, // grUserId: grUserId, // }, var ddPosition = $("#path-1v1").data().id; if (ddPosition === "HOME_POP1V1") { ddPosition = "HOME_BOTTOM"; } else { ddPosition = "ARTICLE_DETAIL_BOTTOM"; } var source = window.location.href // TODO: position 值修改 if (source.indexOf("?") === -1) { source = source + "?position=" + ddPosition; } else { source = source + "&position=" + ddPosition; } var leadsInfo = { "username": $("#ddNameIp").val(), "phone": $("#ddPhoneIp").val(), "source": document.referrer || source, "country": $("#formSelect1v1Dd option:selected").text(), "area": fn.getCityChinese(cookie('currentarea') || '1'), "rel_type": dialogType == 'yimin' ? 5 : 3, "content": '', 'url': source, 'gr_user_id': cookie("gr_user_id")//sensors.quick('getAnonymousID') } let params = { data: encrypt(JSON.stringify(leadsInfo)) } $.ajax({ url: ajaxUrlPrefix.ping_gu_url + '/api/v3/leads/data', type: "post", dataType: "json", //jsonpCallback: 'callback', contentType: "application/json", headers: { InformationCode: finger_visitorId, }, data: JSON.stringify(params), success: function (msg) { console.log(msg); if (msg.code === 200) { var curDomain = document.domain.split('.').slice(-2).join('.') var SUBMIT_V = dialogType if (cookie('1V1_SUBMIT') && cookie('1V1_SUBMIT') != dialogType) { SUBMIT_V = cookie('1V1_SUBMIT') + ',' + dialogType } cookie('1V1_SUBMIT', SUBMIT_V, { path: '/', domain: curDomain }); // setCookieee('lwMask', 'lw', '1') cookieGO('lwMask', 'lw', 24) // TODO: 点击【立即获得】按钮,区分首页和详情页 var channel_name = dialogType == 'yimin' ? '移民' : '留学' if (dialogPath == 'branch') { // 分首页 sensors.track('web_form_submit', { channel_name: channel_name, city_name: fn.getCityChinese(cookie('currentarea') || '1'), platform_id: dialogType == 'yimin' ? '301' : '101', page_class: 'branch', modul_name: 'footer', target_country: $("#formSelect1v1Dd option:selected").text() }); } else if (dialogPath == 'productdetail') { //产品详情页 sensors.track('web_form_submit', { channel_name: channel_name, city_name: fn.getCityChinese(cookie('currentarea') || '1'), platform_id: dialogType == 'yimin' ? '301' : '101', page_class: 'productdetail', modul_name: 'footer', target_country: $("#formSelect1v1Dd option:selected").text() }); } else if (dialogPath == 'home') { //总首页 sensors.track('web_form_submit', { channel_name: channel_name, city_name: fn.getCityChinese(cookie('currentarea') || '1'), platform_id: dialogType == 'yimin' ? '301' : '101', page_class: 'home', modul_name: 'footer', target_country: $("#formSelect1v1Dd option:selected").text() }); } else if (dialogPath == 'country') { //聚合页 sensors.track('web_form_submit', { channel_name: channel_name, city_name: fn.getCityChinese(cookie('currentarea') || '1'), platform_id: dialogType == 'yimin' ? '301' : '101', page_class: 'country', modul_name: 'footer', target_country: $("#formSelect1v1Dd option:selected").text() }); } else if (dialogPath == 'HOME_POP1V1') { //旧的分公司首页 sensors.track('web_form_submit', { channel_name: channel_name, city_name: fn.getCityChinese(cookie('currentarea') || '1'), platform_id: dialogType == 'yimin' ? '301' : '101', page_class: 'branch', modul_name: 'footer', target_country: $("#formSelect1v1Dd option:selected").text() }); } else if (dialogPath == 'articlelist') { //文章列表 sensors.track('web_form_submit', { channel_name: channel_name, city_name: fn.getCityChinese(cookie('currentarea') || '1'), platform_id: dialogType == 'yimin' ? '301' : '101', page_class: 'articlelist', modul_name: 'footer', target_country: $("#formSelect1v1Dd option:selected").text() }); } else if (dialogPath == 'adviserdetail') { //顾问个人页 sensors.track('web_form_submit', { channel_name: channel_name, city_name: fn.getCityChinese(cookie('currentarea') || '1'), platform_id: dialogType == 'yimin' ? '301' : '101', page_class: 'adviserdetail', modul_name: 'footer', target_country: $("#formSelect1v1Dd option:selected").text() }); } else if (dialogPath == 'caselist') { sensors.track('web_form_submit', { channel_name: channel_name, city_name: fn.getCityChinese(cookie('currentarea') || '1'), platform_id: dialogType == 'yimin' ? '301' : '101', page_class: 'caselist', modul_name: 'footer', target_country: $("#formSelect1v1Dd option:selected").text() }); } else { // 文章详情页 sensors.track('web_form_submit', { channel_name: channel_name, city_name: fn.getCityChinese(cookie('currentarea') || '1'), platform_id: dialogType == 'yimin' ? '301' : '101', page_class: 'articledetail', modul_name: 'footer', target_country: $("#formSelect1v1Dd option:selected").text() }); } $("#ddBox").fadeOut(); // 移除不挡内容的空dom if ($("#emptyDom").length > 0) { $("#emptyDom").remove() } setTimeout(function () { //先关闭弹框再提示成功必须使用timeout,否则alert会提前执行 if (dialogType == 'yimin') { alert('您的移民方案已生成,金吉列移民规划师已经收到您的信息,我们会在24小时之内与您联系,为您提供专属定制服务') } else { alert("老师将为您做专业评估。"); // $('.lx-submit-mask').show() } }, 10); } else { alert(msg.message); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log("获取失败,请重试!CODE:" + XMLHttpRequest.status); }, }); } // TODO: 根据当前dom 修改 var timerDd; function countDownDd() { // 60s倒计时 $("#ddGetCodeBtn").unbind("click"); var countDownTimeDd = 60; timerDd = window.setInterval(function () { countDownTimeDd--; $("#ddGetCodeBtn").addClass("count-down"); $("#ddGetCodeBtn").html(countDownTimeDd + "s"); if (countDownTimeDd == 0) { clearInterval(timerDd); $("#ddGetCodeBtn").removeClass("count-down"); $("#ddGetCodeBtn").html("获取验证码"); $("#ddGetCodeBtn").bind("click", function () { getCodeDd(); }); } }, 1000); } function getCodeDd() { var data = { phone: $("#ddPhoneIp").val() }; var md5Sign = { sign_method: "md5", kqNezsMODH: "1.0", BHXPixlxDB: "" }; var md5Data = {}; for (var attr in data) { md5Data[attr] = data[attr]; } for (var attr in md5Sign) { md5Data[attr] = md5Sign[attr]; } var signArr = []; for (var i in md5Data) { signArr.push(i + "=" + md5Data[i]); } var router_key = md5(signArr.sort().join("&")); var time_key = new Date().getTime(); //获取验证码 if (!baomingfaangshi.phone($.trim($("#ddPhoneIp").val()))) { $("#phoneErrorDd").html("手机号格式不正确"); return false; } else { $("#phoneErrorDd").html(""); countDownDd(); //获取短信验证码 } $.ajax({ url: ajaxUrlPrefix.goApi + "/cms/api/sendPhoneCode", type: "get", headers: { "content-type": "application/x-www-form-urlencoded", RterKey: router_key, TimeKey: time_key, Authorization: '5b6bac4a04700f0001f287ce55a8c8dc0cf54ba290e20e6c4efe9a74' }, data: { phone: $("#ddPhoneIp").val(), }, dataType: "json", // dataType:"jsonp", success: function (msg) { if (msg.code === 0) { /* alert('成功');*/ } else { alert("出错啦"); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log("获取失败,请重试!CODE:" + XMLHttpRequest.status); }, }); } // 校验验证码 function checkCodeDd() { var data = { phone: $("#ddPhoneIp").val(), code: $("#codeDdIp").val(), }; var md5Sign = { sign_method: "md5", kqNezsMODH: "1.0", BHXPixlxDB: "" }; var md5Data = {}; for (var attr in data) { md5Data[attr] = data[attr]; } for (var attr in md5Sign) { md5Data[attr] = md5Sign[attr]; } var signArr = []; for (var i in md5Data) { signArr.push(i + "=" + md5Data[i]); } var router_key = md5(signArr.sort().join("&")); var time_key = new Date().getTime(); $.ajax({ url: ajaxUrlPrefix.goApi + "/cms/api/checkPhoneCode", type: "get", headers: { "content-type": "application/x-www-form-urlencoded", RterKey: router_key, TimeKey: time_key, Authorization: '5b6bac4a04700f0001f287ce55a8c8dc0cf54ba290e20e6c4efe9a74' }, data: { code: $("#codeDdIp").val(), phone: $("#ddPhoneIp").val(), }, dataType: "json", success: function (msg) { console.log(msg); if (msg.code === 0) { // TODO: 根据当前修改 submitSignAssessmentDd(); } else { layer.msg(msg.data); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log("获取失败,请重试!CODE:" + XMLHttpRequest.status); }, }); } function initFingerprintJS() { var options = { fonts: { extendedJsFonts: true }, excludes: { userAgent: true } } if (window.requestIdleCallback) { requestIdleCallback(function () { Fingerprint2.getV18(options, function (result, components) { finger_visitorId = result }) }) } else { setTimeout(function () { Fingerprint2.getV18(options, function (result, components) { finger_visitorId = result }) }, 500) } } function judgeGetAbleDd() { var phoneFlag = false; var sectionFlag = true; var phoneVal = $("#ddPhoneIp").val(); if (phoneVal.length === 11) { if (/^1[3456789]\d{9}$/.test(phoneVal)) { $("#phoneErrorDd").html(""); phoneFlag = true; $("#ddGetCodeBtn").removeClass("form-unable"); } else { if (dialogType != 'liuxue') { $("#phoneErrorDd").html("手机号格式不正确"); } $("#ddGetCodeBtn").addClass("form-unable"); } } else { $("#ddGetCodeBtn").addClass("form-unable"); } var nameFlag = $("#ddNameIp").val().length > 0; var codeFlag = $("#codeDdIp").val().length === 6; if (phoneFlag && nameFlag && sectionFlag && codeFlag && sendFlagDd) { $("#ddGetBtn").removeClass("form-unable"); } else { $("#ddGetBtn").addClass("form-unable"); } } function lxjudgeGetAbleDd() { var phoneFlag = false; var sectionFlag = true; var phoneVal = $("#ddPhoneIp").val(); if (phoneVal.length === 11) { if (/^1[3456789]\d{9}$/.test(phoneVal)) { $('#ddPhoneIp').parents('.dd-form-items').removeClass("redbordclass") phoneFlag = true; $("#ddGetCodeBtn").removeClass("form-unable"); } else { $('#ddPhoneIp').parents('.dd-form-items').addClass("redbordclass") layer.msg("手机号格式不正确"); $("#ddGetCodeBtn").addClass("form-unable"); } } else { $("#ddGetCodeBtn").addClass("form-unable"); } var nameFlag = $("#ddNameIp").val().length > 0; var codeFlag = $("#codeDdIp").val().length === 6; if (phoneFlag && nameFlag && sectionFlag && codeFlag && sendFlagDd) { $("#ddGetBtn").removeClass("form-unable"); } else { $("#ddGetBtn").addClass("form-unable"); } } function clearFormDd() { $("#ddNameIp").val('') $("#ddPhoneIp").val('') $("#codeDdIp").val('') $("#formSelect1v1Dd")[0].options[0].selected = true; } function cookieGO(value, key, day) { var today = new Date(); var expires = new Date(); expires.setTime(today.getTime() + 1000 * 60 * 60 * day); setCookiee(value, key, expires); } function setCookiee(value, key, expire) { var pathName = "; path=/"; window.document.cookie = value + '=' + escape(key) + (expire == null ? '' : '; expires=' + expire.toGMTString()) + pathName } function getCookie(Name) { var findcookie = Name + '='; if (window.document.cookie.length > 0) { // if there are any cookies let offset = window.document.cookie.indexOf(findcookie); if (offset != -1) { // if cookie exists offset += findcookie.length; // set index of beginning of value let end = window.document.cookie.indexOf(';', offset); // set index of end of cookie value if (end == -1) end = window.document.cookie.length; return unescape(window.document.cookie.substring(offset, end)); } } return null; } }); </script> <script src="//cdn6.jjl.cn/assets/js/top-d4e316b45e.js"></script> <script src="//cdn6.jjl.cn/dep/js/layer-1.min.js"></script> <script src="//cdn6.jjl.cn/assets/js/show_advert-ad8945cbaa.js"></script> <script src="//cdn6.jjl.cn/assets/js/nav_common-d7ec25915f.js"></script> <script src="//cdn6.jjl.cn/assets/js/follow-b800a1c7e6.js"></script> <script src="//cdn6.jjl.cn/assets/js/xSlider-4-aec89a8164.15.js"></script> <!-- <script src="//cdn6.jjl.cn/assets/js/slide2-f13731f34b.js"></script> --> <!-- <script src="//cdn6.jjl.cn/assets/js/online_evaluation-578e9c046e.js"></script> --> <script src="//cdn6.jjl.cn/assets/js/footer-53c105b52c.js"></script> <script src="//cdn6.jjl.cn/assets/js/view_count_min-14657d43e2.js"></script> <script src="//cdn6.jjl.cn/assets/js/article_detail-de3675cf0a.js"></script> <!-- <script src="//cdn6.jjl.cn/assets/js/avatarGroup-0590090fd2.js"></script> --> <script src="//cdn6.jjl.cn/assets/js/md5-9aad326e2f.js"></script> <script> Echo.init({ offset: 400, throttle: 0 }); $(function () { var article_id = $('#detail_id').val() // 如果电话是177开头,则隐藏 // try { // var phone = $("#adTel").text() // if(phone.substring(0,3) == '177'){ // $("#adTelBox").hide() // } // } catch (error) { // } // 优化--广告位 $('#articleAD img').on('click', function () { $(".dialog-1v1-bg").fadeIn(150) $(".dialog-1v1-warp").fadeIn(150).attr('isFlag', '1') }) $(".articleAD-item a").on('click', function () { var url = $(this).attr('data-id') window.open(url) }) // 优化--咨询按钮埋点 $('#article_adviser_service').on('click', function () { var countryName = '俄罗斯' commonConsultationMd('文章详情页', '顾问', countryName, '文章底部-立即咨询') }) // 优化--话题 $('#article_guide_list .article_guide_item').on('click', function () { var countryEn = 'russia' if (countryEn == 'thailand' || countryEn == 'hungary') return _targetUrl($(this).attr('data-url'), 'russia', $(this).attr('data-target')) }) // 优化--侧边栏实用指南 $('#article_topic_List a').on('click', function () { var countryEn = 'russia' $(this).addClass('article_topic_active').siblings().removeClass('article_topic_active') if (countryEn == 'thailand' || countryEn == 'hungary') return _targetUrl($(this).attr('data-url'), 'russia', $(this).attr('data-target')) }) // 优化--文章底部按钮,点击事件 $('#article_country_service').on('click', function () { var countryEn = 'russia' if (countryEn != 'thailand' && countryEn != 'hungary') { _targetUrl($(this).attr('data-url'), countryEn, '') } }) var articleInfoEl = $('.adviser-case-detail-h3') var h = cookie('referweb'); // 获取来源url if (h == null || h == undefined) { h = window.location.href; if (h.match(/[~|《|<|>|'|!|@|#|$|%|^|*|(|)|+]/)) { // alert('含有特殊字符') return false; } else { if (document.referrer) { try { var refer = document.referrer; if (refer) { h = refer } } catch (e) { console.log('获取refer异常'); }; } else { h = window.location.href; } } } window.sensors.track('articleView', { city: fn.getCityChinese(articleInfoEl.attr('data-city')), articleTitle: articleInfoEl.text().trim(), articleID: articleInfoEl.attr('data-id'), articleAuthor: $('.ar-writer').text().trim(), articleCountry: articleInfoEl.attr('data-country'), refer: h }); // showShareGuidPop(); var login_ss = null; if (cookie("login_ss") != undefined) { login_ss = JSON.parse(cookie("login_ss")); } $(".banner-box-left .slider").xSlider({ current: 0, speed: 500, intervalTime: 5000, pagination: true, dotPostion: "right", }); $(".banner-box-right .slider").xSlider({ current: 0, speed: 1000, intervalTime: 5000, slidesPerView: 2, slidesPerGroup: 2, pagination: true, }); window._bd_share_config = { common: { bdSnsKey: {}, bdText: "", bdMini: "1", bdMiniList: false, bdPic: $("#get-share-img").attr("data-img"), bdStyle: "0", bdSize: "16", bdUrl: window.location.href + "?utm_source=weixin&utm_medium=wenzilian&utm_campaign=GXguwen&utm_content=20190515&utm_term=&utm_end=pc&link=5cdbdaabc5ae5_8_57_form", bdDesc: "", }, share: {}, }; // console.log(_bd_share_config.common.bdUrl) with (document) (0)[ ((getElementsByTagName("head")[0] || body).appendChild( createElement("script") ).src = ajaxUrlPrefix.cdnhost + "/static/api/js/share-ca4ab8b3fe.js?v=89860593.js?cdnversion=" + ~(-new Date() / 36e5)) ]; // 收藏 $(".art-shoucan-btn").on("click", function () { //文章收藏按钮 var that = this; $.ajax({ url: "/soapi/favorite_article", type: "POST", data: { article_id: article_id, }, dataType: "jsonp", jsonpCallback: "cb", success: function (result) { if (result.code == 0) { if (result.data.action == "add") { layer.msg("收藏成功"); $("#topShoucan").hide() $("#topShoucanEd").show() $("#leftShoucan").hide() $("#leftShoucanEd").show() $("#artShouTxt").text( Number(Number($("#artShouTxt").text()) + 1) ); $("#artLeftShoucanTxt").text($("#artShouTxt").text()) } else if (result.data.action == "remove") { layer.msg("取消收藏成功"); $("#topShoucan").show() $("#topShoucanEd").hide() $("#leftShoucan").show() $("#leftShoucanEd").hide() $("#artShouTxt").text( Number($("#artShouTxt").text() - 1) ); $("#artLeftShoucanTxt").text($("#artShouTxt").text()) } } else if (result.code == 1) { getlogin(); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(errorThrown); }, }); }); // 点赞 $(".art-dianzan-btn").on("click", function () { console.log('顶部点赞') //点赞 // if (login_ss == undefined) { // getlogin(); // return false; // } // if (login_ss.uid == adviserId) { // layer.msg('不能对自己发表的内容进行投票') // return false; // } var that = this; $.ajax({ url: "/soapi/article_vote", type: "POST", data: { item_id: article_id, item_type: "article", }, dataType: "jsonp", jsonpCallback: "cb", success: function (result) { if (result.code == 0) { if (result.data.action == "add") { layer.msg("点赞成功"); //TODO: 修改 $("#fabulous-num2").show() $("#fabulous-num").hide() $("#left-fabulous-num2").show() $("#left-fabulous-num").hide() $("#fabulousTxt").text( Number(Number($("#fabulousTxt").text()) + 1) ); $("#artLeftDianzan").text($("#fabulousTxt").text()) } else if (result.data.action == "remove") { layer.msg("取消点赞成功"); $("#fabulous-num2").hide() $("#fabulous-num").show() $("#left-fabulous-num2").hide() $("#left-fabulous-num").show() $("#fabulousTxt").text( Number(Number($("#fabulousTxt").text()) - 1) ); $("#artLeftDianzan").text($("#fabulousTxt").text()) } } else if (result.code == 1) { getlogin(); } else { layer.msg(result.message); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(errorThrown); }, }); }); $('.article_jubao_btn').on('click', function () { //文章举报 report(this, 1, city_id); }); watermark(); judgeLnavPosition(); $(window).resize(function () { judgeLnavPosition(); }); }) // 判断弹窗位置 function judgeLnavPosition() { var winW = $(window).width(); var slideW = (winW - 1200) / 2; var dialogW = 48 + 60; var leftDis = winW - (slideW + 1200) - dialogW; if (winW < 1301) { $(".art-left-handle-box").hide() return false } else { $(".art-left-handle-box").css('display', 'flex') } if (slideW > dialogW) { if (leftDis < 10) { leftDis = 10; } $(".art-left-handle-box").css("left", leftDis); } else { $(".art-left-handle-box").css("left", 0); } } function open_main(uid) { window.open("/" + uid); } function showShareGuidPop() { var from_adivser_flag = window.location.search; console.log('from_adivser_flag', from_adivser_flag) if ( from_adivser_flag && from_adivser_flag.split("?")[1] == "from_publish=1" ) { $("#share-guide-mask").show(); $("body").css("overflow", "hidden"); //浮层出现时窗口不能滚动设置 } else { $("body").css("overflow", "scroll"); } $("#share-close-btn").on("click", function () { $("#share-guide-mask").hide(); $("body").css("overflow", "scroll"); //浮层出现时窗口不能滚动设置 }); } function watermark() { var oTemp = document.createDocumentFragment(); var mask_div = document.createElement("div"); mask_div.appendChild(document.createTextNode("金吉列 www.jjl.cn")); //设置水印div倾斜显示 mask_div.style.webkitTransform = "rotate(-" + 30 + "deg)"; mask_div.style.MozTransform = "rotate(-" + 30 + "deg)"; mask_div.style.msTransform = "rotate(-" + 30 + "deg)"; mask_div.style.OTransform = "rotate(-" + 30 + "deg)"; mask_div.style.transform = "rotate(-" + 30 + "deg)"; mask_div.style.visibility = ""; mask_div.style.position = "absolute"; mask_div.style.left = "50%"; mask_div.style.marginLeft = "-125px"; mask_div.style.top = "40%"; mask_div.style.overflow = "hidden"; mask_div.style.zIndex = "700"; mask_div.style.opacity = "0.4"; mask_div.style.filter = "filter:Alpha(opacity=40)"; mask_div.style.fontSize = "30px"; mask_div.style.fontFamily = "微软雅黑"; mask_div.style.color = "#999"; mask_div.style.textAlign = "center"; mask_div.style.height = "80px"; mask_div.style.lineHeight = "80px"; mask_div.style.display = "block"; oTemp.appendChild(mask_div); document.getElementById("get-share-img").appendChild(oTemp); } function _targetUrl(url, country, target) { var targetUrl = target ? '?point=' + target : '' url ? window.open(url) : window.open("//www.jjl.cn/" + country + targetUrl) } </script> </body> </html>