{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/views/article_solution_nongye/index.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","8","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","beforeScroH","$","document","scrollTop","scroll","scroH","viewH","height","css","fixedNav","offset","top","tranH","outerHeight","width","addClass","removeClass","delta","page1H","page2H","page3H","page4H","page5H","page6H","page7H","eq","siblings","screen","swiper4","slideTo","ready","html","getsec4H","show","hide","Swiper","allowTouchMove","effect","fadeEffect","crossFade","on","init","swiper","this","activeIndex","find","slideDown","slideChangeTransitionStart","slideUp","index","swiper5","hover","slidesPerView","slidesPerGroup","spaceBetween","pagination","el","clickable","breakpoints","1025","640"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI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c,Q","file":"js/226f23930b97c1151b7250208ee25511.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t8: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([355,0]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import './index.scss'\r\nimport Swiper from 'swiper/js/swiper.min.js'\r\n\r\nvar beforeScroH = $(document).scrollTop();\r\n$(document).scroll(function () {\r\n var scroH = $(document).scrollTop(); //滚动高度\r\n var viewH = $(window).height(); //可见高度\r\n $('.section1 .bg').css('transform','translateY('+ scroH / 5 +'px)')\r\n\r\n //浮动二级导航效果\r\n let fixedNav = $('.section2').offset().top\r\n let tranH = $('.pc-header .header').outerHeight()-1\r\n if(scroH > fixedNav){\r\n if($(window).width()>1024){\r\n $('.section2 .sec2-fixed').addClass('fixed')\r\n }else{\r\n $('.section2 .sec2-fixed').addClass('fixed').css('transform','translateY('+ tranH +'px)')\r\n }\r\n }else{\r\n if($(window).width()>1024){\r\n $('.section2 .sec2-fixed').removeClass('fixed')\r\n }else{\r\n $('.section2 .sec2-fixed').removeClass('fixed').css('transform','translateY(0px)')\r\n }\r\n }\r\n\r\n //判断页面是上滚还是下滚\r\n var delta = scroH - beforeScroH;\r\n if($(window).width()>1024){\r\n if(scroH > fixedNav){\r\n if (delta > 0) {\r\n $('.section2 .sec2-fixed').css('transform','translateY(0px)')\r\n }\r\n if (delta < 0) {\r\n \r\n $('.section2 .sec2-fixed').css('transform','translateY('+ tranH +'px)')\r\n }\r\n }else{\r\n $('.section2 .sec2-fixed').css('transform','translateY(0px)')\r\n }\r\n }\r\n beforeScroH = scroH;\r\n\r\n\r\n //二级导航高亮对应\r\n let page1H = $('#page1').offset().top - viewH/4\r\n let page2H = $('#page2').length > 0 ? $('#page2').offset().top - viewH/4 : page1H\r\n let page3H = $('#page3').length > 0 ? $('#page3').offset().top - viewH/4 : page2H\r\n let page4H = $('#page4').length > 0 ? $('#page4').offset().top - viewH/4 : page3H\r\n let page5H = $('#page5').length > 0 ? $('#page5').offset().top - viewH/4 : page4H\r\n let page6H = $('#page6').length > 0 ? $('#page6').offset().top - viewH/4 : page5H\r\n let page7H = $('#page7').length > 0 ? $('#page7').offset().top - viewH/4 : page6H\r\n if(scroH < page2H){\r\n $('.section2 .scroll-cont a').eq(0).addClass('active').siblings().removeClass('active')\r\n }else if(scroH > page2H && scroH < page3H){\r\n $('.section2 .scroll-cont a').eq(1).addClass('active').siblings().removeClass('active')\r\n }else if(scroH > page3H && scroH < page4H){\r\n $('.section2 .scroll-cont a').eq(2).addClass('active').siblings().removeClass('active')\r\n }else if(scroH > page4H && scroH < page5H){\r\n $('.section2 .scroll-cont a').eq(3).addClass('active').siblings().removeClass('active')\r\n }else if(scroH > page5H && scroH < page6H){\r\n $('.section2 .scroll-cont a').eq(4).addClass('active').siblings().removeClass('active')\r\n }else if(scroH > page6H && scroH < page7H){\r\n $('.section2 .scroll-cont a').eq(5).addClass('active').siblings().removeClass('active')\r\n }else if(scroH > page7H){\r\n $('.section2 .scroll-cont a').eq(6).addClass('active').siblings().removeClass('active')\r\n }\r\n\r\n\r\n //系统组成\r\n if (window.screen.width > 1024){\r\n if(scroH < $('.section4').offset().top){\r\n $('.section4 .fixed-cont').removeClass('fixed')\r\n }else if(scroH > $('.section4').offset().top && scroH < $('.section5').offset().top - viewH){\r\n $('.section4 .fixed-cont').addClass('fixed').removeClass('abs')\r\n }else{\r\n $('.section4 .fixed-cont').addClass('abs').removeClass('fixed')\r\n }\r\n\r\n if(scroH < $('.section4').offset().top + viewH/2){\r\n swiper4.slideTo(0)\r\n }else if(scroH > $('.section4').offset().top + viewH/2 && scroH < $('.section4').offset().top + viewH){\r\n swiper4.slideTo(1)\r\n }else if(scroH > $('.section4').offset().top + viewH && scroH < $('.section4').offset().top + viewH*1.5){\r\n swiper4.slideTo(2)\r\n }else if(scroH > $('.section4').offset().top + viewH*1.5 && scroH < $('.section4').offset().top + viewH*2){\r\n swiper4.slideTo(3)\r\n }\r\n }\r\n});\r\n\r\n$(document).ready(function(){\r\n $('.section2 .scroll-cont a').eq(0).addClass('active');\r\n getsec4H()\r\n if($(window).width() < 768){\r\n $('.sec4-cont li .item-desc').show()\r\n }else{\r\n $('.sec4-cont li .item-desc').hide()\r\n $('.sec4-cont li.active .item-desc').show()\r\n }\r\n})\r\n\r\nfunction getsec4H(){\r\n let length = $('.section4 .sec4-cont li').length + 1\r\n let html = ''\r\n for(let i=0; i