123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- exports.ids = [23];
- exports.modules = {
- /***/ 279:
- /***/ (function(module, exports) {
- // Exports
- module.exports = {
- };
- /***/ }),
- /***/ 334:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PdfHtml_vue_vue_type_style_index_0_id_09c4a114_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(279);
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PdfHtml_vue_vue_type_style_index_0_id_09c4a114_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PdfHtml_vue_vue_type_style_index_0_id_09c4a114_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PdfHtml_vue_vue_type_style_index_0_id_09c4a114_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PdfHtml_vue_vue_type_style_index_0_id_09c4a114_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /***/ }),
- /***/ 370:
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- // ESM COMPAT FLAG
- __webpack_require__.r(__webpack_exports__);
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/PdfHtml.vue?vue&type=template&id=09c4a114&scoped=true
- var render = function render() {
- var _vm = this,
- _c = _vm._self._c;
- return _c('div', {
- ref: "printArea",
- staticStyle: {
- "font-family": "ProximaNova-Semibold"
- }
- }, [_vm._ssrNode("<table data-v-09c4a114><tr data-v-09c4a114><td data-v-09c4a114><img" + _vm._ssrAttr("src", _vm.comInfo.image) + " style=\"width: 300px;height: 300px;margin-right: 14px;\" data-v-09c4a114></td> <td style=\"vertical-align: top;\" data-v-09c4a114><p style=\"font-weight: bold;font-size: 22px;padding-bottom: 24px;color:#00213B\" data-v-09c4a114><span style=\"margin-right: 5px;\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(_vm.pageData.product_code)) + "</span> <span data-v-09c4a114>" + _vm._ssrEscape(_vm._s(_vm.pageData.product_name)) + "</span></p> <p style=\"line-height: 20px;color:#00213B;font-size: 14px;\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(_vm.comInfo.description)) + "</p></td></tr></table> <div data-v-09c4a114><p style=\"font-weight: bold;font-size: 17px;margin: 40px 0 10px;color:#00213B\" data-v-09c4a114>Specifications</p> <table style=\"width:100%;border-collapse: collapse;font-size: 14px;table-layout: fixed;text-align:center;\" data-v-09c4a114><tr style=\"background-color: #F7F8FC;\" data-v-09c4a114>" + _vm._ssrList(_vm.tabColumns, function (item, key) {
- return "<td style=\"font-weight: bold;padding:15px 0;color:#00213B;width: 25%;font-size: 14px;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(item.label)) + "</td>";
- }) + "</tr> <tr style=\"padding:10px 0;\" data-v-09c4a114><td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(_vm.specificationsObj.time)) + "</td> <td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(_vm.specificationsObj.model)) + "</td> <td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrList(_vm.specificationsObj.decorationArr, function (item, idx) {
- return "<div style=\"padding-bottom:4px;\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(item)) + "</div>";
- }) + "</td> <td style=\"padding:14px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrList(_vm.specificationsObj.addonArr, function (item, idx) {
- return "<div style=\"padding-bottom:4px;\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(item)) + "</div>";
- }) + "</td></tr></table></div> <div data-v-09c4a114><p style=\"font-weight: bold;font-size: 17px;margin: 40px 0 10px;color:#00213B\" data-v-09c4a114>Quote</p> <table style=\"width:100%;border-collapse: collapse;font-size: 14px;table-layout: fixed;text-align:center;\" data-v-09c4a114><tr style=\"background-color: #F7F8FC;font-weight: bold;\" data-v-09c4a114>" + _vm._ssrList(_vm.tableColumns, function (item, key) {
- return "<td" + _vm._ssrStyle({
- "font-weight": "bold",
- "padding": "15px 0",
- "color": "#00213B",
- "border-bottom": "1px solid #EFEFEF"
- }, {
- width: _vm.width
- }, null) + " data-v-09c4a114>" + _vm._ssrEscape(_vm._s(item.label)) + "</td>";
- }) + "</tr> " + _vm._ssrList(_vm.tableData, function (items, key) {
- return "<tr style=\"padding:10px 0;\" data-v-09c4a114><td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF;font-weight: bold;\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(items.project)) + "</td> <td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(items.website_qty1)) + "</td> " + (items.website_qty2 == 0 || items.website_qty2 ? "<td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(items.website_qty2)) + "</td>" : "<!---->") + " " + (items.website_qty3 == 0 || items.website_qty3 ? "<td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(items.website_qty3)) + "</td>" : "<!---->") + " " + (items.website_qty4 == 0 || items.website_qty4 ? "<td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(items.website_qty4)) + "</td>" : "<!---->") + " " + (items.website_qty5 == 0 || items.website_qty5 ? "<td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(items.website_qty5)) + "</td>" : "<!---->") + " " + (items.website_qty6 == 0 || items.website_qty6 ? "<td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(items.website_qty6)) + "</td>" : "<!---->") + " " + (items.website_qty7 == 0 || items.website_qty7 ? "<td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(items.website_qty7)) + "</td>" : "<!---->") + " " + (items.website_qty8 == 0 || items.website_qty8 ? "<td style=\"padding:15px 0;color:#00213B;border-bottom:1px solid #EFEFEF\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(items.website_qty8)) + "</td>" : "<!---->") + "</tr>";
- }) + "</table></div> " + (_vm.emailForm.Comments ? "<div style=\"color:#00213B\" data-v-09c4a114><p style=\"font-weight: bold;font-size: 17px;margin: 40px 0 2px;\" data-v-09c4a114>Comment</p> <p style=\"text-indent:2em;\" data-v-09c4a114>" + _vm._ssrEscape(_vm._s(_vm.emailForm.Comments)) + "</p></div>" : "<!---->"))]);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./components/PdfHtml.vue?vue&type=template&id=09c4a114&scoped=true
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/PdfHtml.vue?vue&type=script&lang=js
- /* harmony default export */ var PdfHtmlvue_type_script_lang_js = ({
- props: {
- pageData: {
- type: Object,
- default: {}
- },
- specificationsObj: {
- type: Object,
- default: {}
- },
- tableData: {
- type: Array,
- default: []
- },
- tableColumns: {
- type: Array,
- default: []
- },
- emailForm: {
- type: Object,
- default: {}
- }
- },
- data() {
- return {
- tabColumns: [{
- label: "LeadTime",
- prop: "time",
- type: "pre" //去掉$符号
- }, {
- label: "Model",
- prop: "model",
- type: "pre" //去掉$符号
- }, {
- label: "Decoration",
- prop: "decoration",
- type: "pre" //去掉$符号
- }, {
- label: "Addon",
- prop: "addon",
- type: "pre" //去掉$符号
- }]
- };
- },
- computed: {
- comInfo() {
- var _this$pageData;
- return (_this$pageData = this.pageData) === null || _this$pageData === void 0 ? void 0 : _this$pageData.main;
- },
- width() {
- return 100 / this.tableColumns.length + '%';
- }
- },
- mounted() {},
- methods: {}
- });
- // CONCATENATED MODULE: ./components/PdfHtml.vue?vue&type=script&lang=js
- /* harmony default export */ var components_PdfHtmlvue_type_script_lang_js = (PdfHtmlvue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./components/PdfHtml.vue
- function injectStyles (context) {
-
- var style0 = __webpack_require__(334)
- if (style0.__inject__) style0.__inject__(context)
- }
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- components_PdfHtmlvue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- injectStyles,
- "09c4a114",
- "6979ff02"
-
- )
- /* harmony default export */ var PdfHtml = __webpack_exports__["default"] = (component.exports);
- /***/ })
- };;
- //# sourceMappingURL=pdf-html.js.map
|