课程咨询
Source: https://fisf.fudan.edu.cn/femba/consulting/ Parent: https://fisf.fudan.edu.cn/femba/
.text-black-25 { color: rgba(0, 0, 0, 0.25) !important; } .text-black-50 { color: rgba(0, 0, 0, 0.5) !important; } .text-black-75 { color: rgba(0, 0, 0, 0.75) !important; } .text-grey { color: #9E9E9E; } .text-gold { color: #c68448; } .text-danger { color: #D7000F!important; } .bg-gold-linear-gradient-to-top { background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #D7AA64 100%); } .bg-gold-linear-gradient-to-left { background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, #D7AA64 100%); } .bg-gold-linear-gradient-to-right { background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #D7AA64 100%); } .module-title-ch { font-weight: bolder; } .module-title-en { color: #ff0000; font-weight: bolder; } .module-title-line { width: 50px; height: 1px; background-color: #000; margin: auto; } .module-img { width: 20%; bottom: 0; right: 0; } .banner { width: 100%!important; } @media (max-width: 768px) { .h-460 { height: 300px!important; } } .h-460 { height: 400px; } .banner-front-page { /* 1920 * 640 */ background-image: url("/femba2/wp-content/uploads/2022/06/common-header-banner-overview.png"); background-position: bottom; background-repeat: no-repeat; background-size: cover; } .title-box { width: 60%; margin: auto; padding-top: 3rem } .front-page-banner-title { display: flex; justify-content: flex-start; } .bg-light { background-color: rgba(249,249,249)!important } .word-art-img { width: 80%; } .float-block { width: 30%; left: 35%; top: 85%; } .float-block .parent { max-width: 570px; padding-top: 1.5rem; padding-bottom: 1.5rem; } .header-img { width: 20%; bottom: 0; right: 0; } @media (max-width: 1040px) { .float-block { width: 60%; left: 20%; top: 90%; } .header-img { width: 15%; } } @media (max-width: 768px) { .header-img { width: 20%; } .title-box { width: 80%; } .front-page-banner-title { display: block; } } .small-title-line { border-bottom: 5px solid #f5f5f5; } .content-width { width: 100%; } @media (max-width: 768px) { .content-width { width: 100%; } } .hover-red:hover { color: #D7000F; } .li-right-border { border-right: 2px solid #ff0000; } .left-pd { padding-left: 1.5rem; } .right-pd { padding-right: 1.5rem; } @media (max-width: 500px) { .left-pd { padding-left: 0.5rem; } .right-pd { padding-right: 0.5rem; } } /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ @media (min-width: 1200px) { .container { max-width: 80%; } } @media (min-width: 1920px) { .container { max-width: calc(1920px * 0.8); } } .nav-font { font-size: 1.19vw; font-family: SourceHanSansSC-Medium, Microsoft YaHei; } .web-title { font-family: SourceHanSansSC-Bold, Microsoft YaHei; font-size: 1.875vw; } @media (min-width: 1920px) { .nav-font { font-size: 23px; } .web-title { font-size: 36px; } } @media (max-width: 1280px) { .web-title { font-size: 24px; } } @media (max-width: 1200px) { .nav-font { font-size: 16px; } } @media (max-width: 768px) { .nav-font { font-size: 14px; } .apply-desc { font-size: 14px; } }
@media (min-width: 768px) { .w-md-50 { width: 50%; } } .font-26 { font-size: 26px; } .sub-btn { height: 40px; width: 220px; }
如果您对课程有任何疑问,欢迎留下联系方式,招生老师将尽快联系您。
姓 名*
手 机*
邮 箱*
公 司*
职 位*
年 龄*
学 历*
请选择学历
区 域*
请选择省份
请选择城市
工 作*
提交
$("#adMenu").mouseover(function() { $("#adSubMenu").addClass("adSubMenu-show"); }); $("#adMenu").mouseout(function() { $("#adSubMenu").removeClass("adSubMenu-show"); }); $("#coMenu").mouseover(function() { $("#coSubMenu").addClass("coSubMenu-show"); }); $("#coMenu").mouseout(function() { $("#coSubMenu").removeClass("coSubMenu-show"); }); $("#cmMenu").mouseover(function() { $("#cmSubMenu").addClass("cmSubMenu-show"); }); $("#cmMenu").mouseout(function() { $("#cmSubMenu").removeClass("cmSubMenu-show"); }); $("#newsMenu").mouseover(function() { $("#newsSubMenu").addClass("newsSubMenu-show"); }); $("#newsMenu").mouseout(function() { $("#newsSubMenu").removeClass("newsSubMenu-show"); }); // var date = new Date(); // var Y = date.getFullYear() // var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1):date.getMonth()+1); // var D = (date.getDate()< 10 ? '0'+date.getDate():date.getDate()); // var h = (date.getHours() < 10 ? '0'+date.getHours():date.getHours()); // var m = (date.getMinutes() < 10 ? '0'+date.getMinutes():date.getMinutes()); // var time = Y + '-' + M + '-' + D + ' ' + h + ':' + m; // const beta = 'FISF2023' + time // const keyword = md5(beta) // let wxConfig = null; // $.ajax({ // type: "get", // headers: {"Content-Type": "application/json"}, // url: "https://fisf.fudan.edu.cn/index/wxShare", // data: { // time: time, // keyword: keyword, // shareurl: 'https://fisf.fudan.edu.cn/femba/consulting/' // }, // success: function(data) { // const res = JSON.parse(data) // if (res.state == 200) { // wxConfig = JSON.parse(res.data); // console.log(wxConfig) // wx.config({ // debug: true, // appId: wxConfig.appid, // 必填,公众号的唯一标识 // timestamp: wxConfig.timestamp, // 必填,生成签名的时间戳 // nonceStr: wxConfig.nonceStr, // 必填,生成签名的随机串 // signature: wxConfig.signature,// 必填,签名 // jsApiList: ['updateAppMessageShareData', 'updateTimelineShareData'] // 必填,需要使用的JS接口列表 // }) // wx.ready(function(){ // wx.updateAppMessageShareData({ // title: '墨鹰标题', // 分享标题 // desc: '我设置好的一个分享的描述', // 分享描述 // link: 'https://fisf.fudan.edu.cn/femba/consulting/', // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 // imgUrl: 'https://fisf.fudan.edu.cn/femba/wp-content/uploads/2023/04/微信图片_20230414163250.jpg', // 分享图标 // success: function () { // console.log('设置成功') // } // // complete: function (res) { // // console.log(JSON.stringify(res)) // // }, // // fail: function (res) { // // console.log(JSON.stringify(res)) // // } // }) // }); // } // }, // error: function(err){ // alert('服务器异常请稍后再试'); // } // }); // wx.error(function(res){ // alert(JSON.stringify(res)) // alert('签名错啦') // }); $("#consult-submit").off("click", function() { // var data = $("#application-form").serializeObject(); var data = $("#application-form").serializeObject(); $.ajax({ type: "post", headers: {"Content-Type": "application/json"}, url: "https://application.fisf.com.cn/as/api/json/newap/pre/program", data: JSON.stringify(data), success: function(data) { if (data.code == "success") { alert('提交成功'); console.log('1') } else { alert(data.message); console.log('2') } }, error: function(err){ alert('服务器异常请稍后再试'); console.log('3') } }); }); $(function() { // var scrollTop = ''; // if (scrollTop == 'NONE') { // return // } else { // var width = $("html").width(); // if (width <= 767) { // $("html").animate({"scrollTop": "670px"}, 1000); // } // } var cities = []; $(document).ready(function(){ $.ajax({ type: "post", headers: {"Content-Type": "application/json"}, url : 'https://application.fisf.com.cn/as/api/json/newap/pre/program/form', data: JSON.stringify({ program_code: "emba" }), datatype : 'json', success : function(data) { if(data) { var edu_levels = data.applicationCodeSets1.degree_level.codes; var provinces = data.applicationCodeSets1.province.codes; cities = data.applicationCodeSets1.city.codes; var edu_sel = ['']; var province = ['']; for(var i = 0; i < edu_levels.length; i++){ edu_sel.push('') } for(var i = 0; i < provinces.length; i++){ province.push('') } $("#consult-edu-select").html(edu_sel.join(' ')); $("#consult-province-select").html(province.join(' ')); } }, error : function() { } }); }); $("#consult-province-select").change(function() { var province = $("#consult-province-select").val(); var provinceTitle = ""; var citys = []; if(province !== undefined){ provinceTitle = (province.split(",,"))[2]; province = (province.split(",,"))[0]; for(var i = 0; i < cities.length; i++){ if(cities[i].parentCode.codeId === province){ citys.push(cities[i]); } } } var city = ['']; for(var i = 0; i < citys.length; i++){ city.push(''); } $("#consult-city-select").html(city.join(' ')); }); //定义serializeObject方法,序列化表单 $.fn.serializeObject = function() { var o = {}; var a = this.serializeArray(); $.each(a, function() { if (o[this.name]) { if (!o[this.name].push) { o[this.name] = [ o[this.name] ]; } o[this.name].push(this.value || ''); } else { o[this.name] = this.value || ''; } }); return o; }; });