(window["webpackjsonp"] = window["webpackjsonp"] || []).push([[17],{ /***/ 997: /***/ (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/case/_id.vue?vue&type=template&id=5268b231&scoped=true& var render = function render() { var _vm = this, _c = _vm._self._c; return _c('div', { staticclass: "detail-page-box" }, [_c('div', { staticclass: "position-box" }, [_c('div', { staticclass: "center-container" }, [_c('div', { staticclass: "detail-page-main-box" }, [_c('div', { staticclass: "zl-breadcrumb-box" }, [_c('div', { staticclass: "el-breadcrumb" }, [_c('span', { staticclass: "el-breadcrumb__item" }, [_c('span', { staticclass: "el-breadcrumb__inner", attrs: { "role": "link" } }, [_c('a', { attrs: { "href": _vm.$g.base + '/index' } }, [_c('span', { staticclass: "breadcrumb__inner_grad" }, [_vm._v("首页")])])]), _vm._v(" "), _c('i', { staticclass: "el-breadcrumb__separator el-icon-arrow-right" })]), _vm._v(" "), _c('span', { staticclass: "el-breadcrumb__item" }, [_c('span', { staticclass: "el-breadcrumb__inner", attrs: { "role": "link" } }, [_c('a', { attrs: { "href": _vm.$g.base + '/case' } }, [_c('span', { staticclass: "el-breadcrumb__inner_red" }, [_vm._v("客户案例")])])]), _vm._v(" "), _c('i', { staticclass: "el-breadcrumb__separator el-icon-arrow-right" })]), _vm._v(" "), _c('span', { staticclass: "el-breadcrumb__item disabled_title" }, [_c('span', { staticclass: "el-breadcrumb__inner zl-newsdetail-title" }, [_vm._v(_vm._s(_vm.page.case.name))]), _vm._v(" "), _c('i', { staticclass: "el-breadcrumb__separator el-icon-arrow-right" })])])]), _vm._v(" "), _c('div', { staticclass: "detail-page" }, [_c('div', { staticstyle: { "display": "flex", "justify-content": "space-between" } }, [_c('div', [_c('h1', { staticclass: "detail-page-bg-title" }, [_vm._v(_vm._s(_vm.page.case.name))]), _vm._v(" "), _c('p', { staticclass: "desc" }, [_vm._v(_vm._s(_vm.page.case.description))]), _vm._v(" "), _vm._l(_vm.page.case.tags, function (item, index) { return _c('span', { key: index }, [_c('span', { staticclass: "tag" }, [_vm._v(_vm._s(item.name))]), index != _vm.page.case.tags.length - 1 ? _c('span', { staticclass: "tag" }, [_vm._v(" | ")]) : _vm._e()]); }), _vm._v(" "), _c('p', { staticclass: "el-menu-order-box" }, [_c('a', { staticclass: "el-menu-order red-btn-hover", attrs: { "slot": "title", "href": _vm.$g.base + '/required' }, slot: "title" }, [_c('i', { staticclass: "el-icon-time" }), _vm._v(" "), _c('span', [_vm._v("预约演示")])])])], 2), _vm._v(" "), _c('div', { staticclass: "detail-page-img" }, [_c('img', { staticclass: "icons m-t-25 m-b-12", attrs: { "width": "360px", "height": "253px", "src": _vm.page.case.listimage, "alt": "" } })])])]), _vm._v(" "), _c('div', { staticstyle: { "padding": "30px 0", "min-height": "200px" }, domprops: { "innerhtml": _vm._s(_vm.page.case.content) } }), _vm._v(" "), _c('div', { staticclass: "detail-page-article" }, [_vm.page.other.prev && _vm.page.other.prev.id ? _c('a', { staticclass: "fl", attrs: { "href": _vm.$g.base + '/case/' + _vm.page.other.prev.id, "target": "_blank" } }, [_c('span', { staticstyle: { "font-size": "16px" } }, [_vm._v("上一篇:")]), _vm._v(_vm._s(_vm.page.other.prev.name) + "\r\n ")]) : _vm._e(), _vm._v(" "), _vm.page.other.next && _vm.page.other.next.id ? _c('a', { staticclass: "fr", attrs: { "href": _vm.$g.base + '/case/' + _vm.page.other.next.id, "target": "_blank" } }, [_c('span', { staticstyle: { "font-size": "16px" } }, [_vm._v("下一篇:")]), _vm._v(_vm._s(_vm.page.other.next.name) + "\r\n ")]) : _vm._e()])]), _vm._v(" "), _vm.page.case.products.length ? _c('div', { staticclass: "center-container zl-recommended-products m-t-30" }, [_vm._m(0), _vm._v(" "), _c('div', { staticclass: "zl-recommended-list" }, [_c('div', { staticclass: "zl-row-gutter", attrs: { "zl-row-gutter": "15" } }, _vm._l(_vm.page.case.products, function (item, index) { return index < 2 ? _c('div', { key: index, staticclass: "zl-col-12" }, [_c('a', { staticclass: "zl-recommended-list-item zl-recommended-bj-1", style: { 'background-image': 'url(' + item.caseimage + ')' }, attrs: { "href": _vm.getproductroutename(item.id), "target": "_blank" }, on: { "click": function click($event) { return _vm.noidmessage(item.id); } } }, [_c('div', { staticclass: "zl-recommended-item-title clamp-1" }, [_vm._v(_vm._s(item.name))]), _vm._v(" "), _c('div', { staticclass: "zl-recommended-item-text clamp-2" }, [_vm._v(_vm._s(item.description))])])]) : _vm._e(); }), 0)])]) : _vm._e()])])]); }; var staticrenderfns = [function () { var _vm = this, _c = _vm._self._c; return _c('div', { staticclass: "zl-recommended-title" }, [_c('span', [_vm._v("推荐产品")])]); }]; // concatenated module: ./pages/case/_id.vue?vue&type=template&id=5268b231&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.regexp.exec.js var es_regexp_exec = __webpack_require__(32); // external module: ./node_modules/core-js/modules/es.array.concat.js var es_array_concat = __webpack_require__(83); // external module: ./node_modules/core-js/modules/es.object.to-string.js var es_object_to_string = __webpack_require__(21); // concatenated module: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/case/_id.vue?vue&type=script&lang=js& /* harmony default export */ var _idvue_type_script_lang_js_ = ({ name: "case-id", head: function head() { return { title: this.pageinfo.title, meta: [{ hid: "keywords", name: 'keywords', content: this.pageinfo.keywords }, { hid: "description", name: 'description', content: this.pageinfo.description }] }; }, validate: function validate(_ref) { var params = _ref.params; return /^\d+$/.test(params.id); }, /** * 在服务端执行渲染的部分获取初始数据 * */ asyncdata: function asyncdata(_ref2) { return object(asynctogenerator["a" /* default */])( /*#__pure__*/regeneratorruntime.mark(function _callee() { var app, store, params, adata, res; return regeneratorruntime.wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: app = _ref2.app, store = _ref2.store, params = _ref2.params; adata = { page: { other: { next: {}, prev: {} }, case: { products: {} } }, pageinfo: { keywords: '', description: '' } }; _context.next = 4; return app.$axios.$post("".concat(app.$api.case).concat(encodeuri(params.id)), {}); case 4: res = _context.sent; if (res.status === 200 && json.stringify(res.data) !== '{}') { console.log(res.data.case); adata.page.other = app.$clonedeep(res.data.other); adata.page.case = app.$clonedeep(res.data.case); adata.pageinfo.title = adata.page.case.name + '-客户案例-北京筑龙信息技术有限责任公司'; adata.pageinfo.description = app.$clonedeep(res.data.case.description); adata.pageinfo.keywords = adata.page.case.tags.reduce(function (arr, item) { arr.push(item.name); return arr; }, []); } return _context.abrupt("return", adata); case 7: case "end": return _context.stop(); } }, _callee); }))(); }, data: function data() { return { pageinfo: { title: '', keywords: '', description: '' }, page: { /** * * 上一篇下一篇 * * */ other: { next: {}, prev: {} }, /** * * 案例详情 * * */ case: { products: {} } } }; }, created: function created() { var _this = this; if (true) { this.$nexttick(function () { _this.savechannel(); }); } }, methods: { noidmessage: function noidmessage(id) { if (id === null || id === undefined || !id) { this.$message.warning('该案例暂时无法查看!'); } } } }); // concatenated module: ./pages/case/_id.vue?vue&type=script&lang=js& /* harmony default export */ var case_idvue_type_script_lang_js_ = (_idvue_type_script_lang_js_); // external module: ./node_modules/vue-loader/lib/runtime/componentnormalizer.js var componentnormalizer = __webpack_require__(31); // concatenated module: ./pages/case/_id.vue /* normalize component */ var component = object(componentnormalizer["a" /* default */])( case_idvue_type_script_lang_js_, render, staticrenderfns, false, null, "5268b231", null ) /* harmony default export */ var _id = __webpack_exports__["default"] = (component.exports); /***/ }) }]);