(window["webpackjsonp"] = window["webpackjsonp"] || []).push([[62],{ /***/ 444: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // concatenated module: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateloader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./components/products/banner.vue?vue&type=template&id=6a42b3fc&scoped=true& var render = function render() { var _vm = this, _c = _vm._self._c; return _c('div', { staticclass: "zl-banner", class: _vm.bannerdata.class }, [_c('div', { directives: [{ name: "show", rawname: "v-show", value: _vm.showcontent, expression: "showcontent" }], staticclass: "zl-banner-content" }, [_c('div', { directives: [{ name: "show", rawname: "v-show", value: _vm.show, expression: "show" }], class: ['zl-banner-desc', { 'no-icon': !_vm.hasicon }] }, [_c('h1', { staticclass: "title" }, [_vm._v(_vm._s(_vm.bannerdata.title))]), _vm._v(" "), _c('p', { staticclass: "banner-text", domprops: { "innerhtml": _vm._s(_vm.bannerdata.content) } }), _vm._v(" "), _c('div', { staticclass: "zl-btn-group" }, [_vm._t("btn")], 2)]), _vm._v(" "), _c('div', { directives: [{ name: "show", rawname: "v-show", value: _vm.show && _vm.hasicon, expression: "show && hasicon" }], staticclass: "zl-banner-img" }, [_c('img', { attrs: { "src": _vm.getimg } })])])]); }; var staticrenderfns = []; // concatenated module: ./components/products/banner.vue?vue&type=template&id=6a42b3fc&scoped=true& // external module: ./node_modules/core-js/modules/es.object.keys.js var es_object_keys = __webpack_require__(41); // external module: ./node_modules/core-js/modules/web.timers.js var web_timers = __webpack_require__(61); // concatenated module: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./components/products/banner.vue?vue&type=script&lang=js& /* harmony default export */ var bannervue_type_script_lang_js_ = ({ props: { bannerdata: { type: object, default: function _default() { return {}; } }, showcontent: { type: boolean, default: true }, hasicon: { type: boolean, default: true } }, computed: { getimg: function getimg() { return this.imglist[object.keys(this.bannerdata.class)]; } }, data: function data() { return { show: false, imglist: { qyztb: __webpack_require__(450), saas: __webpack_require__(451), bigdata: __webpack_require__(452), gysxy: __webpack_require__(453), cost: __webpack_require__(454), solution: __webpack_require__(455), bigdatag: __webpack_require__(456), bidopening: __webpack_require__(457), evaluation: __webpack_require__(458), jianguan: __webpack_require__(459), ycfspb: __webpack_require__(460), file: __webpack_require__(461), databackup: __webpack_require__(462), blockchain: __webpack_require__(463), materials: __webpack_require__(464), financial: __webpack_require__(465), certificate: __webpack_require__(466), field: __webpack_require__(467), projectcost: __webpack_require__(468), zujia: __webpack_require__(469), qingbiao: __webpack_require__(470), download: __webpack_require__(471), download2: __webpack_require__(472), biaoshitong: __webpack_require__(473), information: __webpack_require__(474), examination: __webpack_require__(475), rechecking: __webpack_require__(476), guard: __webpack_require__(477) } }; }, mounted: function mounted() { var _this = this; var timer = settimeout(function () { _this.show = true; cleartimeout(timer); }, 500); } }); // concatenated module: ./components/products/banner.vue?vue&type=script&lang=js& /* harmony default export */ var products_bannervue_type_script_lang_js_ = (bannervue_type_script_lang_js_); // external module: ./node_modules/vue-loader/lib/runtime/componentnormalizer.js var componentnormalizer = __webpack_require__(31); // concatenated module: ./components/products/banner.vue /* normalize component */ var component = object(componentnormalizer["a" /* default */])( products_bannervue_type_script_lang_js_, render, staticrenderfns, false, null, "6a42b3fc", null ) /* harmony default export */ var banner = __webpack_exports__["a"] = (component.exports); /***/ }), /***/ 450: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/ztb-icon.15ed85c.png"; /***/ }), /***/ 451: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/saas-icon.7c1ddc4.png"; /***/ }), /***/ 452: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/bigdata-icon.6c02b8f.png"; /***/ }), /***/ 453: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/gysxy-icon.7266162.png"; /***/ }), /***/ 454: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/cost-icon.6ebeac5.png"; /***/ }), /***/ 455: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/solution-icon.62bd7fb.png"; /***/ }), /***/ 456: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/bigdatag-icon.c55543e.png"; /***/ }), /***/ 457: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/bidopening-icon.585e75b.png"; /***/ }), /***/ 458: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/evaluation-icon.246e34d.png"; /***/ }), /***/ 459: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/jianguan-icon.339bcff.png"; /***/ }), /***/ 460: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/ycfspb-icon.e8804fa.png"; /***/ }), /***/ 461: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/file-icon.fa306c2.png"; /***/ }), /***/ 462: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/databackup-icon.4bca237.png"; /***/ }), /***/ 463: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/blockchain-icon.dc5165a.png"; /***/ }), /***/ 464: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/materials-icon.146a840.png"; /***/ }), /***/ 465: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/financial-icon.f31ec9f.png"; /***/ }), /***/ 466: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/certificate-icon.055c0fc.png"; /***/ }), /***/ 467: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/field-icon.e3c4404.png"; /***/ }), /***/ 468: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/projectcost-icon.4ff5682.png"; /***/ }), /***/ 469: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/zujia-icon.370062d.png"; /***/ }), /***/ 470: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/qingbiao-icon.998c195.png"; /***/ }), /***/ 471: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/download-icon.06f9251.png"; /***/ }), /***/ 472: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/download2-icon.e79a4e1.png"; /***/ }), /***/ 473: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/biaoshitong-icon.ec2d3aa.png"; /***/ }), /***/ 474: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/information-icon.bdf1588.png"; /***/ }), /***/ 475: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/examination-icon.286ef58.png"; /***/ }), /***/ 476: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/rechecking-icon.7a114b5.png"; /***/ }), /***/ 477: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/guard-icon.59223fc.png"; /***/ }), /***/ 600: /***/ (function(module, exports, __webpack_require__) { // extracted by extract-css-chunks-webpack-plugin module.exports = {}; /***/ }), /***/ 759: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var _node_modules_extract_css_chunks_webpack_plugin_dist_loader_js_ref_3_oneof_1_0_node_modules_css_loader_dist_cjs_js_ref_3_oneof_1_1_node_modules_vue_loader_lib_loaders_stylepostloader_js_node_modules_postcss_loader_lib_index_js_ref_3_oneof_1_2_node_modules_vue_loader_lib_index_js_vue_loader_options_study_vue_vue_type_style_index_0_id_7bffd26a_prod_scoped_true_lang_css___webpack_imported_module_0__ = __webpack_require__(600); /* harmony import */ var _node_modules_extract_css_chunks_webpack_plugin_dist_loader_js_ref_3_oneof_1_0_node_modules_css_loader_dist_cjs_js_ref_3_oneof_1_1_node_modules_vue_loader_lib_loaders_stylepostloader_js_node_modules_postcss_loader_lib_index_js_ref_3_oneof_1_2_node_modules_vue_loader_lib_index_js_vue_loader_options_study_vue_vue_type_style_index_0_id_7bffd26a_prod_scoped_true_lang_css___webpack_imported_module_0___default = /*#__pure__*/__webpack_require__.n(_node_modules_extract_css_chunks_webpack_plugin_dist_loader_js_ref_3_oneof_1_0_node_modules_css_loader_dist_cjs_js_ref_3_oneof_1_1_node_modules_vue_loader_lib_loaders_stylepostloader_js_node_modules_postcss_loader_lib_index_js_ref_3_oneof_1_2_node_modules_vue_loader_lib_index_js_vue_loader_options_study_vue_vue_type_style_index_0_id_7bffd26a_prod_scoped_true_lang_css___webpack_imported_module_0__); /* unused harmony reexport * */ /***/ }), /***/ 968: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // esm compat flag __webpack_require__.r(__webpack_exports__); // external module: ./node_modules/core-js/modules/es.function.name.js var es_function_name = __webpack_require__(27); // external module: ./node_modules/core-js/modules/es.symbol.js var es_symbol = __webpack_require__(39); // external module: ./node_modules/core-js/modules/es.symbol.description.js var es_symbol_description = __webpack_require__(54); // concatenated module: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateloader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./pages/study.vue?vue&type=template&id=7bffd26a&scoped=true& var render = function render() { var _vm = this, _c = _vm._self._c; return _c('div', { staticclass: "zl-study" }, [_c('banner', { attrs: { "bannerdata": _vm.bannerdata, "showcontent": false } }), _vm._v(" "), _c('div', { staticclass: "study-tabs" }, [_c('el-tabs', { staticclass: "maintabs", on: { "tab-click": _vm.handleclick }, model: { value: _vm.asyncdata.activemainname, callback: function callback($$v) { _vm.$set(_vm.asyncdata, "activemainname", $$v); }, expression: "asyncdata.activemainname" } }, _vm._l(_vm.typelist, function (item) { return _c('el-tab-pane', { key: item.id, attrs: { "name": item.name, "label": item.name } }, [item.nodes ? _c('el-tabs', { staticclass: "secondarytabs center-container", on: { "tab-click": _vm.sechandleclick }, model: { value: _vm.asyncdata.activesecondaryname, callback: function callback($$v) { _vm.$set(_vm.asyncdata, "activesecondaryname", $$v); }, expression: "asyncdata.activesecondaryname" } }, _vm._l(item.nodes, function (secitem) { return _c('el-tab-pane', { key: secitem.id, attrs: { "name": secitem.name, "label": secitem.name } }, [_c('div', { staticclass: "content" }, _vm._l(_vm.contentlist, function (item) { return _c('div', { key: item.id, staticclass: "content-item" }, [_c('div', { staticclass: "normal" }, [_c('img', { attrs: { "src": item.coverimage, "alt": "" } }), _vm._v(" "), _c('div', { staticclass: "detail" }, [_c('div', { staticclass: "title" }, [_vm._v("\n " + _vm._s(item.title) + "\n ")]), _vm._v(" "), _c('div', { staticclass: "description" }, [_vm._v("\n " + _vm._s(item.description) + "\n ")])])]), _vm._v(" "), _c('div', { staticclass: "hover" }, [_c('img', { attrs: { "src": item.qrcodeimage, "alt": "" } }), _vm._v(" "), _c('span', { staticclass: "hover-txt" }, [_vm._v("手机扫描二维码进行查看")])])]); }), 0)]); }), 1) : _vm._e()], 1); }), 1)], 1), _vm._v(" "), _vm.page.totalnumber ? _c('div', { staticclass: "center-container" }, [_c('el-pagination', { attrs: { "background": "", "layout": "total, prev, pager, next", "current-page": _vm.page.pagenumber, "page-size": _vm.page.pagesize, "total": _vm.page.totalnumber }, on: { "current-change": _vm.pagecurrentchange, "update:currentpage": function updatecurrentpage($event) { return _vm.$set(_vm.page, "pagenumber", $event); }, "update:current-page": function updatecurrentpage($event) { return _vm.$set(_vm.page, "pagenumber", $event); } } })], 1) : _vm._e(), _vm._v(" "), _c('div')], 1); }; var staticrenderfns = []; // concatenated module: ./pages/study.vue?vue&type=template&id=7bffd26a&scoped=true& // external module: ./node_modules/@babel/runtime/helpers/esm/asynctogenerator.js var asynctogenerator = __webpack_require__(17); // external module: ./node_modules/regenerator-runtime/runtime.js var runtime = __webpack_require__(60); // external module: ./node_modules/core-js/modules/es.array.find-index.js var es_array_find_index = __webpack_require__(278); // external module: ./components/products/banner.vue + 4 modules var banner = __webpack_require__(444); // concatenated module: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/study.vue?vue&type=script&lang=js& /* harmony default export */ var studyvue_type_script_lang_js_ = ({ name: "study-index", head: function head() { return {}; }, components: { banner: banner["a" /* default */] }, /** * 在服务端执行渲染的部分获取初始数据 * */ asyncdata: function asyncdata(_ref) { return object(asynctogenerator["a" /* default */])( /*#__pure__*/regeneratorruntime.mark(function _callee() { var _adata$typelist$2, _conres$data; var app, query, adata, typeres, id, _adata$typelist$, params, conres; return regeneratorruntime.wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: app = _ref.app, query = _ref.query; adata = { asyncdata: { activemainname: "", activesecondaryname: "" }, // 分类列表 typelist: [], // 内容列表 contentlist: [], page: { totalnumber: null, pagesize: 12, pagenumber: 1 }, activemainindex: null, activesecindex: null }; _context.next = 4; return app.$axios.$post(app.$api.studytypes, {}); case 4: typeres = _context.sent; id = +query.id || 1; if (typeres.status === 200 && typeres.data) { console.log(typeres.data); adata.typelist = app.$clonedeep(typeres.data); adata.asyncdata.activemainname = adata.typelist[0].name; adata.asyncdata.activesecondaryname = (_adata$typelist$ = adata.typelist[0]) === null || _adata$typelist$ === void 0 || (_adata$typelist$ = _adata$typelist$.nodes[0]) === null || _adata$typelist$ === void 0 ? void 0 : _adata$typelist$.name; adata.activemainindex = adata.typelist.findindex(function (item) { return item.id === id; }); if (adata.activemainindex == -1) { adata.activemainindex = 0; } adata.activesecindex = adata.typelist[0].nodes.findindex(function (item) { return item.id === id; }); // adata.page.activeindex = adata.typelist.findindex( // (item) => item.id === id // ); } params = { typeid: ((_adata$typelist$2 = adata.typelist[0]) === null || _adata$typelist$2 === void 0 || (_adata$typelist$2 = _adata$typelist$2.nodes[0]) === null || _adata$typelist$2 === void 0 ? void 0 : _adata$typelist$2.id) || '', pagesize: 12, pagenumber: 1 }; _context.next = 10; return app.$axios.$post(app.$api.studycontents, params); case 10: conres = _context.sent; if (conres.status === 200 && (_conres$data = conres.data) !== null && _conres$data !== void 0 && (_conres$data = _conres$data.list) !== null && _conres$data !== void 0 && _conres$data.length) { adata.contentlist = app.$clonedeep(conres.data.list); adata.page.totalnumber = conres.data.total; } return _context.abrupt("return", adata); case 13: case "end": return _context.stop(); } }, _callee); }))(); }, data: function data() { return { bannerdata: { class: { aboutus: true } }, pageinfo: { title: this.$route.meta.title, keywords: this.$route.meta.keywords, description: this.$route.meta.description }, asyncdata: { activemainname: "", activesecondaryname: "" }, page: { totalnumber: null, pagenumber: 1, // 默认开始页面 pagesize: 12 // 每页的数据条数 }, activemainindex: null, // 当前激活的二级标题 activeindex: null, typelist: [], contentlist: [] }; }, created: function created() { if (true) { this.$nexttick(function () {}); } }, methods: { handleclick: function handleclick(tab) { this.asyncdata.activemainname = tab.name; this.activemainindex = tab.index; this.activesecindex = 0; this.asyncdata.activesecondaryname = this.typelist[this.activemainindex].nodes[0].name; this.page.pagenumber = 1; this.page.totalnumber = null; this.contentlistsettle(); }, sechandleclick: function sechandleclick(tab) { this.activesecindex = tab.index; this.asyncdata.activesecondaryname = tab.name; this.contentlistsettle(); }, contentlistsettle: function contentlistsettle() { var _this = this; return object(asynctogenerator["a" /* default */])( /*#__pure__*/regeneratorruntime.mark(function _callee2() { var params, res; return regeneratorruntime.wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: params = { typeid: _this.typelist[_this.activemainindex].nodes[_this.activesecindex].id, pagenumber: _this.page.pagenumber, // 默认开始页面 pagesize: _this.page.pagesize // 每页的数据条数 }; _context2.next = 3; return _this.$axios.$post(_this.$api.studycontents, params); case 3: res = _context2.sent; if (res.status === 200 && res.data && res.data.list.length > 0) { console.log(res.data); _this.contentlist = _this.$clonedeep(res.data.list); _this.page.totalnumber = res.data.total; } case 5: case "end": return _context2.stop(); } }, _callee2); }))(); }, pagecurrentchange: function pagecurrentchange() { this.contentlistsettle(); } } }); // concatenated module: ./pages/study.vue?vue&type=script&lang=js& /* harmony default export */ var pages_studyvue_type_script_lang_js_ = (studyvue_type_script_lang_js_); // external module: ./pages/study.vue?vue&type=style&index=0&id=7bffd26a&prod&scoped=true&lang=css& var studyvue_type_style_index_0_id_7bffd26a_prod_scoped_true_lang_css_ = __webpack_require__(759); // external module: ./node_modules/vue-loader/lib/runtime/componentnormalizer.js var componentnormalizer = __webpack_require__(31); // concatenated module: ./pages/study.vue /* normalize component */ var component = object(componentnormalizer["a" /* default */])( pages_studyvue_type_script_lang_js_, render, staticrenderfns, false, null, "7bffd26a", null ) /* harmony default export */ var study = __webpack_exports__["default"] = (component.exports); /***/ }) }]);