{"version":3,"file":"main.js","names":["$","document","ready","window","matchMedia","matches","hover","$this","addClass","find","first","removeClass","scroll","scrollpos","scrollTop","off","slideout","Slideout","panel","getElementById","menu","padding","tolerance","easing","side","touch","on","toggle","header","wapmenu","translated","style","transform","transition","MetisMenu","docElem","documentElement","didScroll","scrollPage","addEventListener","event","setTimeout","scrollY","pageYOffset","e","next","hasClass","parents","$subMenu","toggleClass","preventDefault","$document","$scrollTotop","length","show","fadeOut","click","animate","mapBox","mapBoxWidth","width","height","mapInfo","extend","lng","lat","title","message","MAP_INFO","map","BMap","Map","point","Point","marker","Marker","addOverlay","enableScrollWheelZoom","centerAndZoom","setAnimation","BMAP_ANIMATION_BOUNCE","opts","offset","enableMessage","infoWindow","InfoWindow","openInfoWindow","top_left_navigation","NavigationControl","addControl","Swiper","loop","autoplay","delay","stopOnLastSlide","disableOnInteraction","spaceBetween","pagination","el","clickable","navigation","nextEl","prevEl","swalModel","text","icon","swal","buttons","timer","name","val","phones","email","phones_reg","email_reg","test","datas","serialize","post","res","code","reset"],"sources":["main.js"],"sourcesContent":["$(document).ready(function() {\r\n //\r\n // DropDown\r\n //\r\n\r\n (function() {\r\n if (window.matchMedia(\"(min-width: 1200px)\").matches) {\r\n $(\".dropdown\").hover(\r\n function() {\r\n const $this = $(this);\r\n $this.addClass(\"show\");\r\n $this.find(\".dropdown-menu\").first().addClass(\"show\");\r\n },\r\n function() {\r\n const $this = $(this);\r\n $this.removeClass(\"show\");\r\n $this.find(\".dropdown-menu\").first().removeClass(\"show\");\r\n }\r\n );\r\n\r\n $(document).ready(function() {\r\n // 計算容易距離頁麵頂部的高度\r\n $(window).scroll(function() {\r\n // 檢測頁麵滾動的高度\r\n var scrollpos = $(window).scrollTop();\r\n // 當滾動高度超過距(jù)離頂部的高度的時候為(wéi)容器添加想要的樣式\r\n if (scrollpos >= 200) {\r\n $(\".public_header\").addClass(\"change\");\r\n } else {\r\n $(\".public_header\").removeClass(\"change\");\r\n }\r\n });\r\n });\r\n } else {\r\n $(\".dropdown\").off(\"mouseenter mouseleave\");\r\n //\r\n // Slideout\r\n //\r\n\r\n (function() {\r\n var slideout = new Slideout({\r\n panel: document.getElementById('mu-panel'),\r\n menu: document.getElementById('sidebar'),\r\n padding: 300,\r\n tolerance: 70,\r\n easing: 'cubic-bezier(.32,2,.55,.27)',\r\n side: 'right',\r\n touch: false\r\n });\r\n\r\n $('.navbar-toggler').on('click', function() {\r\n $('.metismenu').removeClass('mm-collapse');\r\n slideout.toggle();\r\n });\r\n\r\n var header = document.getElementById('mu-header');\r\n var wapmenu = document.getElementById('mu-menu');\r\n\r\n slideout.on('translate', function(translated) {\r\n header.style.transform = 'translateX(' + translated + 'px)';\r\n wapmenu.style.transform = 'translateX(' + translated + 'px)';\r\n });\r\n\r\n slideout.on('beforeopen', function() {\r\n header.style.transition = 'transform 300ms ease';\r\n header.style.transform = 'translateX(-300px)';\r\n wapmenu.style.transition = 'transform 300ms ease';\r\n wapmenu.style.transform = 'translateX(-300px)';\r\n });\r\n\r\n slideout.on('beforeclose', function() {\r\n header.style.transition = 'transform 300ms ease';\r\n header.style.transform = 'translateX(0px)';\r\n wapmenu.style.transition = 'transform 300ms ease';\r\n wapmenu.style.transform = 'translateX(0px)';\r\n });\r\n\r\n new MetisMenu('#sidebar');\r\n })();\r\n\r\n //\r\n // 導航動效\r\n //\r\n\r\n (function() {\r\n var docElem = document.documentElement,\r\n header = $(\"#header\"),\r\n didScroll = false;\r\n\r\n scrollPage();\r\n window.addEventListener(\r\n \"scroll\",\r\n function(event) {\r\n if (!didScroll) {\r\n didScroll = true;\r\n setTimeout(scrollPage, 250);\r\n }\r\n },\r\n false\r\n );\r\n\r\n function scrollPage() {\r\n var scrollY = window.pageYOffset || docElem.scrollTop;\r\n if (scrollY >= 150) {\r\n header.removeClass(\"expand\");\r\n } else {\r\n header.addClass(\"expand\");\r\n }\r\n didScroll = false;\r\n }\r\n })();\r\n\r\n\r\n }\r\n\r\n // DropDown Submenu\r\n $(\".dropdown-submenu a[data-toggle='dropdown']\").on(\"click\", function(e) {\r\n if (!$(this).next().hasClass(\"show\")) {\r\n $(this)\r\n .parents(\".dropdown-menu\")\r\n .first()\r\n .find(\".show\")\r\n .removeClass(\"show\");\r\n }\r\n\r\n var $subMenu = $(this).next(\".dropdown-menu\");\r\n $subMenu.toggleClass(\"show\");\r\n\r\n $(this)\r\n .parents(\"li.nav-item.dropdown.show\")\r\n .on(\"hidden.bs.dropdown\", function(e) {\r\n $(\".dropdown-submenu .show\").removeClass(\"show\");\r\n });\r\n\r\n return false;\r\n });\r\n\r\n // Nav Submenu\r\n $('a[data-toggle=\"submenu\"]').on(\"click\", function(e) {\r\n e.preventDefault();\r\n $(this).next(\".nav-submenu\").toggleClass(\"show\");\r\n });\r\n })();\r\n\r\n //\r\n // Scroll To Top\r\n //\r\n\r\n (function() {\r\n var $document = $(document);\r\n var $scrollTotop = $(\".scroll-to-top\");\r\n if ($scrollTotop.length > 0) {\r\n if ($document.scrollTop() > 300) {\r\n $scrollTotop.show();\r\n }\r\n $document.on(\"scroll\", function() {\r\n if ($document.scrollTop() > 300) {\r\n $scrollTotop.show();\r\n } else {\r\n $scrollTotop.fadeOut();\r\n }\r\n });\r\n $scrollTotop.click(function(e) {\r\n e.preventDefault();\r\n $(\"html, body\").animate({\r\n scrollTop: 0,\r\n },\r\n 500\r\n );\r\n return false;\r\n });\r\n }\r\n })();\r\n\r\n\r\n //\r\n // 百度地圖\r\n //\r\n\r\n (function() {\r\n var mapBox = $(\"#map-box\");\r\n var mapBoxWidth = mapBox.width();\r\n if (mapBoxWidth > 260) {\r\n mapBoxWidth = 260;\r\n }\r\n mapBox.height(mapBoxWidth);\r\n\r\n if (mapBox.length > 0) {\r\n var mapInfo = $.extend({\r\n lng: 87.586399, // 經度\r\n lat: 43.875055, // 緯度\r\n title: \"新疆百疆圖網絡(luò)服務有限公司\", // 公司名稱\r\n message: \"地址:烏市新市區長沙路158號綠苑雅築2號樓4樓\", // 地址\r\n },\r\n window.MAP_INFO\r\n );\r\n\r\n // 百度(dù)地圖API功能\r\n var map = new BMap.Map(\"map-box\");\r\n var point = new BMap.Point(mapInfo.lng, mapInfo.lat);\r\n var marker = new BMap.Marker(point); // 創建標注\r\n map.addOverlay(marker); // 將標注添加到地圖中\r\n map.enableScrollWheelZoom(true); //開啟鼠標滾輪縮放\r\n map.centerAndZoom(point, 18);\r\n marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳動的動(dòng)畫(huà)\r\n\r\n var opts = {\r\n offset: {\r\n height: -20,\r\n width: -6\r\n },\r\n width: 200, // 信息窗(chuāng)口寬度\r\n height: 80, // 信息窗口高度\r\n title: mapInfo.title, // 信息窗口標(biāo)題\r\n enableMessage: true, //設置允許信息窗發送短息\r\n message: mapInfo.message,\r\n };\r\n var infoWindow = new BMap.InfoWindow(mapInfo.message, opts); // 創建信息窗口對象\r\n map.openInfoWindow(infoWindow, point); //開啟(qǐ)信息窗口\r\n marker.addEventListener(\"click\", function() {\r\n this.openInfoWindow(infoWindow); //開啟信息窗(chuāng)口\r\n });\r\n\r\n var top_left_navigation = new BMap.NavigationControl(); //左上角,添加默認縮放平移控件\r\n\r\n map.addControl(top_left_navigation);\r\n }\r\n })();\r\n\r\n //\r\n // Banner\r\n //\r\n\r\n (function() {\r\n new Swiper(\".mu-banner\", {\r\n loop: true,\r\n autoplay: {\r\n delay: 5000,\r\n stopOnLastSlide: false,\r\n disableOnInteraction: true,\r\n },\r\n spaceBetween: 0,\r\n pagination: {\r\n el: \".mu-banner .swiper-pagination\",\r\n clickable: true,\r\n },\r\n navigation: {\r\n nextEl: \".mu-banner .swiper-button-next\",\r\n prevEl: \".mu-banner .swiper-button-prev\",\r\n },\r\n });\r\n new Swiper('.product-gallery', {\r\n pagination: {\r\n el: '.swiper-pagination',\r\n clickable: true\r\n },\r\n });\r\n })();\r\n\r\n // ajax表單(dān)驗證及提交\r\n // sweetalert 參數文檔地址 https://sweetalert.js.org/\r\n (function() {\r\n\r\n //\r\n // swalModel\r\n //\r\n\r\n function swalModel(text, icon) {\r\n swal({\r\n title: '溫馨提示',\r\n text: text,\r\n icon: icon,\r\n buttons: false,\r\n timer: 3000\r\n })\r\n }\r\n\r\n //\r\n // Form Submit\r\n //\r\n\r\n $('#messageSub').on('click', function() {\r\n var name = $(':input[name=\"name\"]').val();\r\n var phones = $(':input[name=\"phones\"]').val();\r\n var email = $(':input[name=\"email\"]').val();\r\n\r\n var phones_reg = /(^(?:(?:0\\d{2,3})-)?(?:\\d{7,8})(-(?:\\d{3,}))?$)|(^0{0,1}1[3|4|5|6|7|8|9][0-9]{9}$)/;\r\n var email_reg = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/;\r\n\r\n // 驗證\r\n if (name.length < 2 || name.length > 30) {\r\n swalModel('姓名錯(cuò)誤,請重新輸入!', 'error');\r\n return;\r\n }\r\n if (!phones_reg.test(phones)) {\r\n swalModel('電話號碼錯誤,請重(chóng)新(xīn)輸入!', 'error');\r\n return;\r\n }\r\n if (!email_reg.test(email)) {\r\n swalModel('郵箱錯誤,請重新輸入!', 'error');\r\n return;\r\n }\r\n\r\n var datas = $('#message').serialize();\r\n\r\n $.post(\"/api/messages\", datas, function(res) {\r\n //表單提交成功(gōng)\r\n if (res.code === 1) {\r\n swalModel('留言成功!', 'success');\r\n setTimeout(function() {\r\n // 清空表單\r\n $('#message')[0].reset();\r\n }, 2000);\r\n }\r\n });\r\n })\r\n })();\r\n});\r\n"],"mappings":"aAAAA,CAAC,CAACC,QAAQ,CAAC,CAACC,KAAK,CAAC,YAAW;EACzB;EACA;EACA;;EAEA,CAAC,YAAW;IACR,IAAIC,MAAM,CAACC,UAAU,CAAC,qBAAqB,CAAC,CAACC,OAAO,EAAE;MAClDL,CAAC,CAAC,WAAW,CAAC,CAACM,KAAK;MAChB,YAAW;QACP,IAAMC,KAAK,GAAGP,CAAC,CAAC,IAAI,CAAC;QACrBO,KAAK,CAACC,QAAQ,CAAC,MAAM,CAA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