{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?5f8d","webpack:///src/App.vue","webpack:///./src/App.vue?a7d1","webpack:///./src/App.vue","webpack:///./src/api/public.js","webpack:///./src/store/modules/common.js","webpack:///./src/store/modules/lang.js","webpack:///./src/store/index.js","webpack:///./src/router/index.js","webpack:///./src/plugins/element.js","webpack:///./src/main.js","webpack:///./src/App.vue?e1a8","webpack:///./api.config.js","webpack:///./src/plugins/axios.js","webpack:///./src/assets/iconfont/iconfont.js","webpack:///./src/utils/lang.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","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","component","apiUrl","header","lang","footer","language","banner","getHeaderApi","fetch","getFooterApi","getLanguageApi","getBannerApi","params","state","LP","isFooterShow","meta","title","description","keywords","getters","actions","getLanguage","commit","getBanner","getHeader","getFooter","mutations","SET_LANGUAGE","languages","SET_IS_FOOTER_SHOW","status","SET_MATE","meta_title","meta_description","meta_keyword","SET_BANNER","SET_HEADER","SET_FOOTER","namespaced","SET_LANG","Vue","use","Vuex","Store","common","VueRouter","NProgress","configure","trickleRate","trickleSpeed","easing","speed","showSpinner","defaultLayout","home","trustworthy","dahuaPsirt","technologies","resources","news","privacyProtection","transparency","newsDetail","staticRoutes","path","children","asyncRoutes","router","base","process","routes","scrollBehavior","to","from","savedPosition","x","y","beforeEach","next","start","keys","store","dispatch","langs","langName","includes","afterEach","done","components","Button","Pagination","config","productionTip","Meta","metaInfo","comtent","render","h","App","$mount","isProdMode","baseUrl","url","method","axios","res","catch","defaults","withCredentials","headers","post","baseURL","apiConfig","interceptors","qs","stringify","response","_iconfont_svg_string_4159491","a","insertBefore","__iconfont__svg__cssinject__","write","log","innerHTML","style","position","width","height","overflow","body","firstChild","addEventListener","indexOf","readyState","removeEventListener","attachEvent","onreadystatechange","documentElement","doScroll","location","pathname"],"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,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3C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AAY5K,WAAW/E,EAAE,IAAIoG,EAAE,WAAW7D,SAASqN,oBAAoB,mBAAmBxJ,GAAE,GAAIpG,KAAKuC,SAASkN,iBAAiB,mBAAmBrJ,GAAE,IAAK7D,SAASsN,cAAcxK,EAAErF,EAAE6B,EAAE+M,EAAErM,SAAS2C,GAAE,EAAGqI,IAAI1L,EAAEiO,mBAAmB,WAAW,YAAYjO,EAAE8N,aAAa9N,EAAEiO,mBAAmB,KAAKxO,OAAO,SAASA,IAAI4D,IAAIA,GAAE,EAAGG,KAAK,SAASkI,IAAI,IAAI1L,EAAEkO,gBAAgBC,SAAS,QAAQ,MAAMnK,GAAG,YAAYd,WAAWwI,EAAE,IAAIjM,KAAjxC,CAAuxCoF,S,4CCAhvO,SAASiC,IACP,IAAMnB,EAAOd,OAAOuJ,SAASC,SAAStJ,MAAM,EAAG,GAC/C,MAAgB,QAATY,EAAiB,MAAQ,MAGnBmB","file":"js/app.83214bf1.js?t=1697795115160","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 CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\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\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"404\":\"404\",\"dahua_psirt\":\"dahua_psirt\",\"home\":\"home\",\"layout\":\"layout\",\"news\":\"news\",\"newsDetail\":\"newsDetail\",\"privacy_protection\":\"privacy_protection\",\"resources\":\"resources\",\"safeCredible\":\"safeCredible\",\"technologies\":\"technologies\",\"transparency\":\"transparency\"}[chunkId]||chunkId) + \".\" + {\"404\":\"d4c4c2ed\",\"dahua_psirt\":\"a6ca4a24\",\"home\":\"ad760409\",\"layout\":\"27164450\",\"news\":\"baf3944f\",\"newsDetail\":\"91c828a5\",\"privacy_protection\":\"95109ebe\",\"resources\":\"876c94e1\",\"safeCredible\":\"7ca3e410\",\"technologies\":\"94afcdae\",\"transparency\":\"22d243fa\"}[chunkId] + \".js?t=1697795115160\"\n \t}\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 \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"404\":1,\"dahua_psirt\":1,\"home\":1,\"layout\":1,\"news\":1,\"newsDetail\":1,\"privacy_protection\":1,\"resources\":1,\"safeCredible\":1,\"technologies\":1,\"transparency\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"404\":\"404\",\"dahua_psirt\":\"dahua_psirt\",\"home\":\"home\",\"layout\":\"layout\",\"news\":\"news\",\"newsDetail\":\"newsDetail\",\"privacy_protection\":\"privacy_protection\",\"resources\":\"resources\",\"safeCredible\":\"safeCredible\",\"technologies\":\"technologies\",\"transparency\":\"transparency\"}[chunkId]||chunkId) + \".\" + {\"404\":\"9ddafa32\",\"dahua_psirt\":\"857342cb\",\"home\":\"b2afecbe\",\"layout\":\"e71d1d68\",\"news\":\"71ebdb95\",\"newsDetail\":\"b80255b1\",\"privacy_protection\":\"4ae916d8\",\"resources\":\"475fc860\",\"safeCredible\":\"20caee19\",\"technologies\":\"b349dc58\",\"transparency\":\"47bb562b\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\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 = \"/trustcenter/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\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([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=057a7b26&scoped=true&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=057a7b26&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"057a7b26\",\n null\n \n)\n\nexport default component.exports","// 公共\r\nimport { fetch } from '@/plugins/axios.js'\r\nimport lang from '@/utils/lang'\r\n\r\nconst apiUrl = {\r\n header: `/cybersecurity/header${lang}`, // 头部\r\n footer: `/cybersecurity/footer${lang}`, // 底部\r\n language: `/cybersecurity/language_wap${lang}`, // 语言包\r\n banner: `/home/banner${lang}` // banner\r\n}\r\n\r\n// 头部\r\nexport const getHeaderApi = () => fetch(apiUrl.header)\r\n// 底部\r\nexport const getFooterApi = () => fetch(apiUrl.footer)\r\n// 语言包\r\nexport const getLanguageApi = () => fetch(apiUrl.language)\r\n// banner\r\nexport const getBannerApi = (params) => fetch(apiUrl.banner, params)\r\n","import { getLanguageApi, getBannerApi, getHeaderApi, getFooterApi } from '@/api/public'\r\nconst state = {\r\n LP: {},\r\n isFooterShow: true, // 是否显示底部导航\r\n meta: {\r\n title: '',\r\n description: '',\r\n keywords: ''\r\n },\r\n banner: null, // banner\r\n header: null, // header\r\n footer: null // footer\r\n}\r\n\r\nconst getters = {\r\n}\r\nconst actions = {\r\n // 获取语言包\r\n async getLanguage({ commit }) {\r\n const data = await getLanguageApi()\r\n commit('SET_LANGUAGE', data.data)\r\n },\r\n // banner\r\n async getBanner({ commit }, params) {\r\n const data = await getBannerApi(params)\r\n commit('SET_BANNER', data.data)\r\n },\r\n // 头部\r\n async getHeader({ commit }, params) {\r\n const data = await getHeaderApi(params)\r\n commit('SET_HEADER', data.data)\r\n },\r\n // 底部\r\n async getFooter({ commit }, params) {\r\n const data = await getFooterApi(params)\r\n commit('SET_FOOTER', data.data)\r\n }\r\n}\r\nconst mutations = {\r\n SET_LANGUAGE(state, params) {\r\n state.LP = params.languages\r\n },\r\n // 是否显示底部导航\r\n SET_IS_FOOTER_SHOW: (state, status) => {\r\n state.isFooterShow = status\r\n },\r\n SET_MATE: (state, params) => {\r\n state.meta.title = params.meta_title\r\n state.meta.description = params.meta_description\r\n state.meta.keywords = params.meta_keyword\r\n },\r\n SET_BANNER: (state, params) => {\r\n state.banner = params\r\n },\r\n SET_HEADER(state, params) {\r\n state.header = params\r\n },\r\n SET_FOOTER(state, params) {\r\n state.footer = params\r\n }\r\n}\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n mutations,\r\n getters,\r\n actions\r\n}\r\n","const state = {\r\n lang: '' // 多语言\r\n}\r\n\r\nconst getters = {\r\n lang: (state) => state.lang\r\n}\r\n\r\nconst mutations = {\r\n SET_LANG: (state, params) => {\r\n state.lang = params\r\n }\r\n}\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations\r\n}\r\n","import Vue from 'vue'\r\nimport Vuex from 'vuex'\r\n\r\nimport common from './modules/common'\r\nimport lang from './modules/lang'\r\n\r\nVue.use(Vuex)\r\n\r\nexport default new Vuex.Store({\r\n modules: {\r\n common,\r\n lang\r\n }\r\n})\r\n","import Vue from 'vue'\r\nimport VueRouter from 'vue-router'\r\nimport store from '@/store'\r\nimport NProgress from 'nprogress'\r\nimport 'nprogress/nprogress.css'\r\n\r\nVue.use(VueRouter)\r\n\r\n/** ********* 进度条配置 ***********/\r\nNProgress.configure({\r\n trickleRate: 0.02,\r\n trickleSpeed: 800,\r\n easing: 'ease',\r\n speed: 1000,\r\n showSpinner: false\r\n})\r\n\r\n/** ******************************* 懒加载路由 *********************************/\r\nconst defaultLayout = () =>\r\n import(/* webpackChunkName: \"layout\" */ '@/layout/default.vue')\r\nconst home = () => import(/* webpackChunkName: \"home\" */ '@/views/Home.vue') // 首页\r\nconst trustworthy = () => import(/* webpackChunkName: \"safeCredible\" */ '@/views/trustworthy/Index.vue') // 安全可信\r\nconst dahuaPsirt = () => import(/* webpackChunkName: \"dahua_psirt\" */ '@/views/trustworthy/dahua_psirt/Index.vue') // 江南全站PSIRT-安全预警\r\nconst technologies = () => import(/* webpackChunkName: \"technologies\" */ '@/views/trustworthy/technologies.vue') // 安全技术\r\nconst resources = () => import(/* webpackChunkName: \"resources\" */ '@/views/resources/Index.vue') // 安全资源\r\nconst news = () => import(/* webpackChunkName: \"news\" */ '@/views/news/Index.vue') // 安全动态\r\nconst privacyProtection = () => import(/* webpackChunkName: \"privacy_protection\" */ '@/views/privacy_protection/Index.vue') // 隐私保护\r\nconst transparency = () => import(/* webpackChunkName: \"transparency\" */ '@/views/transparency/Index.vue') // 开放透明\r\n// const test = () => import(/* webpackChunkName: \"test\" */ '@/views/Test/Index.vue') // 例子\r\nconst newsDetail = () => import(/* webpackChunkName: \"newsDetail\" */ '@/views/newsDetail/Index.vue') // 新闻详情\r\nconst error = () => import(/* webpackChunkName: \"404\" */ '@/views/error/Index.vue') // 404\r\n\r\n/** ********* 静态路由 ***********/\r\nexport const staticRoutes = [\r\n {\r\n path: '/:lang',\r\n component: defaultLayout,\r\n children: [\r\n {\r\n path: '',\r\n name: 'home',\r\n component: home\r\n },\r\n {\r\n path: 'trustworthy',\r\n name: 'trustworthy',\r\n component: trustworthy\r\n },\r\n {\r\n path: 'dahuaPsirt',\r\n name: 'dahuaPsirt',\r\n component: dahuaPsirt\r\n },\r\n {\r\n path: 'technologies',\r\n name: 'technologies',\r\n component: technologies\r\n },\r\n {\r\n path: 'resources',\r\n name: 'resources',\r\n component: resources\r\n },\r\n {\r\n path: 'news',\r\n name: 'news',\r\n component: news\r\n },\r\n {\r\n path: 'privacy_protection',\r\n name: 'privacy_protection',\r\n component: privacyProtection\r\n },\r\n {\r\n path: 'transparency',\r\n name: 'transparency',\r\n component: transparency\r\n },\r\n // {\r\n // path: 'test',\r\n // name: 'test',\r\n // component: test},\r\n {\r\n path: 'newsDetail/:id',\r\n name: 'newsDetail',\r\n component: newsDetail\r\n },\r\n {\r\n path: '*',\r\n name: 'error',\r\n component: error\r\n }\r\n ]\r\n }\r\n]\r\n\r\n/** ********* 动态路由 ***********/\r\nexport const asyncRoutes = [\r\n {\r\n path: '/',\r\n component: defaultLayout,\r\n children: []\r\n }\r\n]\r\n\r\n/** ********* 路由初始化 ***********/\r\nconst router = new VueRouter({\r\n mode: 'hash',\r\n base: process.env.BASE_URL,\r\n routes: [...staticRoutes, ...asyncRoutes],\r\n scrollBehavior(to, from, savedPosition) {\r\n return {\r\n x: 0,\r\n y: 0\r\n }\r\n }\r\n})\r\n/** ********* 全局路由导航守卫 ***********/\r\nrouter.beforeEach(async (to, from, next) => {\r\n NProgress.start()\r\n // 如果语言包没存储过,则存储\r\n if (!Object.keys(store.state.common.LP).length) {\r\n await store.dispatch('common/getLanguage')\r\n // 绑定语言包至原型,这样不用每个页面再引入了\r\n Vue.prototype.LP = store.state.common.LP\r\n }\r\n\r\n // 多语言\r\n const langs = ['cn', 'en']\r\n const langName = to.params.lang\r\n if (langs.includes(langName)) {\r\n if (!store.state.lang.lang || store.state.lang.lang === null) {\r\n store.commit('lang/SET_LANG', langName)\r\n return next()\r\n }\r\n return next()\r\n } else {\r\n if (!langName) {\r\n return next('/cn')\r\n } else {\r\n return next('/cn/error')\r\n }\r\n }\r\n})\r\n\r\n/** ********* 路由跳转后 ***********/\r\nrouter.afterEach(() => {\r\n NProgress.done()\r\n})\r\n\r\nexport default router\r\n","import Vue from 'vue'\r\n\r\nimport {\r\n Button,\r\n Pagination\r\n} from 'element-ui'\r\n\r\nconst components = {\r\n Button,\r\n Pagination\r\n}\r\nfor (const component in components) {\r\n Vue.use(components[component])\r\n}\r\n","import Vue from 'vue'\r\nimport App from './App.vue'\r\nimport router from './router'\r\nimport store from './store'\r\nimport Meta from 'vue-meta'\r\nimport './plugins/element.js'\r\nimport '@/styles/common/reset.less'\r\nimport '@/styles/common/common.less'\r\nimport '@/styles/common/elementReset.less'\r\nimport '@/assets/iconfont/iconfont.js'\r\nimport '@/assets/iconfont/iconfont.css'\r\n\r\nVue.config.productionTip = false\r\nVue.use(Meta)\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n metaInfo() {\r\n return {\r\n title: store.state.common.meta.title,\r\n meta: [\r\n {\r\n name: 'keywords',\r\n comtent: store.state.common.meta.keywords\r\n },\r\n {\r\n name: 'description',\r\n comtent: store.state.common.meta.description\r\n }\r\n ]\r\n }\r\n },\r\n render: (h) => h(App)\r\n}).$mount('#app')\r\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../node_modules/style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=057a7b26&lang=less&scoped=true&\"","const isProdMode = process.env.NODE_ENV === 'production'\r\nconst baseUrl = isProdMode ? 'https://trust.dahuatech.com/frontInterface' : 'http://10.1.51.64:8097/frontInterface'\r\n\r\nmodule.exports = {\r\n baseUrl\r\n}\r\n","import 'babel-polyfill'\r\nimport apiConfig from '../../api.config'\r\nimport axios from 'axios'\r\nimport qs from 'qs'\r\n\r\n// axios 配置\r\naxios.defaults.timeout = 60000\r\n\r\naxios.defaults.withCredentials = true\r\naxios.defaults.headers.post['Content-Type'] =\r\n 'application/x-www-form-urlencoded;charset=utf-8'\r\naxios.defaults.headers.post['accept'] = 'application/json, text/plain, */*'\r\naxios.defaults.baseURL = apiConfig.baseUrl\r\n\r\n// POST传参序列化\r\naxios.interceptors.request.use(\r\n config => {\r\n if (config.method === 'post') {\r\n config.data = qs.stringify(config.data)\r\n }\r\n return config\r\n },\r\n error => {\r\n return Promise.reject(error)\r\n }\r\n)\r\n\r\n// 返回状态判断\r\naxios.interceptors.response.use(\r\n res => {\r\n return res\r\n },\r\n error => {\r\n return Promise.reject(error)\r\n }\r\n)\r\n\r\nexport function fetch(url, params, method = 'get') {\r\n // data post传参用\r\n if (method === 'post') {\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url,\r\n data: params,\r\n method\r\n })\r\n .then(res => {\r\n resolve(res.data)\r\n })\r\n .catch(error => {\r\n reject(error)\r\n })\r\n })\r\n }\r\n return new Promise((resolve, reject) => {\r\n axios({\r\n url,\r\n params,\r\n method\r\n })\r\n .then(res => {\r\n resolve(res.data)\r\n })\r\n .catch(error => {\r\n reject(error)\r\n })\r\n })\r\n}\r\n","window._iconfont_svg_string_4159491='',function(a){var t=(t=document.getElementsByTagName(\"script\"))[t.length-1],e=t.getAttribute(\"data-injectcss\"),t=t.getAttribute(\"data-disable-injectsvg\");if(!t){var i,n,o,l,c,d=function(t,e){e.parentNode.insertBefore(t,e)};if(e&&!a.__iconfont__svg__cssinject__){a.__iconfont__svg__cssinject__=!0;try{document.write(\"\")}catch(t){console&&console.log(t)}}i=function(){var t,e=document.createElement(\"div\");e.innerHTML=a._iconfont_svg_string_4159491,(e=e.getElementsByTagName(\"svg\")[0])&&(e.setAttribute(\"aria-hidden\",\"true\"),e.style.position=\"absolute\",e.style.width=0,e.style.height=0,e.style.overflow=\"hidden\",e=e,(t=document.body).firstChild?d(e,t.firstChild):t.appendChild(e))},document.addEventListener?~[\"complete\",\"loaded\",\"interactive\"].indexOf(document.readyState)?setTimeout(i,0):(n=function(){document.removeEventListener(\"DOMContentLoaded\",n,!1),i()},document.addEventListener(\"DOMContentLoaded\",n,!1)):document.attachEvent&&(o=i,l=a.document,c=!1,h(),l.onreadystatechange=function(){\"complete\"==l.readyState&&(l.onreadystatechange=null,s())})}function s(){c||(c=!0,o())}function h(){try{l.documentElement.doScroll(\"left\")}catch(t){return void setTimeout(h,50)}s()}}(window);","function getLanguage() {\r\n const lang = window.location.pathname.slice(0, 3)\r\n return lang === '/en' ? '/en' : '/cn'\r\n}\r\n\r\nexport default getLanguage()\r\n"],"sourceRoot":""}