cms-chenhj-ui 2.2.18 → 2.2.20
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 +749 -725
- package/cms-chenhj-ui.css +1 -1
- package/cms-chenhj-ui.umd.js +582 -558
- package/cms-chenhj-ui.umd.min.js +2 -2
- package/package.json +1 -1
package/cms-chenhj-ui.common.js
CHANGED
|
@@ -203,232 +203,6 @@ $({ target: 'Iterator', proto: true, real: true }, {
|
|
|
203
203
|
});
|
|
204
204
|
|
|
205
205
|
|
|
206
|
-
/***/ }),
|
|
207
|
-
|
|
208
|
-
/***/ 149:
|
|
209
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
210
|
-
|
|
211
|
-
"use strict";
|
|
212
|
-
// ESM COMPAT FLAG
|
|
213
|
-
__webpack_require__.r(__webpack_exports__);
|
|
214
|
-
|
|
215
|
-
// EXPORTS
|
|
216
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
217
|
-
"default": function() { return /* binding */ View; }
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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-termsAndConditions/View.vue?vue&type=template&id=ce077d8a&scoped=true
|
|
221
|
-
var render = function render() {
|
|
222
|
-
var _vm = this,
|
|
223
|
-
_c = _vm._self._c;
|
|
224
|
-
return _c('BaseComp', _vm._b({
|
|
225
|
-
attrs: {
|
|
226
|
-
"data": _vm.data,
|
|
227
|
-
"nowCompId": _vm.nowCompId,
|
|
228
|
-
"isOpcacity": _vm.isOpcacity,
|
|
229
|
-
"lang": _vm.lang
|
|
230
|
-
},
|
|
231
|
-
on: {
|
|
232
|
-
"getConfigData": _vm.getConfigData
|
|
233
|
-
}
|
|
234
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
235
|
-
staticClass: "cmhk-home_main"
|
|
236
|
-
}, [_c('div', {
|
|
237
|
-
staticClass: "page-tab-swiper_wrapper",
|
|
238
|
-
class: _vm.swiperArrow == true ? '' : 'active'
|
|
239
|
-
}, [_c('div', {
|
|
240
|
-
ref: "barparent",
|
|
241
|
-
staticClass: "page-tab-swiper common-swiper_tab",
|
|
242
|
-
attrs: {
|
|
243
|
-
"id": `terms${_vm.data.componentId}`
|
|
244
|
-
}
|
|
245
|
-
}, [_c('div', {
|
|
246
|
-
staticClass: "swiper-wrapper"
|
|
247
|
-
}, _vm._l(_vm.configList, function (item, index) {
|
|
248
|
-
return _c('div', {
|
|
249
|
-
key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
|
|
250
|
-
staticClass: "swiper-slide",
|
|
251
|
-
class: item.id == _vm.currentTab ? 'active' : '',
|
|
252
|
-
on: {
|
|
253
|
-
"click": function ($event) {
|
|
254
|
-
return _vm.changeTab(item);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}, [_vm._v(" " + _vm._s(item.input1) + " ")]);
|
|
258
|
-
}), 0)])]), _c('div', {
|
|
259
|
-
staticClass: "page-tab-swiper-body"
|
|
260
|
-
}, [_c('div', {
|
|
261
|
-
staticClass: "desContent cms-ht",
|
|
262
|
-
domProps: {
|
|
263
|
-
"innerHTML": _vm._s(_vm._showTipsInfo)
|
|
264
|
-
}
|
|
265
|
-
})])])]);
|
|
266
|
-
};
|
|
267
|
-
var staticRenderFns = [];
|
|
268
|
-
|
|
269
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
270
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
271
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
|
|
272
|
-
var es_iterator_filter = __webpack_require__(2489);
|
|
273
|
-
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
|
|
274
|
-
var swiper = __webpack_require__(2791);
|
|
275
|
-
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
276
|
-
var swiper_esm_bundle = __webpack_require__(4418);
|
|
277
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
278
|
-
var baseComp = __webpack_require__(4272);
|
|
279
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
289
|
-
name: "cms-termsAndConditions",
|
|
290
|
-
components: {
|
|
291
|
-
BaseComp: baseComp["default"]
|
|
292
|
-
},
|
|
293
|
-
props: {
|
|
294
|
-
data: {
|
|
295
|
-
type: Object,
|
|
296
|
-
default: () => {
|
|
297
|
-
return {};
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
nowCompId: {
|
|
301
|
-
type: [String, Number],
|
|
302
|
-
default: ""
|
|
303
|
-
},
|
|
304
|
-
isOpcacity: {
|
|
305
|
-
type: Boolean,
|
|
306
|
-
default: true
|
|
307
|
-
},
|
|
308
|
-
lang: {
|
|
309
|
-
type: String,
|
|
310
|
-
default: "zh-HK"
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
data() {
|
|
314
|
-
return {
|
|
315
|
-
configList: [],
|
|
316
|
-
currentTab: "",
|
|
317
|
-
swiperArrow: false,
|
|
318
|
-
broadbandSwiperC: null,
|
|
319
|
-
swiperBeginning: false,
|
|
320
|
-
swiperEnd: false
|
|
321
|
-
};
|
|
322
|
-
},
|
|
323
|
-
mounted() {
|
|
324
|
-
this.$nextTick(() => {
|
|
325
|
-
this.broadbandSwiperC = new swiper_esm_bundle/* default */.A(`#terms${this.data.componentId}`, {
|
|
326
|
-
autoplay: false,
|
|
327
|
-
loop: false,
|
|
328
|
-
// 循环模式选项
|
|
329
|
-
spaceBetween: 0,
|
|
330
|
-
slidesPerView: "auto",
|
|
331
|
-
// slidesPerGroup:1,
|
|
332
|
-
observer: true,
|
|
333
|
-
observeParents: true
|
|
334
|
-
});
|
|
335
|
-
// 0820 -end
|
|
336
|
-
});
|
|
337
|
-
this.currentTab = this.configList[0].id;
|
|
338
|
-
},
|
|
339
|
-
methods: {
|
|
340
|
-
getConfigData(configData) {
|
|
341
|
-
this.configList = configData.configList;
|
|
342
|
-
this.$nextTick(() => {
|
|
343
|
-
var _this$broadbandSwiper, _this$broadbandSwiper2;
|
|
344
|
-
if (!this.$refs.barparent || !this.broadbandSwiperC) return;
|
|
345
|
-
const parentClientWidth = this.$refs.barparent.clientWidth;
|
|
346
|
-
console.log("this.broadbandSwiperC?.virtualSize ,", (_this$broadbandSwiper = this.broadbandSwiperC) === null || _this$broadbandSwiper === void 0 ? void 0 : _this$broadbandSwiper.virtualSize);
|
|
347
|
-
if (((_this$broadbandSwiper2 = this.broadbandSwiperC) === null || _this$broadbandSwiper2 === void 0 ? void 0 : _this$broadbandSwiper2.virtualSize) <= parentClientWidth) {
|
|
348
|
-
this.swiperArrow = false;
|
|
349
|
-
} else {
|
|
350
|
-
this.swiperArrow = true;
|
|
351
|
-
}
|
|
352
|
-
if (this.broadbandSwiperC.isBeginning) {
|
|
353
|
-
this.swiperBeginning = true;
|
|
354
|
-
}
|
|
355
|
-
if (this.broadbandSwiperC.isEnd) {
|
|
356
|
-
this.swiperEnd = true;
|
|
357
|
-
}
|
|
358
|
-
});
|
|
359
|
-
},
|
|
360
|
-
clickSwiperPrev() {
|
|
361
|
-
this.broadbandSwiperC.slidePrev();
|
|
362
|
-
if (this.broadbandSwiperC.isBeginning) {
|
|
363
|
-
this.swiperBeginning = true;
|
|
364
|
-
} else {
|
|
365
|
-
this.swiperBeginning = false;
|
|
366
|
-
}
|
|
367
|
-
if (this.broadbandSwiperC.isEnd) {
|
|
368
|
-
this.swiperEnd = true;
|
|
369
|
-
} else {
|
|
370
|
-
this.swiperEnd = false;
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
clickSwiperNext() {
|
|
374
|
-
this.broadbandSwiperC.slideNext();
|
|
375
|
-
if (this.broadbandSwiperC.isBeginning) {
|
|
376
|
-
this.swiperBeginning = true;
|
|
377
|
-
} else {
|
|
378
|
-
this.swiperBeginning = false;
|
|
379
|
-
}
|
|
380
|
-
if (this.broadbandSwiperC.isEnd) {
|
|
381
|
-
this.swiperEnd = true;
|
|
382
|
-
} else {
|
|
383
|
-
this.swiperEnd = false;
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
changeTab(item) {
|
|
387
|
-
this.currentTab = item.id;
|
|
388
|
-
},
|
|
389
|
-
decodeJumpUrl(url) {
|
|
390
|
-
if (!url) return;
|
|
391
|
-
top.location.href = url;
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
computed: {
|
|
395
|
-
_showTipsInfo() {
|
|
396
|
-
const [result = {}] = this.configList.filter(item => item.id == this.currentTab);
|
|
397
|
-
return result.input2;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
});
|
|
401
|
-
;// ./package/cms-termsAndConditions/View.vue?vue&type=script&lang=js
|
|
402
|
-
/* harmony default export */ var cms_termsAndConditions_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
403
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-termsAndConditions/View.vue?vue&type=style&index=0&id=ce077d8a&prod&lang=scss&scoped=true
|
|
404
|
-
// extracted by mini-css-extract-plugin
|
|
405
|
-
|
|
406
|
-
;// ./package/cms-termsAndConditions/View.vue?vue&type=style&index=0&id=ce077d8a&prod&lang=scss&scoped=true
|
|
407
|
-
|
|
408
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
409
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
410
|
-
;// ./package/cms-termsAndConditions/View.vue
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
;
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
/* normalize component */
|
|
418
|
-
|
|
419
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
420
|
-
cms_termsAndConditions_Viewvue_type_script_lang_js,
|
|
421
|
-
render,
|
|
422
|
-
staticRenderFns,
|
|
423
|
-
false,
|
|
424
|
-
null,
|
|
425
|
-
"ce077d8a",
|
|
426
|
-
null
|
|
427
|
-
|
|
428
|
-
)
|
|
429
|
-
|
|
430
|
-
/* harmony default export */ var View = (component.exports);
|
|
431
|
-
|
|
432
206
|
/***/ }),
|
|
433
207
|
|
|
434
208
|
/***/ 176:
|
|
@@ -9252,7 +9026,7 @@ const i18n = new vue_i18n_esm({
|
|
|
9252
9026
|
const service = axios_default().create({
|
|
9253
9027
|
baseURL: "",
|
|
9254
9028
|
// /apitest
|
|
9255
|
-
timeout:
|
|
9029
|
+
timeout: 100,
|
|
9256
9030
|
// 请求超时時間
|
|
9257
9031
|
withCredentials: true
|
|
9258
9032
|
// async: false,
|
|
@@ -9716,18 +9490,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9716
9490
|
|
|
9717
9491
|
|
|
9718
9492
|
async function transfor(config) {
|
|
9719
|
-
var _config$settings, _config$wujieConfig, _config$wujieConfig2,
|
|
9720
|
-
|
|
9493
|
+
var _config$settings, _config$wujieConfig, _config$wujieConfig2, _config$wujieConfig3, _settingValue$content, _settingValue$bannerL, _settingValue$routerL, _settingValue$busCard, _settingValue$busCard2, _baseInfo;
|
|
9494
|
+
const settingsList = config === null || config === void 0 ? void 0 : (_config$settings = config.settings) === null || _config$settings === void 0 ? void 0 : _config$settings.settings;
|
|
9495
|
+
const settings = Array.isArray(settingsList) ? settingsList[0] : null;
|
|
9496
|
+
if (!settings && !(config !== null && config !== void 0 && (_config$wujieConfig = config.wujieConfig) !== null && _config$wujieConfig !== void 0 && _config$wujieConfig.viaCompInstId)) {
|
|
9721
9497
|
return config;
|
|
9722
9498
|
}
|
|
9723
9499
|
if (config !== null && config !== void 0 && (_config$wujieConfig2 = config.wujieConfig) !== null && _config$wujieConfig2 !== void 0 && _config$wujieConfig2.viaCompInstId) {
|
|
9724
9500
|
var _data$;
|
|
9725
9501
|
const {
|
|
9726
|
-
data
|
|
9502
|
+
data = []
|
|
9727
9503
|
} = await (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__/* .queryViaComponentByCode */ .OO)({
|
|
9728
9504
|
componentCode: config.wujieConfig.viaCompInstId
|
|
9729
9505
|
});
|
|
9730
|
-
const list = data
|
|
9506
|
+
const list = Array.isArray(data) && data.length ? ((_data$ = data[0]) === null || _data$ === void 0 ? void 0 : _data$.goodIdList) || [] : [];
|
|
9731
9507
|
return {
|
|
9732
9508
|
...config,
|
|
9733
9509
|
contentConfig: {
|
|
@@ -9740,18 +9516,19 @@ async function transfor(config) {
|
|
|
9740
9516
|
}
|
|
9741
9517
|
const cmsCompName = config.compName;
|
|
9742
9518
|
const childList = config.list || [];
|
|
9743
|
-
const settings = config.settings.settings[0];
|
|
9744
9519
|
const {
|
|
9745
9520
|
isWujie = false,
|
|
9746
9521
|
isVia = false,
|
|
9747
9522
|
componentUrl = "",
|
|
9748
9523
|
workbenchUrl = ""
|
|
9749
9524
|
} = settings;
|
|
9750
|
-
const
|
|
9751
|
-
const
|
|
9525
|
+
const settingValue = settings.value || {};
|
|
9526
|
+
const wujieComponentId = (settingValue === null || settingValue === void 0 ? void 0 : settingValue.componentId) || "";
|
|
9527
|
+
const viaCompInstId = (config === null || config === void 0 ? void 0 : (_config$wujieConfig3 = config.wujieConfig) === null || _config$wujieConfig3 === void 0 ? void 0 : _config$wujieConfig3.viaCompInstId) || (settingValue === null || settingValue === void 0 ? void 0 : settingValue.viaCompInstId) || "";
|
|
9528
|
+
const isViaStoredValueCard = isVia && viaCompInstId && cmsCompName === "cms-via-storedValueCard";
|
|
9752
9529
|
const compConfig = {
|
|
9753
9530
|
childList: childList,
|
|
9754
|
-
...(isWujie ? {
|
|
9531
|
+
...(isWujie && !isViaStoredValueCard ? {
|
|
9755
9532
|
wujieConfig: {
|
|
9756
9533
|
//wujie
|
|
9757
9534
|
componentUrl,
|
|
@@ -9762,24 +9539,24 @@ async function transfor(config) {
|
|
|
9762
9539
|
} : {})
|
|
9763
9540
|
};
|
|
9764
9541
|
let baseInfo = {};
|
|
9765
|
-
if (
|
|
9766
|
-
baseInfo =
|
|
9767
|
-
} else if ((
|
|
9768
|
-
baseInfo =
|
|
9769
|
-
} else if ((
|
|
9770
|
-
baseInfo =
|
|
9771
|
-
} else if ((
|
|
9772
|
-
baseInfo =
|
|
9773
|
-
} else if ((
|
|
9774
|
-
baseInfo =
|
|
9775
|
-
} else if (
|
|
9776
|
-
baseInfo =
|
|
9777
|
-
} else if (
|
|
9778
|
-
baseInfo = Object.prototype.toString.call(
|
|
9779
|
-
value:
|
|
9542
|
+
if (settingValue !== null && settingValue !== void 0 && (_settingValue$content = settingValue.content) !== null && _settingValue$content !== void 0 && _settingValue$content.CN) {
|
|
9543
|
+
baseInfo = settingValue.content;
|
|
9544
|
+
} else if ((_settingValue$bannerL = settingValue.bannerList) !== null && _settingValue$bannerL !== void 0 && _settingValue$bannerL.CN) {
|
|
9545
|
+
baseInfo = settingValue.bannerList;
|
|
9546
|
+
} else if ((_settingValue$routerL = settingValue.routerList) !== null && _settingValue$routerL !== void 0 && _settingValue$routerL.CN) {
|
|
9547
|
+
baseInfo = settingValue.routerList;
|
|
9548
|
+
} else if ((_settingValue$busCard = settingValue.busCardList) !== null && _settingValue$busCard !== void 0 && _settingValue$busCard.CN) {
|
|
9549
|
+
baseInfo = settingValue.busCardList;
|
|
9550
|
+
} else if ((_settingValue$busCard2 = settingValue.busCardList) !== null && _settingValue$busCard2 !== void 0 && _settingValue$busCard2.CN) {
|
|
9551
|
+
baseInfo = settingValue.busCardList;
|
|
9552
|
+
} else if (settingValue !== null && settingValue !== void 0 && settingValue.CN) {
|
|
9553
|
+
baseInfo = settingValue;
|
|
9554
|
+
} else if (settingValue) {
|
|
9555
|
+
baseInfo = Object.prototype.toString.call(settingValue) === "[object Object]" ? settingValue : {
|
|
9556
|
+
value: settingValue
|
|
9780
9557
|
};
|
|
9781
9558
|
}
|
|
9782
|
-
|
|
9559
|
+
let isLangAll = !((_baseInfo = baseInfo) !== null && _baseInfo !== void 0 && _baseInfo.CN);
|
|
9783
9560
|
let lang_tc = {};
|
|
9784
9561
|
let lang_sc = {};
|
|
9785
9562
|
let lang_en = {};
|
|
@@ -9787,14 +9564,15 @@ async function transfor(config) {
|
|
|
9787
9564
|
if (viaCompInstId) {
|
|
9788
9565
|
var _data$2;
|
|
9789
9566
|
const {
|
|
9790
|
-
data
|
|
9567
|
+
data = []
|
|
9791
9568
|
} = await (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__/* .queryViaComponentByCode */ .OO)({
|
|
9792
|
-
componentCode:
|
|
9569
|
+
componentCode: viaCompInstId
|
|
9793
9570
|
});
|
|
9794
|
-
const list = data.length ? ((_data$2 = data[0]) === null || _data$2 === void 0 ? void 0 : _data$2.goodIdList) || [] : [];
|
|
9571
|
+
const list = Array.isArray(data) && data.length ? ((_data$2 = data[0]) === null || _data$2 === void 0 ? void 0 : _data$2.goodIdList) || [] : [];
|
|
9795
9572
|
baseInfo = {
|
|
9796
9573
|
configList: [...list]
|
|
9797
9574
|
};
|
|
9575
|
+
isLangAll = true;
|
|
9798
9576
|
}
|
|
9799
9577
|
if (isLangAll) {
|
|
9800
9578
|
lang_all = baseInfo;
|
|
@@ -10067,8 +9845,8 @@ var map = {
|
|
|
10067
9845
|
"./cms-question/index.js": 2269,
|
|
10068
9846
|
"./cms-richText": 7616,
|
|
10069
9847
|
"./cms-richText/": 7616,
|
|
10070
|
-
"./cms-richText/View":
|
|
10071
|
-
"./cms-richText/View.vue":
|
|
9848
|
+
"./cms-richText/View": 8398,
|
|
9849
|
+
"./cms-richText/View.vue": 8398,
|
|
10072
9850
|
"./cms-richText/index": 7616,
|
|
10073
9851
|
"./cms-richText/index.js": 7616,
|
|
10074
9852
|
"./cms-servePlan-tab": 1373,
|
|
@@ -10084,8 +9862,8 @@ var map = {
|
|
|
10084
9862
|
"./cms-servePlan-tab/service-plan.scss": 2358,
|
|
10085
9863
|
"./cms-servePlan-text": 6501,
|
|
10086
9864
|
"./cms-servePlan-text/": 6501,
|
|
10087
|
-
"./cms-servePlan-text/View":
|
|
10088
|
-
"./cms-servePlan-text/View.vue":
|
|
9865
|
+
"./cms-servePlan-text/View": 9561,
|
|
9866
|
+
"./cms-servePlan-text/View.vue": 9561,
|
|
10089
9867
|
"./cms-servePlan-text/index": 6501,
|
|
10090
9868
|
"./cms-servePlan-text/index.js": 6501,
|
|
10091
9869
|
"./cms-tab": 8892,
|
|
@@ -10096,8 +9874,8 @@ var map = {
|
|
|
10096
9874
|
"./cms-tab/index.js": 8892,
|
|
10097
9875
|
"./cms-termsAndConditions": 9387,
|
|
10098
9876
|
"./cms-termsAndConditions/": 9387,
|
|
10099
|
-
"./cms-termsAndConditions/View":
|
|
10100
|
-
"./cms-termsAndConditions/View.vue":
|
|
9877
|
+
"./cms-termsAndConditions/View": 4780,
|
|
9878
|
+
"./cms-termsAndConditions/View.vue": 4780,
|
|
10101
9879
|
"./cms-termsAndConditions/index": 9387,
|
|
10102
9880
|
"./cms-termsAndConditions/index.js": 9387,
|
|
10103
9881
|
"./cms-text": 394,
|
|
@@ -28134,162 +27912,6 @@ var userAgent = navigator && navigator.userAgent;
|
|
|
28134
27912
|
module.exports = userAgent ? String(userAgent) : '';
|
|
28135
27913
|
|
|
28136
27914
|
|
|
28137
|
-
/***/ }),
|
|
28138
|
-
|
|
28139
|
-
/***/ 2851:
|
|
28140
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28141
|
-
|
|
28142
|
-
"use strict";
|
|
28143
|
-
// ESM COMPAT FLAG
|
|
28144
|
-
__webpack_require__.r(__webpack_exports__);
|
|
28145
|
-
|
|
28146
|
-
// EXPORTS
|
|
28147
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
28148
|
-
"default": function() { return /* binding */ View; }
|
|
28149
|
-
});
|
|
28150
|
-
|
|
28151
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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-richText/View.vue?vue&type=template&id=0d29ae9c&scoped=true
|
|
28152
|
-
var render = function render() {
|
|
28153
|
-
var _vm = this,
|
|
28154
|
-
_c = _vm._self._c;
|
|
28155
|
-
return _c('BaseComp', _vm._b({
|
|
28156
|
-
attrs: {
|
|
28157
|
-
"data": _vm.data,
|
|
28158
|
-
"nowCompId": _vm.nowCompId,
|
|
28159
|
-
"isOpcacity": _vm.isOpcacity,
|
|
28160
|
-
"lang": _vm.lang
|
|
28161
|
-
},
|
|
28162
|
-
on: {
|
|
28163
|
-
"getConfigData": _vm.getConfigData
|
|
28164
|
-
}
|
|
28165
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
28166
|
-
class: {
|
|
28167
|
-
'cmhk-home_main': _vm.showCmhkMain
|
|
28168
|
-
}
|
|
28169
|
-
}, [_c('div', [_c('div', {
|
|
28170
|
-
staticClass: "inner"
|
|
28171
|
-
}, [_c('div', {
|
|
28172
|
-
staticClass: "cms-ht",
|
|
28173
|
-
domProps: {
|
|
28174
|
-
"innerHTML": _vm._s(_vm.configData.input1)
|
|
28175
|
-
}
|
|
28176
|
-
})])])])]);
|
|
28177
|
-
};
|
|
28178
|
-
var staticRenderFns = [];
|
|
28179
|
-
|
|
28180
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
28181
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
28182
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
28183
|
-
var es_iterator_for_each = __webpack_require__(7588);
|
|
28184
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
28185
|
-
var baseComp = __webpack_require__(4272);
|
|
28186
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
28187
|
-
|
|
28188
|
-
|
|
28189
|
-
|
|
28190
|
-
|
|
28191
|
-
|
|
28192
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
28193
|
-
name: "cms-richText",
|
|
28194
|
-
components: {
|
|
28195
|
-
BaseComp: baseComp["default"]
|
|
28196
|
-
},
|
|
28197
|
-
props: {
|
|
28198
|
-
data: {
|
|
28199
|
-
type: Object,
|
|
28200
|
-
default: () => {
|
|
28201
|
-
return {};
|
|
28202
|
-
}
|
|
28203
|
-
},
|
|
28204
|
-
nowCompId: {
|
|
28205
|
-
type: [String, Number],
|
|
28206
|
-
default: ""
|
|
28207
|
-
},
|
|
28208
|
-
isOpcacity: {
|
|
28209
|
-
type: Boolean,
|
|
28210
|
-
default: true
|
|
28211
|
-
},
|
|
28212
|
-
lang: {
|
|
28213
|
-
type: String,
|
|
28214
|
-
default: "zh-HK"
|
|
28215
|
-
},
|
|
28216
|
-
showCmhkMain: {
|
|
28217
|
-
type: Boolean,
|
|
28218
|
-
default: true
|
|
28219
|
-
}
|
|
28220
|
-
},
|
|
28221
|
-
data() {
|
|
28222
|
-
return {
|
|
28223
|
-
configData: {},
|
|
28224
|
-
messFold: false
|
|
28225
|
-
};
|
|
28226
|
-
},
|
|
28227
|
-
mounted() {},
|
|
28228
|
-
watch: {},
|
|
28229
|
-
methods: {
|
|
28230
|
-
getConfigData(configData) {
|
|
28231
|
-
this.configData = configData;
|
|
28232
|
-
this.$nextTick(this.wrapTables);
|
|
28233
|
-
},
|
|
28234
|
-
// 给每张表格套独立横向滚动容器,避免手机端与其他内容一起滚动
|
|
28235
|
-
wrapTables() {
|
|
28236
|
-
const container = this.$el.querySelector('.cms-ht');
|
|
28237
|
-
if (!container) return;
|
|
28238
|
-
const tables = container.querySelectorAll('table:not([data-scroll-wrapped])');
|
|
28239
|
-
tables.forEach(table => {
|
|
28240
|
-
const wrapper = document.createElement('div');
|
|
28241
|
-
wrapper.className = 'cms-table-wrap';
|
|
28242
|
-
table.parentNode.insertBefore(wrapper, table);
|
|
28243
|
-
wrapper.appendChild(table);
|
|
28244
|
-
table.setAttribute('data-scroll-wrapped', '1');
|
|
28245
|
-
});
|
|
28246
|
-
},
|
|
28247
|
-
foldMessText() {
|
|
28248
|
-
this.messFold = !this.messFold;
|
|
28249
|
-
},
|
|
28250
|
-
decodeJumpUrl(url) {
|
|
28251
|
-
if (!url) return;
|
|
28252
|
-
top.location.href = url;
|
|
28253
|
-
}
|
|
28254
|
-
}
|
|
28255
|
-
});
|
|
28256
|
-
;// ./package/cms-richText/View.vue?vue&type=script&lang=js
|
|
28257
|
-
/* harmony default export */ var cms_richText_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
28258
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-richText/View.vue?vue&type=style&index=0&id=0d29ae9c&prod&lang=scss&scoped=true
|
|
28259
|
-
// extracted by mini-css-extract-plugin
|
|
28260
|
-
|
|
28261
|
-
;// ./package/cms-richText/View.vue?vue&type=style&index=0&id=0d29ae9c&prod&lang=scss&scoped=true
|
|
28262
|
-
|
|
28263
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-richText/View.vue?vue&type=style&index=1&id=0d29ae9c&prod&lang=scss
|
|
28264
|
-
// extracted by mini-css-extract-plugin
|
|
28265
|
-
|
|
28266
|
-
;// ./package/cms-richText/View.vue?vue&type=style&index=1&id=0d29ae9c&prod&lang=scss
|
|
28267
|
-
|
|
28268
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
28269
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
28270
|
-
;// ./package/cms-richText/View.vue
|
|
28271
|
-
|
|
28272
|
-
|
|
28273
|
-
|
|
28274
|
-
;
|
|
28275
|
-
|
|
28276
|
-
|
|
28277
|
-
|
|
28278
|
-
/* normalize component */
|
|
28279
|
-
|
|
28280
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
28281
|
-
cms_richText_Viewvue_type_script_lang_js,
|
|
28282
|
-
render,
|
|
28283
|
-
staticRenderFns,
|
|
28284
|
-
false,
|
|
28285
|
-
null,
|
|
28286
|
-
"0d29ae9c",
|
|
28287
|
-
null
|
|
28288
|
-
|
|
28289
|
-
)
|
|
28290
|
-
|
|
28291
|
-
/* harmony default export */ var View = (component.exports);
|
|
28292
|
-
|
|
28293
27915
|
/***/ }),
|
|
28294
27916
|
|
|
28295
27917
|
/***/ 2963:
|
|
@@ -40752,205 +40374,448 @@ var standard_page = __webpack_require__(8134);
|
|
|
40752
40374
|
this.swiperEnd = false;
|
|
40753
40375
|
}
|
|
40754
40376
|
},
|
|
40755
|
-
changeTab(index) {
|
|
40756
|
-
this.currentTab = index;
|
|
40377
|
+
changeTab(index) {
|
|
40378
|
+
this.currentTab = index;
|
|
40379
|
+
},
|
|
40380
|
+
findFirstComponentKey(root) {
|
|
40381
|
+
var _root$querySelector;
|
|
40382
|
+
if (!root) return null;
|
|
40383
|
+
|
|
40384
|
+
// 若起点自身就有
|
|
40385
|
+
if (root.nodeType === 1 && root.hasAttribute("component-key")) {
|
|
40386
|
+
return root.getAttribute("component-key");
|
|
40387
|
+
}
|
|
40388
|
+
|
|
40389
|
+
// 向下查找第一个匹配的后代
|
|
40390
|
+
const el = (_root$querySelector = root.querySelector) === null || _root$querySelector === void 0 ? void 0 : _root$querySelector.call(root, "[component-key]");
|
|
40391
|
+
return el ? el.getAttribute("component-key") : null;
|
|
40392
|
+
},
|
|
40393
|
+
// 获取容器高度
|
|
40394
|
+
decodeJumpUrl(url) {
|
|
40395
|
+
if (!url) return;
|
|
40396
|
+
top.location.href = url;
|
|
40397
|
+
},
|
|
40398
|
+
onStart(evt) {
|
|
40399
|
+
console.log("drag start in column-card", evt);
|
|
40400
|
+
this.showAddCom = true;
|
|
40401
|
+
},
|
|
40402
|
+
// 限制拖拽的组件类型
|
|
40403
|
+
onMove(evt) {
|
|
40404
|
+
const {
|
|
40405
|
+
draggedContext
|
|
40406
|
+
} = evt;
|
|
40407
|
+
// 如果是从外部拖入的组件
|
|
40408
|
+
if (draggedContext && draggedContext.element) {
|
|
40409
|
+
const componentType = draggedContext.element.cmsCompName;
|
|
40410
|
+
// 特殊处理 cms-column:检查嵌套层级
|
|
40411
|
+
if (componentType === "cms-column") {
|
|
40412
|
+
if (!this.checkColumnNestingLevel()) {
|
|
40413
|
+
console.log("cms-column 嵌套层级超出限制");
|
|
40414
|
+
return false;
|
|
40415
|
+
}
|
|
40416
|
+
}
|
|
40417
|
+
}
|
|
40418
|
+
return true;
|
|
40419
|
+
},
|
|
40420
|
+
// 检查 cms-column 嵌套层级
|
|
40421
|
+
checkColumnNestingLevel() {
|
|
40422
|
+
// 检查当前 column-card 是否已经在 cms-column 内部
|
|
40423
|
+
let parent = this.$parent;
|
|
40424
|
+
let columnDepth = 0;
|
|
40425
|
+
while (parent) {
|
|
40426
|
+
// 检查父组件是否是 cms-column 或包含 cms-column
|
|
40427
|
+
if (parent.$options.name === "cms-column" || parent.$data && parent.$data.data && parent.$data.data.cmsCompName === "cms-column") {
|
|
40428
|
+
columnDepth++;
|
|
40429
|
+
}
|
|
40430
|
+
|
|
40431
|
+
// 如果已经有一层 cms-column,则不允许再嵌套
|
|
40432
|
+
if (columnDepth >= 2) {
|
|
40433
|
+
console.log(`检测到 cms-column 嵌套层级: ${columnDepth}, 超出限制`);
|
|
40434
|
+
return false;
|
|
40435
|
+
}
|
|
40436
|
+
parent = parent.$parent;
|
|
40437
|
+
}
|
|
40438
|
+
console.log(`cms-column 嵌套层级检查通过: ${columnDepth}`);
|
|
40439
|
+
return true;
|
|
40440
|
+
},
|
|
40441
|
+
// 处理拖拽悬停
|
|
40442
|
+
dragover(e) {
|
|
40443
|
+
e.preventDefault();
|
|
40444
|
+
this.showAddCom = true;
|
|
40445
|
+
},
|
|
40446
|
+
// 处理拖拽放置
|
|
40447
|
+
drop(e) {
|
|
40448
|
+
e.preventDefault();
|
|
40449
|
+
const componentKey = e.dataTransfer.getData("componentKey");
|
|
40450
|
+
let temporaryId = "";
|
|
40451
|
+
this.temporaryList = e.dataTransfer.getData("temporaryList") ? JSON.parse(e.dataTransfer.getData("temporaryList")) : [];
|
|
40452
|
+
console.log("cms-colum-card-drop", componentKey, this.temporaryList);
|
|
40453
|
+
if (!componentKey) return;
|
|
40454
|
+
const isTemporaryItem = e.dataTransfer.getData("isTemporaryItem");
|
|
40455
|
+
const isTemporary = isTemporaryItem === "true";
|
|
40456
|
+
if (isTemporary) {
|
|
40457
|
+
temporaryId = (0,standard_page/* getCopyTemplateCompConfig */.L7)(this.temporaryList, componentKey).cmsCompName;
|
|
40458
|
+
}
|
|
40459
|
+
const componentType = isTemporary ? temporaryId : componentKey;
|
|
40460
|
+
// 特殊处理 cms-column:检查嵌套层级
|
|
40461
|
+
if (componentType === "cms-column") {
|
|
40462
|
+
if (!this.checkColumnNestingLevel()) {
|
|
40463
|
+
console.log("cms-column 嵌套层级超出限制");
|
|
40464
|
+
this.$message && this.$message.warning(`cms-column 只能嵌套一层`);
|
|
40465
|
+
this.showAddCom = false;
|
|
40466
|
+
return;
|
|
40467
|
+
}
|
|
40468
|
+
}
|
|
40469
|
+
this.addOneComp(e, componentKey);
|
|
40470
|
+
},
|
|
40471
|
+
// 添加组件到卡片容器
|
|
40472
|
+
addOneComp(e, componentKey) {
|
|
40473
|
+
this.showAddCom = false;
|
|
40474
|
+
console.log("drop to column-card", componentKey);
|
|
40475
|
+
|
|
40476
|
+
// 动态导入组件配置
|
|
40477
|
+
let initCompData;
|
|
40478
|
+
try {
|
|
40479
|
+
const isTemporaryItem = e.dataTransfer.getData("isTemporaryItem");
|
|
40480
|
+
const isTemporary = isTemporaryItem === "true";
|
|
40481
|
+
if (isTemporary) {
|
|
40482
|
+
initCompData = (0,standard_page/* getCopyTemplateCompConfig */.L7)(this.temporaryList, componentKey);
|
|
40483
|
+
} else {
|
|
40484
|
+
initCompData = __webpack_require__(1640)(`./${componentKey}`).default.settings(componentKey);
|
|
40485
|
+
}
|
|
40486
|
+
} catch (error) {
|
|
40487
|
+
console.error(`无法加载组件 ${componentKey}:`, error);
|
|
40488
|
+
this.$message && this.$message.error(`组件加载失败`);
|
|
40489
|
+
return;
|
|
40490
|
+
}
|
|
40491
|
+
const toElementId = e.toElement.id;
|
|
40492
|
+
if (toElementId === `tabTarget${this.currentTab}` || toElementId.includes("tabTargetdown")) {
|
|
40493
|
+
// 添加到卡片容器末尾
|
|
40494
|
+
this.configList[this.currentTab].tabList.push(initCompData);
|
|
40495
|
+
} else if (toElementId.includes("tabTargetup")) {
|
|
40496
|
+
// 插入到指定位置
|
|
40497
|
+
const underComponentId = toElementId.split("-tabTargetup")[0];
|
|
40498
|
+
const index = this.configList[this.currentTab].tabList.findIndex(item => item.componentId === underComponentId);
|
|
40499
|
+
if (index !== -1) {
|
|
40500
|
+
this.configList[this.currentTab].tabList.splice(index, 0, initCompData);
|
|
40501
|
+
}
|
|
40502
|
+
}
|
|
40503
|
+
|
|
40504
|
+
// 触发数据更新
|
|
40505
|
+
this.$emit("update:data", this.data);
|
|
40506
|
+
if (componentKey === "cms-column") {
|
|
40507
|
+
this.$EventBus.$emit("handleNowComp", initCompData);
|
|
40508
|
+
}
|
|
40509
|
+
}
|
|
40510
|
+
}
|
|
40511
|
+
});
|
|
40512
|
+
;// ./package/cms-tab/View.vue?vue&type=script&lang=js
|
|
40513
|
+
/* harmony default export */ var cms_tab_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
40514
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-tab/View.vue?vue&type=style&index=0&id=49dbee26&prod&lang=scss&scoped=true
|
|
40515
|
+
// extracted by mini-css-extract-plugin
|
|
40516
|
+
|
|
40517
|
+
;// ./package/cms-tab/View.vue?vue&type=style&index=0&id=49dbee26&prod&lang=scss&scoped=true
|
|
40518
|
+
|
|
40519
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-tab/View.vue?vue&type=style&index=1&id=49dbee26&prod&lang=scss&scoped=true
|
|
40520
|
+
// extracted by mini-css-extract-plugin
|
|
40521
|
+
|
|
40522
|
+
;// ./package/cms-tab/View.vue?vue&type=style&index=1&id=49dbee26&prod&lang=scss&scoped=true
|
|
40523
|
+
|
|
40524
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
40525
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
40526
|
+
;// ./package/cms-tab/View.vue
|
|
40527
|
+
|
|
40528
|
+
|
|
40529
|
+
|
|
40530
|
+
;
|
|
40531
|
+
|
|
40532
|
+
|
|
40533
|
+
|
|
40534
|
+
/* normalize component */
|
|
40535
|
+
|
|
40536
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
40537
|
+
cms_tab_Viewvue_type_script_lang_js,
|
|
40538
|
+
render,
|
|
40539
|
+
staticRenderFns,
|
|
40540
|
+
false,
|
|
40541
|
+
null,
|
|
40542
|
+
"49dbee26",
|
|
40543
|
+
null
|
|
40544
|
+
|
|
40545
|
+
)
|
|
40546
|
+
|
|
40547
|
+
/* harmony default export */ var View = (component.exports);
|
|
40548
|
+
|
|
40549
|
+
/***/ }),
|
|
40550
|
+
|
|
40551
|
+
/***/ 4732:
|
|
40552
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
40553
|
+
|
|
40554
|
+
"use strict";
|
|
40555
|
+
|
|
40556
|
+
var ArrayBufferViewCore = __webpack_require__(4644);
|
|
40557
|
+
var uncurryThis = __webpack_require__(9504);
|
|
40558
|
+
var aCallable = __webpack_require__(9306);
|
|
40559
|
+
var arrayFromConstructorAndList = __webpack_require__(5370);
|
|
40560
|
+
|
|
40561
|
+
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
40562
|
+
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
|
|
40563
|
+
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
40564
|
+
var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort);
|
|
40565
|
+
|
|
40566
|
+
// `%TypedArray%.prototype.toSorted` method
|
|
40567
|
+
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted
|
|
40568
|
+
exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
|
|
40569
|
+
if (compareFn !== undefined) aCallable(compareFn);
|
|
40570
|
+
var O = aTypedArray(this);
|
|
40571
|
+
var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O);
|
|
40572
|
+
return sort(A, compareFn);
|
|
40573
|
+
});
|
|
40574
|
+
|
|
40575
|
+
|
|
40576
|
+
/***/ }),
|
|
40577
|
+
|
|
40578
|
+
/***/ 4780:
|
|
40579
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
40580
|
+
|
|
40581
|
+
"use strict";
|
|
40582
|
+
// ESM COMPAT FLAG
|
|
40583
|
+
__webpack_require__.r(__webpack_exports__);
|
|
40584
|
+
|
|
40585
|
+
// EXPORTS
|
|
40586
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
40587
|
+
"default": function() { return /* binding */ View; }
|
|
40588
|
+
});
|
|
40589
|
+
|
|
40590
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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-termsAndConditions/View.vue?vue&type=template&id=4334816c&scoped=true
|
|
40591
|
+
var render = function render() {
|
|
40592
|
+
var _vm = this,
|
|
40593
|
+
_c = _vm._self._c;
|
|
40594
|
+
return _c('BaseComp', _vm._b({
|
|
40595
|
+
attrs: {
|
|
40596
|
+
"data": _vm.data,
|
|
40597
|
+
"nowCompId": _vm.nowCompId,
|
|
40598
|
+
"isOpcacity": _vm.isOpcacity,
|
|
40599
|
+
"lang": _vm.lang
|
|
40600
|
+
},
|
|
40601
|
+
on: {
|
|
40602
|
+
"getConfigData": _vm.getConfigData
|
|
40603
|
+
}
|
|
40604
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
40605
|
+
staticClass: "cmhk-home_main"
|
|
40606
|
+
}, [_c('div', {
|
|
40607
|
+
staticClass: "page-tab-swiper_wrapper",
|
|
40608
|
+
class: _vm.swiperArrow == true ? '' : 'active'
|
|
40609
|
+
}, [_c('div', {
|
|
40610
|
+
ref: "barparent",
|
|
40611
|
+
staticClass: "page-tab-swiper common-swiper_tab",
|
|
40612
|
+
attrs: {
|
|
40613
|
+
"id": `terms${_vm.data.componentId}`
|
|
40614
|
+
}
|
|
40615
|
+
}, [_c('div', {
|
|
40616
|
+
staticClass: "swiper-wrapper"
|
|
40617
|
+
}, _vm._l(_vm.configList, function (item, index) {
|
|
40618
|
+
return _c('div', {
|
|
40619
|
+
key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
|
|
40620
|
+
staticClass: "swiper-slide",
|
|
40621
|
+
class: item.id == _vm.currentTab ? 'active' : '',
|
|
40622
|
+
on: {
|
|
40623
|
+
"click": function ($event) {
|
|
40624
|
+
return _vm.changeTab(item);
|
|
40625
|
+
}
|
|
40626
|
+
}
|
|
40627
|
+
}, [_vm._v(" " + _vm._s(item.input1) + " ")]);
|
|
40628
|
+
}), 0)])]), _c('div', {
|
|
40629
|
+
staticClass: "page-tab-swiper-body"
|
|
40630
|
+
}, [_c('div', {
|
|
40631
|
+
staticClass: "desContent cms-ht",
|
|
40632
|
+
domProps: {
|
|
40633
|
+
"innerHTML": _vm._s(_vm._showTipsInfo)
|
|
40634
|
+
}
|
|
40635
|
+
})])])]);
|
|
40636
|
+
};
|
|
40637
|
+
var staticRenderFns = [];
|
|
40638
|
+
|
|
40639
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
40640
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
40641
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
|
|
40642
|
+
var es_iterator_filter = __webpack_require__(2489);
|
|
40643
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
40644
|
+
var es_iterator_for_each = __webpack_require__(7588);
|
|
40645
|
+
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
|
|
40646
|
+
var swiper = __webpack_require__(2791);
|
|
40647
|
+
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
40648
|
+
var swiper_esm_bundle = __webpack_require__(4418);
|
|
40649
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
40650
|
+
var baseComp = __webpack_require__(4272);
|
|
40651
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
40652
|
+
|
|
40653
|
+
|
|
40654
|
+
|
|
40655
|
+
|
|
40656
|
+
|
|
40657
|
+
|
|
40658
|
+
|
|
40659
|
+
|
|
40660
|
+
|
|
40661
|
+
|
|
40662
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
40663
|
+
name: "cms-termsAndConditions",
|
|
40664
|
+
components: {
|
|
40665
|
+
BaseComp: baseComp["default"]
|
|
40666
|
+
},
|
|
40667
|
+
props: {
|
|
40668
|
+
data: {
|
|
40669
|
+
type: Object,
|
|
40670
|
+
default: () => {
|
|
40671
|
+
return {};
|
|
40672
|
+
}
|
|
40673
|
+
},
|
|
40674
|
+
nowCompId: {
|
|
40675
|
+
type: [String, Number],
|
|
40676
|
+
default: ""
|
|
40677
|
+
},
|
|
40678
|
+
isOpcacity: {
|
|
40679
|
+
type: Boolean,
|
|
40680
|
+
default: true
|
|
40681
|
+
},
|
|
40682
|
+
lang: {
|
|
40683
|
+
type: String,
|
|
40684
|
+
default: "zh-HK"
|
|
40685
|
+
}
|
|
40686
|
+
},
|
|
40687
|
+
data() {
|
|
40688
|
+
return {
|
|
40689
|
+
configList: [],
|
|
40690
|
+
currentTab: "",
|
|
40691
|
+
swiperArrow: false,
|
|
40692
|
+
broadbandSwiperC: null,
|
|
40693
|
+
swiperBeginning: false,
|
|
40694
|
+
swiperEnd: false
|
|
40695
|
+
};
|
|
40696
|
+
},
|
|
40697
|
+
mounted() {
|
|
40698
|
+
this.$nextTick(() => {
|
|
40699
|
+
this.broadbandSwiperC = new swiper_esm_bundle/* default */.A(`#terms${this.data.componentId}`, {
|
|
40700
|
+
autoplay: false,
|
|
40701
|
+
loop: false,
|
|
40702
|
+
// 循环模式选项
|
|
40703
|
+
spaceBetween: 0,
|
|
40704
|
+
slidesPerView: "auto",
|
|
40705
|
+
// slidesPerGroup:1,
|
|
40706
|
+
observer: true,
|
|
40707
|
+
observeParents: true
|
|
40708
|
+
});
|
|
40709
|
+
// 0820 -end
|
|
40710
|
+
});
|
|
40711
|
+
this.currentTab = this.configList[0].id;
|
|
40712
|
+
this.$nextTick(this.markLegacyTables);
|
|
40713
|
+
},
|
|
40714
|
+
methods: {
|
|
40715
|
+
getConfigData(configData) {
|
|
40716
|
+
this.configList = configData.configList;
|
|
40717
|
+
this.$nextTick(() => {
|
|
40718
|
+
var _this$broadbandSwiper, _this$broadbandSwiper2;
|
|
40719
|
+
if (!this.$refs.barparent || !this.broadbandSwiperC) return;
|
|
40720
|
+
const parentClientWidth = this.$refs.barparent.clientWidth;
|
|
40721
|
+
console.log("this.broadbandSwiperC?.virtualSize ,", (_this$broadbandSwiper = this.broadbandSwiperC) === null || _this$broadbandSwiper === void 0 ? void 0 : _this$broadbandSwiper.virtualSize);
|
|
40722
|
+
if (((_this$broadbandSwiper2 = this.broadbandSwiperC) === null || _this$broadbandSwiper2 === void 0 ? void 0 : _this$broadbandSwiper2.virtualSize) <= parentClientWidth) {
|
|
40723
|
+
this.swiperArrow = false;
|
|
40724
|
+
} else {
|
|
40725
|
+
this.swiperArrow = true;
|
|
40726
|
+
}
|
|
40727
|
+
if (this.broadbandSwiperC.isBeginning) {
|
|
40728
|
+
this.swiperBeginning = true;
|
|
40729
|
+
}
|
|
40730
|
+
if (this.broadbandSwiperC.isEnd) {
|
|
40731
|
+
this.swiperEnd = true;
|
|
40732
|
+
}
|
|
40733
|
+
this.markLegacyTables();
|
|
40734
|
+
});
|
|
40735
|
+
},
|
|
40736
|
+
clickSwiperPrev() {
|
|
40737
|
+
this.broadbandSwiperC.slidePrev();
|
|
40738
|
+
if (this.broadbandSwiperC.isBeginning) {
|
|
40739
|
+
this.swiperBeginning = true;
|
|
40740
|
+
} else {
|
|
40741
|
+
this.swiperBeginning = false;
|
|
40742
|
+
}
|
|
40743
|
+
if (this.broadbandSwiperC.isEnd) {
|
|
40744
|
+
this.swiperEnd = true;
|
|
40745
|
+
} else {
|
|
40746
|
+
this.swiperEnd = false;
|
|
40747
|
+
}
|
|
40748
|
+
},
|
|
40749
|
+
clickSwiperNext() {
|
|
40750
|
+
this.broadbandSwiperC.slideNext();
|
|
40751
|
+
if (this.broadbandSwiperC.isBeginning) {
|
|
40752
|
+
this.swiperBeginning = true;
|
|
40753
|
+
} else {
|
|
40754
|
+
this.swiperBeginning = false;
|
|
40755
|
+
}
|
|
40756
|
+
if (this.broadbandSwiperC.isEnd) {
|
|
40757
|
+
this.swiperEnd = true;
|
|
40758
|
+
} else {
|
|
40759
|
+
this.swiperEnd = false;
|
|
40760
|
+
}
|
|
40761
|
+
},
|
|
40762
|
+
changeTab(item) {
|
|
40763
|
+
this.currentTab = item.id;
|
|
40764
|
+
this.$nextTick(this.markLegacyTables);
|
|
40757
40765
|
},
|
|
40758
|
-
|
|
40759
|
-
|
|
40760
|
-
if (!
|
|
40761
|
-
|
|
40762
|
-
|
|
40763
|
-
|
|
40764
|
-
|
|
40765
|
-
|
|
40766
|
-
|
|
40767
|
-
// 向下查找第一个匹配的后代
|
|
40768
|
-
const el = (_root$querySelector = root.querySelector) === null || _root$querySelector === void 0 ? void 0 : _root$querySelector.call(root, "[component-key]");
|
|
40769
|
-
return el ? el.getAttribute("component-key") : null;
|
|
40766
|
+
markLegacyTables() {
|
|
40767
|
+
const container = this.$el.querySelector(".desContent");
|
|
40768
|
+
if (!container) return;
|
|
40769
|
+
const tables = container.querySelectorAll("table");
|
|
40770
|
+
tables.forEach(table => {
|
|
40771
|
+
if (table.closest(".pc-show, .mobile-show")) {
|
|
40772
|
+
table.setAttribute("data-cms-legacy-table", "1");
|
|
40773
|
+
}
|
|
40774
|
+
});
|
|
40770
40775
|
},
|
|
40771
|
-
// 获取容器高度
|
|
40772
40776
|
decodeJumpUrl(url) {
|
|
40773
40777
|
if (!url) return;
|
|
40774
40778
|
top.location.href = url;
|
|
40775
|
-
}
|
|
40776
|
-
|
|
40777
|
-
|
|
40778
|
-
|
|
40779
|
-
|
|
40780
|
-
|
|
40781
|
-
onMove(evt) {
|
|
40782
|
-
const {
|
|
40783
|
-
draggedContext
|
|
40784
|
-
} = evt;
|
|
40785
|
-
// 如果是从外部拖入的组件
|
|
40786
|
-
if (draggedContext && draggedContext.element) {
|
|
40787
|
-
const componentType = draggedContext.element.cmsCompName;
|
|
40788
|
-
// 特殊处理 cms-column:检查嵌套层级
|
|
40789
|
-
if (componentType === "cms-column") {
|
|
40790
|
-
if (!this.checkColumnNestingLevel()) {
|
|
40791
|
-
console.log("cms-column 嵌套层级超出限制");
|
|
40792
|
-
return false;
|
|
40793
|
-
}
|
|
40794
|
-
}
|
|
40795
|
-
}
|
|
40796
|
-
return true;
|
|
40797
|
-
},
|
|
40798
|
-
// 检查 cms-column 嵌套层级
|
|
40799
|
-
checkColumnNestingLevel() {
|
|
40800
|
-
// 检查当前 column-card 是否已经在 cms-column 内部
|
|
40801
|
-
let parent = this.$parent;
|
|
40802
|
-
let columnDepth = 0;
|
|
40803
|
-
while (parent) {
|
|
40804
|
-
// 检查父组件是否是 cms-column 或包含 cms-column
|
|
40805
|
-
if (parent.$options.name === "cms-column" || parent.$data && parent.$data.data && parent.$data.data.cmsCompName === "cms-column") {
|
|
40806
|
-
columnDepth++;
|
|
40807
|
-
}
|
|
40808
|
-
|
|
40809
|
-
// 如果已经有一层 cms-column,则不允许再嵌套
|
|
40810
|
-
if (columnDepth >= 2) {
|
|
40811
|
-
console.log(`检测到 cms-column 嵌套层级: ${columnDepth}, 超出限制`);
|
|
40812
|
-
return false;
|
|
40813
|
-
}
|
|
40814
|
-
parent = parent.$parent;
|
|
40815
|
-
}
|
|
40816
|
-
console.log(`cms-column 嵌套层级检查通过: ${columnDepth}`);
|
|
40817
|
-
return true;
|
|
40818
|
-
},
|
|
40819
|
-
// 处理拖拽悬停
|
|
40820
|
-
dragover(e) {
|
|
40821
|
-
e.preventDefault();
|
|
40822
|
-
this.showAddCom = true;
|
|
40823
|
-
},
|
|
40824
|
-
// 处理拖拽放置
|
|
40825
|
-
drop(e) {
|
|
40826
|
-
e.preventDefault();
|
|
40827
|
-
const componentKey = e.dataTransfer.getData("componentKey");
|
|
40828
|
-
let temporaryId = "";
|
|
40829
|
-
this.temporaryList = e.dataTransfer.getData("temporaryList") ? JSON.parse(e.dataTransfer.getData("temporaryList")) : [];
|
|
40830
|
-
console.log("cms-colum-card-drop", componentKey, this.temporaryList);
|
|
40831
|
-
if (!componentKey) return;
|
|
40832
|
-
const isTemporaryItem = e.dataTransfer.getData("isTemporaryItem");
|
|
40833
|
-
const isTemporary = isTemporaryItem === "true";
|
|
40834
|
-
if (isTemporary) {
|
|
40835
|
-
temporaryId = (0,standard_page/* getCopyTemplateCompConfig */.L7)(this.temporaryList, componentKey).cmsCompName;
|
|
40836
|
-
}
|
|
40837
|
-
const componentType = isTemporary ? temporaryId : componentKey;
|
|
40838
|
-
// 特殊处理 cms-column:检查嵌套层级
|
|
40839
|
-
if (componentType === "cms-column") {
|
|
40840
|
-
if (!this.checkColumnNestingLevel()) {
|
|
40841
|
-
console.log("cms-column 嵌套层级超出限制");
|
|
40842
|
-
this.$message && this.$message.warning(`cms-column 只能嵌套一层`);
|
|
40843
|
-
this.showAddCom = false;
|
|
40844
|
-
return;
|
|
40845
|
-
}
|
|
40846
|
-
}
|
|
40847
|
-
this.addOneComp(e, componentKey);
|
|
40848
|
-
},
|
|
40849
|
-
// 添加组件到卡片容器
|
|
40850
|
-
addOneComp(e, componentKey) {
|
|
40851
|
-
this.showAddCom = false;
|
|
40852
|
-
console.log("drop to column-card", componentKey);
|
|
40853
|
-
|
|
40854
|
-
// 动态导入组件配置
|
|
40855
|
-
let initCompData;
|
|
40856
|
-
try {
|
|
40857
|
-
const isTemporaryItem = e.dataTransfer.getData("isTemporaryItem");
|
|
40858
|
-
const isTemporary = isTemporaryItem === "true";
|
|
40859
|
-
if (isTemporary) {
|
|
40860
|
-
initCompData = (0,standard_page/* getCopyTemplateCompConfig */.L7)(this.temporaryList, componentKey);
|
|
40861
|
-
} else {
|
|
40862
|
-
initCompData = __webpack_require__(1640)(`./${componentKey}`).default.settings(componentKey);
|
|
40863
|
-
}
|
|
40864
|
-
} catch (error) {
|
|
40865
|
-
console.error(`无法加载组件 ${componentKey}:`, error);
|
|
40866
|
-
this.$message && this.$message.error(`组件加载失败`);
|
|
40867
|
-
return;
|
|
40868
|
-
}
|
|
40869
|
-
const toElementId = e.toElement.id;
|
|
40870
|
-
if (toElementId === `tabTarget${this.currentTab}` || toElementId.includes("tabTargetdown")) {
|
|
40871
|
-
// 添加到卡片容器末尾
|
|
40872
|
-
this.configList[this.currentTab].tabList.push(initCompData);
|
|
40873
|
-
} else if (toElementId.includes("tabTargetup")) {
|
|
40874
|
-
// 插入到指定位置
|
|
40875
|
-
const underComponentId = toElementId.split("-tabTargetup")[0];
|
|
40876
|
-
const index = this.configList[this.currentTab].tabList.findIndex(item => item.componentId === underComponentId);
|
|
40877
|
-
if (index !== -1) {
|
|
40878
|
-
this.configList[this.currentTab].tabList.splice(index, 0, initCompData);
|
|
40879
|
-
}
|
|
40880
|
-
}
|
|
40881
|
-
|
|
40882
|
-
// 触发数据更新
|
|
40883
|
-
this.$emit("update:data", this.data);
|
|
40884
|
-
if (componentKey === "cms-column") {
|
|
40885
|
-
this.$EventBus.$emit("handleNowComp", initCompData);
|
|
40886
|
-
}
|
|
40779
|
+
}
|
|
40780
|
+
},
|
|
40781
|
+
computed: {
|
|
40782
|
+
_showTipsInfo() {
|
|
40783
|
+
const [result = {}] = this.configList.filter(item => item.id == this.currentTab);
|
|
40784
|
+
return result.input2;
|
|
40887
40785
|
}
|
|
40888
40786
|
}
|
|
40889
40787
|
});
|
|
40890
|
-
;// ./package/cms-
|
|
40891
|
-
/* harmony default export */ var
|
|
40892
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-
|
|
40893
|
-
// extracted by mini-css-extract-plugin
|
|
40894
|
-
|
|
40895
|
-
;// ./package/cms-tab/View.vue?vue&type=style&index=0&id=49dbee26&prod&lang=scss&scoped=true
|
|
40896
|
-
|
|
40897
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-tab/View.vue?vue&type=style&index=1&id=49dbee26&prod&lang=scss&scoped=true
|
|
40788
|
+
;// ./package/cms-termsAndConditions/View.vue?vue&type=script&lang=js
|
|
40789
|
+
/* harmony default export */ var cms_termsAndConditions_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
40790
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-termsAndConditions/View.vue?vue&type=style&index=0&id=4334816c&prod&lang=scss&scoped=true
|
|
40898
40791
|
// extracted by mini-css-extract-plugin
|
|
40899
40792
|
|
|
40900
|
-
;// ./package/cms-
|
|
40793
|
+
;// ./package/cms-termsAndConditions/View.vue?vue&type=style&index=0&id=4334816c&prod&lang=scss&scoped=true
|
|
40901
40794
|
|
|
40902
40795
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
40903
40796
|
var componentNormalizer = __webpack_require__(1656);
|
|
40904
|
-
;// ./package/cms-
|
|
40797
|
+
;// ./package/cms-termsAndConditions/View.vue
|
|
40905
40798
|
|
|
40906
40799
|
|
|
40907
40800
|
|
|
40908
40801
|
;
|
|
40909
40802
|
|
|
40910
40803
|
|
|
40911
|
-
|
|
40912
40804
|
/* normalize component */
|
|
40913
40805
|
|
|
40914
40806
|
var component = (0,componentNormalizer/* default */.A)(
|
|
40915
|
-
|
|
40807
|
+
cms_termsAndConditions_Viewvue_type_script_lang_js,
|
|
40916
40808
|
render,
|
|
40917
40809
|
staticRenderFns,
|
|
40918
40810
|
false,
|
|
40919
40811
|
null,
|
|
40920
|
-
"
|
|
40812
|
+
"4334816c",
|
|
40921
40813
|
null
|
|
40922
40814
|
|
|
40923
40815
|
)
|
|
40924
40816
|
|
|
40925
40817
|
/* harmony default export */ var View = (component.exports);
|
|
40926
40818
|
|
|
40927
|
-
/***/ }),
|
|
40928
|
-
|
|
40929
|
-
/***/ 4732:
|
|
40930
|
-
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
40931
|
-
|
|
40932
|
-
"use strict";
|
|
40933
|
-
|
|
40934
|
-
var ArrayBufferViewCore = __webpack_require__(4644);
|
|
40935
|
-
var uncurryThis = __webpack_require__(9504);
|
|
40936
|
-
var aCallable = __webpack_require__(9306);
|
|
40937
|
-
var arrayFromConstructorAndList = __webpack_require__(5370);
|
|
40938
|
-
|
|
40939
|
-
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
40940
|
-
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
|
|
40941
|
-
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
40942
|
-
var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort);
|
|
40943
|
-
|
|
40944
|
-
// `%TypedArray%.prototype.toSorted` method
|
|
40945
|
-
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted
|
|
40946
|
-
exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
|
|
40947
|
-
if (compareFn !== undefined) aCallable(compareFn);
|
|
40948
|
-
var O = aTypedArray(this);
|
|
40949
|
-
var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O);
|
|
40950
|
-
return sort(A, compareFn);
|
|
40951
|
-
});
|
|
40952
|
-
|
|
40953
|
-
|
|
40954
40819
|
/***/ }),
|
|
40955
40820
|
|
|
40956
40821
|
/***/ 4806:
|
|
@@ -42849,11 +42714,11 @@ var map = {
|
|
|
42849
42714
|
"./cms-prodCustomization/View.vue": 3053,
|
|
42850
42715
|
"./cms-productDetails/View.vue": 4110,
|
|
42851
42716
|
"./cms-question/View.vue": 2763,
|
|
42852
|
-
"./cms-richText/View.vue":
|
|
42717
|
+
"./cms-richText/View.vue": 8398,
|
|
42853
42718
|
"./cms-servePlan-tab/View.vue": 2031,
|
|
42854
|
-
"./cms-servePlan-text/View.vue":
|
|
42719
|
+
"./cms-servePlan-text/View.vue": 9561,
|
|
42855
42720
|
"./cms-tab/View.vue": 4685,
|
|
42856
|
-
"./cms-termsAndConditions/View.vue":
|
|
42721
|
+
"./cms-termsAndConditions/View.vue": 4780,
|
|
42857
42722
|
"./cms-text/View.vue": 7787,
|
|
42858
42723
|
"./cms-threeScroll/View.vue": 5006,
|
|
42859
42724
|
"./cms-titleCenter/View.vue": 9871,
|
|
@@ -44878,7 +44743,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44878
44743
|
__webpack_require__.r(__webpack_exports__);
|
|
44879
44744
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(649);
|
|
44880
44745
|
|
|
44881
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
44746
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 9561));
|
|
44882
44747
|
const langData = {
|
|
44883
44748
|
input1: "描述",
|
|
44884
44749
|
input2: "标题",
|
|
@@ -44889,7 +44754,7 @@ const configDataType = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getLangDataTy
|
|
|
44889
44754
|
label: "描述"
|
|
44890
44755
|
},
|
|
44891
44756
|
input2: {
|
|
44892
|
-
label: "
|
|
44757
|
+
label: "按钮"
|
|
44893
44758
|
},
|
|
44894
44759
|
input3: {
|
|
44895
44760
|
label: "高亮标题"
|
|
@@ -55250,7 +55115,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
55250
55115
|
__webpack_require__.r(__webpack_exports__);
|
|
55251
55116
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(649);
|
|
55252
55117
|
|
|
55253
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
55118
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 8398));
|
|
55254
55119
|
const langData = {
|
|
55255
55120
|
input1: "请输入富文本内容"
|
|
55256
55121
|
};
|
|
@@ -56639,141 +56504,6 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
56639
56504
|
|
|
56640
56505
|
/***/ }),
|
|
56641
56506
|
|
|
56642
|
-
/***/ 7907:
|
|
56643
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
56644
|
-
|
|
56645
|
-
"use strict";
|
|
56646
|
-
// ESM COMPAT FLAG
|
|
56647
|
-
__webpack_require__.r(__webpack_exports__);
|
|
56648
|
-
|
|
56649
|
-
// EXPORTS
|
|
56650
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
56651
|
-
"default": function() { return /* binding */ View; }
|
|
56652
|
-
});
|
|
56653
|
-
|
|
56654
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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-servePlan-text/View.vue?vue&type=template&id=1e95772a&scoped=true
|
|
56655
|
-
var render = function render() {
|
|
56656
|
-
var _vm = this,
|
|
56657
|
-
_c = _vm._self._c;
|
|
56658
|
-
return _c('BaseComp', _vm._b({
|
|
56659
|
-
attrs: {
|
|
56660
|
-
"data": _vm.data,
|
|
56661
|
-
"nowCompId": _vm.nowCompId,
|
|
56662
|
-
"isOpcacity": _vm.isOpcacity,
|
|
56663
|
-
"lang": _vm.lang
|
|
56664
|
-
},
|
|
56665
|
-
on: {
|
|
56666
|
-
"getConfigData": _vm.getConfigData
|
|
56667
|
-
}
|
|
56668
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
56669
|
-
staticClass: "cmhk-home cms-servePlan-text"
|
|
56670
|
-
}, [_c('div', {
|
|
56671
|
-
staticClass: "sp-custombg"
|
|
56672
|
-
}, [_c('div', {
|
|
56673
|
-
staticClass: "adjust-partheader"
|
|
56674
|
-
}, [_c('section', {
|
|
56675
|
-
staticClass: "cmhk-home_main"
|
|
56676
|
-
}, [_c('div', {
|
|
56677
|
-
class: ['cmhk-partheader']
|
|
56678
|
-
}, [_c('div', {
|
|
56679
|
-
staticClass: "part-header mgb-0 wow animate__fadeInUp"
|
|
56680
|
-
}, [_c('p', {
|
|
56681
|
-
staticClass: "part-header_title"
|
|
56682
|
-
}, [_c('span', {
|
|
56683
|
-
class: ['highlight']
|
|
56684
|
-
}, [_vm._v(_vm._s(_vm.configData.input3))])]), _vm.configData.input1 ? _c('p', {
|
|
56685
|
-
staticClass: "part-header_lf layout-pc"
|
|
56686
|
-
}, [_vm._v(" " + _vm._s(_vm.configData.input1) + " ")]) : _vm._e(), _c('span', {
|
|
56687
|
-
staticClass: "part-header_subtitle"
|
|
56688
|
-
}, [_c('span', {
|
|
56689
|
-
staticClass: "vm"
|
|
56690
|
-
}, [_vm._v(_vm._s(_vm.configData.input2))]), _c('i', {
|
|
56691
|
-
staticClass: "el-icon-arrow-right vm layout-pc"
|
|
56692
|
-
})])]), _vm.configData.input1 ? _c('p', {
|
|
56693
|
-
staticClass: "part-header_lf layout-mobile"
|
|
56694
|
-
}, [_vm._v(" " + _vm._s(_vm.configData.input1) + " ")]) : _vm._e()])])])])])]);
|
|
56695
|
-
};
|
|
56696
|
-
var staticRenderFns = [];
|
|
56697
|
-
|
|
56698
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
56699
|
-
var baseComp = __webpack_require__(4272);
|
|
56700
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
56701
|
-
|
|
56702
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
56703
|
-
name: "cms-servePlan-text",
|
|
56704
|
-
components: {
|
|
56705
|
-
BaseComp: baseComp["default"]
|
|
56706
|
-
},
|
|
56707
|
-
props: {
|
|
56708
|
-
data: {
|
|
56709
|
-
type: Object,
|
|
56710
|
-
default: () => {
|
|
56711
|
-
return {};
|
|
56712
|
-
}
|
|
56713
|
-
},
|
|
56714
|
-
nowCompId: {
|
|
56715
|
-
type: [String, Number],
|
|
56716
|
-
default: ""
|
|
56717
|
-
},
|
|
56718
|
-
isOpcacity: {
|
|
56719
|
-
type: Boolean,
|
|
56720
|
-
default: true
|
|
56721
|
-
},
|
|
56722
|
-
lang: {
|
|
56723
|
-
type: String,
|
|
56724
|
-
default: "zh-HK"
|
|
56725
|
-
}
|
|
56726
|
-
},
|
|
56727
|
-
data() {
|
|
56728
|
-
return {
|
|
56729
|
-
configData: {}
|
|
56730
|
-
};
|
|
56731
|
-
},
|
|
56732
|
-
mounted() {},
|
|
56733
|
-
watch: {},
|
|
56734
|
-
methods: {
|
|
56735
|
-
getConfigData(configData) {
|
|
56736
|
-
this.configData = configData;
|
|
56737
|
-
},
|
|
56738
|
-
decodeJumpUrl(url) {
|
|
56739
|
-
if (!url) return;
|
|
56740
|
-
top.location.href = url;
|
|
56741
|
-
}
|
|
56742
|
-
}
|
|
56743
|
-
});
|
|
56744
|
-
;// ./package/cms-servePlan-text/View.vue?vue&type=script&lang=js
|
|
56745
|
-
/* harmony default export */ var cms_servePlan_text_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
56746
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-servePlan-text/View.vue?vue&type=style&index=0&id=1e95772a&prod&scoped=true&lang=scss
|
|
56747
|
-
// extracted by mini-css-extract-plugin
|
|
56748
|
-
|
|
56749
|
-
;// ./package/cms-servePlan-text/View.vue?vue&type=style&index=0&id=1e95772a&prod&scoped=true&lang=scss
|
|
56750
|
-
|
|
56751
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
56752
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
56753
|
-
;// ./package/cms-servePlan-text/View.vue
|
|
56754
|
-
|
|
56755
|
-
|
|
56756
|
-
|
|
56757
|
-
;
|
|
56758
|
-
|
|
56759
|
-
|
|
56760
|
-
/* normalize component */
|
|
56761
|
-
|
|
56762
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
56763
|
-
cms_servePlan_text_Viewvue_type_script_lang_js,
|
|
56764
|
-
render,
|
|
56765
|
-
staticRenderFns,
|
|
56766
|
-
false,
|
|
56767
|
-
null,
|
|
56768
|
-
"1e95772a",
|
|
56769
|
-
null
|
|
56770
|
-
|
|
56771
|
-
)
|
|
56772
|
-
|
|
56773
|
-
/* harmony default export */ var View = (component.exports);
|
|
56774
|
-
|
|
56775
|
-
/***/ }),
|
|
56776
|
-
|
|
56777
56507
|
/***/ 7936:
|
|
56778
56508
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
56779
56509
|
|
|
@@ -59476,6 +59206,165 @@ module.exports = function hasNativeSymbols() {
|
|
|
59476
59206
|
|
|
59477
59207
|
/***/ }),
|
|
59478
59208
|
|
|
59209
|
+
/***/ 8398:
|
|
59210
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
59211
|
+
|
|
59212
|
+
"use strict";
|
|
59213
|
+
// ESM COMPAT FLAG
|
|
59214
|
+
__webpack_require__.r(__webpack_exports__);
|
|
59215
|
+
|
|
59216
|
+
// EXPORTS
|
|
59217
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
59218
|
+
"default": function() { return /* binding */ View; }
|
|
59219
|
+
});
|
|
59220
|
+
|
|
59221
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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-richText/View.vue?vue&type=template&id=219c0356&scoped=true
|
|
59222
|
+
var render = function render() {
|
|
59223
|
+
var _vm = this,
|
|
59224
|
+
_c = _vm._self._c;
|
|
59225
|
+
return _c('BaseComp', _vm._b({
|
|
59226
|
+
attrs: {
|
|
59227
|
+
"data": _vm.data,
|
|
59228
|
+
"nowCompId": _vm.nowCompId,
|
|
59229
|
+
"isOpcacity": _vm.isOpcacity,
|
|
59230
|
+
"lang": _vm.lang
|
|
59231
|
+
},
|
|
59232
|
+
on: {
|
|
59233
|
+
"getConfigData": _vm.getConfigData
|
|
59234
|
+
}
|
|
59235
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
59236
|
+
class: {
|
|
59237
|
+
'cmhk-home_main': _vm.showCmhkMain
|
|
59238
|
+
}
|
|
59239
|
+
}, [_c('div', [_c('div', {
|
|
59240
|
+
staticClass: "inner"
|
|
59241
|
+
}, [_c('div', {
|
|
59242
|
+
staticClass: "cms-ht",
|
|
59243
|
+
domProps: {
|
|
59244
|
+
"innerHTML": _vm._s(_vm.configData.input1)
|
|
59245
|
+
}
|
|
59246
|
+
})])])])]);
|
|
59247
|
+
};
|
|
59248
|
+
var staticRenderFns = [];
|
|
59249
|
+
|
|
59250
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
59251
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
59252
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
59253
|
+
var es_iterator_for_each = __webpack_require__(7588);
|
|
59254
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
59255
|
+
var baseComp = __webpack_require__(4272);
|
|
59256
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
59257
|
+
|
|
59258
|
+
|
|
59259
|
+
|
|
59260
|
+
|
|
59261
|
+
|
|
59262
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
59263
|
+
name: "cms-richText",
|
|
59264
|
+
components: {
|
|
59265
|
+
BaseComp: baseComp["default"]
|
|
59266
|
+
},
|
|
59267
|
+
props: {
|
|
59268
|
+
data: {
|
|
59269
|
+
type: Object,
|
|
59270
|
+
default: () => {
|
|
59271
|
+
return {};
|
|
59272
|
+
}
|
|
59273
|
+
},
|
|
59274
|
+
nowCompId: {
|
|
59275
|
+
type: [String, Number],
|
|
59276
|
+
default: ""
|
|
59277
|
+
},
|
|
59278
|
+
isOpcacity: {
|
|
59279
|
+
type: Boolean,
|
|
59280
|
+
default: true
|
|
59281
|
+
},
|
|
59282
|
+
lang: {
|
|
59283
|
+
type: String,
|
|
59284
|
+
default: "zh-HK"
|
|
59285
|
+
},
|
|
59286
|
+
showCmhkMain: {
|
|
59287
|
+
type: Boolean,
|
|
59288
|
+
default: true
|
|
59289
|
+
}
|
|
59290
|
+
},
|
|
59291
|
+
data() {
|
|
59292
|
+
return {
|
|
59293
|
+
configData: {},
|
|
59294
|
+
messFold: false
|
|
59295
|
+
};
|
|
59296
|
+
},
|
|
59297
|
+
mounted() {},
|
|
59298
|
+
watch: {},
|
|
59299
|
+
methods: {
|
|
59300
|
+
getConfigData(configData) {
|
|
59301
|
+
this.configData = configData;
|
|
59302
|
+
this.$nextTick(this.wrapTables);
|
|
59303
|
+
},
|
|
59304
|
+
// 给每张表格套独立横向滚动容器,避免手机端与其他内容一起滚动
|
|
59305
|
+
wrapTables() {
|
|
59306
|
+
const container = this.$el.querySelector('.cms-ht');
|
|
59307
|
+
if (!container) return;
|
|
59308
|
+
const tables = container.querySelectorAll('table:not([data-scroll-wrapped])');
|
|
59309
|
+
tables.forEach(table => {
|
|
59310
|
+
if (table.closest('.pc-show, .mobile-show')) {
|
|
59311
|
+
table.setAttribute('data-cms-legacy-table', '1');
|
|
59312
|
+
}
|
|
59313
|
+
const wrapper = document.createElement('div');
|
|
59314
|
+
wrapper.className = 'cms-table-wrap';
|
|
59315
|
+
table.parentNode.insertBefore(wrapper, table);
|
|
59316
|
+
wrapper.appendChild(table);
|
|
59317
|
+
table.setAttribute('data-scroll-wrapped', '1');
|
|
59318
|
+
});
|
|
59319
|
+
},
|
|
59320
|
+
foldMessText() {
|
|
59321
|
+
this.messFold = !this.messFold;
|
|
59322
|
+
},
|
|
59323
|
+
decodeJumpUrl(url) {
|
|
59324
|
+
if (!url) return;
|
|
59325
|
+
top.location.href = url;
|
|
59326
|
+
}
|
|
59327
|
+
}
|
|
59328
|
+
});
|
|
59329
|
+
;// ./package/cms-richText/View.vue?vue&type=script&lang=js
|
|
59330
|
+
/* harmony default export */ var cms_richText_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
59331
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-richText/View.vue?vue&type=style&index=0&id=219c0356&prod&lang=scss&scoped=true
|
|
59332
|
+
// extracted by mini-css-extract-plugin
|
|
59333
|
+
|
|
59334
|
+
;// ./package/cms-richText/View.vue?vue&type=style&index=0&id=219c0356&prod&lang=scss&scoped=true
|
|
59335
|
+
|
|
59336
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-richText/View.vue?vue&type=style&index=1&id=219c0356&prod&lang=css
|
|
59337
|
+
// extracted by mini-css-extract-plugin
|
|
59338
|
+
|
|
59339
|
+
;// ./package/cms-richText/View.vue?vue&type=style&index=1&id=219c0356&prod&lang=css
|
|
59340
|
+
|
|
59341
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
59342
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
59343
|
+
;// ./package/cms-richText/View.vue
|
|
59344
|
+
|
|
59345
|
+
|
|
59346
|
+
|
|
59347
|
+
;
|
|
59348
|
+
|
|
59349
|
+
|
|
59350
|
+
|
|
59351
|
+
/* normalize component */
|
|
59352
|
+
|
|
59353
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
59354
|
+
cms_richText_Viewvue_type_script_lang_js,
|
|
59355
|
+
render,
|
|
59356
|
+
staticRenderFns,
|
|
59357
|
+
false,
|
|
59358
|
+
null,
|
|
59359
|
+
"219c0356",
|
|
59360
|
+
null
|
|
59361
|
+
|
|
59362
|
+
)
|
|
59363
|
+
|
|
59364
|
+
/* harmony default export */ var View = (component.exports);
|
|
59365
|
+
|
|
59366
|
+
/***/ }),
|
|
59367
|
+
|
|
59479
59368
|
/***/ 8434:
|
|
59480
59369
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
59481
59370
|
|
|
@@ -61276,7 +61165,7 @@ module.exports = TypeError;
|
|
|
61276
61165
|
__webpack_require__.r(__webpack_exports__);
|
|
61277
61166
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(649);
|
|
61278
61167
|
|
|
61279
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
61168
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 4780));
|
|
61280
61169
|
const langData = {
|
|
61281
61170
|
configList: [{
|
|
61282
61171
|
id: Math.random().toString(),
|
|
@@ -62201,6 +62090,141 @@ const modules = modulesFiles.keys().reduce((modules, modulePath) => {
|
|
|
62201
62090
|
|
|
62202
62091
|
/***/ }),
|
|
62203
62092
|
|
|
62093
|
+
/***/ 9561:
|
|
62094
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
62095
|
+
|
|
62096
|
+
"use strict";
|
|
62097
|
+
// ESM COMPAT FLAG
|
|
62098
|
+
__webpack_require__.r(__webpack_exports__);
|
|
62099
|
+
|
|
62100
|
+
// EXPORTS
|
|
62101
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
62102
|
+
"default": function() { return /* binding */ View; }
|
|
62103
|
+
});
|
|
62104
|
+
|
|
62105
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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-servePlan-text/View.vue?vue&type=template&id=6d76799b&scoped=true
|
|
62106
|
+
var render = function render() {
|
|
62107
|
+
var _vm = this,
|
|
62108
|
+
_c = _vm._self._c;
|
|
62109
|
+
return _c('BaseComp', _vm._b({
|
|
62110
|
+
attrs: {
|
|
62111
|
+
"data": _vm.data,
|
|
62112
|
+
"nowCompId": _vm.nowCompId,
|
|
62113
|
+
"isOpcacity": _vm.isOpcacity,
|
|
62114
|
+
"lang": _vm.lang
|
|
62115
|
+
},
|
|
62116
|
+
on: {
|
|
62117
|
+
"getConfigData": _vm.getConfigData
|
|
62118
|
+
}
|
|
62119
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
62120
|
+
staticClass: "cmhk-home cms-servePlan-text"
|
|
62121
|
+
}, [_c('div', {
|
|
62122
|
+
staticClass: "sp-custombg"
|
|
62123
|
+
}, [_c('div', {
|
|
62124
|
+
staticClass: "adjust-partheader"
|
|
62125
|
+
}, [_c('section', {
|
|
62126
|
+
staticClass: "cmhk-home_main"
|
|
62127
|
+
}, [_c('div', {
|
|
62128
|
+
class: ['cmhk-partheader']
|
|
62129
|
+
}, [_c('div', {
|
|
62130
|
+
staticClass: "part-header mgb-0 wow animate__fadeInUp"
|
|
62131
|
+
}, [_c('p', {
|
|
62132
|
+
staticClass: "part-header_title"
|
|
62133
|
+
}, [_c('span', {
|
|
62134
|
+
class: ['highlight']
|
|
62135
|
+
}, [_vm._v(_vm._s(_vm.configData.input3))])]), _vm.configData.input1 ? _c('p', {
|
|
62136
|
+
staticClass: "part-header_lf layout-pc"
|
|
62137
|
+
}, [_vm._v(" " + _vm._s(_vm.configData.input1) + " ")]) : _vm._e(), _c('span', {
|
|
62138
|
+
staticClass: "part-header_subtitle"
|
|
62139
|
+
}, [_c('span', {
|
|
62140
|
+
staticClass: "vm"
|
|
62141
|
+
}, [_vm._v(_vm._s(_vm.configData.input2))]), _c('i', {
|
|
62142
|
+
staticClass: "el-icon-arrow-right vm"
|
|
62143
|
+
})])]), _vm.configData.input1 ? _c('p', {
|
|
62144
|
+
staticClass: "part-header_lf layout-mobile"
|
|
62145
|
+
}, [_vm._v(" " + _vm._s(_vm.configData.input1) + " ")]) : _vm._e()])])])])])]);
|
|
62146
|
+
};
|
|
62147
|
+
var staticRenderFns = [];
|
|
62148
|
+
|
|
62149
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
62150
|
+
var baseComp = __webpack_require__(4272);
|
|
62151
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
62152
|
+
|
|
62153
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
62154
|
+
name: "cms-servePlan-text",
|
|
62155
|
+
components: {
|
|
62156
|
+
BaseComp: baseComp["default"]
|
|
62157
|
+
},
|
|
62158
|
+
props: {
|
|
62159
|
+
data: {
|
|
62160
|
+
type: Object,
|
|
62161
|
+
default: () => {
|
|
62162
|
+
return {};
|
|
62163
|
+
}
|
|
62164
|
+
},
|
|
62165
|
+
nowCompId: {
|
|
62166
|
+
type: [String, Number],
|
|
62167
|
+
default: ""
|
|
62168
|
+
},
|
|
62169
|
+
isOpcacity: {
|
|
62170
|
+
type: Boolean,
|
|
62171
|
+
default: true
|
|
62172
|
+
},
|
|
62173
|
+
lang: {
|
|
62174
|
+
type: String,
|
|
62175
|
+
default: "zh-HK"
|
|
62176
|
+
}
|
|
62177
|
+
},
|
|
62178
|
+
data() {
|
|
62179
|
+
return {
|
|
62180
|
+
configData: {}
|
|
62181
|
+
};
|
|
62182
|
+
},
|
|
62183
|
+
mounted() {},
|
|
62184
|
+
watch: {},
|
|
62185
|
+
methods: {
|
|
62186
|
+
getConfigData(configData) {
|
|
62187
|
+
this.configData = configData;
|
|
62188
|
+
},
|
|
62189
|
+
decodeJumpUrl(url) {
|
|
62190
|
+
if (!url) return;
|
|
62191
|
+
top.location.href = url;
|
|
62192
|
+
}
|
|
62193
|
+
}
|
|
62194
|
+
});
|
|
62195
|
+
;// ./package/cms-servePlan-text/View.vue?vue&type=script&lang=js
|
|
62196
|
+
/* harmony default export */ var cms_servePlan_text_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
62197
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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-servePlan-text/View.vue?vue&type=style&index=0&id=6d76799b&prod&scoped=true&lang=scss
|
|
62198
|
+
// extracted by mini-css-extract-plugin
|
|
62199
|
+
|
|
62200
|
+
;// ./package/cms-servePlan-text/View.vue?vue&type=style&index=0&id=6d76799b&prod&scoped=true&lang=scss
|
|
62201
|
+
|
|
62202
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
62203
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
62204
|
+
;// ./package/cms-servePlan-text/View.vue
|
|
62205
|
+
|
|
62206
|
+
|
|
62207
|
+
|
|
62208
|
+
;
|
|
62209
|
+
|
|
62210
|
+
|
|
62211
|
+
/* normalize component */
|
|
62212
|
+
|
|
62213
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
62214
|
+
cms_servePlan_text_Viewvue_type_script_lang_js,
|
|
62215
|
+
render,
|
|
62216
|
+
staticRenderFns,
|
|
62217
|
+
false,
|
|
62218
|
+
null,
|
|
62219
|
+
"6d76799b",
|
|
62220
|
+
null
|
|
62221
|
+
|
|
62222
|
+
)
|
|
62223
|
+
|
|
62224
|
+
/* harmony default export */ var View = (component.exports);
|
|
62225
|
+
|
|
62226
|
+
/***/ }),
|
|
62227
|
+
|
|
62204
62228
|
/***/ 9565:
|
|
62205
62229
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
62206
62230
|
|