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.umd.js
CHANGED
|
@@ -487,7 +487,7 @@ Function.prototype.toString = makeBuiltIn(function toString() {
|
|
|
487
487
|
__webpack_require__.r(__webpack_exports__);
|
|
488
488
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
489
489
|
|
|
490
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
490
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 8970));
|
|
491
491
|
const langData = {
|
|
492
492
|
input1: "请输入富文本内容"
|
|
493
493
|
};
|
|
@@ -15111,141 +15111,6 @@ module.exports = function (it) {
|
|
|
15111
15111
|
};
|
|
15112
15112
|
|
|
15113
15113
|
|
|
15114
|
-
/***/ }),
|
|
15115
|
-
|
|
15116
|
-
/***/ 1125:
|
|
15117
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
15118
|
-
|
|
15119
|
-
"use strict";
|
|
15120
|
-
// ESM COMPAT FLAG
|
|
15121
|
-
__webpack_require__.r(__webpack_exports__);
|
|
15122
|
-
|
|
15123
|
-
// EXPORTS
|
|
15124
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
15125
|
-
"default": function() { return /* binding */ View; }
|
|
15126
|
-
});
|
|
15127
|
-
|
|
15128
|
-
;// ./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-servePlan-text/View.vue?vue&type=template&id=1e95772a&scoped=true
|
|
15129
|
-
var render = function render() {
|
|
15130
|
-
var _vm = this,
|
|
15131
|
-
_c = _vm._self._c;
|
|
15132
|
-
return _c('BaseComp', _vm._b({
|
|
15133
|
-
attrs: {
|
|
15134
|
-
"data": _vm.data,
|
|
15135
|
-
"nowCompId": _vm.nowCompId,
|
|
15136
|
-
"isOpcacity": _vm.isOpcacity,
|
|
15137
|
-
"lang": _vm.lang
|
|
15138
|
-
},
|
|
15139
|
-
on: {
|
|
15140
|
-
"getConfigData": _vm.getConfigData
|
|
15141
|
-
}
|
|
15142
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
15143
|
-
staticClass: "cmhk-home cms-servePlan-text"
|
|
15144
|
-
}, [_c('div', {
|
|
15145
|
-
staticClass: "sp-custombg"
|
|
15146
|
-
}, [_c('div', {
|
|
15147
|
-
staticClass: "adjust-partheader"
|
|
15148
|
-
}, [_c('section', {
|
|
15149
|
-
staticClass: "cmhk-home_main"
|
|
15150
|
-
}, [_c('div', {
|
|
15151
|
-
class: ['cmhk-partheader']
|
|
15152
|
-
}, [_c('div', {
|
|
15153
|
-
staticClass: "part-header mgb-0 wow animate__fadeInUp"
|
|
15154
|
-
}, [_c('p', {
|
|
15155
|
-
staticClass: "part-header_title"
|
|
15156
|
-
}, [_c('span', {
|
|
15157
|
-
class: ['highlight']
|
|
15158
|
-
}, [_vm._v(_vm._s(_vm.configData.input3))])]), _vm.configData.input1 ? _c('p', {
|
|
15159
|
-
staticClass: "part-header_lf layout-pc"
|
|
15160
|
-
}, [_vm._v(" " + _vm._s(_vm.configData.input1) + " ")]) : _vm._e(), _c('span', {
|
|
15161
|
-
staticClass: "part-header_subtitle"
|
|
15162
|
-
}, [_c('span', {
|
|
15163
|
-
staticClass: "vm"
|
|
15164
|
-
}, [_vm._v(_vm._s(_vm.configData.input2))]), _c('i', {
|
|
15165
|
-
staticClass: "el-icon-arrow-right vm layout-pc"
|
|
15166
|
-
})])]), _vm.configData.input1 ? _c('p', {
|
|
15167
|
-
staticClass: "part-header_lf layout-mobile"
|
|
15168
|
-
}, [_vm._v(" " + _vm._s(_vm.configData.input1) + " ")]) : _vm._e()])])])])])]);
|
|
15169
|
-
};
|
|
15170
|
-
var staticRenderFns = [];
|
|
15171
|
-
|
|
15172
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
15173
|
-
var baseComp = __webpack_require__(677);
|
|
15174
|
-
;// ./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
|
|
15175
|
-
|
|
15176
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
15177
|
-
name: "cms-servePlan-text",
|
|
15178
|
-
components: {
|
|
15179
|
-
BaseComp: baseComp["default"]
|
|
15180
|
-
},
|
|
15181
|
-
props: {
|
|
15182
|
-
data: {
|
|
15183
|
-
type: Object,
|
|
15184
|
-
default: () => {
|
|
15185
|
-
return {};
|
|
15186
|
-
}
|
|
15187
|
-
},
|
|
15188
|
-
nowCompId: {
|
|
15189
|
-
type: [String, Number],
|
|
15190
|
-
default: ""
|
|
15191
|
-
},
|
|
15192
|
-
isOpcacity: {
|
|
15193
|
-
type: Boolean,
|
|
15194
|
-
default: true
|
|
15195
|
-
},
|
|
15196
|
-
lang: {
|
|
15197
|
-
type: String,
|
|
15198
|
-
default: "zh-HK"
|
|
15199
|
-
}
|
|
15200
|
-
},
|
|
15201
|
-
data() {
|
|
15202
|
-
return {
|
|
15203
|
-
configData: {}
|
|
15204
|
-
};
|
|
15205
|
-
},
|
|
15206
|
-
mounted() {},
|
|
15207
|
-
watch: {},
|
|
15208
|
-
methods: {
|
|
15209
|
-
getConfigData(configData) {
|
|
15210
|
-
this.configData = configData;
|
|
15211
|
-
},
|
|
15212
|
-
decodeJumpUrl(url) {
|
|
15213
|
-
if (!url) return;
|
|
15214
|
-
top.location.href = url;
|
|
15215
|
-
}
|
|
15216
|
-
}
|
|
15217
|
-
});
|
|
15218
|
-
;// ./package/cms-servePlan-text/View.vue?vue&type=script&lang=js
|
|
15219
|
-
/* harmony default export */ var cms_servePlan_text_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
15220
|
-
;// ./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-servePlan-text/View.vue?vue&type=style&index=0&id=1e95772a&prod&scoped=true&lang=scss
|
|
15221
|
-
// extracted by mini-css-extract-plugin
|
|
15222
|
-
|
|
15223
|
-
;// ./package/cms-servePlan-text/View.vue?vue&type=style&index=0&id=1e95772a&prod&scoped=true&lang=scss
|
|
15224
|
-
|
|
15225
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
15226
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
15227
|
-
;// ./package/cms-servePlan-text/View.vue
|
|
15228
|
-
|
|
15229
|
-
|
|
15230
|
-
|
|
15231
|
-
;
|
|
15232
|
-
|
|
15233
|
-
|
|
15234
|
-
/* normalize component */
|
|
15235
|
-
|
|
15236
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
15237
|
-
cms_servePlan_text_Viewvue_type_script_lang_js,
|
|
15238
|
-
render,
|
|
15239
|
-
staticRenderFns,
|
|
15240
|
-
false,
|
|
15241
|
-
null,
|
|
15242
|
-
"1e95772a",
|
|
15243
|
-
null
|
|
15244
|
-
|
|
15245
|
-
)
|
|
15246
|
-
|
|
15247
|
-
/* harmony default export */ var View = (component.exports);
|
|
15248
|
-
|
|
15249
15114
|
/***/ }),
|
|
15250
15115
|
|
|
15251
15116
|
/***/ 1148:
|
|
@@ -24080,8 +23945,8 @@ var map = {
|
|
|
24080
23945
|
"./cms-question/index.js": 9704,
|
|
24081
23946
|
"./cms-richText": 289,
|
|
24082
23947
|
"./cms-richText/": 289,
|
|
24083
|
-
"./cms-richText/View":
|
|
24084
|
-
"./cms-richText/View.vue":
|
|
23948
|
+
"./cms-richText/View": 8970,
|
|
23949
|
+
"./cms-richText/View.vue": 8970,
|
|
24085
23950
|
"./cms-richText/index": 289,
|
|
24086
23951
|
"./cms-richText/index.js": 289,
|
|
24087
23952
|
"./cms-servePlan-tab": 5786,
|
|
@@ -24097,8 +23962,8 @@ var map = {
|
|
|
24097
23962
|
"./cms-servePlan-tab/service-plan.scss": 431,
|
|
24098
23963
|
"./cms-servePlan-text": 2520,
|
|
24099
23964
|
"./cms-servePlan-text/": 2520,
|
|
24100
|
-
"./cms-servePlan-text/View":
|
|
24101
|
-
"./cms-servePlan-text/View.vue":
|
|
23965
|
+
"./cms-servePlan-text/View": 8642,
|
|
23966
|
+
"./cms-servePlan-text/View.vue": 8642,
|
|
24102
23967
|
"./cms-servePlan-text/index": 2520,
|
|
24103
23968
|
"./cms-servePlan-text/index.js": 2520,
|
|
24104
23969
|
"./cms-tab": 9007,
|
|
@@ -24109,8 +23974,8 @@ var map = {
|
|
|
24109
23974
|
"./cms-tab/index.js": 9007,
|
|
24110
23975
|
"./cms-termsAndConditions": 8806,
|
|
24111
23976
|
"./cms-termsAndConditions/": 8806,
|
|
24112
|
-
"./cms-termsAndConditions/View":
|
|
24113
|
-
"./cms-termsAndConditions/View.vue":
|
|
23977
|
+
"./cms-termsAndConditions/View": 8463,
|
|
23978
|
+
"./cms-termsAndConditions/View.vue": 8463,
|
|
24114
23979
|
"./cms-termsAndConditions/index": 8806,
|
|
24115
23980
|
"./cms-termsAndConditions/index.js": 8806,
|
|
24116
23981
|
"./cms-text": 4759,
|
|
@@ -26506,162 +26371,6 @@ module.exports = __webpack_require__(9981);
|
|
|
26506
26371
|
|
|
26507
26372
|
/***/ }),
|
|
26508
26373
|
|
|
26509
|
-
/***/ 2464:
|
|
26510
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
26511
|
-
|
|
26512
|
-
"use strict";
|
|
26513
|
-
// ESM COMPAT FLAG
|
|
26514
|
-
__webpack_require__.r(__webpack_exports__);
|
|
26515
|
-
|
|
26516
|
-
// EXPORTS
|
|
26517
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
26518
|
-
"default": function() { return /* binding */ View; }
|
|
26519
|
-
});
|
|
26520
|
-
|
|
26521
|
-
;// ./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-richText/View.vue?vue&type=template&id=0d29ae9c&scoped=true
|
|
26522
|
-
var render = function render() {
|
|
26523
|
-
var _vm = this,
|
|
26524
|
-
_c = _vm._self._c;
|
|
26525
|
-
return _c('BaseComp', _vm._b({
|
|
26526
|
-
attrs: {
|
|
26527
|
-
"data": _vm.data,
|
|
26528
|
-
"nowCompId": _vm.nowCompId,
|
|
26529
|
-
"isOpcacity": _vm.isOpcacity,
|
|
26530
|
-
"lang": _vm.lang
|
|
26531
|
-
},
|
|
26532
|
-
on: {
|
|
26533
|
-
"getConfigData": _vm.getConfigData
|
|
26534
|
-
}
|
|
26535
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
26536
|
-
class: {
|
|
26537
|
-
'cmhk-home_main': _vm.showCmhkMain
|
|
26538
|
-
}
|
|
26539
|
-
}, [_c('div', [_c('div', {
|
|
26540
|
-
staticClass: "inner"
|
|
26541
|
-
}, [_c('div', {
|
|
26542
|
-
staticClass: "cms-ht",
|
|
26543
|
-
domProps: {
|
|
26544
|
-
"innerHTML": _vm._s(_vm.configData.input1)
|
|
26545
|
-
}
|
|
26546
|
-
})])])])]);
|
|
26547
|
-
};
|
|
26548
|
-
var staticRenderFns = [];
|
|
26549
|
-
|
|
26550
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
26551
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
26552
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
26553
|
-
var es_iterator_for_each = __webpack_require__(7588);
|
|
26554
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
26555
|
-
var baseComp = __webpack_require__(677);
|
|
26556
|
-
;// ./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
|
|
26557
|
-
|
|
26558
|
-
|
|
26559
|
-
|
|
26560
|
-
|
|
26561
|
-
|
|
26562
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
26563
|
-
name: "cms-richText",
|
|
26564
|
-
components: {
|
|
26565
|
-
BaseComp: baseComp["default"]
|
|
26566
|
-
},
|
|
26567
|
-
props: {
|
|
26568
|
-
data: {
|
|
26569
|
-
type: Object,
|
|
26570
|
-
default: () => {
|
|
26571
|
-
return {};
|
|
26572
|
-
}
|
|
26573
|
-
},
|
|
26574
|
-
nowCompId: {
|
|
26575
|
-
type: [String, Number],
|
|
26576
|
-
default: ""
|
|
26577
|
-
},
|
|
26578
|
-
isOpcacity: {
|
|
26579
|
-
type: Boolean,
|
|
26580
|
-
default: true
|
|
26581
|
-
},
|
|
26582
|
-
lang: {
|
|
26583
|
-
type: String,
|
|
26584
|
-
default: "zh-HK"
|
|
26585
|
-
},
|
|
26586
|
-
showCmhkMain: {
|
|
26587
|
-
type: Boolean,
|
|
26588
|
-
default: true
|
|
26589
|
-
}
|
|
26590
|
-
},
|
|
26591
|
-
data() {
|
|
26592
|
-
return {
|
|
26593
|
-
configData: {},
|
|
26594
|
-
messFold: false
|
|
26595
|
-
};
|
|
26596
|
-
},
|
|
26597
|
-
mounted() {},
|
|
26598
|
-
watch: {},
|
|
26599
|
-
methods: {
|
|
26600
|
-
getConfigData(configData) {
|
|
26601
|
-
this.configData = configData;
|
|
26602
|
-
this.$nextTick(this.wrapTables);
|
|
26603
|
-
},
|
|
26604
|
-
// 给每张表格套独立横向滚动容器,避免手机端与其他内容一起滚动
|
|
26605
|
-
wrapTables() {
|
|
26606
|
-
const container = this.$el.querySelector('.cms-ht');
|
|
26607
|
-
if (!container) return;
|
|
26608
|
-
const tables = container.querySelectorAll('table:not([data-scroll-wrapped])');
|
|
26609
|
-
tables.forEach(table => {
|
|
26610
|
-
const wrapper = document.createElement('div');
|
|
26611
|
-
wrapper.className = 'cms-table-wrap';
|
|
26612
|
-
table.parentNode.insertBefore(wrapper, table);
|
|
26613
|
-
wrapper.appendChild(table);
|
|
26614
|
-
table.setAttribute('data-scroll-wrapped', '1');
|
|
26615
|
-
});
|
|
26616
|
-
},
|
|
26617
|
-
foldMessText() {
|
|
26618
|
-
this.messFold = !this.messFold;
|
|
26619
|
-
},
|
|
26620
|
-
decodeJumpUrl(url) {
|
|
26621
|
-
if (!url) return;
|
|
26622
|
-
top.location.href = url;
|
|
26623
|
-
}
|
|
26624
|
-
}
|
|
26625
|
-
});
|
|
26626
|
-
;// ./package/cms-richText/View.vue?vue&type=script&lang=js
|
|
26627
|
-
/* harmony default export */ var cms_richText_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
26628
|
-
;// ./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-richText/View.vue?vue&type=style&index=0&id=0d29ae9c&prod&lang=scss&scoped=true
|
|
26629
|
-
// extracted by mini-css-extract-plugin
|
|
26630
|
-
|
|
26631
|
-
;// ./package/cms-richText/View.vue?vue&type=style&index=0&id=0d29ae9c&prod&lang=scss&scoped=true
|
|
26632
|
-
|
|
26633
|
-
;// ./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-richText/View.vue?vue&type=style&index=1&id=0d29ae9c&prod&lang=scss
|
|
26634
|
-
// extracted by mini-css-extract-plugin
|
|
26635
|
-
|
|
26636
|
-
;// ./package/cms-richText/View.vue?vue&type=style&index=1&id=0d29ae9c&prod&lang=scss
|
|
26637
|
-
|
|
26638
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
26639
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
26640
|
-
;// ./package/cms-richText/View.vue
|
|
26641
|
-
|
|
26642
|
-
|
|
26643
|
-
|
|
26644
|
-
;
|
|
26645
|
-
|
|
26646
|
-
|
|
26647
|
-
|
|
26648
|
-
/* normalize component */
|
|
26649
|
-
|
|
26650
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
26651
|
-
cms_richText_Viewvue_type_script_lang_js,
|
|
26652
|
-
render,
|
|
26653
|
-
staticRenderFns,
|
|
26654
|
-
false,
|
|
26655
|
-
null,
|
|
26656
|
-
"0d29ae9c",
|
|
26657
|
-
null
|
|
26658
|
-
|
|
26659
|
-
)
|
|
26660
|
-
|
|
26661
|
-
/* harmony default export */ var View = (component.exports);
|
|
26662
|
-
|
|
26663
|
-
/***/ }),
|
|
26664
|
-
|
|
26665
26374
|
/***/ 2475:
|
|
26666
26375
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
26667
26376
|
|
|
@@ -26745,7 +26454,7 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
|
26745
26454
|
__webpack_require__.r(__webpack_exports__);
|
|
26746
26455
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
26747
26456
|
|
|
26748
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
26457
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 8642));
|
|
26749
26458
|
const langData = {
|
|
26750
26459
|
input1: "描述",
|
|
26751
26460
|
input2: "标题",
|
|
@@ -26756,7 +26465,7 @@ const configDataType = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getLangDataTy
|
|
|
26756
26465
|
label: "描述"
|
|
26757
26466
|
},
|
|
26758
26467
|
input2: {
|
|
26759
|
-
label: "
|
|
26468
|
+
label: "按钮"
|
|
26760
26469
|
},
|
|
26761
26470
|
input3: {
|
|
26762
26471
|
label: "高亮标题"
|
|
@@ -39343,18 +39052,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39343
39052
|
|
|
39344
39053
|
|
|
39345
39054
|
async function transfor(config) {
|
|
39346
|
-
var _config$settings, _config$wujieConfig, _config$wujieConfig2,
|
|
39347
|
-
|
|
39055
|
+
var _config$settings, _config$wujieConfig, _config$wujieConfig2, _config$wujieConfig3, _settingValue$content, _settingValue$bannerL, _settingValue$routerL, _settingValue$busCard, _settingValue$busCard2, _baseInfo;
|
|
39056
|
+
const settingsList = config === null || config === void 0 ? void 0 : (_config$settings = config.settings) === null || _config$settings === void 0 ? void 0 : _config$settings.settings;
|
|
39057
|
+
const settings = Array.isArray(settingsList) ? settingsList[0] : null;
|
|
39058
|
+
if (!settings && !(config !== null && config !== void 0 && (_config$wujieConfig = config.wujieConfig) !== null && _config$wujieConfig !== void 0 && _config$wujieConfig.viaCompInstId)) {
|
|
39348
39059
|
return config;
|
|
39349
39060
|
}
|
|
39350
39061
|
if (config !== null && config !== void 0 && (_config$wujieConfig2 = config.wujieConfig) !== null && _config$wujieConfig2 !== void 0 && _config$wujieConfig2.viaCompInstId) {
|
|
39351
39062
|
var _data$;
|
|
39352
39063
|
const {
|
|
39353
|
-
data
|
|
39064
|
+
data = []
|
|
39354
39065
|
} = await (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__/* .queryViaComponentByCode */ .OO)({
|
|
39355
39066
|
componentCode: config.wujieConfig.viaCompInstId
|
|
39356
39067
|
});
|
|
39357
|
-
const list = data
|
|
39068
|
+
const list = Array.isArray(data) && data.length ? ((_data$ = data[0]) === null || _data$ === void 0 ? void 0 : _data$.goodIdList) || [] : [];
|
|
39358
39069
|
return {
|
|
39359
39070
|
...config,
|
|
39360
39071
|
contentConfig: {
|
|
@@ -39367,18 +39078,19 @@ async function transfor(config) {
|
|
|
39367
39078
|
}
|
|
39368
39079
|
const cmsCompName = config.compName;
|
|
39369
39080
|
const childList = config.list || [];
|
|
39370
|
-
const settings = config.settings.settings[0];
|
|
39371
39081
|
const {
|
|
39372
39082
|
isWujie = false,
|
|
39373
39083
|
isVia = false,
|
|
39374
39084
|
componentUrl = "",
|
|
39375
39085
|
workbenchUrl = ""
|
|
39376
39086
|
} = settings;
|
|
39377
|
-
const
|
|
39378
|
-
const
|
|
39087
|
+
const settingValue = settings.value || {};
|
|
39088
|
+
const wujieComponentId = (settingValue === null || settingValue === void 0 ? void 0 : settingValue.componentId) || "";
|
|
39089
|
+
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) || "";
|
|
39090
|
+
const isViaStoredValueCard = isVia && viaCompInstId && cmsCompName === "cms-via-storedValueCard";
|
|
39379
39091
|
const compConfig = {
|
|
39380
39092
|
childList: childList,
|
|
39381
|
-
...(isWujie ? {
|
|
39093
|
+
...(isWujie && !isViaStoredValueCard ? {
|
|
39382
39094
|
wujieConfig: {
|
|
39383
39095
|
//wujie
|
|
39384
39096
|
componentUrl,
|
|
@@ -39389,24 +39101,24 @@ async function transfor(config) {
|
|
|
39389
39101
|
} : {})
|
|
39390
39102
|
};
|
|
39391
39103
|
let baseInfo = {};
|
|
39392
|
-
if (
|
|
39393
|
-
baseInfo =
|
|
39394
|
-
} else if ((
|
|
39395
|
-
baseInfo =
|
|
39396
|
-
} else if ((
|
|
39397
|
-
baseInfo =
|
|
39398
|
-
} else if ((
|
|
39399
|
-
baseInfo =
|
|
39400
|
-
} else if ((
|
|
39401
|
-
baseInfo =
|
|
39402
|
-
} else if (
|
|
39403
|
-
baseInfo =
|
|
39404
|
-
} else if (
|
|
39405
|
-
baseInfo = Object.prototype.toString.call(
|
|
39406
|
-
value:
|
|
39104
|
+
if (settingValue !== null && settingValue !== void 0 && (_settingValue$content = settingValue.content) !== null && _settingValue$content !== void 0 && _settingValue$content.CN) {
|
|
39105
|
+
baseInfo = settingValue.content;
|
|
39106
|
+
} else if ((_settingValue$bannerL = settingValue.bannerList) !== null && _settingValue$bannerL !== void 0 && _settingValue$bannerL.CN) {
|
|
39107
|
+
baseInfo = settingValue.bannerList;
|
|
39108
|
+
} else if ((_settingValue$routerL = settingValue.routerList) !== null && _settingValue$routerL !== void 0 && _settingValue$routerL.CN) {
|
|
39109
|
+
baseInfo = settingValue.routerList;
|
|
39110
|
+
} else if ((_settingValue$busCard = settingValue.busCardList) !== null && _settingValue$busCard !== void 0 && _settingValue$busCard.CN) {
|
|
39111
|
+
baseInfo = settingValue.busCardList;
|
|
39112
|
+
} else if ((_settingValue$busCard2 = settingValue.busCardList) !== null && _settingValue$busCard2 !== void 0 && _settingValue$busCard2.CN) {
|
|
39113
|
+
baseInfo = settingValue.busCardList;
|
|
39114
|
+
} else if (settingValue !== null && settingValue !== void 0 && settingValue.CN) {
|
|
39115
|
+
baseInfo = settingValue;
|
|
39116
|
+
} else if (settingValue) {
|
|
39117
|
+
baseInfo = Object.prototype.toString.call(settingValue) === "[object Object]" ? settingValue : {
|
|
39118
|
+
value: settingValue
|
|
39407
39119
|
};
|
|
39408
39120
|
}
|
|
39409
|
-
|
|
39121
|
+
let isLangAll = !((_baseInfo = baseInfo) !== null && _baseInfo !== void 0 && _baseInfo.CN);
|
|
39410
39122
|
let lang_tc = {};
|
|
39411
39123
|
let lang_sc = {};
|
|
39412
39124
|
let lang_en = {};
|
|
@@ -39414,14 +39126,15 @@ async function transfor(config) {
|
|
|
39414
39126
|
if (viaCompInstId) {
|
|
39415
39127
|
var _data$2;
|
|
39416
39128
|
const {
|
|
39417
|
-
data
|
|
39129
|
+
data = []
|
|
39418
39130
|
} = await (0,_api_index_js__WEBPACK_IMPORTED_MODULE_4__/* .queryViaComponentByCode */ .OO)({
|
|
39419
|
-
componentCode:
|
|
39131
|
+
componentCode: viaCompInstId
|
|
39420
39132
|
});
|
|
39421
|
-
const list = data.length ? ((_data$2 = data[0]) === null || _data$2 === void 0 ? void 0 : _data$2.goodIdList) || [] : [];
|
|
39133
|
+
const list = Array.isArray(data) && data.length ? ((_data$2 = data[0]) === null || _data$2 === void 0 ? void 0 : _data$2.goodIdList) || [] : [];
|
|
39422
39134
|
baseInfo = {
|
|
39423
39135
|
configList: [...list]
|
|
39424
39136
|
};
|
|
39137
|
+
isLangAll = true;
|
|
39425
39138
|
}
|
|
39426
39139
|
if (isLangAll) {
|
|
39427
39140
|
lang_all = baseInfo;
|
|
@@ -43068,11 +42781,11 @@ var map = {
|
|
|
43068
42781
|
"./cms-prodCustomization/View.vue": 9465,
|
|
43069
42782
|
"./cms-productDetails/View.vue": 7979,
|
|
43070
42783
|
"./cms-question/View.vue": 5394,
|
|
43071
|
-
"./cms-richText/View.vue":
|
|
42784
|
+
"./cms-richText/View.vue": 8970,
|
|
43072
42785
|
"./cms-servePlan-tab/View.vue": 1041,
|
|
43073
|
-
"./cms-servePlan-text/View.vue":
|
|
42786
|
+
"./cms-servePlan-text/View.vue": 8642,
|
|
43074
42787
|
"./cms-tab/View.vue": 3591,
|
|
43075
|
-
"./cms-termsAndConditions/View.vue":
|
|
42788
|
+
"./cms-termsAndConditions/View.vue": 8463,
|
|
43076
42789
|
"./cms-text/View.vue": 2618,
|
|
43077
42790
|
"./cms-threeScroll/View.vue": 3956,
|
|
43078
42791
|
"./cms-titleCenter/View.vue": 624,
|
|
@@ -50684,232 +50397,6 @@ module.exports = Object;
|
|
|
50684
50397
|
|
|
50685
50398
|
/***/ }),
|
|
50686
50399
|
|
|
50687
|
-
/***/ 7211:
|
|
50688
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
50689
|
-
|
|
50690
|
-
"use strict";
|
|
50691
|
-
// ESM COMPAT FLAG
|
|
50692
|
-
__webpack_require__.r(__webpack_exports__);
|
|
50693
|
-
|
|
50694
|
-
// EXPORTS
|
|
50695
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
50696
|
-
"default": function() { return /* binding */ View; }
|
|
50697
|
-
});
|
|
50698
|
-
|
|
50699
|
-
;// ./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-termsAndConditions/View.vue?vue&type=template&id=ce077d8a&scoped=true
|
|
50700
|
-
var render = function render() {
|
|
50701
|
-
var _vm = this,
|
|
50702
|
-
_c = _vm._self._c;
|
|
50703
|
-
return _c('BaseComp', _vm._b({
|
|
50704
|
-
attrs: {
|
|
50705
|
-
"data": _vm.data,
|
|
50706
|
-
"nowCompId": _vm.nowCompId,
|
|
50707
|
-
"isOpcacity": _vm.isOpcacity,
|
|
50708
|
-
"lang": _vm.lang
|
|
50709
|
-
},
|
|
50710
|
-
on: {
|
|
50711
|
-
"getConfigData": _vm.getConfigData
|
|
50712
|
-
}
|
|
50713
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
50714
|
-
staticClass: "cmhk-home_main"
|
|
50715
|
-
}, [_c('div', {
|
|
50716
|
-
staticClass: "page-tab-swiper_wrapper",
|
|
50717
|
-
class: _vm.swiperArrow == true ? '' : 'active'
|
|
50718
|
-
}, [_c('div', {
|
|
50719
|
-
ref: "barparent",
|
|
50720
|
-
staticClass: "page-tab-swiper common-swiper_tab",
|
|
50721
|
-
attrs: {
|
|
50722
|
-
"id": `terms${_vm.data.componentId}`
|
|
50723
|
-
}
|
|
50724
|
-
}, [_c('div', {
|
|
50725
|
-
staticClass: "swiper-wrapper"
|
|
50726
|
-
}, _vm._l(_vm.configList, function (item, index) {
|
|
50727
|
-
return _c('div', {
|
|
50728
|
-
key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
|
|
50729
|
-
staticClass: "swiper-slide",
|
|
50730
|
-
class: item.id == _vm.currentTab ? 'active' : '',
|
|
50731
|
-
on: {
|
|
50732
|
-
"click": function ($event) {
|
|
50733
|
-
return _vm.changeTab(item);
|
|
50734
|
-
}
|
|
50735
|
-
}
|
|
50736
|
-
}, [_vm._v(" " + _vm._s(item.input1) + " ")]);
|
|
50737
|
-
}), 0)])]), _c('div', {
|
|
50738
|
-
staticClass: "page-tab-swiper-body"
|
|
50739
|
-
}, [_c('div', {
|
|
50740
|
-
staticClass: "desContent cms-ht",
|
|
50741
|
-
domProps: {
|
|
50742
|
-
"innerHTML": _vm._s(_vm._showTipsInfo)
|
|
50743
|
-
}
|
|
50744
|
-
})])])]);
|
|
50745
|
-
};
|
|
50746
|
-
var staticRenderFns = [];
|
|
50747
|
-
|
|
50748
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
50749
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
50750
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
|
|
50751
|
-
var es_iterator_filter = __webpack_require__(2489);
|
|
50752
|
-
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
|
|
50753
|
-
var swiper = __webpack_require__(828);
|
|
50754
|
-
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
50755
|
-
var swiper_esm_bundle = __webpack_require__(1532);
|
|
50756
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
50757
|
-
var baseComp = __webpack_require__(677);
|
|
50758
|
-
;// ./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
|
|
50759
|
-
|
|
50760
|
-
|
|
50761
|
-
|
|
50762
|
-
|
|
50763
|
-
|
|
50764
|
-
|
|
50765
|
-
|
|
50766
|
-
|
|
50767
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
50768
|
-
name: "cms-termsAndConditions",
|
|
50769
|
-
components: {
|
|
50770
|
-
BaseComp: baseComp["default"]
|
|
50771
|
-
},
|
|
50772
|
-
props: {
|
|
50773
|
-
data: {
|
|
50774
|
-
type: Object,
|
|
50775
|
-
default: () => {
|
|
50776
|
-
return {};
|
|
50777
|
-
}
|
|
50778
|
-
},
|
|
50779
|
-
nowCompId: {
|
|
50780
|
-
type: [String, Number],
|
|
50781
|
-
default: ""
|
|
50782
|
-
},
|
|
50783
|
-
isOpcacity: {
|
|
50784
|
-
type: Boolean,
|
|
50785
|
-
default: true
|
|
50786
|
-
},
|
|
50787
|
-
lang: {
|
|
50788
|
-
type: String,
|
|
50789
|
-
default: "zh-HK"
|
|
50790
|
-
}
|
|
50791
|
-
},
|
|
50792
|
-
data() {
|
|
50793
|
-
return {
|
|
50794
|
-
configList: [],
|
|
50795
|
-
currentTab: "",
|
|
50796
|
-
swiperArrow: false,
|
|
50797
|
-
broadbandSwiperC: null,
|
|
50798
|
-
swiperBeginning: false,
|
|
50799
|
-
swiperEnd: false
|
|
50800
|
-
};
|
|
50801
|
-
},
|
|
50802
|
-
mounted() {
|
|
50803
|
-
this.$nextTick(() => {
|
|
50804
|
-
this.broadbandSwiperC = new swiper_esm_bundle/* default */.A(`#terms${this.data.componentId}`, {
|
|
50805
|
-
autoplay: false,
|
|
50806
|
-
loop: false,
|
|
50807
|
-
// 循环模式选项
|
|
50808
|
-
spaceBetween: 0,
|
|
50809
|
-
slidesPerView: "auto",
|
|
50810
|
-
// slidesPerGroup:1,
|
|
50811
|
-
observer: true,
|
|
50812
|
-
observeParents: true
|
|
50813
|
-
});
|
|
50814
|
-
// 0820 -end
|
|
50815
|
-
});
|
|
50816
|
-
this.currentTab = this.configList[0].id;
|
|
50817
|
-
},
|
|
50818
|
-
methods: {
|
|
50819
|
-
getConfigData(configData) {
|
|
50820
|
-
this.configList = configData.configList;
|
|
50821
|
-
this.$nextTick(() => {
|
|
50822
|
-
var _this$broadbandSwiper, _this$broadbandSwiper2;
|
|
50823
|
-
if (!this.$refs.barparent || !this.broadbandSwiperC) return;
|
|
50824
|
-
const parentClientWidth = this.$refs.barparent.clientWidth;
|
|
50825
|
-
console.log("this.broadbandSwiperC?.virtualSize ,", (_this$broadbandSwiper = this.broadbandSwiperC) === null || _this$broadbandSwiper === void 0 ? void 0 : _this$broadbandSwiper.virtualSize);
|
|
50826
|
-
if (((_this$broadbandSwiper2 = this.broadbandSwiperC) === null || _this$broadbandSwiper2 === void 0 ? void 0 : _this$broadbandSwiper2.virtualSize) <= parentClientWidth) {
|
|
50827
|
-
this.swiperArrow = false;
|
|
50828
|
-
} else {
|
|
50829
|
-
this.swiperArrow = true;
|
|
50830
|
-
}
|
|
50831
|
-
if (this.broadbandSwiperC.isBeginning) {
|
|
50832
|
-
this.swiperBeginning = true;
|
|
50833
|
-
}
|
|
50834
|
-
if (this.broadbandSwiperC.isEnd) {
|
|
50835
|
-
this.swiperEnd = true;
|
|
50836
|
-
}
|
|
50837
|
-
});
|
|
50838
|
-
},
|
|
50839
|
-
clickSwiperPrev() {
|
|
50840
|
-
this.broadbandSwiperC.slidePrev();
|
|
50841
|
-
if (this.broadbandSwiperC.isBeginning) {
|
|
50842
|
-
this.swiperBeginning = true;
|
|
50843
|
-
} else {
|
|
50844
|
-
this.swiperBeginning = false;
|
|
50845
|
-
}
|
|
50846
|
-
if (this.broadbandSwiperC.isEnd) {
|
|
50847
|
-
this.swiperEnd = true;
|
|
50848
|
-
} else {
|
|
50849
|
-
this.swiperEnd = false;
|
|
50850
|
-
}
|
|
50851
|
-
},
|
|
50852
|
-
clickSwiperNext() {
|
|
50853
|
-
this.broadbandSwiperC.slideNext();
|
|
50854
|
-
if (this.broadbandSwiperC.isBeginning) {
|
|
50855
|
-
this.swiperBeginning = true;
|
|
50856
|
-
} else {
|
|
50857
|
-
this.swiperBeginning = false;
|
|
50858
|
-
}
|
|
50859
|
-
if (this.broadbandSwiperC.isEnd) {
|
|
50860
|
-
this.swiperEnd = true;
|
|
50861
|
-
} else {
|
|
50862
|
-
this.swiperEnd = false;
|
|
50863
|
-
}
|
|
50864
|
-
},
|
|
50865
|
-
changeTab(item) {
|
|
50866
|
-
this.currentTab = item.id;
|
|
50867
|
-
},
|
|
50868
|
-
decodeJumpUrl(url) {
|
|
50869
|
-
if (!url) return;
|
|
50870
|
-
top.location.href = url;
|
|
50871
|
-
}
|
|
50872
|
-
},
|
|
50873
|
-
computed: {
|
|
50874
|
-
_showTipsInfo() {
|
|
50875
|
-
const [result = {}] = this.configList.filter(item => item.id == this.currentTab);
|
|
50876
|
-
return result.input2;
|
|
50877
|
-
}
|
|
50878
|
-
}
|
|
50879
|
-
});
|
|
50880
|
-
;// ./package/cms-termsAndConditions/View.vue?vue&type=script&lang=js
|
|
50881
|
-
/* harmony default export */ var cms_termsAndConditions_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
50882
|
-
;// ./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-termsAndConditions/View.vue?vue&type=style&index=0&id=ce077d8a&prod&lang=scss&scoped=true
|
|
50883
|
-
// extracted by mini-css-extract-plugin
|
|
50884
|
-
|
|
50885
|
-
;// ./package/cms-termsAndConditions/View.vue?vue&type=style&index=0&id=ce077d8a&prod&lang=scss&scoped=true
|
|
50886
|
-
|
|
50887
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
50888
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
50889
|
-
;// ./package/cms-termsAndConditions/View.vue
|
|
50890
|
-
|
|
50891
|
-
|
|
50892
|
-
|
|
50893
|
-
;
|
|
50894
|
-
|
|
50895
|
-
|
|
50896
|
-
/* normalize component */
|
|
50897
|
-
|
|
50898
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
50899
|
-
cms_termsAndConditions_Viewvue_type_script_lang_js,
|
|
50900
|
-
render,
|
|
50901
|
-
staticRenderFns,
|
|
50902
|
-
false,
|
|
50903
|
-
null,
|
|
50904
|
-
"ce077d8a",
|
|
50905
|
-
null
|
|
50906
|
-
|
|
50907
|
-
)
|
|
50908
|
-
|
|
50909
|
-
/* harmony default export */ var View = (component.exports);
|
|
50910
|
-
|
|
50911
|
-
/***/ }),
|
|
50912
|
-
|
|
50913
50400
|
/***/ 7277:
|
|
50914
50401
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
50915
50402
|
|
|
@@ -54529,6 +54016,249 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
54529
54016
|
|
|
54530
54017
|
/***/ }),
|
|
54531
54018
|
|
|
54019
|
+
/***/ 8463:
|
|
54020
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
54021
|
+
|
|
54022
|
+
"use strict";
|
|
54023
|
+
// ESM COMPAT FLAG
|
|
54024
|
+
__webpack_require__.r(__webpack_exports__);
|
|
54025
|
+
|
|
54026
|
+
// EXPORTS
|
|
54027
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
54028
|
+
"default": function() { return /* binding */ View; }
|
|
54029
|
+
});
|
|
54030
|
+
|
|
54031
|
+
;// ./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-termsAndConditions/View.vue?vue&type=template&id=4334816c&scoped=true
|
|
54032
|
+
var render = function render() {
|
|
54033
|
+
var _vm = this,
|
|
54034
|
+
_c = _vm._self._c;
|
|
54035
|
+
return _c('BaseComp', _vm._b({
|
|
54036
|
+
attrs: {
|
|
54037
|
+
"data": _vm.data,
|
|
54038
|
+
"nowCompId": _vm.nowCompId,
|
|
54039
|
+
"isOpcacity": _vm.isOpcacity,
|
|
54040
|
+
"lang": _vm.lang
|
|
54041
|
+
},
|
|
54042
|
+
on: {
|
|
54043
|
+
"getConfigData": _vm.getConfigData
|
|
54044
|
+
}
|
|
54045
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
54046
|
+
staticClass: "cmhk-home_main"
|
|
54047
|
+
}, [_c('div', {
|
|
54048
|
+
staticClass: "page-tab-swiper_wrapper",
|
|
54049
|
+
class: _vm.swiperArrow == true ? '' : 'active'
|
|
54050
|
+
}, [_c('div', {
|
|
54051
|
+
ref: "barparent",
|
|
54052
|
+
staticClass: "page-tab-swiper common-swiper_tab",
|
|
54053
|
+
attrs: {
|
|
54054
|
+
"id": `terms${_vm.data.componentId}`
|
|
54055
|
+
}
|
|
54056
|
+
}, [_c('div', {
|
|
54057
|
+
staticClass: "swiper-wrapper"
|
|
54058
|
+
}, _vm._l(_vm.configList, function (item, index) {
|
|
54059
|
+
return _c('div', {
|
|
54060
|
+
key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
|
|
54061
|
+
staticClass: "swiper-slide",
|
|
54062
|
+
class: item.id == _vm.currentTab ? 'active' : '',
|
|
54063
|
+
on: {
|
|
54064
|
+
"click": function ($event) {
|
|
54065
|
+
return _vm.changeTab(item);
|
|
54066
|
+
}
|
|
54067
|
+
}
|
|
54068
|
+
}, [_vm._v(" " + _vm._s(item.input1) + " ")]);
|
|
54069
|
+
}), 0)])]), _c('div', {
|
|
54070
|
+
staticClass: "page-tab-swiper-body"
|
|
54071
|
+
}, [_c('div', {
|
|
54072
|
+
staticClass: "desContent cms-ht",
|
|
54073
|
+
domProps: {
|
|
54074
|
+
"innerHTML": _vm._s(_vm._showTipsInfo)
|
|
54075
|
+
}
|
|
54076
|
+
})])])]);
|
|
54077
|
+
};
|
|
54078
|
+
var staticRenderFns = [];
|
|
54079
|
+
|
|
54080
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
54081
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
54082
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
|
|
54083
|
+
var es_iterator_filter = __webpack_require__(2489);
|
|
54084
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
54085
|
+
var es_iterator_for_each = __webpack_require__(7588);
|
|
54086
|
+
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
|
|
54087
|
+
var swiper = __webpack_require__(828);
|
|
54088
|
+
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
54089
|
+
var swiper_esm_bundle = __webpack_require__(1532);
|
|
54090
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
54091
|
+
var baseComp = __webpack_require__(677);
|
|
54092
|
+
;// ./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
|
|
54093
|
+
|
|
54094
|
+
|
|
54095
|
+
|
|
54096
|
+
|
|
54097
|
+
|
|
54098
|
+
|
|
54099
|
+
|
|
54100
|
+
|
|
54101
|
+
|
|
54102
|
+
|
|
54103
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
54104
|
+
name: "cms-termsAndConditions",
|
|
54105
|
+
components: {
|
|
54106
|
+
BaseComp: baseComp["default"]
|
|
54107
|
+
},
|
|
54108
|
+
props: {
|
|
54109
|
+
data: {
|
|
54110
|
+
type: Object,
|
|
54111
|
+
default: () => {
|
|
54112
|
+
return {};
|
|
54113
|
+
}
|
|
54114
|
+
},
|
|
54115
|
+
nowCompId: {
|
|
54116
|
+
type: [String, Number],
|
|
54117
|
+
default: ""
|
|
54118
|
+
},
|
|
54119
|
+
isOpcacity: {
|
|
54120
|
+
type: Boolean,
|
|
54121
|
+
default: true
|
|
54122
|
+
},
|
|
54123
|
+
lang: {
|
|
54124
|
+
type: String,
|
|
54125
|
+
default: "zh-HK"
|
|
54126
|
+
}
|
|
54127
|
+
},
|
|
54128
|
+
data() {
|
|
54129
|
+
return {
|
|
54130
|
+
configList: [],
|
|
54131
|
+
currentTab: "",
|
|
54132
|
+
swiperArrow: false,
|
|
54133
|
+
broadbandSwiperC: null,
|
|
54134
|
+
swiperBeginning: false,
|
|
54135
|
+
swiperEnd: false
|
|
54136
|
+
};
|
|
54137
|
+
},
|
|
54138
|
+
mounted() {
|
|
54139
|
+
this.$nextTick(() => {
|
|
54140
|
+
this.broadbandSwiperC = new swiper_esm_bundle/* default */.A(`#terms${this.data.componentId}`, {
|
|
54141
|
+
autoplay: false,
|
|
54142
|
+
loop: false,
|
|
54143
|
+
// 循环模式选项
|
|
54144
|
+
spaceBetween: 0,
|
|
54145
|
+
slidesPerView: "auto",
|
|
54146
|
+
// slidesPerGroup:1,
|
|
54147
|
+
observer: true,
|
|
54148
|
+
observeParents: true
|
|
54149
|
+
});
|
|
54150
|
+
// 0820 -end
|
|
54151
|
+
});
|
|
54152
|
+
this.currentTab = this.configList[0].id;
|
|
54153
|
+
this.$nextTick(this.markLegacyTables);
|
|
54154
|
+
},
|
|
54155
|
+
methods: {
|
|
54156
|
+
getConfigData(configData) {
|
|
54157
|
+
this.configList = configData.configList;
|
|
54158
|
+
this.$nextTick(() => {
|
|
54159
|
+
var _this$broadbandSwiper, _this$broadbandSwiper2;
|
|
54160
|
+
if (!this.$refs.barparent || !this.broadbandSwiperC) return;
|
|
54161
|
+
const parentClientWidth = this.$refs.barparent.clientWidth;
|
|
54162
|
+
console.log("this.broadbandSwiperC?.virtualSize ,", (_this$broadbandSwiper = this.broadbandSwiperC) === null || _this$broadbandSwiper === void 0 ? void 0 : _this$broadbandSwiper.virtualSize);
|
|
54163
|
+
if (((_this$broadbandSwiper2 = this.broadbandSwiperC) === null || _this$broadbandSwiper2 === void 0 ? void 0 : _this$broadbandSwiper2.virtualSize) <= parentClientWidth) {
|
|
54164
|
+
this.swiperArrow = false;
|
|
54165
|
+
} else {
|
|
54166
|
+
this.swiperArrow = true;
|
|
54167
|
+
}
|
|
54168
|
+
if (this.broadbandSwiperC.isBeginning) {
|
|
54169
|
+
this.swiperBeginning = true;
|
|
54170
|
+
}
|
|
54171
|
+
if (this.broadbandSwiperC.isEnd) {
|
|
54172
|
+
this.swiperEnd = true;
|
|
54173
|
+
}
|
|
54174
|
+
this.markLegacyTables();
|
|
54175
|
+
});
|
|
54176
|
+
},
|
|
54177
|
+
clickSwiperPrev() {
|
|
54178
|
+
this.broadbandSwiperC.slidePrev();
|
|
54179
|
+
if (this.broadbandSwiperC.isBeginning) {
|
|
54180
|
+
this.swiperBeginning = true;
|
|
54181
|
+
} else {
|
|
54182
|
+
this.swiperBeginning = false;
|
|
54183
|
+
}
|
|
54184
|
+
if (this.broadbandSwiperC.isEnd) {
|
|
54185
|
+
this.swiperEnd = true;
|
|
54186
|
+
} else {
|
|
54187
|
+
this.swiperEnd = false;
|
|
54188
|
+
}
|
|
54189
|
+
},
|
|
54190
|
+
clickSwiperNext() {
|
|
54191
|
+
this.broadbandSwiperC.slideNext();
|
|
54192
|
+
if (this.broadbandSwiperC.isBeginning) {
|
|
54193
|
+
this.swiperBeginning = true;
|
|
54194
|
+
} else {
|
|
54195
|
+
this.swiperBeginning = false;
|
|
54196
|
+
}
|
|
54197
|
+
if (this.broadbandSwiperC.isEnd) {
|
|
54198
|
+
this.swiperEnd = true;
|
|
54199
|
+
} else {
|
|
54200
|
+
this.swiperEnd = false;
|
|
54201
|
+
}
|
|
54202
|
+
},
|
|
54203
|
+
changeTab(item) {
|
|
54204
|
+
this.currentTab = item.id;
|
|
54205
|
+
this.$nextTick(this.markLegacyTables);
|
|
54206
|
+
},
|
|
54207
|
+
markLegacyTables() {
|
|
54208
|
+
const container = this.$el.querySelector(".desContent");
|
|
54209
|
+
if (!container) return;
|
|
54210
|
+
const tables = container.querySelectorAll("table");
|
|
54211
|
+
tables.forEach(table => {
|
|
54212
|
+
if (table.closest(".pc-show, .mobile-show")) {
|
|
54213
|
+
table.setAttribute("data-cms-legacy-table", "1");
|
|
54214
|
+
}
|
|
54215
|
+
});
|
|
54216
|
+
},
|
|
54217
|
+
decodeJumpUrl(url) {
|
|
54218
|
+
if (!url) return;
|
|
54219
|
+
top.location.href = url;
|
|
54220
|
+
}
|
|
54221
|
+
},
|
|
54222
|
+
computed: {
|
|
54223
|
+
_showTipsInfo() {
|
|
54224
|
+
const [result = {}] = this.configList.filter(item => item.id == this.currentTab);
|
|
54225
|
+
return result.input2;
|
|
54226
|
+
}
|
|
54227
|
+
}
|
|
54228
|
+
});
|
|
54229
|
+
;// ./package/cms-termsAndConditions/View.vue?vue&type=script&lang=js
|
|
54230
|
+
/* harmony default export */ var cms_termsAndConditions_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
54231
|
+
;// ./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-termsAndConditions/View.vue?vue&type=style&index=0&id=4334816c&prod&lang=scss&scoped=true
|
|
54232
|
+
// extracted by mini-css-extract-plugin
|
|
54233
|
+
|
|
54234
|
+
;// ./package/cms-termsAndConditions/View.vue?vue&type=style&index=0&id=4334816c&prod&lang=scss&scoped=true
|
|
54235
|
+
|
|
54236
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
54237
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
54238
|
+
;// ./package/cms-termsAndConditions/View.vue
|
|
54239
|
+
|
|
54240
|
+
|
|
54241
|
+
|
|
54242
|
+
;
|
|
54243
|
+
|
|
54244
|
+
|
|
54245
|
+
/* normalize component */
|
|
54246
|
+
|
|
54247
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
54248
|
+
cms_termsAndConditions_Viewvue_type_script_lang_js,
|
|
54249
|
+
render,
|
|
54250
|
+
staticRenderFns,
|
|
54251
|
+
false,
|
|
54252
|
+
null,
|
|
54253
|
+
"4334816c",
|
|
54254
|
+
null
|
|
54255
|
+
|
|
54256
|
+
)
|
|
54257
|
+
|
|
54258
|
+
/* harmony default export */ var View = (component.exports);
|
|
54259
|
+
|
|
54260
|
+
/***/ }),
|
|
54261
|
+
|
|
54532
54262
|
/***/ 8469:
|
|
54533
54263
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
54534
54264
|
|
|
@@ -54718,6 +54448,141 @@ var WeakMap = globalThis.WeakMap;
|
|
|
54718
54448
|
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
|
54719
54449
|
|
|
54720
54450
|
|
|
54451
|
+
/***/ }),
|
|
54452
|
+
|
|
54453
|
+
/***/ 8642:
|
|
54454
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
54455
|
+
|
|
54456
|
+
"use strict";
|
|
54457
|
+
// ESM COMPAT FLAG
|
|
54458
|
+
__webpack_require__.r(__webpack_exports__);
|
|
54459
|
+
|
|
54460
|
+
// EXPORTS
|
|
54461
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
54462
|
+
"default": function() { return /* binding */ View; }
|
|
54463
|
+
});
|
|
54464
|
+
|
|
54465
|
+
;// ./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-servePlan-text/View.vue?vue&type=template&id=6d76799b&scoped=true
|
|
54466
|
+
var render = function render() {
|
|
54467
|
+
var _vm = this,
|
|
54468
|
+
_c = _vm._self._c;
|
|
54469
|
+
return _c('BaseComp', _vm._b({
|
|
54470
|
+
attrs: {
|
|
54471
|
+
"data": _vm.data,
|
|
54472
|
+
"nowCompId": _vm.nowCompId,
|
|
54473
|
+
"isOpcacity": _vm.isOpcacity,
|
|
54474
|
+
"lang": _vm.lang
|
|
54475
|
+
},
|
|
54476
|
+
on: {
|
|
54477
|
+
"getConfigData": _vm.getConfigData
|
|
54478
|
+
}
|
|
54479
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
54480
|
+
staticClass: "cmhk-home cms-servePlan-text"
|
|
54481
|
+
}, [_c('div', {
|
|
54482
|
+
staticClass: "sp-custombg"
|
|
54483
|
+
}, [_c('div', {
|
|
54484
|
+
staticClass: "adjust-partheader"
|
|
54485
|
+
}, [_c('section', {
|
|
54486
|
+
staticClass: "cmhk-home_main"
|
|
54487
|
+
}, [_c('div', {
|
|
54488
|
+
class: ['cmhk-partheader']
|
|
54489
|
+
}, [_c('div', {
|
|
54490
|
+
staticClass: "part-header mgb-0 wow animate__fadeInUp"
|
|
54491
|
+
}, [_c('p', {
|
|
54492
|
+
staticClass: "part-header_title"
|
|
54493
|
+
}, [_c('span', {
|
|
54494
|
+
class: ['highlight']
|
|
54495
|
+
}, [_vm._v(_vm._s(_vm.configData.input3))])]), _vm.configData.input1 ? _c('p', {
|
|
54496
|
+
staticClass: "part-header_lf layout-pc"
|
|
54497
|
+
}, [_vm._v(" " + _vm._s(_vm.configData.input1) + " ")]) : _vm._e(), _c('span', {
|
|
54498
|
+
staticClass: "part-header_subtitle"
|
|
54499
|
+
}, [_c('span', {
|
|
54500
|
+
staticClass: "vm"
|
|
54501
|
+
}, [_vm._v(_vm._s(_vm.configData.input2))]), _c('i', {
|
|
54502
|
+
staticClass: "el-icon-arrow-right vm"
|
|
54503
|
+
})])]), _vm.configData.input1 ? _c('p', {
|
|
54504
|
+
staticClass: "part-header_lf layout-mobile"
|
|
54505
|
+
}, [_vm._v(" " + _vm._s(_vm.configData.input1) + " ")]) : _vm._e()])])])])])]);
|
|
54506
|
+
};
|
|
54507
|
+
var staticRenderFns = [];
|
|
54508
|
+
|
|
54509
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
54510
|
+
var baseComp = __webpack_require__(677);
|
|
54511
|
+
;// ./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
|
|
54512
|
+
|
|
54513
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
54514
|
+
name: "cms-servePlan-text",
|
|
54515
|
+
components: {
|
|
54516
|
+
BaseComp: baseComp["default"]
|
|
54517
|
+
},
|
|
54518
|
+
props: {
|
|
54519
|
+
data: {
|
|
54520
|
+
type: Object,
|
|
54521
|
+
default: () => {
|
|
54522
|
+
return {};
|
|
54523
|
+
}
|
|
54524
|
+
},
|
|
54525
|
+
nowCompId: {
|
|
54526
|
+
type: [String, Number],
|
|
54527
|
+
default: ""
|
|
54528
|
+
},
|
|
54529
|
+
isOpcacity: {
|
|
54530
|
+
type: Boolean,
|
|
54531
|
+
default: true
|
|
54532
|
+
},
|
|
54533
|
+
lang: {
|
|
54534
|
+
type: String,
|
|
54535
|
+
default: "zh-HK"
|
|
54536
|
+
}
|
|
54537
|
+
},
|
|
54538
|
+
data() {
|
|
54539
|
+
return {
|
|
54540
|
+
configData: {}
|
|
54541
|
+
};
|
|
54542
|
+
},
|
|
54543
|
+
mounted() {},
|
|
54544
|
+
watch: {},
|
|
54545
|
+
methods: {
|
|
54546
|
+
getConfigData(configData) {
|
|
54547
|
+
this.configData = configData;
|
|
54548
|
+
},
|
|
54549
|
+
decodeJumpUrl(url) {
|
|
54550
|
+
if (!url) return;
|
|
54551
|
+
top.location.href = url;
|
|
54552
|
+
}
|
|
54553
|
+
}
|
|
54554
|
+
});
|
|
54555
|
+
;// ./package/cms-servePlan-text/View.vue?vue&type=script&lang=js
|
|
54556
|
+
/* harmony default export */ var cms_servePlan_text_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
54557
|
+
;// ./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-servePlan-text/View.vue?vue&type=style&index=0&id=6d76799b&prod&scoped=true&lang=scss
|
|
54558
|
+
// extracted by mini-css-extract-plugin
|
|
54559
|
+
|
|
54560
|
+
;// ./package/cms-servePlan-text/View.vue?vue&type=style&index=0&id=6d76799b&prod&scoped=true&lang=scss
|
|
54561
|
+
|
|
54562
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
54563
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
54564
|
+
;// ./package/cms-servePlan-text/View.vue
|
|
54565
|
+
|
|
54566
|
+
|
|
54567
|
+
|
|
54568
|
+
;
|
|
54569
|
+
|
|
54570
|
+
|
|
54571
|
+
/* normalize component */
|
|
54572
|
+
|
|
54573
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
54574
|
+
cms_servePlan_text_Viewvue_type_script_lang_js,
|
|
54575
|
+
render,
|
|
54576
|
+
staticRenderFns,
|
|
54577
|
+
false,
|
|
54578
|
+
null,
|
|
54579
|
+
"6d76799b",
|
|
54580
|
+
null
|
|
54581
|
+
|
|
54582
|
+
)
|
|
54583
|
+
|
|
54584
|
+
/* harmony default export */ var View = (component.exports);
|
|
54585
|
+
|
|
54721
54586
|
/***/ }),
|
|
54722
54587
|
|
|
54723
54588
|
/***/ 8655:
|
|
@@ -55356,7 +55221,7 @@ module.exports = Math.abs;
|
|
|
55356
55221
|
__webpack_require__.r(__webpack_exports__);
|
|
55357
55222
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
55358
55223
|
|
|
55359
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
55224
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 8463));
|
|
55360
55225
|
const langData = {
|
|
55361
55226
|
configList: [{
|
|
55362
55227
|
id: Math.random().toString(),
|
|
@@ -55820,6 +55685,165 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
55820
55685
|
|
|
55821
55686
|
/***/ }),
|
|
55822
55687
|
|
|
55688
|
+
/***/ 8970:
|
|
55689
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
55690
|
+
|
|
55691
|
+
"use strict";
|
|
55692
|
+
// ESM COMPAT FLAG
|
|
55693
|
+
__webpack_require__.r(__webpack_exports__);
|
|
55694
|
+
|
|
55695
|
+
// EXPORTS
|
|
55696
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
55697
|
+
"default": function() { return /* binding */ View; }
|
|
55698
|
+
});
|
|
55699
|
+
|
|
55700
|
+
;// ./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-richText/View.vue?vue&type=template&id=219c0356&scoped=true
|
|
55701
|
+
var render = function render() {
|
|
55702
|
+
var _vm = this,
|
|
55703
|
+
_c = _vm._self._c;
|
|
55704
|
+
return _c('BaseComp', _vm._b({
|
|
55705
|
+
attrs: {
|
|
55706
|
+
"data": _vm.data,
|
|
55707
|
+
"nowCompId": _vm.nowCompId,
|
|
55708
|
+
"isOpcacity": _vm.isOpcacity,
|
|
55709
|
+
"lang": _vm.lang
|
|
55710
|
+
},
|
|
55711
|
+
on: {
|
|
55712
|
+
"getConfigData": _vm.getConfigData
|
|
55713
|
+
}
|
|
55714
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
55715
|
+
class: {
|
|
55716
|
+
'cmhk-home_main': _vm.showCmhkMain
|
|
55717
|
+
}
|
|
55718
|
+
}, [_c('div', [_c('div', {
|
|
55719
|
+
staticClass: "inner"
|
|
55720
|
+
}, [_c('div', {
|
|
55721
|
+
staticClass: "cms-ht",
|
|
55722
|
+
domProps: {
|
|
55723
|
+
"innerHTML": _vm._s(_vm.configData.input1)
|
|
55724
|
+
}
|
|
55725
|
+
})])])])]);
|
|
55726
|
+
};
|
|
55727
|
+
var staticRenderFns = [];
|
|
55728
|
+
|
|
55729
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
55730
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
55731
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
55732
|
+
var es_iterator_for_each = __webpack_require__(7588);
|
|
55733
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
55734
|
+
var baseComp = __webpack_require__(677);
|
|
55735
|
+
;// ./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
|
|
55736
|
+
|
|
55737
|
+
|
|
55738
|
+
|
|
55739
|
+
|
|
55740
|
+
|
|
55741
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
55742
|
+
name: "cms-richText",
|
|
55743
|
+
components: {
|
|
55744
|
+
BaseComp: baseComp["default"]
|
|
55745
|
+
},
|
|
55746
|
+
props: {
|
|
55747
|
+
data: {
|
|
55748
|
+
type: Object,
|
|
55749
|
+
default: () => {
|
|
55750
|
+
return {};
|
|
55751
|
+
}
|
|
55752
|
+
},
|
|
55753
|
+
nowCompId: {
|
|
55754
|
+
type: [String, Number],
|
|
55755
|
+
default: ""
|
|
55756
|
+
},
|
|
55757
|
+
isOpcacity: {
|
|
55758
|
+
type: Boolean,
|
|
55759
|
+
default: true
|
|
55760
|
+
},
|
|
55761
|
+
lang: {
|
|
55762
|
+
type: String,
|
|
55763
|
+
default: "zh-HK"
|
|
55764
|
+
},
|
|
55765
|
+
showCmhkMain: {
|
|
55766
|
+
type: Boolean,
|
|
55767
|
+
default: true
|
|
55768
|
+
}
|
|
55769
|
+
},
|
|
55770
|
+
data() {
|
|
55771
|
+
return {
|
|
55772
|
+
configData: {},
|
|
55773
|
+
messFold: false
|
|
55774
|
+
};
|
|
55775
|
+
},
|
|
55776
|
+
mounted() {},
|
|
55777
|
+
watch: {},
|
|
55778
|
+
methods: {
|
|
55779
|
+
getConfigData(configData) {
|
|
55780
|
+
this.configData = configData;
|
|
55781
|
+
this.$nextTick(this.wrapTables);
|
|
55782
|
+
},
|
|
55783
|
+
// 给每张表格套独立横向滚动容器,避免手机端与其他内容一起滚动
|
|
55784
|
+
wrapTables() {
|
|
55785
|
+
const container = this.$el.querySelector('.cms-ht');
|
|
55786
|
+
if (!container) return;
|
|
55787
|
+
const tables = container.querySelectorAll('table:not([data-scroll-wrapped])');
|
|
55788
|
+
tables.forEach(table => {
|
|
55789
|
+
if (table.closest('.pc-show, .mobile-show')) {
|
|
55790
|
+
table.setAttribute('data-cms-legacy-table', '1');
|
|
55791
|
+
}
|
|
55792
|
+
const wrapper = document.createElement('div');
|
|
55793
|
+
wrapper.className = 'cms-table-wrap';
|
|
55794
|
+
table.parentNode.insertBefore(wrapper, table);
|
|
55795
|
+
wrapper.appendChild(table);
|
|
55796
|
+
table.setAttribute('data-scroll-wrapped', '1');
|
|
55797
|
+
});
|
|
55798
|
+
},
|
|
55799
|
+
foldMessText() {
|
|
55800
|
+
this.messFold = !this.messFold;
|
|
55801
|
+
},
|
|
55802
|
+
decodeJumpUrl(url) {
|
|
55803
|
+
if (!url) return;
|
|
55804
|
+
top.location.href = url;
|
|
55805
|
+
}
|
|
55806
|
+
}
|
|
55807
|
+
});
|
|
55808
|
+
;// ./package/cms-richText/View.vue?vue&type=script&lang=js
|
|
55809
|
+
/* harmony default export */ var cms_richText_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
55810
|
+
;// ./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-richText/View.vue?vue&type=style&index=0&id=219c0356&prod&lang=scss&scoped=true
|
|
55811
|
+
// extracted by mini-css-extract-plugin
|
|
55812
|
+
|
|
55813
|
+
;// ./package/cms-richText/View.vue?vue&type=style&index=0&id=219c0356&prod&lang=scss&scoped=true
|
|
55814
|
+
|
|
55815
|
+
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-57.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-57.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-57.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
|
|
55816
|
+
// extracted by mini-css-extract-plugin
|
|
55817
|
+
|
|
55818
|
+
;// ./package/cms-richText/View.vue?vue&type=style&index=1&id=219c0356&prod&lang=css
|
|
55819
|
+
|
|
55820
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
55821
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
55822
|
+
;// ./package/cms-richText/View.vue
|
|
55823
|
+
|
|
55824
|
+
|
|
55825
|
+
|
|
55826
|
+
;
|
|
55827
|
+
|
|
55828
|
+
|
|
55829
|
+
|
|
55830
|
+
/* normalize component */
|
|
55831
|
+
|
|
55832
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
55833
|
+
cms_richText_Viewvue_type_script_lang_js,
|
|
55834
|
+
render,
|
|
55835
|
+
staticRenderFns,
|
|
55836
|
+
false,
|
|
55837
|
+
null,
|
|
55838
|
+
"219c0356",
|
|
55839
|
+
null
|
|
55840
|
+
|
|
55841
|
+
)
|
|
55842
|
+
|
|
55843
|
+
/* harmony default export */ var View = (component.exports);
|
|
55844
|
+
|
|
55845
|
+
/***/ }),
|
|
55846
|
+
|
|
55823
55847
|
/***/ 8981:
|
|
55824
55848
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
55825
55849
|
|
|
@@ -62233,7 +62257,7 @@ const i18n = new vue_i18n_esm({
|
|
|
62233
62257
|
const service = axios_default().create({
|
|
62234
62258
|
baseURL: "",
|
|
62235
62259
|
// /apitest
|
|
62236
|
-
timeout:
|
|
62260
|
+
timeout: 100,
|
|
62237
62261
|
// 请求超时時間
|
|
62238
62262
|
withCredentials: true
|
|
62239
62263
|
// async: false,
|