123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- exports.ids = [34];
- exports.modules = {
- /***/ 190:
- /***/ (function(module, exports) {
- // Exports
- module.exports = {
- };
- /***/ }),
- /***/ 235:
- /***/ (function(module, exports) {
- module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAUCAYAAABvVQZ0AAAAAXNSR0IArs4c6QAAAqBJREFUOE9t1Onr53MUBfDXLUrZskYIf4ElKdkSWRJmpmzJNjMP7JGMpWw11qzDGLuGB2PfoygST0hKKUWUkm0Q4sFY5q3z6375zPT7PPn06f3+nHvuuefcstEzxjgc92B7nFVVr82ujDGOxWNYiwur6q3p7zW5uDPuxMl4Aj/jIlyH5bgGV2MFtsbZWINLq+rb4NQYY5NUwfX4CudW1Xs5HGOcgkfwSwMsqaqn+uwgrMSeXWRlwN7BPs1gRVX9PWG7CPdjW/zUhZ6fnIfIjP1HAUv/H+LEqvq9q+6Ee7GwW78ZV+JivIjzq+q7vrsFnsW+AdsbL+FXnIBDcQe+xuKqSqG5Z4yxX7e9e7TC2/3vllgwN4Axxo54Afsj1KPfDVX11zzT3hRXtSyR5IM5oKq1M7BD8GSz2xWfNqtP5gGbscu9H7BVHJChpc2I/DRW4wLsgAdwRNjhpqpaN8bYDNfiMryKc7r4KpyGRQG7HUtwUlW9MdHndNyFeOg2XIHtcF5VPTO5d1QPYM4aES+AS/F4mzA2mGn5PvbAFzgg2vRZgDOoMxB2y6YJOAwPtgYx8Zt4FMf0ezESrTj/yI7cb+mqqt6dS8CEbrKY6SUyl+APfB//4cfO6nP93rxbT9TWV9WfG4Mt6HGn3X9wYLcdRrf2kJZFaCRu0TI5XVNVMfIGzAIWrwUoGt6N+3A0bsGZWIfkda++k5gtnA/suPZaRp8NESN/1h76eIyxTWuXlKTgw22P46vqlfk0i5C74KHO68tVFe1mcYrGKZrMpt1vcHBVRdP/2+xxJ0oxY8yZljKM1VW1fowRoFNxIxLuRG7VdMv8N81pbMYYWX6X91Q/bxtkMFkK2cLLqyo7boNnXrBJW7s1k+j0etZQVX25Mcjs+1/MoQbO2FAmGQAAAABJRU5ErkJggg=="
- /***/ }),
- /***/ 236:
- /***/ (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_Project_vue_vue_type_style_index_0_id_d07425a4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(190);
- /* 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_Project_vue_vue_type_style_index_0_id_d07425a4_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_Project_vue_vue_type_style_index_0_id_d07425a4_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_Project_vue_vue_type_style_index_0_id_d07425a4_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_Project_vue_vue_type_style_index_0_id_d07425a4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
- /***/ }),
- /***/ 244:
- /***/ (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/Project.vue?vue&type=template&id=d07425a4&scoped=true
- var render = function render() {
- var _vm = this,
- _c = _vm._self._c;
- return _c('section', {
- staticClass: "project-wrap"
- }, [_vm._ssrNode("<div class=\"project\" data-v-d07425a4><div class=\"flex btn-nav\"" + _vm._ssrStyle(null, null, {
- display: false ? undefined : 'none'
- }) + " data-v-d07425a4><img" + _vm._ssrAttr("src", __webpack_require__(235)) + " data-v-d07425a4><span data-v-d07425a4>Product builder</span></div></div>")]);
- };
- var staticRenderFns = [];
- // CONCATENATED MODULE: ./components/Project.vue?vue&type=template&id=d07425a4&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/Project.vue?vue&type=script&lang=js
- /* harmony default export */ var Projectvue_type_script_lang_js = ({
- props: {
- productInfo: {
- type: Object,
- default: () => {
- return {};
- }
- }
- },
- data() {
- return {
- defaultURL: 'https://zfrmz.com/felY59ar2z3FaOTSRxmZ'
- };
- },
- computed: {
- isLogin() {
- var _this$$store$state$us;
- return !!((_this$$store$state$us = this.$store.state.userInfo) !== null && _this$$store$state$us !== void 0 && _this$$store$state$us.email);
- },
- userInfo() {
- return this.$store.state.userInfo || {};
- },
- shouldButtonRecordShow() {
- var _this$productInfo$rec, _this$productInfo$rec2;
- return this.isLogin && /\@promocollection.com.au/.test(this.userInfo.email) && this.productInfo.record && ((_this$productInfo$rec = this.productInfo.record) === null || _this$productInfo$rec === void 0 ? void 0 : (_this$productInfo$rec2 = _this$productInfo$rec.record_reason) === null || _this$productInfo$rec2 === void 0 ? void 0 : _this$productInfo$rec2.length);
- }
- },
- mounted() {
- // this.generateLink()
- },
- methods: {
- generateLink() {
- const target = document.getElementById('quickEnqriryLink');
- const config = {
- name: this.userInfo.contacts,
- phone: this.userInfo.phone,
- email: this.userInfo.email,
- company: this.userInfo.company,
- product: `${this.productInfo.product_name} & ${this.productInfo.product_code}`
- };
- let query = '';
- for (const key in config) {
- if (config[key]) {
- query += `&${key}=${encodeURIComponent(config[key])}`;
- }
- }
- query = query.slice(1);
- target.href = this.defaultURL + '?' + query;
- },
- handleAdd() {
- this.$emit('handleAdd');
- },
- openZoho() {
- document.querySelector('#zsiq_float').click();
- },
- toProductBuilder() {
- if (!this.$utils.checkLogin()) return;
- this.$emit('save-selected-data');
- setTimeout(() => {
- location.href = location.origin + `/product-builder/${this.$route.params.code}`;
- }, 0);
- }
- }
- });
- // CONCATENATED MODULE: ./components/Project.vue?vue&type=script&lang=js
- /* harmony default export */ var components_Projectvue_type_script_lang_js = (Projectvue_type_script_lang_js);
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
- var componentNormalizer = __webpack_require__(2);
- // CONCATENATED MODULE: ./components/Project.vue
- function injectStyles (context) {
-
- var style0 = __webpack_require__(236)
- if (style0.__inject__) style0.__inject__(context)
- }
- /* normalize component */
- var component = Object(componentNormalizer["a" /* default */])(
- components_Projectvue_type_script_lang_js,
- render,
- staticRenderFns,
- false,
- injectStyles,
- "d07425a4",
- "58b31e0a"
-
- )
- /* harmony default export */ var Project = __webpack_exports__["default"] = (component.exports);
- /***/ })
- };;
- //# sourceMappingURL=project.js.map
|