cms-chenhj-ui 2.0.17 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cms-chenhj-ui.common.js +1050 -1040
- package/cms-chenhj-ui.common.js.map +1 -1
- package/cms-chenhj-ui.css +1 -1
- package/cms-chenhj-ui.umd.js +1188 -1178
- package/cms-chenhj-ui.umd.js.map +1 -1
- package/cms-chenhj-ui.umd.min.js +3 -3
- package/cms-chenhj-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
package/cms-chenhj-ui.umd.js
CHANGED
|
@@ -147,7 +147,7 @@ var render = function render() {
|
|
|
147
147
|
var staticRenderFns = [];
|
|
148
148
|
|
|
149
149
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
150
|
-
var baseComp = __webpack_require__(
|
|
150
|
+
var baseComp = __webpack_require__(7976);
|
|
151
151
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-video-group/View.vue?vue&type=script&lang=js
|
|
152
152
|
|
|
153
153
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -447,7 +447,7 @@ var swiper = __webpack_require__(828);
|
|
|
447
447
|
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
448
448
|
var swiper_esm_bundle = __webpack_require__(1532);
|
|
449
449
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
450
|
-
var baseComp = __webpack_require__(
|
|
450
|
+
var baseComp = __webpack_require__(7976);
|
|
451
451
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-aLineThreeLeftTwo/View.vue?vue&type=script&lang=js
|
|
452
452
|
|
|
453
453
|
|
|
@@ -781,7 +781,7 @@ var es_iterator_constructor = __webpack_require__(8111);
|
|
|
781
781
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.reduce.js
|
|
782
782
|
var es_iterator_reduce = __webpack_require__(8237);
|
|
783
783
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
784
|
-
var baseComp = __webpack_require__(
|
|
784
|
+
var baseComp = __webpack_require__(7976);
|
|
785
785
|
// EXTERNAL MODULE: ./package/patch.js
|
|
786
786
|
var patch = __webpack_require__(4229);
|
|
787
787
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-servePlan-tab/View.vue?vue&type=script&lang=js
|
|
@@ -1332,7 +1332,7 @@ var staticRenderFns = [];
|
|
|
1332
1332
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
1333
1333
|
var es_array_push = __webpack_require__(4114);
|
|
1334
1334
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
1335
|
-
var baseComp = __webpack_require__(
|
|
1335
|
+
var baseComp = __webpack_require__(7976);
|
|
1336
1336
|
// EXTERNAL MODULE: ./node_modules/vuedraggable/dist/vuedraggable.umd.js
|
|
1337
1337
|
var vuedraggable_umd = __webpack_require__(9014);
|
|
1338
1338
|
var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_umd);
|
|
@@ -2223,6 +2223,120 @@ module.exports = function parseHeaders(headers) {
|
|
|
2223
2223
|
|
|
2224
2224
|
/***/ }),
|
|
2225
2225
|
|
|
2226
|
+
/***/ 788:
|
|
2227
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2228
|
+
|
|
2229
|
+
"use strict";
|
|
2230
|
+
// ESM COMPAT FLAG
|
|
2231
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2232
|
+
|
|
2233
|
+
// EXPORTS
|
|
2234
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
2235
|
+
"default": function() { return /* binding */ View; }
|
|
2236
|
+
});
|
|
2237
|
+
|
|
2238
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleCenter/View.vue?vue&type=template&id=5d88cd02&scoped=true
|
|
2239
|
+
var render = function render() {
|
|
2240
|
+
var _vm = this,
|
|
2241
|
+
_c = _vm._self._c;
|
|
2242
|
+
return _c('BaseComp', _vm._b({
|
|
2243
|
+
attrs: {
|
|
2244
|
+
"data": _vm.data,
|
|
2245
|
+
"nowCompId": _vm.nowCompId,
|
|
2246
|
+
"isOpcacity": _vm.isOpcacity,
|
|
2247
|
+
"lang": _vm.lang
|
|
2248
|
+
},
|
|
2249
|
+
on: {
|
|
2250
|
+
"getConfigData": _vm.getConfigData
|
|
2251
|
+
}
|
|
2252
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
2253
|
+
staticClass: "section-head"
|
|
2254
|
+
}, [_c('div', {
|
|
2255
|
+
staticClass: "cmhk-home_main"
|
|
2256
|
+
}, [_c('p', {
|
|
2257
|
+
staticClass: "title"
|
|
2258
|
+
}, [_c('span', {
|
|
2259
|
+
staticClass: "main"
|
|
2260
|
+
}, [_vm._v(_vm._s(_vm.configData.title1))])]), _c('p', {
|
|
2261
|
+
staticClass: "subtitle"
|
|
2262
|
+
}, [_vm._v(_vm._s(_vm.configData.title2))])])])]);
|
|
2263
|
+
};
|
|
2264
|
+
var staticRenderFns = [];
|
|
2265
|
+
|
|
2266
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
2267
|
+
var baseComp = __webpack_require__(7976);
|
|
2268
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleCenter/View.vue?vue&type=script&lang=js
|
|
2269
|
+
|
|
2270
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
2271
|
+
name: "cms-titleCenter",
|
|
2272
|
+
components: {
|
|
2273
|
+
BaseComp: baseComp["default"]
|
|
2274
|
+
},
|
|
2275
|
+
props: {
|
|
2276
|
+
data: {
|
|
2277
|
+
type: Object,
|
|
2278
|
+
default: () => {
|
|
2279
|
+
return {};
|
|
2280
|
+
}
|
|
2281
|
+
},
|
|
2282
|
+
nowCompId: {
|
|
2283
|
+
type: [String, Number],
|
|
2284
|
+
default: ""
|
|
2285
|
+
},
|
|
2286
|
+
isOpcacity: {
|
|
2287
|
+
type: Boolean,
|
|
2288
|
+
default: true
|
|
2289
|
+
},
|
|
2290
|
+
lang: {
|
|
2291
|
+
type: String,
|
|
2292
|
+
default: "zh-HK"
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2295
|
+
data() {
|
|
2296
|
+
return {
|
|
2297
|
+
configData: {}
|
|
2298
|
+
};
|
|
2299
|
+
},
|
|
2300
|
+
mounted() {},
|
|
2301
|
+
methods: {
|
|
2302
|
+
getConfigData(configData) {
|
|
2303
|
+
this.configData = configData;
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
});
|
|
2307
|
+
;// ./package/cms-titleCenter/View.vue?vue&type=script&lang=js
|
|
2308
|
+
/* harmony default export */ var cms_titleCenter_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
2309
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-42.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleCenter/View.vue?vue&type=style&index=0&id=5d88cd02&prod&scoped=true&lang=scss
|
|
2310
|
+
// extracted by mini-css-extract-plugin
|
|
2311
|
+
|
|
2312
|
+
;// ./package/cms-titleCenter/View.vue?vue&type=style&index=0&id=5d88cd02&prod&scoped=true&lang=scss
|
|
2313
|
+
|
|
2314
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
2315
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
2316
|
+
;// ./package/cms-titleCenter/View.vue
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
|
|
2320
|
+
;
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
/* normalize component */
|
|
2324
|
+
|
|
2325
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
2326
|
+
cms_titleCenter_Viewvue_type_script_lang_js,
|
|
2327
|
+
render,
|
|
2328
|
+
staticRenderFns,
|
|
2329
|
+
false,
|
|
2330
|
+
null,
|
|
2331
|
+
"5d88cd02",
|
|
2332
|
+
null
|
|
2333
|
+
|
|
2334
|
+
)
|
|
2335
|
+
|
|
2336
|
+
/* harmony default export */ var View = (component.exports);
|
|
2337
|
+
|
|
2338
|
+
/***/ }),
|
|
2339
|
+
|
|
2226
2340
|
/***/ 828:
|
|
2227
2341
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2228
2342
|
|
|
@@ -10822,7 +10936,7 @@ var render = function render() {
|
|
|
10822
10936
|
var staticRenderFns = [];
|
|
10823
10937
|
|
|
10824
10938
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
10825
|
-
var baseComp = __webpack_require__(
|
|
10939
|
+
var baseComp = __webpack_require__(7976);
|
|
10826
10940
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-cells/View.vue?vue&type=script&lang=js
|
|
10827
10941
|
|
|
10828
10942
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -11307,7 +11421,7 @@ var es_iterator_constructor = __webpack_require__(8111);
|
|
|
11307
11421
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
11308
11422
|
var es_iterator_for_each = __webpack_require__(7588);
|
|
11309
11423
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
11310
|
-
var baseComp = __webpack_require__(
|
|
11424
|
+
var baseComp = __webpack_require__(7976);
|
|
11311
11425
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-button/View.vue?vue&type=script&lang=js
|
|
11312
11426
|
|
|
11313
11427
|
|
|
@@ -11684,7 +11798,7 @@ var render = function render() {
|
|
|
11684
11798
|
var staticRenderFns = [];
|
|
11685
11799
|
|
|
11686
11800
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
11687
|
-
var baseComp = __webpack_require__(
|
|
11801
|
+
var baseComp = __webpack_require__(7976);
|
|
11688
11802
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineTwo/View.vue?vue&type=script&lang=js
|
|
11689
11803
|
|
|
11690
11804
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -11844,7 +11958,7 @@ var swiper = __webpack_require__(828);
|
|
|
11844
11958
|
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
11845
11959
|
var swiper_esm_bundle = __webpack_require__(1532);
|
|
11846
11960
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
11847
|
-
var baseComp = __webpack_require__(
|
|
11961
|
+
var baseComp = __webpack_require__(7976);
|
|
11848
11962
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-imgFour/View.vue?vue&type=script&lang=js
|
|
11849
11963
|
|
|
11850
11964
|
|
|
@@ -20370,8 +20484,8 @@ module.exports = uncurryThis({}.isPrototypeOf);
|
|
|
20370
20484
|
|
|
20371
20485
|
var map = {
|
|
20372
20486
|
"./": 6959,
|
|
20373
|
-
"./baseComp":
|
|
20374
|
-
"./baseComp.vue":
|
|
20487
|
+
"./baseComp": 7976,
|
|
20488
|
+
"./baseComp.vue": 7976,
|
|
20375
20489
|
"./baseConfig": 2128,
|
|
20376
20490
|
"./baseConfig.js": 2128,
|
|
20377
20491
|
"./cms-aLineThreeLeftOne": 918,
|
|
@@ -20480,8 +20594,8 @@ var map = {
|
|
|
20480
20594
|
"./cms-lineFour/index.js": 4066,
|
|
20481
20595
|
"./cms-lineThree": 3522,
|
|
20482
20596
|
"./cms-lineThree/": 3522,
|
|
20483
|
-
"./cms-lineThree/View":
|
|
20484
|
-
"./cms-lineThree/View.vue":
|
|
20597
|
+
"./cms-lineThree/View": 9603,
|
|
20598
|
+
"./cms-lineThree/View.vue": 9603,
|
|
20485
20599
|
"./cms-lineThree/index": 3522,
|
|
20486
20600
|
"./cms-lineThree/index.js": 3522,
|
|
20487
20601
|
"./cms-lineTwo": 7756,
|
|
@@ -20534,8 +20648,8 @@ var map = {
|
|
|
20534
20648
|
"./cms-servePlan-text/index.js": 2520,
|
|
20535
20649
|
"./cms-stored-value-card": 9320,
|
|
20536
20650
|
"./cms-stored-value-card/": 9320,
|
|
20537
|
-
"./cms-stored-value-card/View":
|
|
20538
|
-
"./cms-stored-value-card/View.vue":
|
|
20651
|
+
"./cms-stored-value-card/View": 4579,
|
|
20652
|
+
"./cms-stored-value-card/View.vue": 4579,
|
|
20539
20653
|
"./cms-stored-value-card/index": 9320,
|
|
20540
20654
|
"./cms-stored-value-card/index.js": 9320,
|
|
20541
20655
|
"./cms-termsAndConditions": 8806,
|
|
@@ -20558,8 +20672,8 @@ var map = {
|
|
|
20558
20672
|
"./cms-threeScroll/index.js": 1661,
|
|
20559
20673
|
"./cms-titleCenter": 7891,
|
|
20560
20674
|
"./cms-titleCenter/": 7891,
|
|
20561
|
-
"./cms-titleCenter/View":
|
|
20562
|
-
"./cms-titleCenter/View.vue":
|
|
20675
|
+
"./cms-titleCenter/View": 788,
|
|
20676
|
+
"./cms-titleCenter/View.vue": 788,
|
|
20563
20677
|
"./cms-titleCenter/index": 7891,
|
|
20564
20678
|
"./cms-titleCenter/index.js": 7891,
|
|
20565
20679
|
"./cms-titleLeft": 3003,
|
|
@@ -20937,7 +21051,7 @@ var staticRenderFns = [];
|
|
|
20937
21051
|
;// ./package/cms-prodCustomization/View.vue?vue&type=template&id=61a0a18c&scoped=true
|
|
20938
21052
|
|
|
20939
21053
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
20940
|
-
var baseComp = __webpack_require__(
|
|
21054
|
+
var baseComp = __webpack_require__(7976);
|
|
20941
21055
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-prodCustomization/View.vue?vue&type=script&lang=js
|
|
20942
21056
|
|
|
20943
21057
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -21016,7 +21130,72 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
21016
21130
|
|
|
21017
21131
|
/***/ }),
|
|
21018
21132
|
|
|
21019
|
-
/***/
|
|
21133
|
+
/***/ 1683:
|
|
21134
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
21135
|
+
|
|
21136
|
+
var map = {
|
|
21137
|
+
"./india.js": 3402
|
|
21138
|
+
};
|
|
21139
|
+
|
|
21140
|
+
|
|
21141
|
+
function webpackContext(req) {
|
|
21142
|
+
var id = webpackContextResolve(req);
|
|
21143
|
+
return __webpack_require__(id);
|
|
21144
|
+
}
|
|
21145
|
+
function webpackContextResolve(req) {
|
|
21146
|
+
if(!__webpack_require__.o(map, req)) {
|
|
21147
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
21148
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
21149
|
+
throw e;
|
|
21150
|
+
}
|
|
21151
|
+
return map[req];
|
|
21152
|
+
}
|
|
21153
|
+
webpackContext.keys = function webpackContextKeys() {
|
|
21154
|
+
return Object.keys(map);
|
|
21155
|
+
};
|
|
21156
|
+
webpackContext.resolve = webpackContextResolve;
|
|
21157
|
+
module.exports = webpackContext;
|
|
21158
|
+
webpackContext.id = 1683;
|
|
21159
|
+
|
|
21160
|
+
/***/ }),
|
|
21161
|
+
|
|
21162
|
+
/***/ 1698:
|
|
21163
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
21164
|
+
|
|
21165
|
+
"use strict";
|
|
21166
|
+
|
|
21167
|
+
var $ = __webpack_require__(6518);
|
|
21168
|
+
var union = __webpack_require__(4204);
|
|
21169
|
+
var setMethodAcceptSetLike = __webpack_require__(4916);
|
|
21170
|
+
|
|
21171
|
+
// `Set.prototype.union` method
|
|
21172
|
+
// https://tc39.es/ecma262/#sec-set.prototype.union
|
|
21173
|
+
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
|
|
21174
|
+
union: union
|
|
21175
|
+
});
|
|
21176
|
+
|
|
21177
|
+
|
|
21178
|
+
/***/ }),
|
|
21179
|
+
|
|
21180
|
+
/***/ 1701:
|
|
21181
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
21182
|
+
|
|
21183
|
+
"use strict";
|
|
21184
|
+
|
|
21185
|
+
var $ = __webpack_require__(6518);
|
|
21186
|
+
var map = __webpack_require__(713);
|
|
21187
|
+
var IS_PURE = __webpack_require__(6395);
|
|
21188
|
+
|
|
21189
|
+
// `Iterator.prototype.map` method
|
|
21190
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
21191
|
+
$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
21192
|
+
map: map
|
|
21193
|
+
});
|
|
21194
|
+
|
|
21195
|
+
|
|
21196
|
+
/***/ }),
|
|
21197
|
+
|
|
21198
|
+
/***/ 1716:
|
|
21020
21199
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
21021
21200
|
|
|
21022
21201
|
"use strict";
|
|
@@ -21028,7 +21207,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
21028
21207
|
"default": function() { return /* binding */ View; }
|
|
21029
21208
|
});
|
|
21030
21209
|
|
|
21031
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-
|
|
21210
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineFive/View.vue?vue&type=template&id=6857d858&scoped=true
|
|
21032
21211
|
var render = function render() {
|
|
21033
21212
|
var _vm = this,
|
|
21034
21213
|
_c = _vm._self._c;
|
|
@@ -21045,499 +21224,47 @@ var render = function render() {
|
|
|
21045
21224
|
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
21046
21225
|
staticClass: "cmhk-home_main"
|
|
21047
21226
|
}, [_c('div', {
|
|
21048
|
-
staticClass: "
|
|
21049
|
-
},
|
|
21050
|
-
ref: "cardList",
|
|
21051
|
-
staticClass: "cardList"
|
|
21052
|
-
}, [_vm.configList.length === 0 ? [_c('div', {
|
|
21053
|
-
staticClass: "card-box"
|
|
21054
|
-
}, [_c('div', {
|
|
21055
|
-
staticClass: "card"
|
|
21056
|
-
}, [_c('div', {
|
|
21057
|
-
staticClass: "img-box"
|
|
21058
|
-
}, [_c('div', {
|
|
21059
|
-
staticClass: "card-img",
|
|
21060
|
-
class: {
|
|
21061
|
-
'is-cms': _vm.$EventBus
|
|
21062
|
-
}
|
|
21063
|
-
}, [_c('img', {
|
|
21064
|
-
staticStyle: {
|
|
21065
|
-
"height": "200px"
|
|
21066
|
-
},
|
|
21067
|
-
attrs: {
|
|
21068
|
-
"src": _vm.placeholderImg,
|
|
21069
|
-
"alt": ""
|
|
21070
|
-
}
|
|
21071
|
-
})])]), _c('div', {
|
|
21072
|
-
staticClass: "content-box"
|
|
21073
|
-
}, [_c('div', {
|
|
21074
|
-
staticClass: "card-name"
|
|
21075
|
-
}, [_vm._v(_vm._s(_vm.langText.productName))]), _c('div', {
|
|
21076
|
-
staticClass: "text-box"
|
|
21077
|
-
}, [_c('div', {
|
|
21078
|
-
staticClass: "card-refPrice"
|
|
21079
|
-
}, [_vm._v(" " + _vm._s(_vm.langText.Price) + " HK$XXXX ")]), _c('div', {
|
|
21080
|
-
staticClass: "card-pice-text"
|
|
21081
|
-
}, [_vm._v(_vm._s(_vm.langText.onlinePrice))])]), _c('div', {
|
|
21082
|
-
staticClass: "card-pice"
|
|
21083
|
-
}, [_c('span', [_vm._v("HK$")]), _vm._v("XXXX")]), _c('div', {
|
|
21084
|
-
staticClass: "card-btn"
|
|
21085
|
-
}, [_vm._v(_vm._s(_vm.langText.buyNow))])])])])] : _vm._e(), _vm._l(_vm.viewList, function (item, index) {
|
|
21227
|
+
staticClass: "flex-wapper layout5to2 sper-32 mobile-sper8"
|
|
21228
|
+
}, _vm._l(_vm.configList, function (item, index) {
|
|
21086
21229
|
return _c('div', {
|
|
21087
|
-
key: `${index}
|
|
21088
|
-
staticClass: "
|
|
21089
|
-
}, [_c('div', {
|
|
21090
|
-
staticClass: "card"
|
|
21091
|
-
}, [_c('div', {
|
|
21092
|
-
staticClass: "tag-box-left"
|
|
21093
|
-
}, [_vm._l(item.malltCommodityLeft, function (ele, i) {
|
|
21094
|
-
return [_c('img', {
|
|
21095
|
-
key: i,
|
|
21096
|
-
attrs: {
|
|
21097
|
-
"src": _vm.compBaseUrl + ele.pictureUrl,
|
|
21098
|
-
"alt": ""
|
|
21099
|
-
}
|
|
21100
|
-
})];
|
|
21101
|
-
})], 2), _c('div', {
|
|
21102
|
-
staticClass: "tag-box-right"
|
|
21103
|
-
}, [_vm._l(item.malltCommodityRight, function (ele, i) {
|
|
21104
|
-
return [_c('img', {
|
|
21105
|
-
key: i,
|
|
21106
|
-
attrs: {
|
|
21107
|
-
"src": _vm.compBaseUrl + ele.pictureUrl,
|
|
21108
|
-
"alt": ""
|
|
21109
|
-
}
|
|
21110
|
-
})];
|
|
21111
|
-
})], 2), _c('div', {
|
|
21112
|
-
staticClass: "img-box"
|
|
21113
|
-
}, [_vm.isNotActive(item) ? _c('div', {
|
|
21114
|
-
staticClass: "mask"
|
|
21115
|
-
}, [_vm._v(" " + _vm._s(new Date(item.upTime).getTime() > _vm.nowTs ? _vm.langText.comingSoon : _vm.langText.expired) + " ")]) : _vm._e(), _c('div', {
|
|
21116
|
-
staticClass: "card-img",
|
|
21117
|
-
class: {
|
|
21118
|
-
'is-cms': _vm.$EventBus
|
|
21119
|
-
}
|
|
21120
|
-
}, [_c('img', {
|
|
21121
|
-
attrs: {
|
|
21122
|
-
"src": _vm.compBaseUrl + item.maxPicId,
|
|
21123
|
-
"alt": ""
|
|
21124
|
-
}
|
|
21125
|
-
})])]), _c('div', {
|
|
21126
|
-
staticClass: "content-box"
|
|
21127
|
-
}, [_vm.isNotActive(item) ? _c('div', {
|
|
21128
|
-
staticClass: "content-mask"
|
|
21129
|
-
}) : _vm._e(), _c('div', {
|
|
21130
|
-
staticClass: "card-name"
|
|
21131
|
-
}, [_vm._v(_vm._s(item.commodityName))]), _c('div', {
|
|
21132
|
-
staticClass: "text-box"
|
|
21133
|
-
}, [item.price !== item.refPrice ? _c('div', {
|
|
21134
|
-
staticClass: "card-refPrice"
|
|
21135
|
-
}, [_vm._v(" " + _vm._s(_vm.langText.Price) + " HK$" + _vm._s(_vm.convertCentsToYuan(item.refPrice)) + " ")]) : _c('div', {
|
|
21136
|
-
staticClass: "card-refPrice"
|
|
21137
|
-
}), _c('div', {
|
|
21138
|
-
staticClass: "card-pice-text"
|
|
21139
|
-
}, [_vm._v(" " + _vm._s(item.price !== item.refPrice ? _vm.langText.onlinePrice : _vm.langText.Price) + " ")])]), _c('div', {
|
|
21140
|
-
staticClass: "card-pice spc-font"
|
|
21141
|
-
}, [_c('span', [_vm._v("HK$")]), _vm._v(_vm._s(_vm.convertCentsToYuan(item.price)) + " ")]), _vm.isActive(item) ? _c('div', {
|
|
21142
|
-
staticClass: "card-btn",
|
|
21230
|
+
key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
|
|
21231
|
+
staticClass: "flex-wapper_item",
|
|
21143
21232
|
on: {
|
|
21144
21233
|
"click": function ($event) {
|
|
21145
|
-
return _vm.
|
|
21234
|
+
return _vm.decodeJumpUrl(item.jumpUrl);
|
|
21146
21235
|
}
|
|
21147
21236
|
}
|
|
21148
|
-
}, [
|
|
21237
|
+
}, [_c('div', {
|
|
21238
|
+
staticClass: "card-input"
|
|
21239
|
+
}, [_c('div', {
|
|
21240
|
+
staticClass: "card-input_wapper"
|
|
21241
|
+
}, [_c('img', {
|
|
21242
|
+
staticClass: "card-input_image mobile-show",
|
|
21149
21243
|
attrs: {
|
|
21150
|
-
"src":
|
|
21244
|
+
"src": item.uploadImageH5,
|
|
21245
|
+
"alt": item.imageH5ATL
|
|
21151
21246
|
}
|
|
21152
|
-
})
|
|
21153
|
-
staticClass: "card-
|
|
21154
|
-
|
|
21155
|
-
|
|
21156
|
-
|
|
21157
|
-
staticClass: "seeMore",
|
|
21158
|
-
on: {
|
|
21159
|
-
"click": function ($event) {
|
|
21160
|
-
_vm.seeMore = true;
|
|
21247
|
+
}), _c('img', {
|
|
21248
|
+
staticClass: "card-input_image pc-show",
|
|
21249
|
+
attrs: {
|
|
21250
|
+
"src": item.uploadImagePC,
|
|
21251
|
+
"alt": item.imagePcATL
|
|
21161
21252
|
}
|
|
21162
|
-
}
|
|
21163
|
-
|
|
21164
|
-
|
|
21165
|
-
|
|
21166
|
-
|
|
21167
|
-
|
|
21168
|
-
}), _c('img', {
|
|
21169
|
-
staticClass: "hover",
|
|
21170
|
-
attrs: {
|
|
21171
|
-
"src": _vm.arrowHoverImg
|
|
21172
|
-
}
|
|
21173
|
-
}), _c('img', {
|
|
21174
|
-
staticClass: "active",
|
|
21175
|
-
attrs: {
|
|
21176
|
-
"src": _vm.arrowActiveImg
|
|
21177
|
-
}
|
|
21178
|
-
})]) : _vm._e()])])]);
|
|
21253
|
+
}), item !== null && item !== void 0 && item.input1 ? _c('p', {
|
|
21254
|
+
staticClass: "title"
|
|
21255
|
+
}, [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.input1))]) : _vm._e(), item !== null && item !== void 0 && item.input2 ? _c('p', {
|
|
21256
|
+
staticClass: "sub-title"
|
|
21257
|
+
}, [_vm._v(" " + _vm._s(item === null || item === void 0 ? void 0 : item.input2) + " ")]) : _vm._e()])])]);
|
|
21258
|
+
}), 0)])]);
|
|
21179
21259
|
};
|
|
21180
21260
|
var staticRenderFns = [];
|
|
21181
21261
|
|
|
21182
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
21183
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
21184
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
|
|
21185
|
-
var es_iterator_filter = __webpack_require__(2489);
|
|
21186
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
21187
|
-
var es_iterator_for_each = __webpack_require__(7588);
|
|
21188
21262
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
21189
|
-
var baseComp = __webpack_require__(
|
|
21190
|
-
|
|
21191
|
-
var api = __webpack_require__(2842);
|
|
21192
|
-
// EXTERNAL MODULE: ./node_modules/qs/lib/index.js
|
|
21193
|
-
var lib = __webpack_require__(7087);
|
|
21194
|
-
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
|
21195
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-stored-value-card/View.vue?vue&type=script&lang=js
|
|
21196
|
-
|
|
21197
|
-
|
|
21198
|
-
|
|
21199
|
-
|
|
21200
|
-
|
|
21201
|
-
|
|
21202
|
-
|
|
21203
|
-
|
|
21263
|
+
var baseComp = __webpack_require__(7976);
|
|
21264
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineFive/View.vue?vue&type=script&lang=js
|
|
21204
21265
|
|
|
21205
21266
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
21206
|
-
name: "cms-
|
|
21207
|
-
components: {
|
|
21208
|
-
BaseComp: baseComp["default"]
|
|
21209
|
-
},
|
|
21210
|
-
props: {
|
|
21211
|
-
data: {
|
|
21212
|
-
type: Object,
|
|
21213
|
-
default: () => {
|
|
21214
|
-
return {};
|
|
21215
|
-
}
|
|
21216
|
-
},
|
|
21217
|
-
nowCompId: {
|
|
21218
|
-
type: [String, Number],
|
|
21219
|
-
default: ""
|
|
21220
|
-
},
|
|
21221
|
-
isOpcacity: {
|
|
21222
|
-
type: Boolean,
|
|
21223
|
-
default: true
|
|
21224
|
-
},
|
|
21225
|
-
lang: {
|
|
21226
|
-
type: String,
|
|
21227
|
-
default: "zh-HK"
|
|
21228
|
-
}
|
|
21229
|
-
},
|
|
21230
|
-
data() {
|
|
21231
|
-
return {
|
|
21232
|
-
langConfig: {
|
|
21233
|
-
"zh-HK": {
|
|
21234
|
-
productName: "產品名稱",
|
|
21235
|
-
Price: "建議零售價",
|
|
21236
|
-
onlinePrice: "網上優惠價",
|
|
21237
|
-
buyNow: "立即選購",
|
|
21238
|
-
comingSoon: "即將推出",
|
|
21239
|
-
expired: "優惠已過期",
|
|
21240
|
-
more: "查看更多",
|
|
21241
|
-
launch: "NNN 上線",
|
|
21242
|
-
Offer: "優惠即將推出"
|
|
21243
|
-
},
|
|
21244
|
-
"zh-CN": {
|
|
21245
|
-
productName: "产品名称",
|
|
21246
|
-
Price: "建议零售价",
|
|
21247
|
-
onlinePrice: "网上优惠价",
|
|
21248
|
-
buyNow: "立即选购",
|
|
21249
|
-
comingSoon: "即将推出",
|
|
21250
|
-
expired: "优惠已过期",
|
|
21251
|
-
more: "查看更多",
|
|
21252
|
-
launch: "NNN 上线",
|
|
21253
|
-
Offer: "优惠即将推出"
|
|
21254
|
-
},
|
|
21255
|
-
"en-US": {
|
|
21256
|
-
productName: "Product Name",
|
|
21257
|
-
Price: "RRP",
|
|
21258
|
-
onlinePrice: "Online Price",
|
|
21259
|
-
buyNow: "Buy Now",
|
|
21260
|
-
comingSoon: "Coming Soon",
|
|
21261
|
-
expired: "Expired",
|
|
21262
|
-
more: "See more",
|
|
21263
|
-
launch: "Launch at NNN",
|
|
21264
|
-
Offer: "Offer Coming"
|
|
21265
|
-
}
|
|
21266
|
-
},
|
|
21267
|
-
configList: [],
|
|
21268
|
-
seeMore: false,
|
|
21269
|
-
nowTs: Date.now(),
|
|
21270
|
-
compBaseUrl: this.$route.query.envId == 4 ? "https://omniapi.hk.chinamobile.com" : "https://omniapi-uat.hk.chinamobile.com",
|
|
21271
|
-
// images
|
|
21272
|
-
placeholderImg: __webpack_require__(5335),
|
|
21273
|
-
arrowRightImg: __webpack_require__(4860),
|
|
21274
|
-
arrowDownImg: __webpack_require__(1861),
|
|
21275
|
-
arrowHoverImg: __webpack_require__(4116),
|
|
21276
|
-
arrowActiveImg: __webpack_require__(9670),
|
|
21277
|
-
shopList: []
|
|
21278
|
-
};
|
|
21279
|
-
},
|
|
21280
|
-
computed: {
|
|
21281
|
-
langText() {
|
|
21282
|
-
return this.config && this.langConfig && this.langConfig[this.lang] || this.langConfig["zh-HK"];
|
|
21283
|
-
},
|
|
21284
|
-
viewList() {
|
|
21285
|
-
if (this.seeMore) return this.shopList;
|
|
21286
|
-
return this.shopList.slice(0, 9);
|
|
21287
|
-
}
|
|
21288
|
-
},
|
|
21289
|
-
mounted() {
|
|
21290
|
-
if (!this.$EventBus) {
|
|
21291
|
-
if (["https://omniapi.hk.chinamobile.com", "https://www.hk.chinamobile.com"].includes(window.location.origin)) {
|
|
21292
|
-
this.compBaseUrl = "https://omniapi.hk.chinamobile.com";
|
|
21293
|
-
} else {
|
|
21294
|
-
this.compBaseUrl = "https://omniapi-uat.hk.chinamobile.com";
|
|
21295
|
-
}
|
|
21296
|
-
}
|
|
21297
|
-
},
|
|
21298
|
-
beforeDestroy() {},
|
|
21299
|
-
methods: {
|
|
21300
|
-
getConfigData(configData) {
|
|
21301
|
-
this.configList = configData.configList;
|
|
21302
|
-
console.log("getConfigData", this.configList);
|
|
21303
|
-
this.getValue();
|
|
21304
|
-
},
|
|
21305
|
-
async getValue() {
|
|
21306
|
-
await this.getCommodityDetails();
|
|
21307
|
-
},
|
|
21308
|
-
// 拉取已选商品详情
|
|
21309
|
-
async getCommodityDetails() {
|
|
21310
|
-
// try {
|
|
21311
|
-
let req = {
|
|
21312
|
-
busInfo: JSON.stringify({
|
|
21313
|
-
commodityIds: [...this.configList],
|
|
21314
|
-
commodityTypes: ["604", "605"]
|
|
21315
|
-
})
|
|
21316
|
-
};
|
|
21317
|
-
req = lib_default().stringify(req);
|
|
21318
|
-
const json = await (0,api/* getCommodityDetails */.yX)(req, {
|
|
21319
|
-
lang_sc: "zh-CN",
|
|
21320
|
-
lang_tc: "zh-HK",
|
|
21321
|
-
lang_en: "en-US"
|
|
21322
|
-
}[this.lang]);
|
|
21323
|
-
let dataResult = json && json.busiResp && json.busiResp.busiDataResp;
|
|
21324
|
-
if (Array.isArray(dataResult)) {
|
|
21325
|
-
dataResult.forEach(item => {
|
|
21326
|
-
if (Array.isArray(item.malltCommodityTags)) {
|
|
21327
|
-
const left = item.malltCommodityTags.filter(ele => ele.tagType == 5001).sort((a, b) => a.sort - b.sort);
|
|
21328
|
-
const right = item.malltCommodityTags.filter(ele => ele.tagType == 5002).sort((a, b) => a.sort - b.sort);
|
|
21329
|
-
item.malltCommodityLeft = left.slice(0, 2);
|
|
21330
|
-
item.malltCommodityRight = right.slice(0, 4);
|
|
21331
|
-
} else {
|
|
21332
|
-
item.malltCommodityLeft = [];
|
|
21333
|
-
item.malltCommodityRight = [];
|
|
21334
|
-
}
|
|
21335
|
-
});
|
|
21336
|
-
// 按选择顺序排序
|
|
21337
|
-
this.shopList = dataResult.sort((a, b) => {
|
|
21338
|
-
return this.configList.indexOf(a.commodityId) - this.configList.indexOf(b.commodityId);
|
|
21339
|
-
});
|
|
21340
|
-
} else {
|
|
21341
|
-
this.shopList = [];
|
|
21342
|
-
}
|
|
21343
|
-
// } catch (e) {
|
|
21344
|
-
// this.shopList = [];
|
|
21345
|
-
// }
|
|
21346
|
-
},
|
|
21347
|
-
isActive(item) {
|
|
21348
|
-
const now = Date.now();
|
|
21349
|
-
return new Date(item.upTime).getTime() < now && new Date(item.downTime).getTime() > now;
|
|
21350
|
-
},
|
|
21351
|
-
isNotActive(item) {
|
|
21352
|
-
const now = Date.now();
|
|
21353
|
-
return new Date(item.upTime).getTime() > now || new Date(item.downTime).getTime() < now;
|
|
21354
|
-
},
|
|
21355
|
-
convertCentsToYuan(cents) {
|
|
21356
|
-
const yuan = (Number(cents || 0) / 100).toFixed(2);
|
|
21357
|
-
return parseFloat(yuan);
|
|
21358
|
-
},
|
|
21359
|
-
goDetail(item) {
|
|
21360
|
-
const base = this.$EventBus ? this.compBaseUrl : window.location.origin;
|
|
21361
|
-
if (item.commodityType === "604") {
|
|
21362
|
-
if ((item.commodityName || "").includes("MySIM")) {
|
|
21363
|
-
window.parent.location.href = `${base}/${this.lang}/home/prepaid-card/mysim/detail?commodityId=${item.commodityId}&mysim=${item.commodityName}`;
|
|
21364
|
-
} else {
|
|
21365
|
-
window.parent.location.href = `${base}/${this.lang}/home/prepaid-card/detail?commodityId=${item.commodityId}&commodityType=604&commodityName=${item.commodityName}`;
|
|
21366
|
-
}
|
|
21367
|
-
} else if (item.commodityType === "605") {
|
|
21368
|
-
window.parent.location.href = `${base}/${this.lang}/home/prepaid/refill-voucher/detail?commodityId=${item.commodityId}&commodityType=605&commodityName=${item.commodityName}`;
|
|
21369
|
-
}
|
|
21370
|
-
}
|
|
21371
|
-
}
|
|
21372
|
-
});
|
|
21373
|
-
;// ./package/cms-stored-value-card/View.vue?vue&type=script&lang=js
|
|
21374
|
-
/* harmony default export */ var cms_stored_value_card_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
21375
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-42.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-stored-value-card/View.vue?vue&type=style&index=0&id=5dba4ef6&prod&lang=scss&scoped=true
|
|
21376
|
-
// extracted by mini-css-extract-plugin
|
|
21377
|
-
|
|
21378
|
-
;// ./package/cms-stored-value-card/View.vue?vue&type=style&index=0&id=5dba4ef6&prod&lang=scss&scoped=true
|
|
21379
|
-
|
|
21380
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
21381
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
21382
|
-
;// ./package/cms-stored-value-card/View.vue
|
|
21383
|
-
|
|
21384
|
-
|
|
21385
|
-
|
|
21386
|
-
;
|
|
21387
|
-
|
|
21388
|
-
|
|
21389
|
-
/* normalize component */
|
|
21390
|
-
|
|
21391
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
21392
|
-
cms_stored_value_card_Viewvue_type_script_lang_js,
|
|
21393
|
-
render,
|
|
21394
|
-
staticRenderFns,
|
|
21395
|
-
false,
|
|
21396
|
-
null,
|
|
21397
|
-
"5dba4ef6",
|
|
21398
|
-
null
|
|
21399
|
-
|
|
21400
|
-
)
|
|
21401
|
-
|
|
21402
|
-
/* harmony default export */ var View = (component.exports);
|
|
21403
|
-
|
|
21404
|
-
/***/ }),
|
|
21405
|
-
|
|
21406
|
-
/***/ 1683:
|
|
21407
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
21408
|
-
|
|
21409
|
-
var map = {
|
|
21410
|
-
"./india.js": 3402
|
|
21411
|
-
};
|
|
21412
|
-
|
|
21413
|
-
|
|
21414
|
-
function webpackContext(req) {
|
|
21415
|
-
var id = webpackContextResolve(req);
|
|
21416
|
-
return __webpack_require__(id);
|
|
21417
|
-
}
|
|
21418
|
-
function webpackContextResolve(req) {
|
|
21419
|
-
if(!__webpack_require__.o(map, req)) {
|
|
21420
|
-
var e = new Error("Cannot find module '" + req + "'");
|
|
21421
|
-
e.code = 'MODULE_NOT_FOUND';
|
|
21422
|
-
throw e;
|
|
21423
|
-
}
|
|
21424
|
-
return map[req];
|
|
21425
|
-
}
|
|
21426
|
-
webpackContext.keys = function webpackContextKeys() {
|
|
21427
|
-
return Object.keys(map);
|
|
21428
|
-
};
|
|
21429
|
-
webpackContext.resolve = webpackContextResolve;
|
|
21430
|
-
module.exports = webpackContext;
|
|
21431
|
-
webpackContext.id = 1683;
|
|
21432
|
-
|
|
21433
|
-
/***/ }),
|
|
21434
|
-
|
|
21435
|
-
/***/ 1698:
|
|
21436
|
-
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
21437
|
-
|
|
21438
|
-
"use strict";
|
|
21439
|
-
|
|
21440
|
-
var $ = __webpack_require__(6518);
|
|
21441
|
-
var union = __webpack_require__(4204);
|
|
21442
|
-
var setMethodAcceptSetLike = __webpack_require__(4916);
|
|
21443
|
-
|
|
21444
|
-
// `Set.prototype.union` method
|
|
21445
|
-
// https://tc39.es/ecma262/#sec-set.prototype.union
|
|
21446
|
-
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
|
|
21447
|
-
union: union
|
|
21448
|
-
});
|
|
21449
|
-
|
|
21450
|
-
|
|
21451
|
-
/***/ }),
|
|
21452
|
-
|
|
21453
|
-
/***/ 1701:
|
|
21454
|
-
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
21455
|
-
|
|
21456
|
-
"use strict";
|
|
21457
|
-
|
|
21458
|
-
var $ = __webpack_require__(6518);
|
|
21459
|
-
var map = __webpack_require__(713);
|
|
21460
|
-
var IS_PURE = __webpack_require__(6395);
|
|
21461
|
-
|
|
21462
|
-
// `Iterator.prototype.map` method
|
|
21463
|
-
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
21464
|
-
$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
21465
|
-
map: map
|
|
21466
|
-
});
|
|
21467
|
-
|
|
21468
|
-
|
|
21469
|
-
/***/ }),
|
|
21470
|
-
|
|
21471
|
-
/***/ 1716:
|
|
21472
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
21473
|
-
|
|
21474
|
-
"use strict";
|
|
21475
|
-
// ESM COMPAT FLAG
|
|
21476
|
-
__webpack_require__.r(__webpack_exports__);
|
|
21477
|
-
|
|
21478
|
-
// EXPORTS
|
|
21479
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
21480
|
-
"default": function() { return /* binding */ View; }
|
|
21481
|
-
});
|
|
21482
|
-
|
|
21483
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineFive/View.vue?vue&type=template&id=6857d858&scoped=true
|
|
21484
|
-
var render = function render() {
|
|
21485
|
-
var _vm = this,
|
|
21486
|
-
_c = _vm._self._c;
|
|
21487
|
-
return _c('BaseComp', _vm._b({
|
|
21488
|
-
attrs: {
|
|
21489
|
-
"data": _vm.data,
|
|
21490
|
-
"nowCompId": _vm.nowCompId,
|
|
21491
|
-
"isOpcacity": _vm.isOpcacity,
|
|
21492
|
-
"lang": _vm.lang
|
|
21493
|
-
},
|
|
21494
|
-
on: {
|
|
21495
|
-
"getConfigData": _vm.getConfigData
|
|
21496
|
-
}
|
|
21497
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
21498
|
-
staticClass: "cmhk-home_main"
|
|
21499
|
-
}, [_c('div', {
|
|
21500
|
-
staticClass: "flex-wapper layout5to2 sper-32 mobile-sper8"
|
|
21501
|
-
}, _vm._l(_vm.configList, function (item, index) {
|
|
21502
|
-
return _c('div', {
|
|
21503
|
-
key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
|
|
21504
|
-
staticClass: "flex-wapper_item",
|
|
21505
|
-
on: {
|
|
21506
|
-
"click": function ($event) {
|
|
21507
|
-
return _vm.decodeJumpUrl(item.jumpUrl);
|
|
21508
|
-
}
|
|
21509
|
-
}
|
|
21510
|
-
}, [_c('div', {
|
|
21511
|
-
staticClass: "card-input"
|
|
21512
|
-
}, [_c('div', {
|
|
21513
|
-
staticClass: "card-input_wapper"
|
|
21514
|
-
}, [_c('img', {
|
|
21515
|
-
staticClass: "card-input_image mobile-show",
|
|
21516
|
-
attrs: {
|
|
21517
|
-
"src": item.uploadImageH5,
|
|
21518
|
-
"alt": item.imageH5ATL
|
|
21519
|
-
}
|
|
21520
|
-
}), _c('img', {
|
|
21521
|
-
staticClass: "card-input_image pc-show",
|
|
21522
|
-
attrs: {
|
|
21523
|
-
"src": item.uploadImagePC,
|
|
21524
|
-
"alt": item.imagePcATL
|
|
21525
|
-
}
|
|
21526
|
-
}), item !== null && item !== void 0 && item.input1 ? _c('p', {
|
|
21527
|
-
staticClass: "title"
|
|
21528
|
-
}, [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.input1))]) : _vm._e(), item !== null && item !== void 0 && item.input2 ? _c('p', {
|
|
21529
|
-
staticClass: "sub-title"
|
|
21530
|
-
}, [_vm._v(" " + _vm._s(item === null || item === void 0 ? void 0 : item.input2) + " ")]) : _vm._e()])])]);
|
|
21531
|
-
}), 0)])]);
|
|
21532
|
-
};
|
|
21533
|
-
var staticRenderFns = [];
|
|
21534
|
-
|
|
21535
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
21536
|
-
var baseComp = __webpack_require__(7135);
|
|
21537
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineFive/View.vue?vue&type=script&lang=js
|
|
21538
|
-
|
|
21539
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
21540
|
-
name: "cms-lineFive",
|
|
21267
|
+
name: "cms-lineFive",
|
|
21541
21268
|
components: {
|
|
21542
21269
|
BaseComp: baseComp["default"]
|
|
21543
21270
|
},
|
|
@@ -22494,7 +22221,7 @@ var render = function render() {
|
|
|
22494
22221
|
var staticRenderFns = [];
|
|
22495
22222
|
|
|
22496
22223
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
22497
|
-
var baseComp = __webpack_require__(
|
|
22224
|
+
var baseComp = __webpack_require__(7976);
|
|
22498
22225
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-column/View.vue?vue&type=script&lang=js
|
|
22499
22226
|
|
|
22500
22227
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -23912,7 +23639,7 @@ var staticRenderFns = [];
|
|
|
23912
23639
|
;// ./package/cms-activityTime/View.vue?vue&type=template&id=0e496ed4&scoped=true
|
|
23913
23640
|
|
|
23914
23641
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
23915
|
-
var baseComp = __webpack_require__(
|
|
23642
|
+
var baseComp = __webpack_require__(7976);
|
|
23916
23643
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-activityTime/View.vue?vue&type=script&lang=js
|
|
23917
23644
|
|
|
23918
23645
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -24728,7 +24455,7 @@ var render = function render() {
|
|
|
24728
24455
|
var staticRenderFns = [];
|
|
24729
24456
|
|
|
24730
24457
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
24731
|
-
var baseComp = __webpack_require__(
|
|
24458
|
+
var baseComp = __webpack_require__(7976);
|
|
24732
24459
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-iconFour/View.vue?vue&type=script&lang=js
|
|
24733
24460
|
|
|
24734
24461
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -26040,7 +25767,7 @@ const validateSchema = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getValidateSc
|
|
|
26040
25767
|
__webpack_require__.r(__webpack_exports__);
|
|
26041
25768
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
26042
25769
|
|
|
26043
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
25770
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 9603));
|
|
26044
25771
|
const langData = {
|
|
26045
25772
|
configList: [{
|
|
26046
25773
|
id: Math.random().toString(),
|
|
@@ -34409,7 +34136,7 @@ var es_iterator_constructor = __webpack_require__(8111);
|
|
|
34409
34136
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
34410
34137
|
var es_iterator_for_each = __webpack_require__(7588);
|
|
34411
34138
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
34412
|
-
var baseComp = __webpack_require__(
|
|
34139
|
+
var baseComp = __webpack_require__(7976);
|
|
34413
34140
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-image/View.vue?vue&type=script&lang=js
|
|
34414
34141
|
|
|
34415
34142
|
|
|
@@ -34737,120 +34464,6 @@ module.exports = function (argument) {
|
|
|
34737
34464
|
};
|
|
34738
34465
|
|
|
34739
34466
|
|
|
34740
|
-
/***/ }),
|
|
34741
|
-
|
|
34742
|
-
/***/ 4003:
|
|
34743
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
34744
|
-
|
|
34745
|
-
"use strict";
|
|
34746
|
-
// ESM COMPAT FLAG
|
|
34747
|
-
__webpack_require__.r(__webpack_exports__);
|
|
34748
|
-
|
|
34749
|
-
// EXPORTS
|
|
34750
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
34751
|
-
"default": function() { return /* binding */ View; }
|
|
34752
|
-
});
|
|
34753
|
-
|
|
34754
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleCenter/View.vue?vue&type=template&id=6b284b71&scoped=true
|
|
34755
|
-
var render = function render() {
|
|
34756
|
-
var _vm = this,
|
|
34757
|
-
_c = _vm._self._c;
|
|
34758
|
-
return _c('BaseComp', _vm._b({
|
|
34759
|
-
attrs: {
|
|
34760
|
-
"data": _vm.data,
|
|
34761
|
-
"nowCompId": _vm.nowCompId,
|
|
34762
|
-
"isOpcacity": _vm.isOpcacity,
|
|
34763
|
-
"lang": _vm.lang
|
|
34764
|
-
},
|
|
34765
|
-
on: {
|
|
34766
|
-
"getConfigData": _vm.getConfigData
|
|
34767
|
-
}
|
|
34768
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
34769
|
-
staticClass: "section-head"
|
|
34770
|
-
}, [_c('div', {
|
|
34771
|
-
staticClass: "cmhk-home_main"
|
|
34772
|
-
}, [_c('p', {
|
|
34773
|
-
staticClass: "title"
|
|
34774
|
-
}, [_c('span', {
|
|
34775
|
-
staticClass: "main"
|
|
34776
|
-
}, [_vm._v(_vm._s(_vm.configData.title1))])]), _c('p', {
|
|
34777
|
-
staticClass: "subtitle"
|
|
34778
|
-
}, [_vm._v(_vm._s(_vm.configData.title2))])])])]);
|
|
34779
|
-
};
|
|
34780
|
-
var staticRenderFns = [];
|
|
34781
|
-
|
|
34782
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
34783
|
-
var baseComp = __webpack_require__(7135);
|
|
34784
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleCenter/View.vue?vue&type=script&lang=js
|
|
34785
|
-
|
|
34786
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
34787
|
-
name: "cms-titleCenter",
|
|
34788
|
-
components: {
|
|
34789
|
-
BaseComp: baseComp["default"]
|
|
34790
|
-
},
|
|
34791
|
-
props: {
|
|
34792
|
-
data: {
|
|
34793
|
-
type: Object,
|
|
34794
|
-
default: () => {
|
|
34795
|
-
return {};
|
|
34796
|
-
}
|
|
34797
|
-
},
|
|
34798
|
-
nowCompId: {
|
|
34799
|
-
type: [String, Number],
|
|
34800
|
-
default: ""
|
|
34801
|
-
},
|
|
34802
|
-
isOpcacity: {
|
|
34803
|
-
type: Boolean,
|
|
34804
|
-
default: true
|
|
34805
|
-
},
|
|
34806
|
-
lang: {
|
|
34807
|
-
type: String,
|
|
34808
|
-
default: "zh-HK"
|
|
34809
|
-
}
|
|
34810
|
-
},
|
|
34811
|
-
data() {
|
|
34812
|
-
return {
|
|
34813
|
-
configData: {}
|
|
34814
|
-
};
|
|
34815
|
-
},
|
|
34816
|
-
mounted() {},
|
|
34817
|
-
methods: {
|
|
34818
|
-
getConfigData(configData) {
|
|
34819
|
-
this.configData = configData;
|
|
34820
|
-
}
|
|
34821
|
-
}
|
|
34822
|
-
});
|
|
34823
|
-
;// ./package/cms-titleCenter/View.vue?vue&type=script&lang=js
|
|
34824
|
-
/* harmony default export */ var cms_titleCenter_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
34825
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-42.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleCenter/View.vue?vue&type=style&index=0&id=6b284b71&prod&scoped=true&lang=scss
|
|
34826
|
-
// extracted by mini-css-extract-plugin
|
|
34827
|
-
|
|
34828
|
-
;// ./package/cms-titleCenter/View.vue?vue&type=style&index=0&id=6b284b71&prod&scoped=true&lang=scss
|
|
34829
|
-
|
|
34830
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
34831
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
34832
|
-
;// ./package/cms-titleCenter/View.vue
|
|
34833
|
-
|
|
34834
|
-
|
|
34835
|
-
|
|
34836
|
-
;
|
|
34837
|
-
|
|
34838
|
-
|
|
34839
|
-
/* normalize component */
|
|
34840
|
-
|
|
34841
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
34842
|
-
cms_titleCenter_Viewvue_type_script_lang_js,
|
|
34843
|
-
render,
|
|
34844
|
-
staticRenderFns,
|
|
34845
|
-
false,
|
|
34846
|
-
null,
|
|
34847
|
-
"6b284b71",
|
|
34848
|
-
null
|
|
34849
|
-
|
|
34850
|
-
)
|
|
34851
|
-
|
|
34852
|
-
/* harmony default export */ var View = (component.exports);
|
|
34853
|
-
|
|
34854
34467
|
/***/ }),
|
|
34855
34468
|
|
|
34856
34469
|
/***/ 4022:
|
|
@@ -35069,7 +34682,7 @@ var render = function render() {
|
|
|
35069
34682
|
var staticRenderFns = [];
|
|
35070
34683
|
|
|
35071
34684
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
35072
|
-
var baseComp = __webpack_require__(
|
|
34685
|
+
var baseComp = __webpack_require__(7976);
|
|
35073
34686
|
// EXTERNAL MODULE: ./package/patch.js
|
|
35074
34687
|
var patch = __webpack_require__(4229);
|
|
35075
34688
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
@@ -36240,7 +35853,7 @@ var render = function render() {
|
|
|
36240
35853
|
var staticRenderFns = [];
|
|
36241
35854
|
|
|
36242
35855
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
36243
|
-
var baseComp = __webpack_require__(
|
|
35856
|
+
var baseComp = __webpack_require__(7976);
|
|
36244
35857
|
// EXTERNAL MODULE: ./src/utils/request.js + 2 modules
|
|
36245
35858
|
var utils_request = __webpack_require__(9688);
|
|
36246
35859
|
;// ./src/api/servePlan.js
|
|
@@ -36436,25 +36049,7 @@ module.exports =
|
|
|
36436
36049
|
|
|
36437
36050
|
/***/ }),
|
|
36438
36051
|
|
|
36439
|
-
/***/
|
|
36440
|
-
/***/ (function(module) {
|
|
36441
|
-
|
|
36442
|
-
"use strict";
|
|
36443
|
-
|
|
36444
|
-
|
|
36445
|
-
/**
|
|
36446
|
-
* Determines whether the payload is an error thrown by Axios
|
|
36447
|
-
*
|
|
36448
|
-
* @param {*} payload The value to test
|
|
36449
|
-
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
36450
|
-
*/
|
|
36451
|
-
module.exports = function isAxiosError(payload) {
|
|
36452
|
-
return typeof payload === 'object' && payload.isAxiosError === true;
|
|
36453
|
-
};
|
|
36454
|
-
|
|
36455
|
-
/***/ }),
|
|
36456
|
-
|
|
36457
|
-
/***/ 4598:
|
|
36052
|
+
/***/ 4579:
|
|
36458
36053
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36459
36054
|
|
|
36460
36055
|
"use strict";
|
|
@@ -36466,12 +36061,11 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
36466
36061
|
"default": function() { return /* binding */ View; }
|
|
36467
36062
|
});
|
|
36468
36063
|
|
|
36469
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-
|
|
36064
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-stored-value-card/View.vue?vue&type=template&id=ae178d02&scoped=true
|
|
36470
36065
|
var render = function render() {
|
|
36471
36066
|
var _vm = this,
|
|
36472
|
-
_c = _vm._self._c
|
|
36473
|
-
|
|
36474
|
-
return _c(_setup.BaseComp, _vm._b({
|
|
36067
|
+
_c = _vm._self._c;
|
|
36068
|
+
return _c('BaseComp', _vm._b({
|
|
36475
36069
|
attrs: {
|
|
36476
36070
|
"data": _vm.data,
|
|
36477
36071
|
"nowCompId": _vm.nowCompId,
|
|
@@ -36484,38 +36078,446 @@ var render = function render() {
|
|
|
36484
36078
|
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
36485
36079
|
staticClass: "cmhk-home_main"
|
|
36486
36080
|
}, [_c('div', {
|
|
36487
|
-
staticClass: "
|
|
36488
|
-
}, [_c('
|
|
36489
|
-
|
|
36490
|
-
|
|
36491
|
-
|
|
36492
|
-
|
|
36493
|
-
|
|
36494
|
-
|
|
36495
|
-
|
|
36081
|
+
staticClass: "wrap"
|
|
36082
|
+
}, [_c('div', {
|
|
36083
|
+
ref: "cardList",
|
|
36084
|
+
staticClass: "cardList"
|
|
36085
|
+
}, [_vm.configList.length === 0 ? [_c('div', {
|
|
36086
|
+
staticClass: "card-box"
|
|
36087
|
+
}, [_c('div', {
|
|
36088
|
+
staticClass: "card"
|
|
36089
|
+
}, [_c('div', {
|
|
36090
|
+
staticClass: "img-box"
|
|
36091
|
+
}, [_c('div', {
|
|
36092
|
+
staticClass: "card-img",
|
|
36093
|
+
class: {
|
|
36094
|
+
'is-cms': _vm.$EventBus
|
|
36095
|
+
}
|
|
36096
|
+
}, [_c('img', {
|
|
36097
|
+
staticStyle: {
|
|
36098
|
+
"height": "200px"
|
|
36099
|
+
},
|
|
36100
|
+
attrs: {
|
|
36101
|
+
"src": _vm.placeholderImg,
|
|
36102
|
+
"alt": ""
|
|
36103
|
+
}
|
|
36104
|
+
})])]), _c('div', {
|
|
36105
|
+
staticClass: "content-box"
|
|
36106
|
+
}, [_c('div', {
|
|
36107
|
+
staticClass: "card-name"
|
|
36108
|
+
}, [_vm._v(_vm._s(_vm.langText.productName))]), _c('div', {
|
|
36109
|
+
staticClass: "text-box"
|
|
36110
|
+
}, [_c('div', {
|
|
36111
|
+
staticClass: "card-refPrice"
|
|
36112
|
+
}, [_vm._v(" " + _vm._s(_vm.langText.Price) + " HK$XXXX ")]), _c('div', {
|
|
36113
|
+
staticClass: "card-pice-text"
|
|
36114
|
+
}, [_vm._v(_vm._s(_vm.langText.onlinePrice))])]), _c('div', {
|
|
36115
|
+
staticClass: "card-pice"
|
|
36116
|
+
}, [_c('span', [_vm._v("HK$")]), _vm._v("XXXX")]), _c('div', {
|
|
36117
|
+
staticClass: "card-btn"
|
|
36118
|
+
}, [_vm._v(_vm._s(_vm.langText.buyNow))])])])])] : _vm._e(), _vm._l(_vm.viewList, function (item, index) {
|
|
36119
|
+
return _c('div', {
|
|
36120
|
+
key: `${index}-${item.commodityId || index}`,
|
|
36121
|
+
staticClass: "card-box"
|
|
36122
|
+
}, [_c('div', {
|
|
36123
|
+
staticClass: "card"
|
|
36124
|
+
}, [_c('div', {
|
|
36125
|
+
staticClass: "tag-box-left"
|
|
36126
|
+
}, [_vm._l(item.malltCommodityLeft, function (ele, i) {
|
|
36127
|
+
return [_c('img', {
|
|
36128
|
+
key: i,
|
|
36129
|
+
attrs: {
|
|
36130
|
+
"src": _vm.compBaseUrl + ele.pictureUrl,
|
|
36131
|
+
"alt": ""
|
|
36132
|
+
}
|
|
36133
|
+
})];
|
|
36134
|
+
})], 2), _c('div', {
|
|
36135
|
+
staticClass: "tag-box-right"
|
|
36136
|
+
}, [_vm._l(item.malltCommodityRight, function (ele, i) {
|
|
36137
|
+
return [_c('img', {
|
|
36138
|
+
key: i,
|
|
36139
|
+
attrs: {
|
|
36140
|
+
"src": _vm.compBaseUrl + ele.pictureUrl,
|
|
36141
|
+
"alt": ""
|
|
36142
|
+
}
|
|
36143
|
+
})];
|
|
36144
|
+
})], 2), _c('div', {
|
|
36145
|
+
staticClass: "img-box"
|
|
36146
|
+
}, [_vm.isNotActive(item) ? _c('div', {
|
|
36147
|
+
staticClass: "mask"
|
|
36148
|
+
}, [_vm._v(" " + _vm._s(new Date(item.upTime).getTime() > _vm.nowTs ? _vm.langText.comingSoon : _vm.langText.expired) + " ")]) : _vm._e(), _c('div', {
|
|
36149
|
+
staticClass: "card-img",
|
|
36150
|
+
class: {
|
|
36151
|
+
'is-cms': _vm.$EventBus
|
|
36152
|
+
}
|
|
36153
|
+
}, [_c('img', {
|
|
36154
|
+
attrs: {
|
|
36155
|
+
"src": _vm.compBaseUrl + item.maxPicId,
|
|
36156
|
+
"alt": ""
|
|
36157
|
+
}
|
|
36158
|
+
})])]), _c('div', {
|
|
36159
|
+
staticClass: "content-box"
|
|
36160
|
+
}, [_vm.isNotActive(item) ? _c('div', {
|
|
36161
|
+
staticClass: "content-mask"
|
|
36162
|
+
}) : _vm._e(), _c('div', {
|
|
36163
|
+
staticClass: "card-name"
|
|
36164
|
+
}, [_vm._v(_vm._s(item.commodityName))]), _c('div', {
|
|
36165
|
+
staticClass: "text-box"
|
|
36166
|
+
}, [item.price !== item.refPrice ? _c('div', {
|
|
36167
|
+
staticClass: "card-refPrice"
|
|
36168
|
+
}, [_vm._v(" " + _vm._s(_vm.langText.Price) + " HK$" + _vm._s(_vm.convertCentsToYuan(item.refPrice)) + " ")]) : _c('div', {
|
|
36169
|
+
staticClass: "card-refPrice"
|
|
36170
|
+
}), _c('div', {
|
|
36171
|
+
staticClass: "card-pice-text"
|
|
36172
|
+
}, [_vm._v(" " + _vm._s(item.price !== item.refPrice ? _vm.langText.onlinePrice : _vm.langText.Price) + " ")])]), _c('div', {
|
|
36173
|
+
staticClass: "card-pice spc-font"
|
|
36174
|
+
}, [_c('span', [_vm._v("HK$")]), _vm._v(_vm._s(_vm.convertCentsToYuan(item.price)) + " ")]), _vm.isActive(item) ? _c('div', {
|
|
36175
|
+
staticClass: "card-btn",
|
|
36176
|
+
on: {
|
|
36177
|
+
"click": function ($event) {
|
|
36178
|
+
return _vm.goDetail(item);
|
|
36179
|
+
}
|
|
36180
|
+
}
|
|
36181
|
+
}, [_vm._v(" " + _vm._s(_vm.langText.buyNow)), _c('img', {
|
|
36182
|
+
attrs: {
|
|
36183
|
+
"src": _vm.arrowRightImg
|
|
36184
|
+
}
|
|
36185
|
+
})]) : _c('div', {
|
|
36186
|
+
staticClass: "card-btn"
|
|
36187
|
+
}, [_vm._v(" " + _vm._s(new Date(item.upTime).getTime() > _vm.nowTs ? (_vm.langText.launch || "").replace("NNN", item.upTime) : _vm.langText.Offer) + " ")])])])]);
|
|
36188
|
+
})], 2), !_vm.seeMore && _vm.configList.length > 9 ? _c('div', {
|
|
36189
|
+
ref: "seeMoreRef",
|
|
36190
|
+
staticClass: "seeMore",
|
|
36496
36191
|
on: {
|
|
36497
36192
|
"click": function ($event) {
|
|
36498
|
-
|
|
36193
|
+
_vm.seeMore = true;
|
|
36499
36194
|
}
|
|
36500
36195
|
}
|
|
36501
|
-
}, [_c('
|
|
36502
|
-
staticClass: "
|
|
36503
|
-
|
|
36504
|
-
|
|
36505
|
-
|
|
36506
|
-
|
|
36507
|
-
|
|
36196
|
+
}, [_vm._v(" " + _vm._s(_vm.langText.more) + " "), _c('img', {
|
|
36197
|
+
staticClass: "btm",
|
|
36198
|
+
attrs: {
|
|
36199
|
+
"src": _vm.arrowDownImg
|
|
36200
|
+
}
|
|
36201
|
+
}), _c('img', {
|
|
36202
|
+
staticClass: "hover",
|
|
36203
|
+
attrs: {
|
|
36204
|
+
"src": _vm.arrowHoverImg
|
|
36205
|
+
}
|
|
36206
|
+
}), _c('img', {
|
|
36207
|
+
staticClass: "active",
|
|
36208
|
+
attrs: {
|
|
36209
|
+
"src": _vm.arrowActiveImg
|
|
36210
|
+
}
|
|
36211
|
+
})]) : _vm._e()])])]);
|
|
36508
36212
|
};
|
|
36509
36213
|
var staticRenderFns = [];
|
|
36510
36214
|
|
|
36215
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
36216
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
36217
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
|
|
36218
|
+
var es_iterator_filter = __webpack_require__(2489);
|
|
36219
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
36220
|
+
var es_iterator_for_each = __webpack_require__(7588);
|
|
36511
36221
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
36512
|
-
var baseComp = __webpack_require__(
|
|
36513
|
-
// EXTERNAL MODULE: ./src/
|
|
36514
|
-
var
|
|
36515
|
-
|
|
36222
|
+
var baseComp = __webpack_require__(7976);
|
|
36223
|
+
// EXTERNAL MODULE: ./src/api/index.js
|
|
36224
|
+
var api = __webpack_require__(2842);
|
|
36225
|
+
// EXTERNAL MODULE: ./node_modules/qs/lib/index.js
|
|
36226
|
+
var lib = __webpack_require__(7087);
|
|
36227
|
+
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
|
36228
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-stored-value-card/View.vue?vue&type=script&lang=js
|
|
36516
36229
|
|
|
36517
|
-
|
|
36518
|
-
|
|
36230
|
+
|
|
36231
|
+
|
|
36232
|
+
|
|
36233
|
+
|
|
36234
|
+
|
|
36235
|
+
|
|
36236
|
+
|
|
36237
|
+
|
|
36238
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
36239
|
+
name: "cms-stored-value-card",
|
|
36240
|
+
components: {
|
|
36241
|
+
BaseComp: baseComp["default"]
|
|
36242
|
+
},
|
|
36243
|
+
props: {
|
|
36244
|
+
data: {
|
|
36245
|
+
type: Object,
|
|
36246
|
+
default: () => {
|
|
36247
|
+
return {};
|
|
36248
|
+
}
|
|
36249
|
+
},
|
|
36250
|
+
nowCompId: {
|
|
36251
|
+
type: [String, Number],
|
|
36252
|
+
default: ""
|
|
36253
|
+
},
|
|
36254
|
+
isOpcacity: {
|
|
36255
|
+
type: Boolean,
|
|
36256
|
+
default: true
|
|
36257
|
+
},
|
|
36258
|
+
lang: {
|
|
36259
|
+
type: String,
|
|
36260
|
+
default: "zh-HK"
|
|
36261
|
+
}
|
|
36262
|
+
},
|
|
36263
|
+
data() {
|
|
36264
|
+
return {
|
|
36265
|
+
langConfig: {
|
|
36266
|
+
"zh-HK": {
|
|
36267
|
+
productName: "產品名稱",
|
|
36268
|
+
Price: "建議零售價",
|
|
36269
|
+
onlinePrice: "網上優惠價",
|
|
36270
|
+
buyNow: "立即選購",
|
|
36271
|
+
comingSoon: "即將推出",
|
|
36272
|
+
expired: "優惠已過期",
|
|
36273
|
+
more: "查看更多",
|
|
36274
|
+
launch: "NNN 上線",
|
|
36275
|
+
Offer: "優惠即將推出"
|
|
36276
|
+
},
|
|
36277
|
+
"zh-CN": {
|
|
36278
|
+
productName: "产品名称",
|
|
36279
|
+
Price: "建议零售价",
|
|
36280
|
+
onlinePrice: "网上优惠价",
|
|
36281
|
+
buyNow: "立即选购",
|
|
36282
|
+
comingSoon: "即将推出",
|
|
36283
|
+
expired: "优惠已过期",
|
|
36284
|
+
more: "查看更多",
|
|
36285
|
+
launch: "NNN 上线",
|
|
36286
|
+
Offer: "优惠即将推出"
|
|
36287
|
+
},
|
|
36288
|
+
"en-US": {
|
|
36289
|
+
productName: "Product Name",
|
|
36290
|
+
Price: "RRP",
|
|
36291
|
+
onlinePrice: "Online Price",
|
|
36292
|
+
buyNow: "Buy Now",
|
|
36293
|
+
comingSoon: "Coming Soon",
|
|
36294
|
+
expired: "Expired",
|
|
36295
|
+
more: "See more",
|
|
36296
|
+
launch: "Launch at NNN",
|
|
36297
|
+
Offer: "Offer Coming"
|
|
36298
|
+
}
|
|
36299
|
+
},
|
|
36300
|
+
configList: [],
|
|
36301
|
+
seeMore: false,
|
|
36302
|
+
nowTs: Date.now(),
|
|
36303
|
+
compBaseUrl: this.$route.query.envId == 4 ? "https://omniapi.hk.chinamobile.com" : "https://omniapi-uat.hk.chinamobile.com",
|
|
36304
|
+
// images
|
|
36305
|
+
placeholderImg: __webpack_require__(5335),
|
|
36306
|
+
arrowRightImg: __webpack_require__(4860),
|
|
36307
|
+
arrowDownImg: __webpack_require__(1861),
|
|
36308
|
+
arrowHoverImg: __webpack_require__(4116),
|
|
36309
|
+
arrowActiveImg: __webpack_require__(9670),
|
|
36310
|
+
shopList: []
|
|
36311
|
+
};
|
|
36312
|
+
},
|
|
36313
|
+
computed: {
|
|
36314
|
+
langText() {
|
|
36315
|
+
return this.config && this.langConfig && this.langConfig[this.lang] || this.langConfig["zh-HK"];
|
|
36316
|
+
},
|
|
36317
|
+
viewList() {
|
|
36318
|
+
if (this.seeMore) return this.shopList;
|
|
36319
|
+
return this.shopList.slice(0, 9);
|
|
36320
|
+
}
|
|
36321
|
+
},
|
|
36322
|
+
mounted() {
|
|
36323
|
+
if (!this.$EventBus) {
|
|
36324
|
+
if (["https://omniapi.hk.chinamobile.com", "https://www.hk.chinamobile.com"].includes(window.location.origin)) {
|
|
36325
|
+
this.compBaseUrl = "https://omniapi.hk.chinamobile.com";
|
|
36326
|
+
} else {
|
|
36327
|
+
this.compBaseUrl = "https://omniapi-uat.hk.chinamobile.com";
|
|
36328
|
+
}
|
|
36329
|
+
}
|
|
36330
|
+
},
|
|
36331
|
+
beforeDestroy() {},
|
|
36332
|
+
methods: {
|
|
36333
|
+
getConfigData(configData) {
|
|
36334
|
+
this.configList = configData.configList;
|
|
36335
|
+
console.log("getConfigData", this.configList);
|
|
36336
|
+
this.getValue();
|
|
36337
|
+
},
|
|
36338
|
+
async getValue() {
|
|
36339
|
+
await this.getCommodityDetails();
|
|
36340
|
+
},
|
|
36341
|
+
// 拉取已选商品详情
|
|
36342
|
+
async getCommodityDetails() {
|
|
36343
|
+
// try {
|
|
36344
|
+
let req = {
|
|
36345
|
+
busInfo: JSON.stringify({
|
|
36346
|
+
commodityIds: [...this.configList],
|
|
36347
|
+
commodityTypes: ["604", "605"]
|
|
36348
|
+
})
|
|
36349
|
+
};
|
|
36350
|
+
req = lib_default().stringify(req);
|
|
36351
|
+
const json = await (0,api/* getCommodityDetails */.yX)(req, this.lang);
|
|
36352
|
+
let dataResult = json && json.busiResp && json.busiResp.busiDataResp;
|
|
36353
|
+
if (Array.isArray(dataResult)) {
|
|
36354
|
+
dataResult.forEach(item => {
|
|
36355
|
+
if (Array.isArray(item.malltCommodityTags)) {
|
|
36356
|
+
const left = item.malltCommodityTags.filter(ele => ele.tagType == 5001).sort((a, b) => a.sort - b.sort);
|
|
36357
|
+
const right = item.malltCommodityTags.filter(ele => ele.tagType == 5002).sort((a, b) => a.sort - b.sort);
|
|
36358
|
+
item.malltCommodityLeft = left.slice(0, 2);
|
|
36359
|
+
item.malltCommodityRight = right.slice(0, 4);
|
|
36360
|
+
} else {
|
|
36361
|
+
item.malltCommodityLeft = [];
|
|
36362
|
+
item.malltCommodityRight = [];
|
|
36363
|
+
}
|
|
36364
|
+
});
|
|
36365
|
+
// 按选择顺序排序
|
|
36366
|
+
this.shopList = dataResult.sort((a, b) => {
|
|
36367
|
+
return this.configList.indexOf(a.commodityId) - this.configList.indexOf(b.commodityId);
|
|
36368
|
+
});
|
|
36369
|
+
} else {
|
|
36370
|
+
this.shopList = [];
|
|
36371
|
+
}
|
|
36372
|
+
// } catch (e) {
|
|
36373
|
+
// this.shopList = [];
|
|
36374
|
+
// }
|
|
36375
|
+
},
|
|
36376
|
+
isActive(item) {
|
|
36377
|
+
const now = Date.now();
|
|
36378
|
+
return new Date(item.upTime).getTime() < now && new Date(item.downTime).getTime() > now;
|
|
36379
|
+
},
|
|
36380
|
+
isNotActive(item) {
|
|
36381
|
+
const now = Date.now();
|
|
36382
|
+
return new Date(item.upTime).getTime() > now || new Date(item.downTime).getTime() < now;
|
|
36383
|
+
},
|
|
36384
|
+
convertCentsToYuan(cents) {
|
|
36385
|
+
const yuan = (Number(cents || 0) / 100).toFixed(2);
|
|
36386
|
+
return parseFloat(yuan);
|
|
36387
|
+
},
|
|
36388
|
+
goDetail(item) {
|
|
36389
|
+
const base = this.$EventBus ? this.compBaseUrl : window.location.origin;
|
|
36390
|
+
const langMap = {
|
|
36391
|
+
"zh-CN": "sc",
|
|
36392
|
+
"zh-HK": "tc",
|
|
36393
|
+
"en-US": "en"
|
|
36394
|
+
};
|
|
36395
|
+
const routeLang = langMap[this.lang];
|
|
36396
|
+
if (item.commodityType === "604") {
|
|
36397
|
+
if ((item.commodityName || "").includes("MySIM")) {
|
|
36398
|
+
window.parent.location.href = `${base}/${routeLang}/home/prepaid-card/mysim/detail?commodityId=${item.commodityId}&mysim=${item.commodityName}`;
|
|
36399
|
+
} else {
|
|
36400
|
+
window.parent.location.href = `${base}/${routeLang}/home/prepaid-card/detail?commodityId=${item.commodityId}&commodityType=604&commodityName=${item.commodityName}`;
|
|
36401
|
+
}
|
|
36402
|
+
} else if (item.commodityType === "605") {
|
|
36403
|
+
window.parent.location.href = `${base}/${routeLang}/home/prepaid/refill-voucher/detail?commodityId=${item.commodityId}&commodityType=605&commodityName=${item.commodityName}`;
|
|
36404
|
+
}
|
|
36405
|
+
}
|
|
36406
|
+
}
|
|
36407
|
+
});
|
|
36408
|
+
;// ./package/cms-stored-value-card/View.vue?vue&type=script&lang=js
|
|
36409
|
+
/* harmony default export */ var cms_stored_value_card_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
36410
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-42.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-stored-value-card/View.vue?vue&type=style&index=0&id=ae178d02&prod&lang=scss&scoped=true
|
|
36411
|
+
// extracted by mini-css-extract-plugin
|
|
36412
|
+
|
|
36413
|
+
;// ./package/cms-stored-value-card/View.vue?vue&type=style&index=0&id=ae178d02&prod&lang=scss&scoped=true
|
|
36414
|
+
|
|
36415
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
36416
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
36417
|
+
;// ./package/cms-stored-value-card/View.vue
|
|
36418
|
+
|
|
36419
|
+
|
|
36420
|
+
|
|
36421
|
+
;
|
|
36422
|
+
|
|
36423
|
+
|
|
36424
|
+
/* normalize component */
|
|
36425
|
+
|
|
36426
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
36427
|
+
cms_stored_value_card_Viewvue_type_script_lang_js,
|
|
36428
|
+
render,
|
|
36429
|
+
staticRenderFns,
|
|
36430
|
+
false,
|
|
36431
|
+
null,
|
|
36432
|
+
"ae178d02",
|
|
36433
|
+
null
|
|
36434
|
+
|
|
36435
|
+
)
|
|
36436
|
+
|
|
36437
|
+
/* harmony default export */ var View = (component.exports);
|
|
36438
|
+
|
|
36439
|
+
/***/ }),
|
|
36440
|
+
|
|
36441
|
+
/***/ 4581:
|
|
36442
|
+
/***/ (function(module) {
|
|
36443
|
+
|
|
36444
|
+
"use strict";
|
|
36445
|
+
|
|
36446
|
+
|
|
36447
|
+
/**
|
|
36448
|
+
* Determines whether the payload is an error thrown by Axios
|
|
36449
|
+
*
|
|
36450
|
+
* @param {*} payload The value to test
|
|
36451
|
+
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
36452
|
+
*/
|
|
36453
|
+
module.exports = function isAxiosError(payload) {
|
|
36454
|
+
return typeof payload === 'object' && payload.isAxiosError === true;
|
|
36455
|
+
};
|
|
36456
|
+
|
|
36457
|
+
/***/ }),
|
|
36458
|
+
|
|
36459
|
+
/***/ 4598:
|
|
36460
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36461
|
+
|
|
36462
|
+
"use strict";
|
|
36463
|
+
// ESM COMPAT FLAG
|
|
36464
|
+
__webpack_require__.r(__webpack_exports__);
|
|
36465
|
+
|
|
36466
|
+
// EXPORTS
|
|
36467
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
36468
|
+
"default": function() { return /* binding */ View; }
|
|
36469
|
+
});
|
|
36470
|
+
|
|
36471
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleLeft/View.vue?vue&type=template&id=4b2c2122&scoped=true
|
|
36472
|
+
var render = function render() {
|
|
36473
|
+
var _vm = this,
|
|
36474
|
+
_c = _vm._self._c,
|
|
36475
|
+
_setup = _vm._self._setupProxy;
|
|
36476
|
+
return _c(_setup.BaseComp, _vm._b({
|
|
36477
|
+
attrs: {
|
|
36478
|
+
"data": _vm.data,
|
|
36479
|
+
"nowCompId": _vm.nowCompId,
|
|
36480
|
+
"isOpcacity": _vm.isOpcacity,
|
|
36481
|
+
"lang": _vm.lang
|
|
36482
|
+
},
|
|
36483
|
+
on: {
|
|
36484
|
+
"getConfigData": _vm.getConfigData
|
|
36485
|
+
}
|
|
36486
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
36487
|
+
staticClass: "cmhk-home_main"
|
|
36488
|
+
}, [_c('div', {
|
|
36489
|
+
staticClass: "part-header mgb-0 wow animate__fadeInUp"
|
|
36490
|
+
}, [_c('p', {
|
|
36491
|
+
staticClass: "part-header_title"
|
|
36492
|
+
}, [_c('span', {
|
|
36493
|
+
class: ['normal']
|
|
36494
|
+
}, [_vm._v(_vm._s(_vm.configData.title1))])]), _vm.configData.title2 !== '' ? _c('p', {
|
|
36495
|
+
staticClass: "part-header_lf layout-pc"
|
|
36496
|
+
}, [_vm._v(" " + _vm._s(_vm.configData.title2) + " ")]) : _vm._e(), _vm.configData && _vm.configData.link ? _c('span', {
|
|
36497
|
+
staticClass: "part-header_subtitle",
|
|
36498
|
+
on: {
|
|
36499
|
+
"click": function ($event) {
|
|
36500
|
+
return _setup.decodeJumpUrl(_vm.configData.link, _vm.$router);
|
|
36501
|
+
}
|
|
36502
|
+
}
|
|
36503
|
+
}, [_c('span', {
|
|
36504
|
+
staticClass: "vm"
|
|
36505
|
+
}, [_vm._v(_vm._s(_vm.configData.linkText))]), _c('i', {
|
|
36506
|
+
staticClass: "el-icon-arrow-right vm layout-pc"
|
|
36507
|
+
})]) : _vm._e()]), _vm.configData.title2 !== '' ? _c('p', {
|
|
36508
|
+
staticClass: "part-header_lf layout-mobile"
|
|
36509
|
+
}, [_vm._v(" " + _vm._s(_vm.configData.title2) + " ")]) : _vm._e()])]);
|
|
36510
|
+
};
|
|
36511
|
+
var staticRenderFns = [];
|
|
36512
|
+
|
|
36513
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
36514
|
+
var baseComp = __webpack_require__(7976);
|
|
36515
|
+
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
36516
|
+
var jumpUrl = __webpack_require__(4102);
|
|
36517
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleLeft/View.vue?vue&type=script&setup=true&lang=js
|
|
36518
|
+
|
|
36519
|
+
const __default__ = {
|
|
36520
|
+
name: "cms-titleLeft",
|
|
36519
36521
|
components: {
|
|
36520
36522
|
BaseComp: baseComp["default"]
|
|
36521
36523
|
},
|
|
@@ -36927,7 +36929,7 @@ var render = function render() {
|
|
|
36927
36929
|
var staticRenderFns = [];
|
|
36928
36930
|
|
|
36929
36931
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
36930
|
-
var baseComp = __webpack_require__(
|
|
36932
|
+
var baseComp = __webpack_require__(7976);
|
|
36931
36933
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-servePlan-text/View.vue?vue&type=script&lang=js
|
|
36932
36934
|
|
|
36933
36935
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -38248,7 +38250,7 @@ var map = {
|
|
|
38248
38250
|
"./cms-imgFour/View.vue": 1282,
|
|
38249
38251
|
"./cms-lineFive/View.vue": 1716,
|
|
38250
38252
|
"./cms-lineFour/View.vue": 8067,
|
|
38251
|
-
"./cms-lineThree/View.vue":
|
|
38253
|
+
"./cms-lineThree/View.vue": 9603,
|
|
38252
38254
|
"./cms-lineTwo/View.vue": 1183,
|
|
38253
38255
|
"./cms-proCard/View.vue": 8945,
|
|
38254
38256
|
"./cms-prodCustomization/View.vue": 1662,
|
|
@@ -38257,11 +38259,11 @@ var map = {
|
|
|
38257
38259
|
"./cms-richText/View.vue": 5713,
|
|
38258
38260
|
"./cms-servePlan-tab/View.vue": 330,
|
|
38259
38261
|
"./cms-servePlan-text/View.vue": 4726,
|
|
38260
|
-
"./cms-stored-value-card/View.vue":
|
|
38262
|
+
"./cms-stored-value-card/View.vue": 4579,
|
|
38261
38263
|
"./cms-termsAndConditions/View.vue": 7060,
|
|
38262
38264
|
"./cms-text/View.vue": 7326,
|
|
38263
38265
|
"./cms-threeScroll/View.vue": 8687,
|
|
38264
|
-
"./cms-titleCenter/View.vue":
|
|
38266
|
+
"./cms-titleCenter/View.vue": 788,
|
|
38265
38267
|
"./cms-titleLeft/View.vue": 4598,
|
|
38266
38268
|
"./cms-via-storedValueCard/View.vue": 4109,
|
|
38267
38269
|
"./cms-video-group/View.vue": 103,
|
|
@@ -38960,7 +38962,7 @@ var render = function render() {
|
|
|
38960
38962
|
var staticRenderFns = [];
|
|
38961
38963
|
|
|
38962
38964
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
38963
|
-
var baseComp = __webpack_require__(
|
|
38965
|
+
var baseComp = __webpack_require__(7976);
|
|
38964
38966
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-richText/View.vue?vue&type=script&lang=js
|
|
38965
38967
|
|
|
38966
38968
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -39217,7 +39219,7 @@ var es_iterator_constructor = __webpack_require__(8111);
|
|
|
39217
39219
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
39218
39220
|
var es_iterator_for_each = __webpack_require__(7588);
|
|
39219
39221
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
39220
|
-
var baseComp = __webpack_require__(
|
|
39222
|
+
var baseComp = __webpack_require__(7976);
|
|
39221
39223
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-video/View.vue?vue&type=script&lang=js
|
|
39222
39224
|
|
|
39223
39225
|
|
|
@@ -43045,7 +43047,7 @@ var es_iterator_for_each = __webpack_require__(7588);
|
|
|
43045
43047
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
|
|
43046
43048
|
var es_iterator_map = __webpack_require__(1701);
|
|
43047
43049
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
43048
|
-
var baseComp = __webpack_require__(
|
|
43050
|
+
var baseComp = __webpack_require__(7976);
|
|
43049
43051
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-question/View.vue?vue&type=script&lang=js
|
|
43050
43052
|
|
|
43051
43053
|
|
|
@@ -43191,7 +43193,7 @@ var render = function render() {
|
|
|
43191
43193
|
var staticRenderFns = [];
|
|
43192
43194
|
|
|
43193
43195
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
43194
|
-
var baseComp = __webpack_require__(
|
|
43196
|
+
var baseComp = __webpack_require__(7976);
|
|
43195
43197
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-description/View.vue?vue&type=script&lang=js
|
|
43196
43198
|
|
|
43197
43199
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -44881,7 +44883,7 @@ var swiper = __webpack_require__(828);
|
|
|
44881
44883
|
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
44882
44884
|
var swiper_esm_bundle = __webpack_require__(1532);
|
|
44883
44885
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
44884
|
-
var baseComp = __webpack_require__(
|
|
44886
|
+
var baseComp = __webpack_require__(7976);
|
|
44885
44887
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-termsAndConditions/View.vue?vue&type=script&lang=js
|
|
44886
44888
|
|
|
44887
44889
|
|
|
@@ -45070,272 +45072,6 @@ module.exports = {
|
|
|
45070
45072
|
|
|
45071
45073
|
/***/ }),
|
|
45072
45074
|
|
|
45073
|
-
/***/ 7135:
|
|
45074
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
45075
|
-
|
|
45076
|
-
"use strict";
|
|
45077
|
-
// ESM COMPAT FLAG
|
|
45078
|
-
__webpack_require__.r(__webpack_exports__);
|
|
45079
|
-
|
|
45080
|
-
// EXPORTS
|
|
45081
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
45082
|
-
"default": function() { return /* binding */ baseComp; }
|
|
45083
|
-
});
|
|
45084
|
-
|
|
45085
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/baseComp.vue?vue&type=template&id=e19eaa9e&scoped=true
|
|
45086
|
-
var render = function render() {
|
|
45087
|
-
var _vm = this,
|
|
45088
|
-
_c = _vm._self._c;
|
|
45089
|
-
return _vm.$EventBus && _vm.isOpcacity ? _c('div', {
|
|
45090
|
-
key: _vm.data.componentId,
|
|
45091
|
-
class: [_vm.nowCompId !== '' && _vm.nowCompId == _vm.data.componentId ? 'highLight' : ''],
|
|
45092
|
-
style: _vm.showStyleConfig,
|
|
45093
|
-
attrs: {
|
|
45094
|
-
"component-key": _vm.data.cmsCompName
|
|
45095
|
-
},
|
|
45096
|
-
on: {
|
|
45097
|
-
"click": function ($event) {
|
|
45098
|
-
$event.stopPropagation();
|
|
45099
|
-
return _vm.handleNowComp.apply(null, arguments);
|
|
45100
|
-
}
|
|
45101
|
-
}
|
|
45102
|
-
}, [_c('div', {
|
|
45103
|
-
staticClass: "mask-wrap"
|
|
45104
|
-
}, [_vm._t("default", null, {
|
|
45105
|
-
"isMobile": _vm.isMobile
|
|
45106
|
-
}), _vm.isMask ? _c('div', {
|
|
45107
|
-
staticClass: "mask",
|
|
45108
|
-
on: {
|
|
45109
|
-
"click": _vm.handleNowComp
|
|
45110
|
-
}
|
|
45111
|
-
}) : _vm._e()], 2), _vm.nowCompId !== '' && _vm.nowCompId == _vm.data.componentId ? _c('div', {
|
|
45112
|
-
staticClass: "com-delete"
|
|
45113
|
-
}, [_vm.showDel ? _c('i', {
|
|
45114
|
-
staticClass: "el-icon-delete",
|
|
45115
|
-
on: {
|
|
45116
|
-
"click": function ($event) {
|
|
45117
|
-
$event.stopPropagation();
|
|
45118
|
-
return _vm.delComp.apply(null, arguments);
|
|
45119
|
-
}
|
|
45120
|
-
}
|
|
45121
|
-
}) : _vm._e(), _c('i', {
|
|
45122
|
-
staticClass: "el-icon-top",
|
|
45123
|
-
on: {
|
|
45124
|
-
"click": function ($event) {
|
|
45125
|
-
$event.stopPropagation();
|
|
45126
|
-
return _vm.selectParentDom.apply(null, arguments);
|
|
45127
|
-
}
|
|
45128
|
-
}
|
|
45129
|
-
})]) : _vm._e()]) : _vm.showSlot ? _c('div', {
|
|
45130
|
-
key: _vm.data.componentId,
|
|
45131
|
-
ref: "targetElement",
|
|
45132
|
-
style: _vm.showStyleConfig
|
|
45133
|
-
}, [_vm._t("default")], 2) : _vm._e();
|
|
45134
|
-
};
|
|
45135
|
-
var staticRenderFns = [];
|
|
45136
|
-
|
|
45137
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
45138
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
45139
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.reduce.js
|
|
45140
|
-
var es_iterator_reduce = __webpack_require__(8237);
|
|
45141
|
-
// EXTERNAL MODULE: ./package/patch.js
|
|
45142
|
-
var patch = __webpack_require__(4229);
|
|
45143
|
-
// EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
|
|
45144
|
-
var dayjs_min = __webpack_require__(8655);
|
|
45145
|
-
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
|
|
45146
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/baseComp.vue?vue&type=script&lang=js
|
|
45147
|
-
|
|
45148
|
-
|
|
45149
|
-
|
|
45150
|
-
|
|
45151
|
-
// 待办:判断移动pc端填充不同的样式
|
|
45152
|
-
|
|
45153
|
-
|
|
45154
|
-
/* harmony default export */ var baseCompvue_type_script_lang_js = ({
|
|
45155
|
-
name: "baseComp",
|
|
45156
|
-
props: {
|
|
45157
|
-
data: {
|
|
45158
|
-
type: Object,
|
|
45159
|
-
default: () => {
|
|
45160
|
-
return {};
|
|
45161
|
-
}
|
|
45162
|
-
},
|
|
45163
|
-
nowCompId: {
|
|
45164
|
-
type: [String, Number],
|
|
45165
|
-
default: ""
|
|
45166
|
-
},
|
|
45167
|
-
isOpcacity: {
|
|
45168
|
-
type: Boolean,
|
|
45169
|
-
default: true
|
|
45170
|
-
},
|
|
45171
|
-
isMask: {
|
|
45172
|
-
type: Boolean,
|
|
45173
|
-
default: true
|
|
45174
|
-
},
|
|
45175
|
-
lang: {
|
|
45176
|
-
type: String,
|
|
45177
|
-
default: "zh-HK"
|
|
45178
|
-
},
|
|
45179
|
-
timeline: {
|
|
45180
|
-
type: String,
|
|
45181
|
-
default: ""
|
|
45182
|
-
},
|
|
45183
|
-
cmhkChannel: {
|
|
45184
|
-
type: String,
|
|
45185
|
-
default: "WWW"
|
|
45186
|
-
},
|
|
45187
|
-
showDel: {
|
|
45188
|
-
type: Boolean,
|
|
45189
|
-
default: true
|
|
45190
|
-
}
|
|
45191
|
-
},
|
|
45192
|
-
data() {
|
|
45193
|
-
return {
|
|
45194
|
-
styleConfig_mb: {},
|
|
45195
|
-
styleConfig_pc: {},
|
|
45196
|
-
configData: {},
|
|
45197
|
-
elementWidth: 0,
|
|
45198
|
-
resizeObserver: null
|
|
45199
|
-
};
|
|
45200
|
-
},
|
|
45201
|
-
watch: {
|
|
45202
|
-
data: {
|
|
45203
|
-
handler(val) {
|
|
45204
|
-
this.getStyleConfig(val, "pc");
|
|
45205
|
-
this.getStyleConfig(val, "mb");
|
|
45206
|
-
this.getValue(this.lang);
|
|
45207
|
-
},
|
|
45208
|
-
deep: true,
|
|
45209
|
-
immediate: true
|
|
45210
|
-
},
|
|
45211
|
-
lang: {
|
|
45212
|
-
handler(val) {
|
|
45213
|
-
this.getValue(val);
|
|
45214
|
-
},
|
|
45215
|
-
deep: true,
|
|
45216
|
-
immediate: true
|
|
45217
|
-
}
|
|
45218
|
-
},
|
|
45219
|
-
mounted() {
|
|
45220
|
-
if (this.$EventBus && this.isOpcacity) {
|
|
45221
|
-
this.elementWidth = 800;
|
|
45222
|
-
this.$EventBus.$on("handleDeviceChange", isMobile => {
|
|
45223
|
-
this.elementWidth = isMobile ? 700 : 800;
|
|
45224
|
-
});
|
|
45225
|
-
} else if (this.showSlot) {
|
|
45226
|
-
this.resizeObserver = new ResizeObserver(entries => {
|
|
45227
|
-
for (let entry of entries) {
|
|
45228
|
-
this.elementWidth = entry.contentRect.width;
|
|
45229
|
-
// 可以在这里触发自定义逻辑
|
|
45230
|
-
// this.onWidthChange(this.elementWidth);
|
|
45231
|
-
}
|
|
45232
|
-
});
|
|
45233
|
-
const element = document.getElementById("app") || document.getElementById("__nuxt");
|
|
45234
|
-
this.resizeObserver.observe(element);
|
|
45235
|
-
}
|
|
45236
|
-
},
|
|
45237
|
-
beforeDestroy() {
|
|
45238
|
-
// 组件销毁时停止观察
|
|
45239
|
-
if (this.resizeObserver) {
|
|
45240
|
-
this.resizeObserver.disconnect();
|
|
45241
|
-
}
|
|
45242
|
-
},
|
|
45243
|
-
methods: {
|
|
45244
|
-
selectParentDom() {
|
|
45245
|
-
if (!this.isOpcacity) return;
|
|
45246
|
-
this.$EventBus.$emit("handleParentComp", this.data);
|
|
45247
|
-
},
|
|
45248
|
-
onWidthChange(newWidth) {
|
|
45249
|
-
console.log("新宽度:", newWidth, this.isMobile);
|
|
45250
|
-
},
|
|
45251
|
-
getValue(cur_lang) {
|
|
45252
|
-
var _this$data, _this$data$settings;
|
|
45253
|
-
const obj = {
|
|
45254
|
-
"zh-CN": "lang_sc",
|
|
45255
|
-
"zh-HK": "lang_tc",
|
|
45256
|
-
"en-US": "lang_en"
|
|
45257
|
-
};
|
|
45258
|
-
if ((_this$data = this.data) !== null && _this$data !== void 0 && (_this$data$settings = _this$data.settings) !== null && _this$data$settings !== void 0 && _this$data$settings.settings) {
|
|
45259
|
-
const baseInfo = (0,patch.transfor)(this.data);
|
|
45260
|
-
this.configData = baseInfo.contentConfig.lang_all ? baseInfo.contentConfig.lang_all : baseInfo.contentConfig[`${obj[cur_lang]}`];
|
|
45261
|
-
} else {
|
|
45262
|
-
this.configData = this.data.contentConfig.lang_all ? this.data.contentConfig.lang_all : this.data.contentConfig[`${obj[cur_lang]}`];
|
|
45263
|
-
}
|
|
45264
|
-
this.$emit("getConfigData", this.configData);
|
|
45265
|
-
},
|
|
45266
|
-
getStyleConfig(data, type) {
|
|
45267
|
-
this[`styleConfig_${type}`] = data.styleConfig[type].reduce((pre, cur) => {
|
|
45268
|
-
pre[cur.key] = cur.value + cur.unit;
|
|
45269
|
-
return pre;
|
|
45270
|
-
}, {});
|
|
45271
|
-
},
|
|
45272
|
-
handleNowComp() {
|
|
45273
|
-
if (!this.isOpcacity) return;
|
|
45274
|
-
this.$EventBus.$emit("handleNowComp", this.data);
|
|
45275
|
-
},
|
|
45276
|
-
delComp() {
|
|
45277
|
-
this.$EventBus.$emit("handleDeleteComp", this.data.componentId);
|
|
45278
|
-
}
|
|
45279
|
-
},
|
|
45280
|
-
computed: {
|
|
45281
|
-
showStyleConfig() {
|
|
45282
|
-
if (!this.elementWidth) return {};
|
|
45283
|
-
return this.isMobile ? this.styleConfig_mb : this.styleConfig_pc;
|
|
45284
|
-
},
|
|
45285
|
-
isMobile() {
|
|
45286
|
-
return this.elementWidth < 760;
|
|
45287
|
-
},
|
|
45288
|
-
showSlot() {
|
|
45289
|
-
if (this.$EventBus && this.isOpcacity) return false;
|
|
45290
|
-
const {
|
|
45291
|
-
cmhkChannelConfList = [],
|
|
45292
|
-
startTime = "",
|
|
45293
|
-
endTime = ""
|
|
45294
|
-
} = this.data.baseConfig;
|
|
45295
|
-
console.log("this.cmhkChannel", this.cmhkChannel, this.data.baseConfig);
|
|
45296
|
-
const channelVisable = cmhkChannelConfList.includes("ALL") || cmhkChannelConfList.includes(this.cmhkChannel);
|
|
45297
|
-
if (!channelVisable) return false;
|
|
45298
|
-
if (!startTime && !endTime) return true;
|
|
45299
|
-
const currentTime = this.timeline ? dayjs_min_default()(this.timeline) : dayjs_min_default()();
|
|
45300
|
-
const isStart = startTime ? dayjs_min_default()(currentTime).isAfter(dayjs_min_default()(startTime)) || dayjs_min_default()(currentTime).isSame(dayjs_min_default()(startTime)) : true;
|
|
45301
|
-
const isEnd = endTime ? dayjs_min_default()(currentTime).isBefore(dayjs_min_default()(endTime)) || dayjs_min_default()(currentTime).isSame(dayjs_min_default()(endTime)) : true;
|
|
45302
|
-
return isStart && isEnd;
|
|
45303
|
-
}
|
|
45304
|
-
}
|
|
45305
|
-
});
|
|
45306
|
-
;// ./package/baseComp.vue?vue&type=script&lang=js
|
|
45307
|
-
/* harmony default export */ var package_baseCompvue_type_script_lang_js = (baseCompvue_type_script_lang_js);
|
|
45308
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-42.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/baseComp.vue?vue&type=style&index=0&id=e19eaa9e&prod&lang=scss&scoped=true
|
|
45309
|
-
// extracted by mini-css-extract-plugin
|
|
45310
|
-
|
|
45311
|
-
;// ./package/baseComp.vue?vue&type=style&index=0&id=e19eaa9e&prod&lang=scss&scoped=true
|
|
45312
|
-
|
|
45313
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
45314
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
45315
|
-
;// ./package/baseComp.vue
|
|
45316
|
-
|
|
45317
|
-
|
|
45318
|
-
|
|
45319
|
-
;
|
|
45320
|
-
|
|
45321
|
-
|
|
45322
|
-
/* normalize component */
|
|
45323
|
-
|
|
45324
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
45325
|
-
package_baseCompvue_type_script_lang_js,
|
|
45326
|
-
render,
|
|
45327
|
-
staticRenderFns,
|
|
45328
|
-
false,
|
|
45329
|
-
null,
|
|
45330
|
-
"e19eaa9e",
|
|
45331
|
-
null
|
|
45332
|
-
|
|
45333
|
-
)
|
|
45334
|
-
|
|
45335
|
-
/* harmony default export */ var baseComp = (component.exports);
|
|
45336
|
-
|
|
45337
|
-
/***/ }),
|
|
45338
|
-
|
|
45339
45075
|
/***/ 7210:
|
|
45340
45076
|
/***/ (function(module) {
|
|
45341
45077
|
|
|
@@ -45931,7 +45667,7 @@ var render = function render() {
|
|
|
45931
45667
|
var staticRenderFns = [];
|
|
45932
45668
|
|
|
45933
45669
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
45934
|
-
var baseComp = __webpack_require__(
|
|
45670
|
+
var baseComp = __webpack_require__(7976);
|
|
45935
45671
|
// EXTERNAL MODULE: ./package/patch.js
|
|
45936
45672
|
var patch = __webpack_require__(4229);
|
|
45937
45673
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-dynamic-comp/View.vue?vue&type=script&lang=js
|
|
@@ -46117,7 +45853,7 @@ var es_iterator_filter = __webpack_require__(2489);
|
|
|
46117
45853
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
46118
45854
|
var es_iterator_for_each = __webpack_require__(7588);
|
|
46119
45855
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
46120
|
-
var baseComp = __webpack_require__(
|
|
45856
|
+
var baseComp = __webpack_require__(7976);
|
|
46121
45857
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-text/View.vue?vue&type=script&lang=js
|
|
46122
45858
|
|
|
46123
45859
|
|
|
@@ -46716,7 +46452,7 @@ var swiper = __webpack_require__(828);
|
|
|
46716
46452
|
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
46717
46453
|
var swiper_esm_bundle = __webpack_require__(1532);
|
|
46718
46454
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
46719
|
-
var baseComp = __webpack_require__(
|
|
46455
|
+
var baseComp = __webpack_require__(7976);
|
|
46720
46456
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-aLineThreeLeftOne/View.vue?vue&type=script&lang=js
|
|
46721
46457
|
|
|
46722
46458
|
|
|
@@ -46946,7 +46682,7 @@ var render = function render() {
|
|
|
46946
46682
|
var staticRenderFns = [];
|
|
46947
46683
|
|
|
46948
46684
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
46949
|
-
var baseComp = __webpack_require__(
|
|
46685
|
+
var baseComp = __webpack_require__(7976);
|
|
46950
46686
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-image-group/View.vue?vue&type=script&lang=js
|
|
46951
46687
|
|
|
46952
46688
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -47463,7 +47199,7 @@ var swiper_esm_bundle = __webpack_require__(1532);
|
|
|
47463
47199
|
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
47464
47200
|
var jumpUrl = __webpack_require__(4102);
|
|
47465
47201
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
47466
|
-
var baseComp = __webpack_require__(
|
|
47202
|
+
var baseComp = __webpack_require__(7976);
|
|
47467
47203
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-banner/View.vue?vue&type=script&lang=js
|
|
47468
47204
|
|
|
47469
47205
|
|
|
@@ -47770,7 +47506,7 @@ var render = function render() {
|
|
|
47770
47506
|
var staticRenderFns = [];
|
|
47771
47507
|
|
|
47772
47508
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
47773
|
-
var baseComp = __webpack_require__(
|
|
47509
|
+
var baseComp = __webpack_require__(7976);
|
|
47774
47510
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-productDetails/View.vue?vue&type=script&lang=js
|
|
47775
47511
|
|
|
47776
47512
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -47877,229 +47613,6 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
47877
47613
|
module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
47878
47614
|
|
|
47879
47615
|
|
|
47880
|
-
/***/ }),
|
|
47881
|
-
|
|
47882
|
-
/***/ 7865:
|
|
47883
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
47884
|
-
|
|
47885
|
-
"use strict";
|
|
47886
|
-
// ESM COMPAT FLAG
|
|
47887
|
-
__webpack_require__.r(__webpack_exports__);
|
|
47888
|
-
|
|
47889
|
-
// EXPORTS
|
|
47890
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
47891
|
-
"default": function() { return /* binding */ View; }
|
|
47892
|
-
});
|
|
47893
|
-
|
|
47894
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineThree/View.vue?vue&type=template&id=53c1f504&scoped=true
|
|
47895
|
-
var render = function render() {
|
|
47896
|
-
var _vm = this,
|
|
47897
|
-
_c = _vm._self._c,
|
|
47898
|
-
_setup = _vm._self._setupProxy;
|
|
47899
|
-
return _c(_setup.BaseComp, _vm._b({
|
|
47900
|
-
attrs: {
|
|
47901
|
-
"data": _vm.data,
|
|
47902
|
-
"nowCompId": _vm.nowCompId,
|
|
47903
|
-
"isOpcacity": _vm.isOpcacity,
|
|
47904
|
-
"lang": _vm.lang
|
|
47905
|
-
},
|
|
47906
|
-
on: {
|
|
47907
|
-
"getConfigData": _vm.getConfigData
|
|
47908
|
-
}
|
|
47909
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
47910
|
-
staticClass: "cmhk-home_main"
|
|
47911
|
-
}, [_c('div', {
|
|
47912
|
-
staticClass: "corp-static_wrapper"
|
|
47913
|
-
}, [_c('div', {
|
|
47914
|
-
staticClass: "corp-static_scene_container"
|
|
47915
|
-
}, [_c('ul', {
|
|
47916
|
-
staticClass: "clearfix"
|
|
47917
|
-
}, _vm._l(_vm.configList, function (item, index) {
|
|
47918
|
-
return _c('li', {
|
|
47919
|
-
key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
|
|
47920
|
-
on: {
|
|
47921
|
-
"click": function ($event) {
|
|
47922
|
-
return _setup.decodeJumpUrl(item === null || item === void 0 ? void 0 : item.jumpUrl, _vm.$router);
|
|
47923
|
-
}
|
|
47924
|
-
}
|
|
47925
|
-
}, [_c('div', {
|
|
47926
|
-
staticClass: "card-shadow"
|
|
47927
|
-
}, [_c('div', {
|
|
47928
|
-
staticClass: "image-desbox_wapper"
|
|
47929
|
-
}, [_c('img', {
|
|
47930
|
-
staticClass: "scene-image",
|
|
47931
|
-
attrs: {
|
|
47932
|
-
"src": _setup.isMobileHook ? item === null || item === void 0 ? void 0 : item.uploadImageH5 : item === null || item === void 0 ? void 0 : item.uploadImagePC,
|
|
47933
|
-
"alt": item === null || item === void 0 ? void 0 : item.imagePcATL
|
|
47934
|
-
}
|
|
47935
|
-
})]), _c('div', {
|
|
47936
|
-
staticClass: "corp-static_scene_content"
|
|
47937
|
-
}, [_c('p', {
|
|
47938
|
-
staticClass: "title"
|
|
47939
|
-
}, [_vm._v(_vm._s(item.input1))]), _c('p', {
|
|
47940
|
-
staticClass: "des",
|
|
47941
|
-
class: _vm.panelFold ? 'des-more' : ''
|
|
47942
|
-
}, [_vm._v(" " + _vm._s(item === null || item === void 0 ? void 0 : item.input2) + " ")]), _vm.$i18n.locale == 'zh-CN' && (item === null || item === void 0 ? void 0 : item.input2.length) > 66 ? _c('div', {
|
|
47943
|
-
staticClass: "crad-more",
|
|
47944
|
-
on: {
|
|
47945
|
-
"click": function ($event) {
|
|
47946
|
-
$event.stopPropagation();
|
|
47947
|
-
_vm.panelFold = !_vm.panelFold;
|
|
47948
|
-
}
|
|
47949
|
-
}
|
|
47950
|
-
}, [_c('span', {
|
|
47951
|
-
directives: [{
|
|
47952
|
-
name: "show",
|
|
47953
|
-
rawName: "v-show",
|
|
47954
|
-
value: _vm.$i18n.locale == 'zh-CN',
|
|
47955
|
-
expression: "$i18n.locale == 'zh-CN'"
|
|
47956
|
-
}]
|
|
47957
|
-
}, [_vm._v(_vm._s(_vm.panelFold ? "收起" : "展开")), _c('i', {
|
|
47958
|
-
class: _vm.panelFold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'
|
|
47959
|
-
})])]) : _vm._e(), _vm.$i18n.locale == 'zh-HK' && (item === null || item === void 0 ? void 0 : item.input2.length) > 66 ? _c('div', {
|
|
47960
|
-
staticClass: "crad-more",
|
|
47961
|
-
on: {
|
|
47962
|
-
"click": function ($event) {
|
|
47963
|
-
$event.stopPropagation();
|
|
47964
|
-
_vm.panelFold = !_vm.panelFold;
|
|
47965
|
-
}
|
|
47966
|
-
}
|
|
47967
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.panelFold ? "收起" : "展開")), _c('i', {
|
|
47968
|
-
class: _vm.panelFold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'
|
|
47969
|
-
})])]) : _vm._e(), _vm.$i18n.locale == 'en-US' && (item === null || item === void 0 ? void 0 : item.input2.length) > 132 ? _c('div', {
|
|
47970
|
-
staticClass: "crad-more",
|
|
47971
|
-
on: {
|
|
47972
|
-
"click": function ($event) {
|
|
47973
|
-
$event.stopPropagation();
|
|
47974
|
-
_vm.panelFold = !_vm.panelFold;
|
|
47975
|
-
}
|
|
47976
|
-
}
|
|
47977
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.panelFold ? "Collpase" : "Expand")), _c('i', {
|
|
47978
|
-
class: _vm.panelFold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'
|
|
47979
|
-
})])]) : _vm._e()])])]);
|
|
47980
|
-
}), 0)])])])]);
|
|
47981
|
-
};
|
|
47982
|
-
var staticRenderFns = [];
|
|
47983
|
-
|
|
47984
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
47985
|
-
var baseComp = __webpack_require__(7135);
|
|
47986
|
-
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
47987
|
-
var jumpUrl = __webpack_require__(4102);
|
|
47988
|
-
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
|
|
47989
|
-
var vue_runtime_esm = __webpack_require__(3562);
|
|
47990
|
-
;// ./src/utils/useMobileEffect.js
|
|
47991
|
-
|
|
47992
|
-
const isMobileHook = (0,vue_runtime_esm.ref)(false);
|
|
47993
|
-
const resize = () => {
|
|
47994
|
-
let bodyW = 0;
|
|
47995
|
-
if (document.body) {
|
|
47996
|
-
bodyW = document.body.scrollWidth || document.body.clientWidth;
|
|
47997
|
-
}
|
|
47998
|
-
if (bodyW < 800) {
|
|
47999
|
-
isMobileHook.value = true;
|
|
48000
|
-
} else {
|
|
48001
|
-
isMobileHook.value = false;
|
|
48002
|
-
}
|
|
48003
|
-
};
|
|
48004
|
-
/* harmony default export */ function useMobileEffect() {
|
|
48005
|
-
(0,vue_runtime_esm.onMounted)(() => {
|
|
48006
|
-
resize();
|
|
48007
|
-
window.addEventListener('resize', resize);
|
|
48008
|
-
});
|
|
48009
|
-
(0,vue_runtime_esm.onUnmounted)(() => {
|
|
48010
|
-
window.removeEventListener('resize', resize);
|
|
48011
|
-
});
|
|
48012
|
-
return {
|
|
48013
|
-
isMobileHook
|
|
48014
|
-
};
|
|
48015
|
-
}
|
|
48016
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineThree/View.vue?vue&type=script&setup=true&lang=js
|
|
48017
|
-
|
|
48018
|
-
const __default__ = {
|
|
48019
|
-
name: "cms-lineThree",
|
|
48020
|
-
components: {
|
|
48021
|
-
BaseComp: baseComp["default"]
|
|
48022
|
-
},
|
|
48023
|
-
props: {
|
|
48024
|
-
data: {
|
|
48025
|
-
type: Object,
|
|
48026
|
-
default: () => {
|
|
48027
|
-
return {};
|
|
48028
|
-
}
|
|
48029
|
-
},
|
|
48030
|
-
nowCompId: {
|
|
48031
|
-
type: [String, Number],
|
|
48032
|
-
default: ""
|
|
48033
|
-
},
|
|
48034
|
-
isOpcacity: {
|
|
48035
|
-
type: Boolean,
|
|
48036
|
-
default: true
|
|
48037
|
-
},
|
|
48038
|
-
lang: {
|
|
48039
|
-
type: String,
|
|
48040
|
-
default: "zh-HK"
|
|
48041
|
-
}
|
|
48042
|
-
},
|
|
48043
|
-
data() {
|
|
48044
|
-
return {
|
|
48045
|
-
configList: [],
|
|
48046
|
-
panelFold: false
|
|
48047
|
-
};
|
|
48048
|
-
},
|
|
48049
|
-
mounted() {},
|
|
48050
|
-
watch: {},
|
|
48051
|
-
methods: {
|
|
48052
|
-
getConfigData(configData) {
|
|
48053
|
-
this.configList = configData.configList;
|
|
48054
|
-
}
|
|
48055
|
-
}
|
|
48056
|
-
};
|
|
48057
|
-
|
|
48058
|
-
|
|
48059
|
-
/* harmony default export */ var Viewvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
48060
|
-
setup(__props) {
|
|
48061
|
-
const {
|
|
48062
|
-
isMobileHook
|
|
48063
|
-
} = useMobileEffect();
|
|
48064
|
-
return {
|
|
48065
|
-
__sfc: true,
|
|
48066
|
-
isMobileHook,
|
|
48067
|
-
BaseComp: baseComp["default"],
|
|
48068
|
-
decodeJumpUrl: jumpUrl/* decodeJumpUrl */.u
|
|
48069
|
-
};
|
|
48070
|
-
}
|
|
48071
|
-
}));
|
|
48072
|
-
;// ./package/cms-lineThree/View.vue?vue&type=script&setup=true&lang=js
|
|
48073
|
-
/* harmony default export */ var cms_lineThree_Viewvue_type_script_setup_true_lang_js = (Viewvue_type_script_setup_true_lang_js);
|
|
48074
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-42.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineThree/View.vue?vue&type=style&index=0&id=53c1f504&prod&lang=scss&scoped=true
|
|
48075
|
-
// extracted by mini-css-extract-plugin
|
|
48076
|
-
|
|
48077
|
-
;// ./package/cms-lineThree/View.vue?vue&type=style&index=0&id=53c1f504&prod&lang=scss&scoped=true
|
|
48078
|
-
|
|
48079
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
48080
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
48081
|
-
;// ./package/cms-lineThree/View.vue
|
|
48082
|
-
|
|
48083
|
-
|
|
48084
|
-
|
|
48085
|
-
;
|
|
48086
|
-
|
|
48087
|
-
|
|
48088
|
-
/* normalize component */
|
|
48089
|
-
|
|
48090
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
48091
|
-
cms_lineThree_Viewvue_type_script_setup_true_lang_js,
|
|
48092
|
-
render,
|
|
48093
|
-
staticRenderFns,
|
|
48094
|
-
false,
|
|
48095
|
-
null,
|
|
48096
|
-
"53c1f504",
|
|
48097
|
-
null
|
|
48098
|
-
|
|
48099
|
-
)
|
|
48100
|
-
|
|
48101
|
-
/* harmony default export */ var View = (component.exports);
|
|
48102
|
-
|
|
48103
47616
|
/***/ }),
|
|
48104
47617
|
|
|
48105
47618
|
/***/ 7891:
|
|
@@ -48109,17 +47622,21 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
48109
47622
|
__webpack_require__.r(__webpack_exports__);
|
|
48110
47623
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
48111
47624
|
|
|
48112
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
47625
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 788));
|
|
48113
47626
|
const langData = {
|
|
48114
47627
|
title1: "标题",
|
|
48115
47628
|
title2: "副标题"
|
|
48116
47629
|
};
|
|
48117
47630
|
const configDataType = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getLangDataType)(langData, {
|
|
48118
47631
|
title1: {
|
|
48119
|
-
label: "标题"
|
|
47632
|
+
label: "标题",
|
|
47633
|
+
widgetType: "el-input",
|
|
47634
|
+
type: "textarea"
|
|
48120
47635
|
},
|
|
48121
47636
|
title2: {
|
|
48122
|
-
label: "副标题"
|
|
47637
|
+
label: "副标题",
|
|
47638
|
+
widgetType: "el-input",
|
|
47639
|
+
type: "textarea"
|
|
48123
47640
|
}
|
|
48124
47641
|
});
|
|
48125
47642
|
const validateSchema = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getValidateSchema)(langData);
|
|
@@ -48314,6 +47831,274 @@ if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
|
|
|
48314
47831
|
});
|
|
48315
47832
|
|
|
48316
47833
|
|
|
47834
|
+
/***/ }),
|
|
47835
|
+
|
|
47836
|
+
/***/ 7976:
|
|
47837
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
47838
|
+
|
|
47839
|
+
"use strict";
|
|
47840
|
+
// ESM COMPAT FLAG
|
|
47841
|
+
__webpack_require__.r(__webpack_exports__);
|
|
47842
|
+
|
|
47843
|
+
// EXPORTS
|
|
47844
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
47845
|
+
"default": function() { return /* binding */ baseComp; }
|
|
47846
|
+
});
|
|
47847
|
+
|
|
47848
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/baseComp.vue?vue&type=template&id=23d28f12&scoped=true
|
|
47849
|
+
var render = function render() {
|
|
47850
|
+
var _vm = this,
|
|
47851
|
+
_c = _vm._self._c;
|
|
47852
|
+
return _vm.$EventBus && _vm.isOpcacity ? _c('div', {
|
|
47853
|
+
key: _vm.data.componentId,
|
|
47854
|
+
class: [_vm.nowCompId !== '' && _vm.nowCompId == _vm.data.componentId ? 'highLight' : ''],
|
|
47855
|
+
style: _vm.showStyleConfig,
|
|
47856
|
+
attrs: {
|
|
47857
|
+
"component-key": _vm.data.cmsCompName
|
|
47858
|
+
},
|
|
47859
|
+
on: {
|
|
47860
|
+
"click": function ($event) {
|
|
47861
|
+
$event.stopPropagation();
|
|
47862
|
+
return _vm.handleNowComp.apply(null, arguments);
|
|
47863
|
+
}
|
|
47864
|
+
}
|
|
47865
|
+
}, [_c('div', {
|
|
47866
|
+
staticClass: "mask-wrap"
|
|
47867
|
+
}, [_vm._t("default", null, {
|
|
47868
|
+
"isMobile": _vm.isMobile
|
|
47869
|
+
}), _vm.isMask ? _c('div', {
|
|
47870
|
+
staticClass: "mask",
|
|
47871
|
+
on: {
|
|
47872
|
+
"click": _vm.handleNowComp
|
|
47873
|
+
}
|
|
47874
|
+
}) : _vm._e()], 2), _vm.nowCompId !== '' && _vm.nowCompId == _vm.data.componentId ? _c('div', {
|
|
47875
|
+
staticClass: "com-delete"
|
|
47876
|
+
}, [_vm.showDel ? _c('i', {
|
|
47877
|
+
staticClass: "el-icon-delete",
|
|
47878
|
+
on: {
|
|
47879
|
+
"click": function ($event) {
|
|
47880
|
+
$event.stopPropagation();
|
|
47881
|
+
return _vm.delComp.apply(null, arguments);
|
|
47882
|
+
}
|
|
47883
|
+
}
|
|
47884
|
+
}) : _vm._e(), _c('i', {
|
|
47885
|
+
staticClass: "el-icon-top",
|
|
47886
|
+
on: {
|
|
47887
|
+
"click": function ($event) {
|
|
47888
|
+
$event.stopPropagation();
|
|
47889
|
+
return _vm.selectParentDom.apply(null, arguments);
|
|
47890
|
+
}
|
|
47891
|
+
}
|
|
47892
|
+
})]) : _vm._e()]) : _vm.showSlot ? _c('div', {
|
|
47893
|
+
key: _vm.data.componentId,
|
|
47894
|
+
ref: "targetElement",
|
|
47895
|
+
style: _vm.showStyleConfig
|
|
47896
|
+
}, [_vm._t("default", null, {
|
|
47897
|
+
"isMobile": _vm.isMobile
|
|
47898
|
+
})], 2) : _vm._e();
|
|
47899
|
+
};
|
|
47900
|
+
var staticRenderFns = [];
|
|
47901
|
+
|
|
47902
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
47903
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
47904
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.reduce.js
|
|
47905
|
+
var es_iterator_reduce = __webpack_require__(8237);
|
|
47906
|
+
// EXTERNAL MODULE: ./package/patch.js
|
|
47907
|
+
var patch = __webpack_require__(4229);
|
|
47908
|
+
// EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
|
|
47909
|
+
var dayjs_min = __webpack_require__(8655);
|
|
47910
|
+
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
|
|
47911
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/baseComp.vue?vue&type=script&lang=js
|
|
47912
|
+
|
|
47913
|
+
|
|
47914
|
+
|
|
47915
|
+
|
|
47916
|
+
// 待办:判断移动pc端填充不同的样式
|
|
47917
|
+
|
|
47918
|
+
|
|
47919
|
+
/* harmony default export */ var baseCompvue_type_script_lang_js = ({
|
|
47920
|
+
name: "baseComp",
|
|
47921
|
+
props: {
|
|
47922
|
+
data: {
|
|
47923
|
+
type: Object,
|
|
47924
|
+
default: () => {
|
|
47925
|
+
return {};
|
|
47926
|
+
}
|
|
47927
|
+
},
|
|
47928
|
+
nowCompId: {
|
|
47929
|
+
type: [String, Number],
|
|
47930
|
+
default: ""
|
|
47931
|
+
},
|
|
47932
|
+
isOpcacity: {
|
|
47933
|
+
type: Boolean,
|
|
47934
|
+
default: true
|
|
47935
|
+
},
|
|
47936
|
+
isMask: {
|
|
47937
|
+
type: Boolean,
|
|
47938
|
+
default: true
|
|
47939
|
+
},
|
|
47940
|
+
lang: {
|
|
47941
|
+
type: String,
|
|
47942
|
+
default: "zh-HK"
|
|
47943
|
+
},
|
|
47944
|
+
timeline: {
|
|
47945
|
+
type: String,
|
|
47946
|
+
default: ""
|
|
47947
|
+
},
|
|
47948
|
+
cmhkChannel: {
|
|
47949
|
+
type: String,
|
|
47950
|
+
default: "WWW"
|
|
47951
|
+
},
|
|
47952
|
+
showDel: {
|
|
47953
|
+
type: Boolean,
|
|
47954
|
+
default: true
|
|
47955
|
+
}
|
|
47956
|
+
},
|
|
47957
|
+
data() {
|
|
47958
|
+
return {
|
|
47959
|
+
styleConfig_mb: {},
|
|
47960
|
+
styleConfig_pc: {},
|
|
47961
|
+
configData: {},
|
|
47962
|
+
elementWidth: 0,
|
|
47963
|
+
resizeObserver: null
|
|
47964
|
+
};
|
|
47965
|
+
},
|
|
47966
|
+
watch: {
|
|
47967
|
+
data: {
|
|
47968
|
+
handler(val) {
|
|
47969
|
+
this.getStyleConfig(val, "pc");
|
|
47970
|
+
this.getStyleConfig(val, "mb");
|
|
47971
|
+
this.getValue(this.lang);
|
|
47972
|
+
},
|
|
47973
|
+
deep: true,
|
|
47974
|
+
immediate: true
|
|
47975
|
+
},
|
|
47976
|
+
lang: {
|
|
47977
|
+
handler(val) {
|
|
47978
|
+
this.getValue(val);
|
|
47979
|
+
},
|
|
47980
|
+
deep: true,
|
|
47981
|
+
immediate: true
|
|
47982
|
+
}
|
|
47983
|
+
},
|
|
47984
|
+
mounted() {
|
|
47985
|
+
if (this.$EventBus && this.isOpcacity) {
|
|
47986
|
+
this.elementWidth = 800;
|
|
47987
|
+
this.$EventBus.$on("handleDeviceChange", isMobile => {
|
|
47988
|
+
this.elementWidth = isMobile ? 700 : 800;
|
|
47989
|
+
});
|
|
47990
|
+
} else if (this.showSlot) {
|
|
47991
|
+
this.resizeObserver = new ResizeObserver(entries => {
|
|
47992
|
+
for (let entry of entries) {
|
|
47993
|
+
this.elementWidth = entry.contentRect.width;
|
|
47994
|
+
// 可以在这里触发自定义逻辑
|
|
47995
|
+
// this.onWidthChange(this.elementWidth);
|
|
47996
|
+
}
|
|
47997
|
+
});
|
|
47998
|
+
const element = document.getElementById("app") || document.getElementById("__nuxt");
|
|
47999
|
+
this.resizeObserver.observe(element);
|
|
48000
|
+
}
|
|
48001
|
+
},
|
|
48002
|
+
beforeDestroy() {
|
|
48003
|
+
// 组件销毁时停止观察
|
|
48004
|
+
if (this.resizeObserver) {
|
|
48005
|
+
this.resizeObserver.disconnect();
|
|
48006
|
+
}
|
|
48007
|
+
},
|
|
48008
|
+
methods: {
|
|
48009
|
+
selectParentDom() {
|
|
48010
|
+
if (!this.isOpcacity) return;
|
|
48011
|
+
this.$EventBus.$emit("handleParentComp", this.data);
|
|
48012
|
+
},
|
|
48013
|
+
onWidthChange(newWidth) {
|
|
48014
|
+
console.log("新宽度:", newWidth, this.isMobile);
|
|
48015
|
+
},
|
|
48016
|
+
getValue(cur_lang) {
|
|
48017
|
+
var _this$data, _this$data$settings;
|
|
48018
|
+
const obj = {
|
|
48019
|
+
"zh-CN": "lang_sc",
|
|
48020
|
+
"zh-HK": "lang_tc",
|
|
48021
|
+
"en-US": "lang_en"
|
|
48022
|
+
};
|
|
48023
|
+
if ((_this$data = this.data) !== null && _this$data !== void 0 && (_this$data$settings = _this$data.settings) !== null && _this$data$settings !== void 0 && _this$data$settings.settings) {
|
|
48024
|
+
const baseInfo = (0,patch.transfor)(this.data);
|
|
48025
|
+
this.configData = baseInfo.contentConfig.lang_all ? baseInfo.contentConfig.lang_all : baseInfo.contentConfig[`${obj[cur_lang]}`];
|
|
48026
|
+
} else {
|
|
48027
|
+
this.configData = this.data.contentConfig.lang_all ? this.data.contentConfig.lang_all : this.data.contentConfig[`${obj[cur_lang]}`];
|
|
48028
|
+
}
|
|
48029
|
+
this.$emit("getConfigData", this.configData);
|
|
48030
|
+
},
|
|
48031
|
+
getStyleConfig(data, type) {
|
|
48032
|
+
this[`styleConfig_${type}`] = data.styleConfig[type].reduce((pre, cur) => {
|
|
48033
|
+
pre[cur.key] = cur.value + cur.unit;
|
|
48034
|
+
return pre;
|
|
48035
|
+
}, {});
|
|
48036
|
+
},
|
|
48037
|
+
handleNowComp() {
|
|
48038
|
+
if (!this.isOpcacity) return;
|
|
48039
|
+
this.$EventBus.$emit("handleNowComp", this.data);
|
|
48040
|
+
},
|
|
48041
|
+
delComp() {
|
|
48042
|
+
this.$EventBus.$emit("handleDeleteComp", this.data.componentId);
|
|
48043
|
+
}
|
|
48044
|
+
},
|
|
48045
|
+
computed: {
|
|
48046
|
+
showStyleConfig() {
|
|
48047
|
+
if (!this.elementWidth) return {};
|
|
48048
|
+
return this.isMobile ? this.styleConfig_mb : this.styleConfig_pc;
|
|
48049
|
+
},
|
|
48050
|
+
isMobile() {
|
|
48051
|
+
return this.elementWidth < 760;
|
|
48052
|
+
},
|
|
48053
|
+
showSlot() {
|
|
48054
|
+
if (this.$EventBus && this.isOpcacity) return false;
|
|
48055
|
+
const {
|
|
48056
|
+
cmhkChannelConfList = [],
|
|
48057
|
+
startTime = "",
|
|
48058
|
+
endTime = ""
|
|
48059
|
+
} = this.data.baseConfig;
|
|
48060
|
+
console.log("this.cmhkChannel", this.cmhkChannel, this.data.baseConfig);
|
|
48061
|
+
const channelVisable = cmhkChannelConfList.includes("ALL") || cmhkChannelConfList.includes(this.cmhkChannel);
|
|
48062
|
+
if (!channelVisable) return false;
|
|
48063
|
+
if (!startTime && !endTime) return true;
|
|
48064
|
+
const currentTime = this.timeline ? dayjs_min_default()(this.timeline) : dayjs_min_default()();
|
|
48065
|
+
const isStart = startTime ? dayjs_min_default()(currentTime).isAfter(dayjs_min_default()(startTime)) || dayjs_min_default()(currentTime).isSame(dayjs_min_default()(startTime)) : true;
|
|
48066
|
+
const isEnd = endTime ? dayjs_min_default()(currentTime).isBefore(dayjs_min_default()(endTime)) || dayjs_min_default()(currentTime).isSame(dayjs_min_default()(endTime)) : true;
|
|
48067
|
+
return isStart && isEnd;
|
|
48068
|
+
}
|
|
48069
|
+
}
|
|
48070
|
+
});
|
|
48071
|
+
;// ./package/baseComp.vue?vue&type=script&lang=js
|
|
48072
|
+
/* harmony default export */ var package_baseCompvue_type_script_lang_js = (baseCompvue_type_script_lang_js);
|
|
48073
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-42.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/baseComp.vue?vue&type=style&index=0&id=23d28f12&prod&lang=scss&scoped=true
|
|
48074
|
+
// extracted by mini-css-extract-plugin
|
|
48075
|
+
|
|
48076
|
+
;// ./package/baseComp.vue?vue&type=style&index=0&id=23d28f12&prod&lang=scss&scoped=true
|
|
48077
|
+
|
|
48078
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
48079
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
48080
|
+
;// ./package/baseComp.vue
|
|
48081
|
+
|
|
48082
|
+
|
|
48083
|
+
|
|
48084
|
+
;
|
|
48085
|
+
|
|
48086
|
+
|
|
48087
|
+
/* normalize component */
|
|
48088
|
+
|
|
48089
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
48090
|
+
package_baseCompvue_type_script_lang_js,
|
|
48091
|
+
render,
|
|
48092
|
+
staticRenderFns,
|
|
48093
|
+
false,
|
|
48094
|
+
null,
|
|
48095
|
+
"23d28f12",
|
|
48096
|
+
null
|
|
48097
|
+
|
|
48098
|
+
)
|
|
48099
|
+
|
|
48100
|
+
/* harmony default export */ var baseComp = (component.exports);
|
|
48101
|
+
|
|
48317
48102
|
/***/ }),
|
|
48318
48103
|
|
|
48319
48104
|
/***/ 8004:
|
|
@@ -48455,7 +48240,7 @@ var render = function render() {
|
|
|
48455
48240
|
var staticRenderFns = [];
|
|
48456
48241
|
|
|
48457
48242
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
48458
|
-
var baseComp = __webpack_require__(
|
|
48243
|
+
var baseComp = __webpack_require__(7976);
|
|
48459
48244
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineFour/View.vue?vue&type=script&lang=js
|
|
48460
48245
|
|
|
48461
48246
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -49732,7 +49517,7 @@ var swiper = __webpack_require__(828);
|
|
|
49732
49517
|
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
49733
49518
|
var swiper_esm_bundle = __webpack_require__(1532);
|
|
49734
49519
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
49735
|
-
var baseComp = __webpack_require__(
|
|
49520
|
+
var baseComp = __webpack_require__(7976);
|
|
49736
49521
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-threeScroll/View.vue?vue&type=script&lang=js
|
|
49737
49522
|
|
|
49738
49523
|
|
|
@@ -50108,7 +49893,8 @@ const configDataType = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getLangDataTy
|
|
|
50108
49893
|
label: "条款名称"
|
|
50109
49894
|
},
|
|
50110
49895
|
input2: {
|
|
50111
|
-
label: "内容"
|
|
49896
|
+
label: "内容",
|
|
49897
|
+
widgetType: "isRichText"
|
|
50112
49898
|
}
|
|
50113
49899
|
}]
|
|
50114
49900
|
}
|
|
@@ -50373,7 +50159,7 @@ var api = __webpack_require__(2842);
|
|
|
50373
50159
|
var lib = __webpack_require__(7087);
|
|
50374
50160
|
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
|
50375
50161
|
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
50376
|
-
var baseComp = __webpack_require__(
|
|
50162
|
+
var baseComp = __webpack_require__(7976);
|
|
50377
50163
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-proCard/View.vue?vue&type=script&lang=js
|
|
50378
50164
|
|
|
50379
50165
|
|
|
@@ -53529,7 +53315,7 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
|
53529
53315
|
__webpack_require__.r(__webpack_exports__);
|
|
53530
53316
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
53531
53317
|
|
|
53532
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
53318
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 4579));
|
|
53533
53319
|
const langData = {
|
|
53534
53320
|
configList: [
|
|
53535
53321
|
// {
|
|
@@ -53593,7 +53379,8 @@ const validateSchema = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getValidateSc
|
|
|
53593
53379
|
settings: cmsCompName => {
|
|
53594
53380
|
return (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getInitCompData)({
|
|
53595
53381
|
cmsCompName,
|
|
53596
|
-
langData
|
|
53382
|
+
langData,
|
|
53383
|
+
isLangAll: true
|
|
53597
53384
|
});
|
|
53598
53385
|
}
|
|
53599
53386
|
});
|
|
@@ -54208,6 +53995,229 @@ module.exports = function (it) {
|
|
|
54208
53995
|
};
|
|
54209
53996
|
|
|
54210
53997
|
|
|
53998
|
+
/***/ }),
|
|
53999
|
+
|
|
54000
|
+
/***/ 9603:
|
|
54001
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
54002
|
+
|
|
54003
|
+
"use strict";
|
|
54004
|
+
// ESM COMPAT FLAG
|
|
54005
|
+
__webpack_require__.r(__webpack_exports__);
|
|
54006
|
+
|
|
54007
|
+
// EXPORTS
|
|
54008
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
54009
|
+
"default": function() { return /* binding */ View; }
|
|
54010
|
+
});
|
|
54011
|
+
|
|
54012
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineThree/View.vue?vue&type=template&id=241e1e5b&scoped=true
|
|
54013
|
+
var render = function render() {
|
|
54014
|
+
var _vm = this,
|
|
54015
|
+
_c = _vm._self._c,
|
|
54016
|
+
_setup = _vm._self._setupProxy;
|
|
54017
|
+
return _c(_setup.BaseComp, _vm._b({
|
|
54018
|
+
attrs: {
|
|
54019
|
+
"data": _vm.data,
|
|
54020
|
+
"nowCompId": _vm.nowCompId,
|
|
54021
|
+
"isOpcacity": _vm.isOpcacity,
|
|
54022
|
+
"lang": _vm.lang
|
|
54023
|
+
},
|
|
54024
|
+
on: {
|
|
54025
|
+
"getConfigData": _vm.getConfigData
|
|
54026
|
+
}
|
|
54027
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
54028
|
+
staticClass: "cmhk-home_main"
|
|
54029
|
+
}, [_c('div', {
|
|
54030
|
+
staticClass: "corp-static_wrapper"
|
|
54031
|
+
}, [_c('div', {
|
|
54032
|
+
staticClass: "corp-static_scene_container"
|
|
54033
|
+
}, [_c('ul', {
|
|
54034
|
+
staticClass: "clearfix"
|
|
54035
|
+
}, _vm._l(_vm.configList, function (item, index) {
|
|
54036
|
+
return _c('li', {
|
|
54037
|
+
key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
|
|
54038
|
+
on: {
|
|
54039
|
+
"click": function ($event) {
|
|
54040
|
+
return _setup.decodeJumpUrl(item === null || item === void 0 ? void 0 : item.jumpUrl, _vm.$router);
|
|
54041
|
+
}
|
|
54042
|
+
}
|
|
54043
|
+
}, [_c('div', {
|
|
54044
|
+
staticClass: "card-shadow"
|
|
54045
|
+
}, [_c('div', {
|
|
54046
|
+
staticClass: "image-desbox_wapper"
|
|
54047
|
+
}, [_c('img', {
|
|
54048
|
+
staticClass: "scene-image",
|
|
54049
|
+
attrs: {
|
|
54050
|
+
"src": _setup.isMobileHook ? item === null || item === void 0 ? void 0 : item.uploadImageH5 : item === null || item === void 0 ? void 0 : item.uploadImagePC,
|
|
54051
|
+
"alt": item === null || item === void 0 ? void 0 : item.imagePcATL
|
|
54052
|
+
}
|
|
54053
|
+
})]), _c('div', {
|
|
54054
|
+
staticClass: "corp-static_scene_content"
|
|
54055
|
+
}, [_c('p', {
|
|
54056
|
+
staticClass: "title"
|
|
54057
|
+
}, [_vm._v(_vm._s(item.input1))]), _c('p', {
|
|
54058
|
+
staticClass: "des",
|
|
54059
|
+
class: _vm.panelFold ? 'des-more' : ''
|
|
54060
|
+
}, [_vm._v(" " + _vm._s(item === null || item === void 0 ? void 0 : item.input2) + " ")]), _vm.$i18n.locale == 'zh-CN' && (item === null || item === void 0 ? void 0 : item.input2.length) > 66 ? _c('div', {
|
|
54061
|
+
staticClass: "crad-more",
|
|
54062
|
+
on: {
|
|
54063
|
+
"click": function ($event) {
|
|
54064
|
+
$event.stopPropagation();
|
|
54065
|
+
_vm.panelFold = !_vm.panelFold;
|
|
54066
|
+
}
|
|
54067
|
+
}
|
|
54068
|
+
}, [_c('span', {
|
|
54069
|
+
directives: [{
|
|
54070
|
+
name: "show",
|
|
54071
|
+
rawName: "v-show",
|
|
54072
|
+
value: _vm.$i18n.locale == 'zh-CN',
|
|
54073
|
+
expression: "$i18n.locale == 'zh-CN'"
|
|
54074
|
+
}]
|
|
54075
|
+
}, [_vm._v(_vm._s(_vm.panelFold ? "收起" : "展开")), _c('i', {
|
|
54076
|
+
class: _vm.panelFold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'
|
|
54077
|
+
})])]) : _vm._e(), _vm.$i18n.locale == 'zh-HK' && (item === null || item === void 0 ? void 0 : item.input2.length) > 66 ? _c('div', {
|
|
54078
|
+
staticClass: "crad-more",
|
|
54079
|
+
on: {
|
|
54080
|
+
"click": function ($event) {
|
|
54081
|
+
$event.stopPropagation();
|
|
54082
|
+
_vm.panelFold = !_vm.panelFold;
|
|
54083
|
+
}
|
|
54084
|
+
}
|
|
54085
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.panelFold ? "收起" : "展開")), _c('i', {
|
|
54086
|
+
class: _vm.panelFold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'
|
|
54087
|
+
})])]) : _vm._e(), _vm.$i18n.locale == 'en-US' && (item === null || item === void 0 ? void 0 : item.input2.length) > 132 ? _c('div', {
|
|
54088
|
+
staticClass: "crad-more",
|
|
54089
|
+
on: {
|
|
54090
|
+
"click": function ($event) {
|
|
54091
|
+
$event.stopPropagation();
|
|
54092
|
+
_vm.panelFold = !_vm.panelFold;
|
|
54093
|
+
}
|
|
54094
|
+
}
|
|
54095
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.panelFold ? "Collpase" : "Expand")), _c('i', {
|
|
54096
|
+
class: _vm.panelFold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'
|
|
54097
|
+
})])]) : _vm._e()])])]);
|
|
54098
|
+
}), 0)])])])]);
|
|
54099
|
+
};
|
|
54100
|
+
var staticRenderFns = [];
|
|
54101
|
+
|
|
54102
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
54103
|
+
var baseComp = __webpack_require__(7976);
|
|
54104
|
+
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
54105
|
+
var jumpUrl = __webpack_require__(4102);
|
|
54106
|
+
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
|
|
54107
|
+
var vue_runtime_esm = __webpack_require__(3562);
|
|
54108
|
+
;// ./src/utils/useMobileEffect.js
|
|
54109
|
+
|
|
54110
|
+
const isMobileHook = (0,vue_runtime_esm.ref)(false);
|
|
54111
|
+
const resize = () => {
|
|
54112
|
+
let bodyW = 0;
|
|
54113
|
+
if (document.body) {
|
|
54114
|
+
bodyW = document.body.scrollWidth || document.body.clientWidth;
|
|
54115
|
+
}
|
|
54116
|
+
if (bodyW < 800) {
|
|
54117
|
+
isMobileHook.value = true;
|
|
54118
|
+
} else {
|
|
54119
|
+
isMobileHook.value = false;
|
|
54120
|
+
}
|
|
54121
|
+
};
|
|
54122
|
+
/* harmony default export */ function useMobileEffect() {
|
|
54123
|
+
(0,vue_runtime_esm.onMounted)(() => {
|
|
54124
|
+
resize();
|
|
54125
|
+
window.addEventListener('resize', resize);
|
|
54126
|
+
});
|
|
54127
|
+
(0,vue_runtime_esm.onUnmounted)(() => {
|
|
54128
|
+
window.removeEventListener('resize', resize);
|
|
54129
|
+
});
|
|
54130
|
+
return {
|
|
54131
|
+
isMobileHook
|
|
54132
|
+
};
|
|
54133
|
+
}
|
|
54134
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineThree/View.vue?vue&type=script&setup=true&lang=js
|
|
54135
|
+
|
|
54136
|
+
const __default__ = {
|
|
54137
|
+
name: "cms-lineThree",
|
|
54138
|
+
components: {
|
|
54139
|
+
BaseComp: baseComp["default"]
|
|
54140
|
+
},
|
|
54141
|
+
props: {
|
|
54142
|
+
data: {
|
|
54143
|
+
type: Object,
|
|
54144
|
+
default: () => {
|
|
54145
|
+
return {};
|
|
54146
|
+
}
|
|
54147
|
+
},
|
|
54148
|
+
nowCompId: {
|
|
54149
|
+
type: [String, Number],
|
|
54150
|
+
default: ""
|
|
54151
|
+
},
|
|
54152
|
+
isOpcacity: {
|
|
54153
|
+
type: Boolean,
|
|
54154
|
+
default: true
|
|
54155
|
+
},
|
|
54156
|
+
lang: {
|
|
54157
|
+
type: String,
|
|
54158
|
+
default: "zh-HK"
|
|
54159
|
+
}
|
|
54160
|
+
},
|
|
54161
|
+
data() {
|
|
54162
|
+
return {
|
|
54163
|
+
configList: [],
|
|
54164
|
+
panelFold: false
|
|
54165
|
+
};
|
|
54166
|
+
},
|
|
54167
|
+
mounted() {},
|
|
54168
|
+
watch: {},
|
|
54169
|
+
methods: {
|
|
54170
|
+
getConfigData(configData) {
|
|
54171
|
+
this.configList = configData.configList;
|
|
54172
|
+
}
|
|
54173
|
+
}
|
|
54174
|
+
};
|
|
54175
|
+
|
|
54176
|
+
|
|
54177
|
+
/* harmony default export */ var Viewvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
54178
|
+
setup(__props) {
|
|
54179
|
+
const {
|
|
54180
|
+
isMobileHook
|
|
54181
|
+
} = useMobileEffect();
|
|
54182
|
+
return {
|
|
54183
|
+
__sfc: true,
|
|
54184
|
+
isMobileHook,
|
|
54185
|
+
BaseComp: baseComp["default"],
|
|
54186
|
+
decodeJumpUrl: jumpUrl/* decodeJumpUrl */.u
|
|
54187
|
+
};
|
|
54188
|
+
}
|
|
54189
|
+
}));
|
|
54190
|
+
;// ./package/cms-lineThree/View.vue?vue&type=script&setup=true&lang=js
|
|
54191
|
+
/* harmony default export */ var cms_lineThree_Viewvue_type_script_setup_true_lang_js = (Viewvue_type_script_setup_true_lang_js);
|
|
54192
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-42.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineThree/View.vue?vue&type=style&index=0&id=241e1e5b&prod&lang=scss&scoped=true
|
|
54193
|
+
// extracted by mini-css-extract-plugin
|
|
54194
|
+
|
|
54195
|
+
;// ./package/cms-lineThree/View.vue?vue&type=style&index=0&id=241e1e5b&prod&lang=scss&scoped=true
|
|
54196
|
+
|
|
54197
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
54198
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
54199
|
+
;// ./package/cms-lineThree/View.vue
|
|
54200
|
+
|
|
54201
|
+
|
|
54202
|
+
|
|
54203
|
+
;
|
|
54204
|
+
|
|
54205
|
+
|
|
54206
|
+
/* normalize component */
|
|
54207
|
+
|
|
54208
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
54209
|
+
cms_lineThree_Viewvue_type_script_setup_true_lang_js,
|
|
54210
|
+
render,
|
|
54211
|
+
staticRenderFns,
|
|
54212
|
+
false,
|
|
54213
|
+
null,
|
|
54214
|
+
"241e1e5b",
|
|
54215
|
+
null
|
|
54216
|
+
|
|
54217
|
+
)
|
|
54218
|
+
|
|
54219
|
+
/* harmony default export */ var View = (component.exports);
|
|
54220
|
+
|
|
54211
54221
|
/***/ }),
|
|
54212
54222
|
|
|
54213
54223
|
/***/ 9617:
|