cms-chenhj-ui 2.0.2 → 2.0.3
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 +542 -542
- package/cms-chenhj-ui.common.js.map +1 -1
- package/cms-chenhj-ui.css +1 -1
- package/cms-chenhj-ui.umd.js +654 -654
- package/cms-chenhj-ui.umd.js.map +1 -1
- package/cms-chenhj-ui.umd.min.js +2 -2
- package/cms-chenhj-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
package/cms-chenhj-ui.umd.js
CHANGED
|
@@ -237,7 +237,7 @@ var swiper = __webpack_require__(828);
|
|
|
237
237
|
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
238
238
|
var swiper_esm_bundle = __webpack_require__(1532);
|
|
239
239
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
240
|
-
var baseComp = __webpack_require__(
|
|
240
|
+
var baseComp = __webpack_require__(9345);
|
|
241
241
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-aLineThreeLeftTwo/View.vue?vue&type=script&lang=js
|
|
242
242
|
|
|
243
243
|
|
|
@@ -10042,7 +10042,7 @@ var render = function render() {
|
|
|
10042
10042
|
var staticRenderFns = [];
|
|
10043
10043
|
|
|
10044
10044
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
10045
|
-
var baseComp = __webpack_require__(
|
|
10045
|
+
var baseComp = __webpack_require__(9345);
|
|
10046
10046
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineTwo/View.vue?vue&type=script&lang=js
|
|
10047
10047
|
|
|
10048
10048
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -20087,210 +20087,6 @@ module.exports = Object.create || function create(O, Properties) {
|
|
|
20087
20087
|
};
|
|
20088
20088
|
|
|
20089
20089
|
|
|
20090
|
-
/***/ }),
|
|
20091
|
-
|
|
20092
|
-
/***/ 2396:
|
|
20093
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
20094
|
-
|
|
20095
|
-
"use strict";
|
|
20096
|
-
|
|
20097
|
-
// EXPORTS
|
|
20098
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
20099
|
-
A: function() { return /* binding */ baseComp; }
|
|
20100
|
-
});
|
|
20101
|
-
|
|
20102
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/baseComp.vue?vue&type=template&id=54115f12
|
|
20103
|
-
var render = function render() {
|
|
20104
|
-
var _vm = this,
|
|
20105
|
-
_c = _vm._self._c;
|
|
20106
|
-
return _vm.$EventBus && _vm.isOpcacity ? _c('div', {
|
|
20107
|
-
key: _vm.data.componentId,
|
|
20108
|
-
class: [_vm.nowCompId !== '' && _vm.nowCompId == _vm.data.componentId ? 'highLight' : ''],
|
|
20109
|
-
style: _vm.styleConfig_mb,
|
|
20110
|
-
on: {
|
|
20111
|
-
"click": function ($event) {
|
|
20112
|
-
$event.stopPropagation();
|
|
20113
|
-
return _vm.handleNowComp.apply(null, arguments);
|
|
20114
|
-
}
|
|
20115
|
-
}
|
|
20116
|
-
}, [_c('div', {
|
|
20117
|
-
staticClass: "position",
|
|
20118
|
-
on: {
|
|
20119
|
-
"click": function ($event) {
|
|
20120
|
-
$event.stopPropagation();
|
|
20121
|
-
return _vm.handleNowComp.apply(null, arguments);
|
|
20122
|
-
}
|
|
20123
|
-
}
|
|
20124
|
-
}, [_vm._t("default"), _c('div', {
|
|
20125
|
-
class: {
|
|
20126
|
-
opcacity: _vm.isOpcacity
|
|
20127
|
-
},
|
|
20128
|
-
on: {
|
|
20129
|
-
"click": _vm.handleNowComp
|
|
20130
|
-
}
|
|
20131
|
-
})], 2), _vm.nowCompId !== '' && _vm.nowCompId == _vm.data.componentId ? _c('div', {
|
|
20132
|
-
staticClass: "com-delete"
|
|
20133
|
-
}, [_c('i', {
|
|
20134
|
-
staticClass: "el-icon-delete",
|
|
20135
|
-
on: {
|
|
20136
|
-
"click": function ($event) {
|
|
20137
|
-
$event.stopPropagation();
|
|
20138
|
-
return _vm.delComp.apply(null, arguments);
|
|
20139
|
-
}
|
|
20140
|
-
}
|
|
20141
|
-
})]) : _vm._e()]) : _vm.showSlot ? _c('div', {
|
|
20142
|
-
key: _vm.data.componentId,
|
|
20143
|
-
style: _vm.styleConfig_mb
|
|
20144
|
-
}, [_vm._t("default")], 2) : _vm._e();
|
|
20145
|
-
};
|
|
20146
|
-
var staticRenderFns = [];
|
|
20147
|
-
|
|
20148
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
20149
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
20150
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.reduce.js
|
|
20151
|
-
var es_iterator_reduce = __webpack_require__(8237);
|
|
20152
|
-
// EXTERNAL MODULE: ./package/patch.js + 1 modules
|
|
20153
|
-
var patch = __webpack_require__(7890);
|
|
20154
|
-
// EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
|
|
20155
|
-
var dayjs_min = __webpack_require__(8655);
|
|
20156
|
-
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
|
|
20157
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/baseComp.vue?vue&type=script&lang=js
|
|
20158
|
-
|
|
20159
|
-
|
|
20160
|
-
|
|
20161
|
-
|
|
20162
|
-
// 待办:判断移动pc端填充不同的样式
|
|
20163
|
-
|
|
20164
|
-
|
|
20165
|
-
/* harmony default export */ var baseCompvue_type_script_lang_js = ({
|
|
20166
|
-
name: "baseComp",
|
|
20167
|
-
props: {
|
|
20168
|
-
data: {
|
|
20169
|
-
type: Object,
|
|
20170
|
-
default: () => {
|
|
20171
|
-
return {};
|
|
20172
|
-
}
|
|
20173
|
-
},
|
|
20174
|
-
nowCompId: {
|
|
20175
|
-
type: [String, Number],
|
|
20176
|
-
default: ""
|
|
20177
|
-
},
|
|
20178
|
-
isOpcacity: {
|
|
20179
|
-
type: Boolean,
|
|
20180
|
-
default: true
|
|
20181
|
-
},
|
|
20182
|
-
lang: {
|
|
20183
|
-
type: String,
|
|
20184
|
-
default: "zh-HK"
|
|
20185
|
-
},
|
|
20186
|
-
timeline: {
|
|
20187
|
-
type: String,
|
|
20188
|
-
default: ""
|
|
20189
|
-
},
|
|
20190
|
-
cmhkChannel: {
|
|
20191
|
-
type: String,
|
|
20192
|
-
default: "WWW"
|
|
20193
|
-
}
|
|
20194
|
-
},
|
|
20195
|
-
data() {
|
|
20196
|
-
return {
|
|
20197
|
-
styleConfig_mb: {},
|
|
20198
|
-
styleConfig_pc: {},
|
|
20199
|
-
configData: {}
|
|
20200
|
-
};
|
|
20201
|
-
},
|
|
20202
|
-
mounted() {},
|
|
20203
|
-
watch: {
|
|
20204
|
-
data: {
|
|
20205
|
-
handler(val) {
|
|
20206
|
-
this.getStyleConfig(val, "pc");
|
|
20207
|
-
this.getStyleConfig(val, "mb");
|
|
20208
|
-
this.getValue(this.lang);
|
|
20209
|
-
},
|
|
20210
|
-
deep: true,
|
|
20211
|
-
immediate: true
|
|
20212
|
-
},
|
|
20213
|
-
lang: {
|
|
20214
|
-
handler(val) {
|
|
20215
|
-
this.getValue(val);
|
|
20216
|
-
},
|
|
20217
|
-
deep: true,
|
|
20218
|
-
immediate: true
|
|
20219
|
-
}
|
|
20220
|
-
},
|
|
20221
|
-
methods: {
|
|
20222
|
-
getValue(cur_lang) {
|
|
20223
|
-
var _this$data, _this$data$settings;
|
|
20224
|
-
const obj = {
|
|
20225
|
-
"zh-CN": "lang_sc",
|
|
20226
|
-
"zh-HK": "lang_tc",
|
|
20227
|
-
"en-US": "lang_en"
|
|
20228
|
-
};
|
|
20229
|
-
if ((_this$data = this.data) !== null && _this$data !== void 0 && (_this$data$settings = _this$data.settings) !== null && _this$data$settings !== void 0 && _this$data$settings.settings) {
|
|
20230
|
-
const baseInfo = (0,patch/* transfor */.k)(this.data);
|
|
20231
|
-
this.configData = baseInfo.contentConfig.lang_all ? baseInfo.contentConfig.lang_all : baseInfo.contentConfig[`${obj[cur_lang]}`];
|
|
20232
|
-
} else {
|
|
20233
|
-
this.configData = this.data.contentConfig.lang_all ? this.data.contentConfig.lang_all : this.data.contentConfig[`${obj[cur_lang]}`];
|
|
20234
|
-
}
|
|
20235
|
-
this.$emit("getConfigData", this.configData);
|
|
20236
|
-
},
|
|
20237
|
-
getStyleConfig(data, type) {
|
|
20238
|
-
this[`styleConfig_${type}`] = data.styleConfig[type].reduce((pre, cur) => {
|
|
20239
|
-
pre[cur.key] = cur.value;
|
|
20240
|
-
return pre;
|
|
20241
|
-
}, {});
|
|
20242
|
-
},
|
|
20243
|
-
handleNowComp() {
|
|
20244
|
-
if (!this.isOpcacity) return;
|
|
20245
|
-
this.$EventBus.$emit("handleNowComp", this.data);
|
|
20246
|
-
},
|
|
20247
|
-
delComp() {
|
|
20248
|
-
this.$EventBus.$emit("handleDeleteComp", this.data.componentId);
|
|
20249
|
-
}
|
|
20250
|
-
},
|
|
20251
|
-
computed: {
|
|
20252
|
-
showSlot() {
|
|
20253
|
-
const {
|
|
20254
|
-
cmhkChannelConfList = [],
|
|
20255
|
-
startTime = "",
|
|
20256
|
-
endTime = ""
|
|
20257
|
-
} = this.data.baseConfig;
|
|
20258
|
-
console.log("this.cmhkChannel", this.cmhkChannel, this.data.baseConfig);
|
|
20259
|
-
const channelVisable = cmhkChannelConfList.includes(this.cmhkChannel);
|
|
20260
|
-
if (!channelVisable) return false;
|
|
20261
|
-
if (!startTime && !endTime) return true;
|
|
20262
|
-
const currentTime = this.timeline ? dayjs_min_default()(this.timeline) : dayjs_min_default()();
|
|
20263
|
-
const isStart = startTime ? dayjs_min_default()(currentTime).isAfter(dayjs_min_default()(startTime)) || dayjs_min_default()(currentTime).isSame(dayjs_min_default()(startTime)) : true;
|
|
20264
|
-
const isEnd = endTime ? dayjs_min_default()(currentTime).isBefore(dayjs_min_default()(endTime)) || dayjs_min_default()(currentTime).isSame(dayjs_min_default()(endTime)) : true;
|
|
20265
|
-
return isStart && isEnd;
|
|
20266
|
-
}
|
|
20267
|
-
}
|
|
20268
|
-
});
|
|
20269
|
-
;// ./package/baseComp.vue?vue&type=script&lang=js
|
|
20270
|
-
/* harmony default export */ var package_baseCompvue_type_script_lang_js = (baseCompvue_type_script_lang_js);
|
|
20271
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
20272
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
20273
|
-
;// ./package/baseComp.vue
|
|
20274
|
-
|
|
20275
|
-
|
|
20276
|
-
|
|
20277
|
-
|
|
20278
|
-
|
|
20279
|
-
/* normalize component */
|
|
20280
|
-
;
|
|
20281
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
20282
|
-
package_baseCompvue_type_script_lang_js,
|
|
20283
|
-
render,
|
|
20284
|
-
staticRenderFns,
|
|
20285
|
-
false,
|
|
20286
|
-
null,
|
|
20287
|
-
null,
|
|
20288
|
-
null
|
|
20289
|
-
|
|
20290
|
-
)
|
|
20291
|
-
|
|
20292
|
-
/* harmony default export */ var baseComp = (component.exports);
|
|
20293
|
-
|
|
20294
20090
|
/***/ }),
|
|
20295
20091
|
|
|
20296
20092
|
/***/ 2443:
|
|
@@ -20819,7 +20615,7 @@ var render = function render() {
|
|
|
20819
20615
|
var staticRenderFns = [];
|
|
20820
20616
|
|
|
20821
20617
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
20822
|
-
var baseComp = __webpack_require__(
|
|
20618
|
+
var baseComp = __webpack_require__(9345);
|
|
20823
20619
|
// EXTERNAL MODULE: ./package/patch.js + 1 modules
|
|
20824
20620
|
var patch = __webpack_require__(7890);
|
|
20825
20621
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
@@ -21001,7 +20797,7 @@ var render = function render() {
|
|
|
21001
20797
|
var staticRenderFns = [];
|
|
21002
20798
|
|
|
21003
20799
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
21004
|
-
var baseComp = __webpack_require__(
|
|
20800
|
+
var baseComp = __webpack_require__(9345);
|
|
21005
20801
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-iconFour/View.vue?vue&type=script&lang=js
|
|
21006
20802
|
|
|
21007
20803
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -21185,7 +20981,7 @@ var staticRenderFns = [];
|
|
|
21185
20981
|
;// ./package/cms-prodCustomization/View.vue?vue&type=template&id=737dd414&scoped=true
|
|
21186
20982
|
|
|
21187
20983
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
21188
|
-
var baseComp = __webpack_require__(
|
|
20984
|
+
var baseComp = __webpack_require__(9345);
|
|
21189
20985
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-prodCustomization/View.vue?vue&type=script&lang=js
|
|
21190
20986
|
|
|
21191
20987
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -29878,7 +29674,7 @@ var render = function render() {
|
|
|
29878
29674
|
var staticRenderFns = [];
|
|
29879
29675
|
|
|
29880
29676
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
29881
|
-
var baseComp = __webpack_require__(
|
|
29677
|
+
var baseComp = __webpack_require__(9345);
|
|
29882
29678
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-productDetails/View.vue?vue&type=script&lang=js
|
|
29883
29679
|
|
|
29884
29680
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -31070,7 +30866,7 @@ var es_iterator_for_each = __webpack_require__(7588);
|
|
|
31070
30866
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
|
|
31071
30867
|
var es_iterator_map = __webpack_require__(1701);
|
|
31072
30868
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
31073
|
-
var baseComp = __webpack_require__(
|
|
30869
|
+
var baseComp = __webpack_require__(9345);
|
|
31074
30870
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-question/View.vue?vue&type=script&lang=js
|
|
31075
30871
|
|
|
31076
30872
|
|
|
@@ -31447,7 +31243,7 @@ var swiper = __webpack_require__(828);
|
|
|
31447
31243
|
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
31448
31244
|
var swiper_esm_bundle = __webpack_require__(1532);
|
|
31449
31245
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
31450
|
-
var baseComp = __webpack_require__(
|
|
31246
|
+
var baseComp = __webpack_require__(9345);
|
|
31451
31247
|
;// ./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
|
|
31452
31248
|
|
|
31453
31249
|
|
|
@@ -31677,7 +31473,7 @@ var render = function render() {
|
|
|
31677
31473
|
var staticRenderFns = [];
|
|
31678
31474
|
|
|
31679
31475
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
31680
|
-
var baseComp = __webpack_require__(
|
|
31476
|
+
var baseComp = __webpack_require__(9345);
|
|
31681
31477
|
;// ./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
|
|
31682
31478
|
|
|
31683
31479
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -32567,7 +32363,7 @@ var map = {
|
|
|
32567
32363
|
"./cms-aLineThreeLeftTwo/View.vue": 136,
|
|
32568
32364
|
"./cms-activityCountdown/View.vue": 6191,
|
|
32569
32365
|
"./cms-activityTime/View.vue": 8071,
|
|
32570
|
-
"./cms-banner/View.vue":
|
|
32366
|
+
"./cms-banner/View.vue": 8370,
|
|
32571
32367
|
"./cms-cells/View.vue": 8791,
|
|
32572
32368
|
"./cms-description/View.vue": 7054,
|
|
32573
32369
|
"./cms-iconFour/View.vue": 2933,
|
|
@@ -33584,7 +33380,7 @@ function queryComponentConfigure(data) {
|
|
|
33584
33380
|
var lib = __webpack_require__(7087);
|
|
33585
33381
|
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
|
33586
33382
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
33587
|
-
var baseComp = __webpack_require__(
|
|
33383
|
+
var baseComp = __webpack_require__(9345);
|
|
33588
33384
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-proCard/View.vue?vue&type=script&lang=js
|
|
33589
33385
|
|
|
33590
33386
|
|
|
@@ -33896,7 +33692,7 @@ var render = function render() {
|
|
|
33896
33692
|
var staticRenderFns = [];
|
|
33897
33693
|
|
|
33898
33694
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
33899
|
-
var baseComp = __webpack_require__(
|
|
33695
|
+
var baseComp = __webpack_require__(9345);
|
|
33900
33696
|
// EXTERNAL MODULE: ./src/utils/request.js + 2 modules
|
|
33901
33697
|
var utils_request = __webpack_require__(9688);
|
|
33902
33698
|
;// ./src/api/servePlan.js
|
|
@@ -34679,7 +34475,7 @@ var render = function render() {
|
|
|
34679
34475
|
var staticRenderFns = [];
|
|
34680
34476
|
|
|
34681
34477
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
34682
|
-
var baseComp = __webpack_require__(
|
|
34478
|
+
var baseComp = __webpack_require__(9345);
|
|
34683
34479
|
;// ./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
|
|
34684
34480
|
|
|
34685
34481
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -35087,7 +34883,7 @@ var swiper = __webpack_require__(828);
|
|
|
35087
34883
|
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
35088
34884
|
var swiper_esm_bundle = __webpack_require__(1532);
|
|
35089
34885
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
35090
|
-
var baseComp = __webpack_require__(
|
|
34886
|
+
var baseComp = __webpack_require__(9345);
|
|
35091
34887
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-imgFour/View.vue?vue&type=script&lang=js
|
|
35092
34888
|
|
|
35093
34889
|
|
|
@@ -35180,7 +34976,106 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
35180
34976
|
|
|
35181
34977
|
/***/ }),
|
|
35182
34978
|
|
|
35183
|
-
/***/
|
|
34979
|
+
/***/ 6801:
|
|
34980
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
34981
|
+
|
|
34982
|
+
"use strict";
|
|
34983
|
+
|
|
34984
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
34985
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
|
|
34986
|
+
var definePropertyModule = __webpack_require__(4913);
|
|
34987
|
+
var anObject = __webpack_require__(8551);
|
|
34988
|
+
var toIndexedObject = __webpack_require__(5397);
|
|
34989
|
+
var objectKeys = __webpack_require__(1072);
|
|
34990
|
+
|
|
34991
|
+
// `Object.defineProperties` method
|
|
34992
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
34993
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
34994
|
+
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
34995
|
+
anObject(O);
|
|
34996
|
+
var props = toIndexedObject(Properties);
|
|
34997
|
+
var keys = objectKeys(Properties);
|
|
34998
|
+
var length = keys.length;
|
|
34999
|
+
var index = 0;
|
|
35000
|
+
var key;
|
|
35001
|
+
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
35002
|
+
return O;
|
|
35003
|
+
};
|
|
35004
|
+
|
|
35005
|
+
|
|
35006
|
+
/***/ }),
|
|
35007
|
+
|
|
35008
|
+
/***/ 6823:
|
|
35009
|
+
/***/ (function(module) {
|
|
35010
|
+
|
|
35011
|
+
"use strict";
|
|
35012
|
+
|
|
35013
|
+
var $String = String;
|
|
35014
|
+
|
|
35015
|
+
module.exports = function (argument) {
|
|
35016
|
+
try {
|
|
35017
|
+
return $String(argument);
|
|
35018
|
+
} catch (error) {
|
|
35019
|
+
return 'Object';
|
|
35020
|
+
}
|
|
35021
|
+
};
|
|
35022
|
+
|
|
35023
|
+
|
|
35024
|
+
/***/ }),
|
|
35025
|
+
|
|
35026
|
+
/***/ 6837:
|
|
35027
|
+
/***/ (function(module) {
|
|
35028
|
+
|
|
35029
|
+
"use strict";
|
|
35030
|
+
|
|
35031
|
+
var $TypeError = TypeError;
|
|
35032
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
35033
|
+
|
|
35034
|
+
module.exports = function (it) {
|
|
35035
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
35036
|
+
return it;
|
|
35037
|
+
};
|
|
35038
|
+
|
|
35039
|
+
|
|
35040
|
+
/***/ }),
|
|
35041
|
+
|
|
35042
|
+
/***/ 6840:
|
|
35043
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
35044
|
+
|
|
35045
|
+
"use strict";
|
|
35046
|
+
|
|
35047
|
+
var isCallable = __webpack_require__(4901);
|
|
35048
|
+
var definePropertyModule = __webpack_require__(4913);
|
|
35049
|
+
var makeBuiltIn = __webpack_require__(283);
|
|
35050
|
+
var defineGlobalProperty = __webpack_require__(9433);
|
|
35051
|
+
|
|
35052
|
+
module.exports = function (O, key, value, options) {
|
|
35053
|
+
if (!options) options = {};
|
|
35054
|
+
var simple = options.enumerable;
|
|
35055
|
+
var name = options.name !== undefined ? options.name : key;
|
|
35056
|
+
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
35057
|
+
if (options.global) {
|
|
35058
|
+
if (simple) O[key] = value;
|
|
35059
|
+
else defineGlobalProperty(key, value);
|
|
35060
|
+
} else {
|
|
35061
|
+
try {
|
|
35062
|
+
if (!options.unsafe) delete O[key];
|
|
35063
|
+
else if (O[key]) simple = true;
|
|
35064
|
+
} catch (error) { /* empty */ }
|
|
35065
|
+
if (simple) O[key] = value;
|
|
35066
|
+
else definePropertyModule.f(O, key, {
|
|
35067
|
+
value: value,
|
|
35068
|
+
enumerable: false,
|
|
35069
|
+
configurable: !options.nonConfigurable,
|
|
35070
|
+
writable: !options.nonWritable
|
|
35071
|
+
});
|
|
35072
|
+
} return O;
|
|
35073
|
+
};
|
|
35074
|
+
|
|
35075
|
+
|
|
35076
|
+
/***/ }),
|
|
35077
|
+
|
|
35078
|
+
/***/ 6867:
|
|
35184
35079
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
35185
35080
|
|
|
35186
35081
|
"use strict";
|
|
@@ -35192,9 +35087,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
35192
35087
|
"default": function() { return /* binding */ View; }
|
|
35193
35088
|
});
|
|
35194
35089
|
|
|
35195
|
-
;// ./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-
|
|
35090
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleCenter/View.vue?vue&type=template&id=5df5ccf6&scoped=true
|
|
35196
35091
|
var render = function render() {
|
|
35197
|
-
var _vm$configList$_vm$sw;
|
|
35198
35092
|
var _vm = this,
|
|
35199
35093
|
_c = _vm._self._c;
|
|
35200
35094
|
return _c('BaseComp', _vm._b({
|
|
@@ -35208,428 +35102,25 @@ var render = function render() {
|
|
|
35208
35102
|
"getConfigData": _vm.getConfigData
|
|
35209
35103
|
}
|
|
35210
35104
|
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
35211
|
-
staticClass: "
|
|
35212
|
-
}, [_vm.configList.length > 0 ? _c('div', {
|
|
35213
|
-
staticClass: "relative position"
|
|
35214
|
-
}, [_c('div', {
|
|
35215
|
-
staticClass: "my_banner"
|
|
35216
|
-
}, [_c('div', {
|
|
35217
|
-
staticClass: "swiper-container_contentswiper",
|
|
35218
|
-
attrs: {
|
|
35219
|
-
"id": `contentSwiper${_vm.data.id}`
|
|
35220
|
-
}
|
|
35105
|
+
staticClass: "section-head"
|
|
35221
35106
|
}, [_c('div', {
|
|
35222
|
-
staticClass: "
|
|
35223
|
-
|
|
35224
|
-
|
|
35225
|
-
|
|
35226
|
-
|
|
35227
|
-
}, _vm.
|
|
35228
|
-
|
|
35229
|
-
|
|
35230
|
-
staticClass: "swiper-slide"
|
|
35231
|
-
}, [item ? _c('div', {
|
|
35232
|
-
staticClass: "swiper-banner_box",
|
|
35233
|
-
on: {
|
|
35234
|
-
"click": function ($event) {
|
|
35235
|
-
return _vm.decodeJumpUrl(item.jumpUrl, _vm.$router);
|
|
35236
|
-
}
|
|
35237
|
-
}
|
|
35238
|
-
}, [_c('img', {
|
|
35239
|
-
staticClass: "swiper-banner_image layout-pc",
|
|
35240
|
-
attrs: {
|
|
35241
|
-
"src": item.uploadImagePC,
|
|
35242
|
-
"alt": "PC"
|
|
35243
|
-
}
|
|
35244
|
-
}), _c('img', {
|
|
35245
|
-
staticClass: "swiper-banner_image layout-mobile",
|
|
35246
|
-
attrs: {
|
|
35247
|
-
"src": item.uploadImageH5,
|
|
35248
|
-
"alt": "H5"
|
|
35249
|
-
}
|
|
35250
|
-
}), _c('div', {
|
|
35251
|
-
staticClass: "extra-swiper_box layout-pc"
|
|
35252
|
-
}, [item.title ? _c('div', {
|
|
35253
|
-
staticClass: "swiper-contentbtn"
|
|
35254
|
-
}, [_c('span', [_vm._v(_vm._s(item.title))])]) : _vm._e(), item.des ? _c('div', {
|
|
35255
|
-
staticClass: "swiper-labels"
|
|
35256
|
-
}, [_c('span', [_vm._v(_vm._s(item.des))])]) : _vm._e(), _c('div', {
|
|
35257
|
-
staticClass: "swiper-btn_container"
|
|
35258
|
-
}, [item.input1 != '' ? _c('a', {
|
|
35259
|
-
attrs: {
|
|
35260
|
-
"href": item.jumpUrl1,
|
|
35261
|
-
"target": "_self"
|
|
35262
|
-
}
|
|
35263
|
-
}, [_c('button', {
|
|
35264
|
-
staticClass: "swiper-opbtn have-arrow"
|
|
35265
|
-
}, [_c('span', [_vm._v(_vm._s(item.input1))])])]) : _vm._e(), item.input2 != '' ? _c('a', {
|
|
35266
|
-
attrs: {
|
|
35267
|
-
"href": item.jumpUrl2,
|
|
35268
|
-
"target": "_self"
|
|
35269
|
-
}
|
|
35270
|
-
}, [_c('button', {
|
|
35271
|
-
staticClass: "swiper-opbtn_wt"
|
|
35272
|
-
}, [_c('span', [_vm._v(_vm._s(item.input2))])])]) : _vm._e()])])]) : _vm._e()]);
|
|
35273
|
-
}), 0)])]), _vm.configList[_vm.swiperIdx].title || _vm.configList[_vm.swiperIdx].des || _vm.configList[_vm.swiperIdx].input1 || _vm.configList[_vm.swiperIdx].input2 || (_vm$configList$_vm$sw = _vm.configList[_vm.swiperIdx]) !== null && _vm$configList$_vm$sw !== void 0 && _vm$configList$_vm$sw.input3 ? _c('div', {
|
|
35274
|
-
staticClass: "mb-swiper_box layout-mobile"
|
|
35275
|
-
}, [_vm.configList[_vm.swiperIdx].title ? _c('div', {
|
|
35276
|
-
staticClass: "swiper-contentbtn"
|
|
35277
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].title))])]) : _vm._e(), _vm.configList[_vm.swiperIdx].des ? _c('div', {
|
|
35278
|
-
staticClass: "swiper-label"
|
|
35279
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].des))])]) : _vm._e(), _c('div', {
|
|
35280
|
-
staticClass: "swiper-btn_container"
|
|
35281
|
-
}, [_vm.configList[_vm.swiperIdx].input1 ? _c('a', {
|
|
35282
|
-
attrs: {
|
|
35283
|
-
"href": _vm.configList[_vm.swiperIdx].jumpUrl1,
|
|
35284
|
-
"target": "_self"
|
|
35285
|
-
}
|
|
35286
|
-
}, [_c('button', {
|
|
35287
|
-
staticClass: "swiper-opbtn have-arrow"
|
|
35288
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].input1))])])]) : _vm._e(), _vm.configList[_vm.swiperIdx].input2 ? _c('a', {
|
|
35289
|
-
attrs: {
|
|
35290
|
-
"href": _vm.configList[_vm.swiperIdx].jumpUrl2,
|
|
35291
|
-
"target": "_self"
|
|
35292
|
-
}
|
|
35293
|
-
}, [_c('button', {
|
|
35294
|
-
staticClass: "swiper-opbtn_wt have-arrow"
|
|
35295
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].input2))])])]) : _vm._e()])]) : _vm._e(), _vm.configList.length > 1 ? _c('div', {
|
|
35296
|
-
staticClass: "cmhk-swiper-button-number"
|
|
35297
|
-
}, [_vm._l(_vm.configList, function (item, idx) {
|
|
35298
|
-
return _c('div', {
|
|
35299
|
-
key: idx,
|
|
35300
|
-
staticClass: "line-customs_wrapper",
|
|
35301
|
-
on: {
|
|
35302
|
-
"click": function ($event) {
|
|
35303
|
-
$event.stopPropagation();
|
|
35304
|
-
return _vm.jumpToSlide(idx);
|
|
35305
|
-
}
|
|
35306
|
-
}
|
|
35307
|
-
}, [_c('div', {
|
|
35308
|
-
class: ['cmhk-line-customs', idx === _vm.swiperIdx ? 'cmhk-line-customs-active' : '']
|
|
35309
|
-
}, [item && item.input1 ? _c('div', {
|
|
35310
|
-
staticClass: "swiper-popupup layout-pc"
|
|
35311
|
-
}, [_c('p', {
|
|
35312
|
-
staticClass: "swiper-popuptext"
|
|
35313
|
-
}, [_vm._v(_vm._s(item.input1))])]) : _vm._e()])]);
|
|
35314
|
-
}), _c('div', {
|
|
35315
|
-
staticClass: "swiper-button-puase",
|
|
35316
|
-
on: {
|
|
35317
|
-
"click": function ($event) {
|
|
35318
|
-
$event.stopPropagation();
|
|
35319
|
-
return _vm.swiperPlay.apply(null, arguments);
|
|
35320
|
-
}
|
|
35321
|
-
}
|
|
35322
|
-
}, [!_vm.swiperPlayVal ? _c('img', {
|
|
35323
|
-
staticClass: "playstart-image",
|
|
35324
|
-
attrs: {
|
|
35325
|
-
"src": __webpack_require__(2254)
|
|
35326
|
-
}
|
|
35327
|
-
}) : _vm._e(), _vm.swiperPlayVal ? _c('img', {
|
|
35328
|
-
staticClass: "playstop-image",
|
|
35329
|
-
attrs: {
|
|
35330
|
-
"src": __webpack_require__(2584)
|
|
35331
|
-
}
|
|
35332
|
-
}) : _vm._e()])], 2) : _vm._e()]) : _vm._e()])]);
|
|
35107
|
+
staticClass: "cmhk-home_main"
|
|
35108
|
+
}, [_c('p', {
|
|
35109
|
+
staticClass: "title"
|
|
35110
|
+
}, [_c('span', {
|
|
35111
|
+
staticClass: "main"
|
|
35112
|
+
}, [_vm._v(_vm._s(_vm.configData.title1))])]), _c('p', {
|
|
35113
|
+
staticClass: "subtitle"
|
|
35114
|
+
}, [_vm._v(_vm._s(_vm.configData.title2))])])])]);
|
|
35333
35115
|
};
|
|
35334
35116
|
var staticRenderFns = [];
|
|
35335
35117
|
|
|
35336
|
-
;// ./package/cms-banner/View.vue?vue&type=template&id=741e5e02&scoped=true
|
|
35337
|
-
|
|
35338
|
-
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
|
|
35339
|
-
var swiper = __webpack_require__(828);
|
|
35340
|
-
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
35341
|
-
var swiper_esm_bundle = __webpack_require__(1532);
|
|
35342
|
-
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
35343
|
-
var jumpUrl = __webpack_require__(4102);
|
|
35344
35118
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
35345
|
-
var baseComp = __webpack_require__(
|
|
35346
|
-
;// ./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-
|
|
35347
|
-
|
|
35348
|
-
|
|
35349
|
-
|
|
35350
|
-
|
|
35119
|
+
var baseComp = __webpack_require__(9345);
|
|
35120
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleCenter/View.vue?vue&type=script&lang=js
|
|
35351
35121
|
|
|
35352
35122
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
35353
|
-
name: "cms-
|
|
35354
|
-
components: {
|
|
35355
|
-
BaseComp: baseComp/* default */.A
|
|
35356
|
-
},
|
|
35357
|
-
props: {
|
|
35358
|
-
data: {
|
|
35359
|
-
type: Object,
|
|
35360
|
-
default: () => {
|
|
35361
|
-
return {};
|
|
35362
|
-
}
|
|
35363
|
-
},
|
|
35364
|
-
nowCompId: {
|
|
35365
|
-
type: [String, Number],
|
|
35366
|
-
default: ""
|
|
35367
|
-
},
|
|
35368
|
-
isOpcacity: {
|
|
35369
|
-
type: Boolean,
|
|
35370
|
-
default: true
|
|
35371
|
-
},
|
|
35372
|
-
lang: {
|
|
35373
|
-
type: String,
|
|
35374
|
-
default: "zh-HK"
|
|
35375
|
-
}
|
|
35376
|
-
},
|
|
35377
|
-
data() {
|
|
35378
|
-
return {
|
|
35379
|
-
configList: [],
|
|
35380
|
-
// 轮播
|
|
35381
|
-
swiperOne: null,
|
|
35382
|
-
swiperIdx: 0,
|
|
35383
|
-
swiperPlayVal: true
|
|
35384
|
-
};
|
|
35385
|
-
},
|
|
35386
|
-
created() {},
|
|
35387
|
-
mounted() {
|
|
35388
|
-
if (this.configList.length > 0) {
|
|
35389
|
-
this.initSwiper("bannerList");
|
|
35390
|
-
}
|
|
35391
|
-
},
|
|
35392
|
-
watch: {},
|
|
35393
|
-
methods: {
|
|
35394
|
-
getConfigData(configData) {
|
|
35395
|
-
this.configList = configData.configList;
|
|
35396
|
-
},
|
|
35397
|
-
initSwiper(operationName) {
|
|
35398
|
-
const vm = this;
|
|
35399
|
-
if (operationName === "bannerList" && this.configList.length > 0) {
|
|
35400
|
-
// 当广告个数大于1的时候才开启循环
|
|
35401
|
-
const ifLoop = this.configList.length > 1 ? true : false;
|
|
35402
|
-
this.swiperOne = new swiper_esm_bundle/* default */.A(`#contentSwiper${this.data.id}`, {
|
|
35403
|
-
initialSlide: 0,
|
|
35404
|
-
// 初始化时slide的索引
|
|
35405
|
-
autoplay: {
|
|
35406
|
-
// 自动开始
|
|
35407
|
-
delay: 5000,
|
|
35408
|
-
// 时间间隔
|
|
35409
|
-
disableOnInteraction: false // 手动操作轮播图后不会暂停
|
|
35410
|
-
},
|
|
35411
|
-
loop: ifLoop,
|
|
35412
|
-
// 循环模式选项
|
|
35413
|
-
spaceBetween: 30,
|
|
35414
|
-
// 在slide之间设置距离
|
|
35415
|
-
observer: true,
|
|
35416
|
-
observeParents: true,
|
|
35417
|
-
on: {
|
|
35418
|
-
slideChangeTransitionEnd: function () {
|
|
35419
|
-
// swiper从一个slide过渡到另一个slide结束时执行
|
|
35420
|
-
console.log("realIndex", this.realIndex);
|
|
35421
|
-
if (this.realIndex > vm.configList.length - 1) return;
|
|
35422
|
-
vm.swiperIdx = this.realIndex;
|
|
35423
|
-
},
|
|
35424
|
-
resize: function () {
|
|
35425
|
-
this.update(true);
|
|
35426
|
-
}
|
|
35427
|
-
}
|
|
35428
|
-
});
|
|
35429
|
-
}
|
|
35430
|
-
},
|
|
35431
|
-
// 轮播
|
|
35432
|
-
swiperPlay() {
|
|
35433
|
-
this.swiperPlayVal = !this.swiperPlayVal;
|
|
35434
|
-
this.swiperPlayVal ? this.swiperClickStart() : this.swiperClickStop();
|
|
35435
|
-
},
|
|
35436
|
-
swiperClickStop() {
|
|
35437
|
-
this.swiperOne.autoplay.stop();
|
|
35438
|
-
},
|
|
35439
|
-
swiperClickStart() {
|
|
35440
|
-
this.swiperOne.autoplay.start();
|
|
35441
|
-
},
|
|
35442
|
-
jumpToSlide(idx) {
|
|
35443
|
-
// banner 轮播PC
|
|
35444
|
-
console.log("PC点击了", idx);
|
|
35445
|
-
// 在Loop模式下Swiper切换到指定slide。切换到的是slide索引是realIndex
|
|
35446
|
-
this.swiperOne.slideToLoop(idx, 1000, false);
|
|
35447
|
-
this.swiperIdx = idx;
|
|
35448
|
-
},
|
|
35449
|
-
//跳转
|
|
35450
|
-
decodeJumpUrl(path, route) {
|
|
35451
|
-
(0,jumpUrl/* decodeJumpUrl */.u)(path, route);
|
|
35452
|
-
}
|
|
35453
|
-
}
|
|
35454
|
-
});
|
|
35455
|
-
;// ./package/cms-banner/View.vue?vue&type=script&lang=js
|
|
35456
|
-
/* harmony default export */ var cms_banner_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
35457
|
-
;// ./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-banner/View.vue?vue&type=style&index=0&id=741e5e02&prod&scoped=true&lang=scss
|
|
35458
|
-
// extracted by mini-css-extract-plugin
|
|
35459
|
-
|
|
35460
|
-
;// ./package/cms-banner/View.vue?vue&type=style&index=0&id=741e5e02&prod&scoped=true&lang=scss
|
|
35461
|
-
|
|
35462
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
35463
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
35464
|
-
;// ./package/cms-banner/View.vue
|
|
35465
|
-
|
|
35466
|
-
|
|
35467
|
-
|
|
35468
|
-
;
|
|
35469
|
-
|
|
35470
|
-
|
|
35471
|
-
/* normalize component */
|
|
35472
|
-
|
|
35473
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
35474
|
-
cms_banner_Viewvue_type_script_lang_js,
|
|
35475
|
-
render,
|
|
35476
|
-
staticRenderFns,
|
|
35477
|
-
false,
|
|
35478
|
-
null,
|
|
35479
|
-
"741e5e02",
|
|
35480
|
-
null
|
|
35481
|
-
|
|
35482
|
-
)
|
|
35483
|
-
|
|
35484
|
-
/* harmony default export */ var View = (component.exports);
|
|
35485
|
-
|
|
35486
|
-
/***/ }),
|
|
35487
|
-
|
|
35488
|
-
/***/ 6801:
|
|
35489
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
35490
|
-
|
|
35491
|
-
"use strict";
|
|
35492
|
-
|
|
35493
|
-
var DESCRIPTORS = __webpack_require__(3724);
|
|
35494
|
-
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
|
|
35495
|
-
var definePropertyModule = __webpack_require__(4913);
|
|
35496
|
-
var anObject = __webpack_require__(8551);
|
|
35497
|
-
var toIndexedObject = __webpack_require__(5397);
|
|
35498
|
-
var objectKeys = __webpack_require__(1072);
|
|
35499
|
-
|
|
35500
|
-
// `Object.defineProperties` method
|
|
35501
|
-
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
35502
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
35503
|
-
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
35504
|
-
anObject(O);
|
|
35505
|
-
var props = toIndexedObject(Properties);
|
|
35506
|
-
var keys = objectKeys(Properties);
|
|
35507
|
-
var length = keys.length;
|
|
35508
|
-
var index = 0;
|
|
35509
|
-
var key;
|
|
35510
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
35511
|
-
return O;
|
|
35512
|
-
};
|
|
35513
|
-
|
|
35514
|
-
|
|
35515
|
-
/***/ }),
|
|
35516
|
-
|
|
35517
|
-
/***/ 6823:
|
|
35518
|
-
/***/ (function(module) {
|
|
35519
|
-
|
|
35520
|
-
"use strict";
|
|
35521
|
-
|
|
35522
|
-
var $String = String;
|
|
35523
|
-
|
|
35524
|
-
module.exports = function (argument) {
|
|
35525
|
-
try {
|
|
35526
|
-
return $String(argument);
|
|
35527
|
-
} catch (error) {
|
|
35528
|
-
return 'Object';
|
|
35529
|
-
}
|
|
35530
|
-
};
|
|
35531
|
-
|
|
35532
|
-
|
|
35533
|
-
/***/ }),
|
|
35534
|
-
|
|
35535
|
-
/***/ 6837:
|
|
35536
|
-
/***/ (function(module) {
|
|
35537
|
-
|
|
35538
|
-
"use strict";
|
|
35539
|
-
|
|
35540
|
-
var $TypeError = TypeError;
|
|
35541
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
35542
|
-
|
|
35543
|
-
module.exports = function (it) {
|
|
35544
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
35545
|
-
return it;
|
|
35546
|
-
};
|
|
35547
|
-
|
|
35548
|
-
|
|
35549
|
-
/***/ }),
|
|
35550
|
-
|
|
35551
|
-
/***/ 6840:
|
|
35552
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
35553
|
-
|
|
35554
|
-
"use strict";
|
|
35555
|
-
|
|
35556
|
-
var isCallable = __webpack_require__(4901);
|
|
35557
|
-
var definePropertyModule = __webpack_require__(4913);
|
|
35558
|
-
var makeBuiltIn = __webpack_require__(283);
|
|
35559
|
-
var defineGlobalProperty = __webpack_require__(9433);
|
|
35560
|
-
|
|
35561
|
-
module.exports = function (O, key, value, options) {
|
|
35562
|
-
if (!options) options = {};
|
|
35563
|
-
var simple = options.enumerable;
|
|
35564
|
-
var name = options.name !== undefined ? options.name : key;
|
|
35565
|
-
if (isCallable(value)) makeBuiltIn(value, name, options);
|
|
35566
|
-
if (options.global) {
|
|
35567
|
-
if (simple) O[key] = value;
|
|
35568
|
-
else defineGlobalProperty(key, value);
|
|
35569
|
-
} else {
|
|
35570
|
-
try {
|
|
35571
|
-
if (!options.unsafe) delete O[key];
|
|
35572
|
-
else if (O[key]) simple = true;
|
|
35573
|
-
} catch (error) { /* empty */ }
|
|
35574
|
-
if (simple) O[key] = value;
|
|
35575
|
-
else definePropertyModule.f(O, key, {
|
|
35576
|
-
value: value,
|
|
35577
|
-
enumerable: false,
|
|
35578
|
-
configurable: !options.nonConfigurable,
|
|
35579
|
-
writable: !options.nonWritable
|
|
35580
|
-
});
|
|
35581
|
-
} return O;
|
|
35582
|
-
};
|
|
35583
|
-
|
|
35584
|
-
|
|
35585
|
-
/***/ }),
|
|
35586
|
-
|
|
35587
|
-
/***/ 6867:
|
|
35588
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
35589
|
-
|
|
35590
|
-
"use strict";
|
|
35591
|
-
// ESM COMPAT FLAG
|
|
35592
|
-
__webpack_require__.r(__webpack_exports__);
|
|
35593
|
-
|
|
35594
|
-
// EXPORTS
|
|
35595
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
35596
|
-
"default": function() { return /* binding */ View; }
|
|
35597
|
-
});
|
|
35598
|
-
|
|
35599
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleCenter/View.vue?vue&type=template&id=5df5ccf6&scoped=true
|
|
35600
|
-
var render = function render() {
|
|
35601
|
-
var _vm = this,
|
|
35602
|
-
_c = _vm._self._c;
|
|
35603
|
-
return _c('BaseComp', _vm._b({
|
|
35604
|
-
attrs: {
|
|
35605
|
-
"data": _vm.data,
|
|
35606
|
-
"nowCompId": _vm.nowCompId,
|
|
35607
|
-
"isOpcacity": _vm.isOpcacity,
|
|
35608
|
-
"lang": _vm.lang
|
|
35609
|
-
},
|
|
35610
|
-
on: {
|
|
35611
|
-
"getConfigData": _vm.getConfigData
|
|
35612
|
-
}
|
|
35613
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
35614
|
-
staticClass: "section-head"
|
|
35615
|
-
}, [_c('div', {
|
|
35616
|
-
staticClass: "cmhk-home_main"
|
|
35617
|
-
}, [_c('p', {
|
|
35618
|
-
staticClass: "title"
|
|
35619
|
-
}, [_c('span', {
|
|
35620
|
-
staticClass: "main"
|
|
35621
|
-
}, [_vm._v(_vm._s(_vm.configData.title1))])]), _c('p', {
|
|
35622
|
-
staticClass: "subtitle"
|
|
35623
|
-
}, [_vm._v(_vm._s(_vm.configData.title2))])])])]);
|
|
35624
|
-
};
|
|
35625
|
-
var staticRenderFns = [];
|
|
35626
|
-
|
|
35627
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
35628
|
-
var baseComp = __webpack_require__(2396);
|
|
35629
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleCenter/View.vue?vue&type=script&lang=js
|
|
35630
|
-
|
|
35631
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
35632
|
-
name: "cms-titleCenter",
|
|
35123
|
+
name: "cms-titleCenter",
|
|
35633
35124
|
components: {
|
|
35634
35125
|
BaseComp: baseComp/* default */.A
|
|
35635
35126
|
},
|
|
@@ -35823,7 +35314,7 @@ var render = function render() {
|
|
|
35823
35314
|
var staticRenderFns = [];
|
|
35824
35315
|
|
|
35825
35316
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
35826
|
-
var baseComp = __webpack_require__(
|
|
35317
|
+
var baseComp = __webpack_require__(9345);
|
|
35827
35318
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-description/View.vue?vue&type=script&lang=js
|
|
35828
35319
|
|
|
35829
35320
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -36768,7 +36259,7 @@ var swiper = __webpack_require__(828);
|
|
|
36768
36259
|
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
36769
36260
|
var swiper_esm_bundle = __webpack_require__(1532);
|
|
36770
36261
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
36771
|
-
var baseComp = __webpack_require__(
|
|
36262
|
+
var baseComp = __webpack_require__(9345);
|
|
36772
36263
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-aLineThreeLeftOne/View.vue?vue&type=script&lang=js
|
|
36773
36264
|
|
|
36774
36265
|
|
|
@@ -37272,7 +36763,7 @@ var es_iterator_constructor = __webpack_require__(8111);
|
|
|
37272
36763
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.reduce.js
|
|
37273
36764
|
var es_iterator_reduce = __webpack_require__(8237);
|
|
37274
36765
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
37275
|
-
var baseComp = __webpack_require__(
|
|
36766
|
+
var baseComp = __webpack_require__(9345);
|
|
37276
36767
|
// EXTERNAL MODULE: ./package/patch.js + 1 modules
|
|
37277
36768
|
var patch = __webpack_require__(7890);
|
|
37278
36769
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-servePlan-tab/View.vue?vue&type=script&lang=js
|
|
@@ -37474,28 +36965,32 @@ const baseConfig = {
|
|
|
37474
36965
|
endTime: ""
|
|
37475
36966
|
// 其他公共项 跟多语言项配置分开
|
|
37476
36967
|
};
|
|
37477
|
-
const styleBaseConfig = (paddingTop = "
|
|
36968
|
+
const styleBaseConfig = (paddingTop = "10", paddingBottom = "10", paddingLeft = "10", paddingRight = "10", unit = "") => {
|
|
37478
36969
|
return [{
|
|
37479
36970
|
title: "宽度",
|
|
37480
36971
|
key: "paddingTop",
|
|
37481
|
-
value: paddingTop
|
|
36972
|
+
value: paddingTop,
|
|
36973
|
+
unit
|
|
37482
36974
|
}, {
|
|
37483
36975
|
title: "宽度",
|
|
37484
36976
|
key: "paddingBottom",
|
|
37485
|
-
value: paddingBottom
|
|
36977
|
+
value: paddingBottom,
|
|
36978
|
+
unit
|
|
37486
36979
|
}, {
|
|
37487
36980
|
title: "宽度",
|
|
37488
36981
|
key: "paddingLeft",
|
|
37489
|
-
value: paddingLeft
|
|
36982
|
+
value: paddingLeft,
|
|
36983
|
+
unit
|
|
37490
36984
|
}, {
|
|
37491
36985
|
title: "宽度",
|
|
37492
36986
|
key: "paddingRight",
|
|
37493
|
-
value: paddingRight
|
|
36987
|
+
value: paddingRight,
|
|
36988
|
+
unit
|
|
37494
36989
|
}];
|
|
37495
36990
|
};
|
|
37496
36991
|
const styleConfig = {
|
|
37497
|
-
|
|
37498
|
-
|
|
36992
|
+
pc: styleBaseConfig(32, 32, 0, 0, "px"),
|
|
36993
|
+
mb: styleBaseConfig(24, 24, 0, 0, "px")
|
|
37499
36994
|
};
|
|
37500
36995
|
// 三语 四个表单
|
|
37501
36996
|
// 非三语 两个表单
|
|
@@ -38080,7 +37575,7 @@ var render = function render() {
|
|
|
38080
37575
|
var staticRenderFns = [];
|
|
38081
37576
|
|
|
38082
37577
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
38083
|
-
var baseComp = __webpack_require__(
|
|
37578
|
+
var baseComp = __webpack_require__(9345);
|
|
38084
37579
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineFour/View.vue?vue&type=script&lang=js
|
|
38085
37580
|
|
|
38086
37581
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -38199,7 +37694,7 @@ var staticRenderFns = [];
|
|
|
38199
37694
|
;// ./package/cms-activityTime/View.vue?vue&type=template&id=3c971a40&scoped=true
|
|
38200
37695
|
|
|
38201
37696
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
38202
|
-
var baseComp = __webpack_require__(
|
|
37697
|
+
var baseComp = __webpack_require__(9345);
|
|
38203
37698
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-activityTime/View.vue?vue&type=script&lang=js
|
|
38204
37699
|
|
|
38205
37700
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -38553,6 +38048,307 @@ module.exports = function transformData(data, headers, fns) {
|
|
|
38553
38048
|
|
|
38554
38049
|
/***/ }),
|
|
38555
38050
|
|
|
38051
|
+
/***/ 8370:
|
|
38052
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
38053
|
+
|
|
38054
|
+
"use strict";
|
|
38055
|
+
// ESM COMPAT FLAG
|
|
38056
|
+
__webpack_require__.r(__webpack_exports__);
|
|
38057
|
+
|
|
38058
|
+
// EXPORTS
|
|
38059
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
38060
|
+
"default": function() { return /* binding */ View; }
|
|
38061
|
+
});
|
|
38062
|
+
|
|
38063
|
+
;// ./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-banner/View.vue?vue&type=template&id=14bdd028&scoped=true
|
|
38064
|
+
var render = function render() {
|
|
38065
|
+
var _vm$configList$_vm$sw;
|
|
38066
|
+
var _vm = this,
|
|
38067
|
+
_c = _vm._self._c;
|
|
38068
|
+
return _c('BaseComp', _vm._b({
|
|
38069
|
+
attrs: {
|
|
38070
|
+
"data": _vm.data,
|
|
38071
|
+
"nowCompId": _vm.nowCompId,
|
|
38072
|
+
"isOpcacity": _vm.isOpcacity,
|
|
38073
|
+
"lang": _vm.lang
|
|
38074
|
+
},
|
|
38075
|
+
on: {
|
|
38076
|
+
"getConfigData": _vm.getConfigData
|
|
38077
|
+
}
|
|
38078
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
38079
|
+
staticClass: "content-swiper tt_banner"
|
|
38080
|
+
}, [_vm.configList.length > 0 ? _c('div', {
|
|
38081
|
+
staticClass: "relative position"
|
|
38082
|
+
}, [_c('div', {
|
|
38083
|
+
staticClass: "my_banner"
|
|
38084
|
+
}, [_c('div', {
|
|
38085
|
+
staticClass: "swiper-container_contentswiper",
|
|
38086
|
+
attrs: {
|
|
38087
|
+
"id": `contentSwiper${_vm.data.componentId}`
|
|
38088
|
+
}
|
|
38089
|
+
}, [_c('div', {
|
|
38090
|
+
staticClass: "swiper-wrapper"
|
|
38091
|
+
}, _vm._l(_vm.configList, function (item, inx) {
|
|
38092
|
+
return _c('div', {
|
|
38093
|
+
key: inx,
|
|
38094
|
+
staticClass: "swiper-slide"
|
|
38095
|
+
}, [item ? _c('div', {
|
|
38096
|
+
staticClass: "swiper-banner_box",
|
|
38097
|
+
on: {
|
|
38098
|
+
"click": function ($event) {
|
|
38099
|
+
return _vm.decodeJumpUrl(item.jumpUrl, _vm.$router);
|
|
38100
|
+
}
|
|
38101
|
+
}
|
|
38102
|
+
}, [_c('img', {
|
|
38103
|
+
staticClass: "swiper-banner_image layout-pc",
|
|
38104
|
+
attrs: {
|
|
38105
|
+
"src": item.uploadImagePC,
|
|
38106
|
+
"alt": "PC"
|
|
38107
|
+
}
|
|
38108
|
+
}), _c('img', {
|
|
38109
|
+
staticClass: "swiper-banner_image layout-mobile",
|
|
38110
|
+
attrs: {
|
|
38111
|
+
"src": item.uploadImageH5,
|
|
38112
|
+
"alt": "H5"
|
|
38113
|
+
}
|
|
38114
|
+
}), _c('div', {
|
|
38115
|
+
staticClass: "extra-swiper_box layout-pc"
|
|
38116
|
+
}, [item.title ? _c('div', {
|
|
38117
|
+
staticClass: "swiper-contentbtn"
|
|
38118
|
+
}, [_c('span', [_vm._v(_vm._s(item.title))])]) : _vm._e(), item.des ? _c('div', {
|
|
38119
|
+
staticClass: "swiper-labels"
|
|
38120
|
+
}, [_c('span', [_vm._v(_vm._s(item.des))])]) : _vm._e(), _c('div', {
|
|
38121
|
+
staticClass: "swiper-btn_container"
|
|
38122
|
+
}, [item.input1 != '' ? _c('a', {
|
|
38123
|
+
attrs: {
|
|
38124
|
+
"href": item.jumpUrl1,
|
|
38125
|
+
"target": "_self"
|
|
38126
|
+
}
|
|
38127
|
+
}, [_c('button', {
|
|
38128
|
+
staticClass: "swiper-opbtn have-arrow"
|
|
38129
|
+
}, [_c('span', [_vm._v(_vm._s(item.input1))])])]) : _vm._e(), item.input2 != '' ? _c('a', {
|
|
38130
|
+
attrs: {
|
|
38131
|
+
"href": item.jumpUrl2,
|
|
38132
|
+
"target": "_self"
|
|
38133
|
+
}
|
|
38134
|
+
}, [_c('button', {
|
|
38135
|
+
staticClass: "swiper-opbtn_wt"
|
|
38136
|
+
}, [_c('span', [_vm._v(_vm._s(item.input2))])])]) : _vm._e()])])]) : _vm._e()]);
|
|
38137
|
+
}), 0)])]), _vm.configList[_vm.swiperIdx].title || _vm.configList[_vm.swiperIdx].des || _vm.configList[_vm.swiperIdx].input1 || _vm.configList[_vm.swiperIdx].input2 || (_vm$configList$_vm$sw = _vm.configList[_vm.swiperIdx]) !== null && _vm$configList$_vm$sw !== void 0 && _vm$configList$_vm$sw.input3 ? _c('div', {
|
|
38138
|
+
staticClass: "mb-swiper_box layout-mobile"
|
|
38139
|
+
}, [_vm.configList[_vm.swiperIdx].title ? _c('div', {
|
|
38140
|
+
staticClass: "swiper-contentbtn"
|
|
38141
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].title))])]) : _vm._e(), _vm.configList[_vm.swiperIdx].des ? _c('div', {
|
|
38142
|
+
staticClass: "swiper-label"
|
|
38143
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].des))])]) : _vm._e(), _c('div', {
|
|
38144
|
+
staticClass: "swiper-btn_container"
|
|
38145
|
+
}, [_vm.configList[_vm.swiperIdx].input1 ? _c('a', {
|
|
38146
|
+
attrs: {
|
|
38147
|
+
"href": _vm.configList[_vm.swiperIdx].jumpUrl1,
|
|
38148
|
+
"target": "_self"
|
|
38149
|
+
}
|
|
38150
|
+
}, [_c('button', {
|
|
38151
|
+
staticClass: "swiper-opbtn have-arrow"
|
|
38152
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].input1))])])]) : _vm._e(), _vm.configList[_vm.swiperIdx].input2 ? _c('a', {
|
|
38153
|
+
attrs: {
|
|
38154
|
+
"href": _vm.configList[_vm.swiperIdx].jumpUrl2,
|
|
38155
|
+
"target": "_self"
|
|
38156
|
+
}
|
|
38157
|
+
}, [_c('button', {
|
|
38158
|
+
staticClass: "swiper-opbtn_wt have-arrow"
|
|
38159
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].input2))])])]) : _vm._e()])]) : _vm._e(), _vm.configList.length > 1 ? _c('div', {
|
|
38160
|
+
staticClass: "cmhk-swiper-button-number"
|
|
38161
|
+
}, [_vm._l(_vm.configList, function (item, idx) {
|
|
38162
|
+
return _c('div', {
|
|
38163
|
+
key: idx,
|
|
38164
|
+
staticClass: "line-customs_wrapper",
|
|
38165
|
+
on: {
|
|
38166
|
+
"click": function ($event) {
|
|
38167
|
+
$event.stopPropagation();
|
|
38168
|
+
return _vm.jumpToSlide(idx);
|
|
38169
|
+
}
|
|
38170
|
+
}
|
|
38171
|
+
}, [_c('div', {
|
|
38172
|
+
class: ['cmhk-line-customs', idx === _vm.swiperIdx ? 'cmhk-line-customs-active' : '']
|
|
38173
|
+
}, [item && item.input1 ? _c('div', {
|
|
38174
|
+
staticClass: "swiper-popupup layout-pc"
|
|
38175
|
+
}, [_c('p', {
|
|
38176
|
+
staticClass: "swiper-popuptext"
|
|
38177
|
+
}, [_vm._v(_vm._s(item.input1))])]) : _vm._e()])]);
|
|
38178
|
+
}), _c('div', {
|
|
38179
|
+
staticClass: "swiper-button-puase",
|
|
38180
|
+
on: {
|
|
38181
|
+
"click": function ($event) {
|
|
38182
|
+
$event.stopPropagation();
|
|
38183
|
+
return _vm.swiperPlay.apply(null, arguments);
|
|
38184
|
+
}
|
|
38185
|
+
}
|
|
38186
|
+
}, [!_vm.swiperPlayVal ? _c('img', {
|
|
38187
|
+
staticClass: "playstart-image",
|
|
38188
|
+
attrs: {
|
|
38189
|
+
"src": __webpack_require__(2254)
|
|
38190
|
+
}
|
|
38191
|
+
}) : _vm._e(), _vm.swiperPlayVal ? _c('img', {
|
|
38192
|
+
staticClass: "playstop-image",
|
|
38193
|
+
attrs: {
|
|
38194
|
+
"src": __webpack_require__(2584)
|
|
38195
|
+
}
|
|
38196
|
+
}) : _vm._e()])], 2) : _vm._e()]) : _vm._e()])]);
|
|
38197
|
+
};
|
|
38198
|
+
var staticRenderFns = [];
|
|
38199
|
+
|
|
38200
|
+
;// ./package/cms-banner/View.vue?vue&type=template&id=14bdd028&scoped=true
|
|
38201
|
+
|
|
38202
|
+
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
|
|
38203
|
+
var swiper = __webpack_require__(828);
|
|
38204
|
+
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
38205
|
+
var swiper_esm_bundle = __webpack_require__(1532);
|
|
38206
|
+
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
38207
|
+
var jumpUrl = __webpack_require__(4102);
|
|
38208
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
38209
|
+
var baseComp = __webpack_require__(9345);
|
|
38210
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-banner/View.vue?vue&type=script&lang=js
|
|
38211
|
+
|
|
38212
|
+
|
|
38213
|
+
|
|
38214
|
+
|
|
38215
|
+
|
|
38216
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
38217
|
+
name: "cms-banner",
|
|
38218
|
+
components: {
|
|
38219
|
+
BaseComp: baseComp/* default */.A
|
|
38220
|
+
},
|
|
38221
|
+
props: {
|
|
38222
|
+
data: {
|
|
38223
|
+
type: Object,
|
|
38224
|
+
default: () => {
|
|
38225
|
+
return {};
|
|
38226
|
+
}
|
|
38227
|
+
},
|
|
38228
|
+
nowCompId: {
|
|
38229
|
+
type: [String, Number],
|
|
38230
|
+
default: ""
|
|
38231
|
+
},
|
|
38232
|
+
isOpcacity: {
|
|
38233
|
+
type: Boolean,
|
|
38234
|
+
default: true
|
|
38235
|
+
},
|
|
38236
|
+
lang: {
|
|
38237
|
+
type: String,
|
|
38238
|
+
default: "zh-HK"
|
|
38239
|
+
}
|
|
38240
|
+
},
|
|
38241
|
+
data() {
|
|
38242
|
+
return {
|
|
38243
|
+
configList: [],
|
|
38244
|
+
// 轮播
|
|
38245
|
+
swiperOne: null,
|
|
38246
|
+
swiperIdx: 0,
|
|
38247
|
+
swiperPlayVal: true
|
|
38248
|
+
};
|
|
38249
|
+
},
|
|
38250
|
+
created() {},
|
|
38251
|
+
mounted() {
|
|
38252
|
+
if (this.configList.length > 0) {
|
|
38253
|
+
this.initSwiper("bannerList");
|
|
38254
|
+
}
|
|
38255
|
+
},
|
|
38256
|
+
watch: {},
|
|
38257
|
+
methods: {
|
|
38258
|
+
getConfigData(configData) {
|
|
38259
|
+
this.configList = configData.configList;
|
|
38260
|
+
},
|
|
38261
|
+
initSwiper(operationName) {
|
|
38262
|
+
const vm = this;
|
|
38263
|
+
if (operationName === "bannerList" && this.configList.length > 0) {
|
|
38264
|
+
// 当广告个数大于1的时候才开启循环
|
|
38265
|
+
const ifLoop = this.configList.length > 1 ? true : false;
|
|
38266
|
+
this.swiperOne = new swiper_esm_bundle/* default */.A(`#contentSwiper${this.data.componentId}`, {
|
|
38267
|
+
initialSlide: 0,
|
|
38268
|
+
// 初始化时slide的索引
|
|
38269
|
+
autoplay: {
|
|
38270
|
+
// 自动开始
|
|
38271
|
+
delay: 5000,
|
|
38272
|
+
// 时间间隔
|
|
38273
|
+
disableOnInteraction: false // 手动操作轮播图后不会暂停
|
|
38274
|
+
},
|
|
38275
|
+
loop: ifLoop,
|
|
38276
|
+
// 循环模式选项
|
|
38277
|
+
spaceBetween: 30,
|
|
38278
|
+
// 在slide之间设置距离
|
|
38279
|
+
observer: true,
|
|
38280
|
+
observeParents: true,
|
|
38281
|
+
on: {
|
|
38282
|
+
slideChangeTransitionEnd: function () {
|
|
38283
|
+
// swiper从一个slide过渡到另一个slide结束时执行
|
|
38284
|
+
console.log("realIndex", this.realIndex);
|
|
38285
|
+
if (this.realIndex > vm.configList.length - 1) return;
|
|
38286
|
+
vm.swiperIdx = this.realIndex;
|
|
38287
|
+
},
|
|
38288
|
+
resize: function () {
|
|
38289
|
+
this.update(true);
|
|
38290
|
+
}
|
|
38291
|
+
}
|
|
38292
|
+
});
|
|
38293
|
+
}
|
|
38294
|
+
},
|
|
38295
|
+
// 轮播
|
|
38296
|
+
swiperPlay() {
|
|
38297
|
+
this.swiperPlayVal = !this.swiperPlayVal;
|
|
38298
|
+
this.swiperPlayVal ? this.swiperClickStart() : this.swiperClickStop();
|
|
38299
|
+
},
|
|
38300
|
+
swiperClickStop() {
|
|
38301
|
+
this.swiperOne.autoplay.stop();
|
|
38302
|
+
},
|
|
38303
|
+
swiperClickStart() {
|
|
38304
|
+
this.swiperOne.autoplay.start();
|
|
38305
|
+
},
|
|
38306
|
+
jumpToSlide(idx) {
|
|
38307
|
+
// banner 轮播PC
|
|
38308
|
+
console.log("PC点击了", idx);
|
|
38309
|
+
// 在Loop模式下Swiper切换到指定slide。切换到的是slide索引是realIndex
|
|
38310
|
+
this.swiperOne.slideToLoop(idx, 1000, false);
|
|
38311
|
+
this.swiperIdx = idx;
|
|
38312
|
+
},
|
|
38313
|
+
//跳转
|
|
38314
|
+
decodeJumpUrl(path, route) {
|
|
38315
|
+
(0,jumpUrl/* decodeJumpUrl */.u)(path, route);
|
|
38316
|
+
}
|
|
38317
|
+
}
|
|
38318
|
+
});
|
|
38319
|
+
;// ./package/cms-banner/View.vue?vue&type=script&lang=js
|
|
38320
|
+
/* harmony default export */ var cms_banner_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
38321
|
+
;// ./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-banner/View.vue?vue&type=style&index=0&id=14bdd028&prod&scoped=true&lang=scss
|
|
38322
|
+
// extracted by mini-css-extract-plugin
|
|
38323
|
+
|
|
38324
|
+
;// ./package/cms-banner/View.vue?vue&type=style&index=0&id=14bdd028&prod&scoped=true&lang=scss
|
|
38325
|
+
|
|
38326
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
38327
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
38328
|
+
;// ./package/cms-banner/View.vue
|
|
38329
|
+
|
|
38330
|
+
|
|
38331
|
+
|
|
38332
|
+
;
|
|
38333
|
+
|
|
38334
|
+
|
|
38335
|
+
/* normalize component */
|
|
38336
|
+
|
|
38337
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
38338
|
+
cms_banner_Viewvue_type_script_lang_js,
|
|
38339
|
+
render,
|
|
38340
|
+
staticRenderFns,
|
|
38341
|
+
false,
|
|
38342
|
+
null,
|
|
38343
|
+
"14bdd028",
|
|
38344
|
+
null
|
|
38345
|
+
|
|
38346
|
+
)
|
|
38347
|
+
|
|
38348
|
+
/* harmony default export */ var View = (component.exports);
|
|
38349
|
+
|
|
38350
|
+
/***/ }),
|
|
38351
|
+
|
|
38556
38352
|
/***/ 8425:
|
|
38557
38353
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
38558
38354
|
|
|
@@ -39407,7 +39203,7 @@ var swiper = __webpack_require__(828);
|
|
|
39407
39203
|
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
39408
39204
|
var swiper_esm_bundle = __webpack_require__(1532);
|
|
39409
39205
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
39410
|
-
var baseComp = __webpack_require__(
|
|
39206
|
+
var baseComp = __webpack_require__(9345);
|
|
39411
39207
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-threeScroll/View.vue?vue&type=script&lang=js
|
|
39412
39208
|
|
|
39413
39209
|
|
|
@@ -39795,7 +39591,7 @@ var render = function render() {
|
|
|
39795
39591
|
var staticRenderFns = [];
|
|
39796
39592
|
|
|
39797
39593
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
39798
|
-
var baseComp = __webpack_require__(
|
|
39594
|
+
var baseComp = __webpack_require__(9345);
|
|
39799
39595
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-cells/View.vue?vue&type=script&lang=js
|
|
39800
39596
|
|
|
39801
39597
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -40127,7 +39923,7 @@ var render = function render() {
|
|
|
40127
39923
|
var staticRenderFns = [];
|
|
40128
39924
|
|
|
40129
39925
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
40130
|
-
var baseComp = __webpack_require__(
|
|
39926
|
+
var baseComp = __webpack_require__(9345);
|
|
40131
39927
|
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
40132
39928
|
var jumpUrl = __webpack_require__(4102);
|
|
40133
39929
|
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
|
|
@@ -41000,6 +40796,210 @@ $({ global: true, bind: true, enumerable: true, forced: globalThis.setImmediate
|
|
|
41000
40796
|
});
|
|
41001
40797
|
|
|
41002
40798
|
|
|
40799
|
+
/***/ }),
|
|
40800
|
+
|
|
40801
|
+
/***/ 9345:
|
|
40802
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
40803
|
+
|
|
40804
|
+
"use strict";
|
|
40805
|
+
|
|
40806
|
+
// EXPORTS
|
|
40807
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
40808
|
+
A: function() { return /* binding */ baseComp; }
|
|
40809
|
+
});
|
|
40810
|
+
|
|
40811
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/baseComp.vue?vue&type=template&id=7ee2d83a
|
|
40812
|
+
var render = function render() {
|
|
40813
|
+
var _vm = this,
|
|
40814
|
+
_c = _vm._self._c;
|
|
40815
|
+
return _vm.$EventBus && _vm.isOpcacity ? _c('div', {
|
|
40816
|
+
key: _vm.data.componentId,
|
|
40817
|
+
class: [_vm.nowCompId !== '' && _vm.nowCompId == _vm.data.componentId ? 'highLight' : ''],
|
|
40818
|
+
style: _vm.styleConfig_mb,
|
|
40819
|
+
on: {
|
|
40820
|
+
"click": function ($event) {
|
|
40821
|
+
$event.stopPropagation();
|
|
40822
|
+
return _vm.handleNowComp.apply(null, arguments);
|
|
40823
|
+
}
|
|
40824
|
+
}
|
|
40825
|
+
}, [_c('div', {
|
|
40826
|
+
staticClass: "position",
|
|
40827
|
+
on: {
|
|
40828
|
+
"click": function ($event) {
|
|
40829
|
+
$event.stopPropagation();
|
|
40830
|
+
return _vm.handleNowComp.apply(null, arguments);
|
|
40831
|
+
}
|
|
40832
|
+
}
|
|
40833
|
+
}, [_vm._t("default"), _c('div', {
|
|
40834
|
+
class: {
|
|
40835
|
+
opcacity: _vm.isOpcacity
|
|
40836
|
+
},
|
|
40837
|
+
on: {
|
|
40838
|
+
"click": _vm.handleNowComp
|
|
40839
|
+
}
|
|
40840
|
+
})], 2), _vm.nowCompId !== '' && _vm.nowCompId == _vm.data.componentId ? _c('div', {
|
|
40841
|
+
staticClass: "com-delete"
|
|
40842
|
+
}, [_c('i', {
|
|
40843
|
+
staticClass: "el-icon-delete",
|
|
40844
|
+
on: {
|
|
40845
|
+
"click": function ($event) {
|
|
40846
|
+
$event.stopPropagation();
|
|
40847
|
+
return _vm.delComp.apply(null, arguments);
|
|
40848
|
+
}
|
|
40849
|
+
}
|
|
40850
|
+
})]) : _vm._e()]) : _vm.showSlot ? _c('div', {
|
|
40851
|
+
key: _vm.data.componentId,
|
|
40852
|
+
style: _vm.styleConfig_mb
|
|
40853
|
+
}, [_vm._t("default")], 2) : _vm._e();
|
|
40854
|
+
};
|
|
40855
|
+
var staticRenderFns = [];
|
|
40856
|
+
|
|
40857
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
40858
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
40859
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.reduce.js
|
|
40860
|
+
var es_iterator_reduce = __webpack_require__(8237);
|
|
40861
|
+
// EXTERNAL MODULE: ./package/patch.js + 1 modules
|
|
40862
|
+
var patch = __webpack_require__(7890);
|
|
40863
|
+
// EXTERNAL MODULE: ./node_modules/dayjs/dayjs.min.js
|
|
40864
|
+
var dayjs_min = __webpack_require__(8655);
|
|
40865
|
+
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
|
|
40866
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/baseComp.vue?vue&type=script&lang=js
|
|
40867
|
+
|
|
40868
|
+
|
|
40869
|
+
|
|
40870
|
+
|
|
40871
|
+
// 待办:判断移动pc端填充不同的样式
|
|
40872
|
+
|
|
40873
|
+
|
|
40874
|
+
/* harmony default export */ var baseCompvue_type_script_lang_js = ({
|
|
40875
|
+
name: "baseComp",
|
|
40876
|
+
props: {
|
|
40877
|
+
data: {
|
|
40878
|
+
type: Object,
|
|
40879
|
+
default: () => {
|
|
40880
|
+
return {};
|
|
40881
|
+
}
|
|
40882
|
+
},
|
|
40883
|
+
nowCompId: {
|
|
40884
|
+
type: [String, Number],
|
|
40885
|
+
default: ""
|
|
40886
|
+
},
|
|
40887
|
+
isOpcacity: {
|
|
40888
|
+
type: Boolean,
|
|
40889
|
+
default: true
|
|
40890
|
+
},
|
|
40891
|
+
lang: {
|
|
40892
|
+
type: String,
|
|
40893
|
+
default: "zh-HK"
|
|
40894
|
+
},
|
|
40895
|
+
timeline: {
|
|
40896
|
+
type: String,
|
|
40897
|
+
default: ""
|
|
40898
|
+
},
|
|
40899
|
+
cmhkChannel: {
|
|
40900
|
+
type: String,
|
|
40901
|
+
default: "WWW"
|
|
40902
|
+
}
|
|
40903
|
+
},
|
|
40904
|
+
data() {
|
|
40905
|
+
return {
|
|
40906
|
+
styleConfig_mb: {},
|
|
40907
|
+
styleConfig_pc: {},
|
|
40908
|
+
configData: {}
|
|
40909
|
+
};
|
|
40910
|
+
},
|
|
40911
|
+
mounted() {},
|
|
40912
|
+
watch: {
|
|
40913
|
+
data: {
|
|
40914
|
+
handler(val) {
|
|
40915
|
+
this.getStyleConfig(val, "pc");
|
|
40916
|
+
this.getStyleConfig(val, "mb");
|
|
40917
|
+
this.getValue(this.lang);
|
|
40918
|
+
},
|
|
40919
|
+
deep: true,
|
|
40920
|
+
immediate: true
|
|
40921
|
+
},
|
|
40922
|
+
lang: {
|
|
40923
|
+
handler(val) {
|
|
40924
|
+
this.getValue(val);
|
|
40925
|
+
},
|
|
40926
|
+
deep: true,
|
|
40927
|
+
immediate: true
|
|
40928
|
+
}
|
|
40929
|
+
},
|
|
40930
|
+
methods: {
|
|
40931
|
+
getValue(cur_lang) {
|
|
40932
|
+
var _this$data, _this$data$settings;
|
|
40933
|
+
const obj = {
|
|
40934
|
+
"zh-CN": "lang_sc",
|
|
40935
|
+
"zh-HK": "lang_tc",
|
|
40936
|
+
"en-US": "lang_en"
|
|
40937
|
+
};
|
|
40938
|
+
if ((_this$data = this.data) !== null && _this$data !== void 0 && (_this$data$settings = _this$data.settings) !== null && _this$data$settings !== void 0 && _this$data$settings.settings) {
|
|
40939
|
+
const baseInfo = (0,patch/* transfor */.k)(this.data);
|
|
40940
|
+
this.configData = baseInfo.contentConfig.lang_all ? baseInfo.contentConfig.lang_all : baseInfo.contentConfig[`${obj[cur_lang]}`];
|
|
40941
|
+
} else {
|
|
40942
|
+
this.configData = this.data.contentConfig.lang_all ? this.data.contentConfig.lang_all : this.data.contentConfig[`${obj[cur_lang]}`];
|
|
40943
|
+
}
|
|
40944
|
+
this.$emit("getConfigData", this.configData);
|
|
40945
|
+
},
|
|
40946
|
+
getStyleConfig(data, type) {
|
|
40947
|
+
this[`styleConfig_${type}`] = data.styleConfig[type].reduce((pre, cur) => {
|
|
40948
|
+
pre[cur.key] = cur.value + cur.unit;
|
|
40949
|
+
return pre;
|
|
40950
|
+
}, {});
|
|
40951
|
+
},
|
|
40952
|
+
handleNowComp() {
|
|
40953
|
+
if (!this.isOpcacity) return;
|
|
40954
|
+
this.$EventBus.$emit("handleNowComp", this.data);
|
|
40955
|
+
},
|
|
40956
|
+
delComp() {
|
|
40957
|
+
this.$EventBus.$emit("handleDeleteComp", this.data.componentId);
|
|
40958
|
+
}
|
|
40959
|
+
},
|
|
40960
|
+
computed: {
|
|
40961
|
+
showSlot() {
|
|
40962
|
+
const {
|
|
40963
|
+
cmhkChannelConfList = [],
|
|
40964
|
+
startTime = "",
|
|
40965
|
+
endTime = ""
|
|
40966
|
+
} = this.data.baseConfig;
|
|
40967
|
+
console.log("this.cmhkChannel", this.cmhkChannel, this.data.baseConfig);
|
|
40968
|
+
const channelVisable = cmhkChannelConfList.includes("ALL") || cmhkChannelConfList.includes(this.cmhkChannel);
|
|
40969
|
+
if (!channelVisable) return false;
|
|
40970
|
+
if (!startTime && !endTime) return true;
|
|
40971
|
+
const currentTime = this.timeline ? dayjs_min_default()(this.timeline) : dayjs_min_default()();
|
|
40972
|
+
const isStart = startTime ? dayjs_min_default()(currentTime).isAfter(dayjs_min_default()(startTime)) || dayjs_min_default()(currentTime).isSame(dayjs_min_default()(startTime)) : true;
|
|
40973
|
+
const isEnd = endTime ? dayjs_min_default()(currentTime).isBefore(dayjs_min_default()(endTime)) || dayjs_min_default()(currentTime).isSame(dayjs_min_default()(endTime)) : true;
|
|
40974
|
+
return isStart && isEnd;
|
|
40975
|
+
}
|
|
40976
|
+
}
|
|
40977
|
+
});
|
|
40978
|
+
;// ./package/baseComp.vue?vue&type=script&lang=js
|
|
40979
|
+
/* harmony default export */ var package_baseCompvue_type_script_lang_js = (baseCompvue_type_script_lang_js);
|
|
40980
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
40981
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
40982
|
+
;// ./package/baseComp.vue
|
|
40983
|
+
|
|
40984
|
+
|
|
40985
|
+
|
|
40986
|
+
|
|
40987
|
+
|
|
40988
|
+
/* normalize component */
|
|
40989
|
+
;
|
|
40990
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
40991
|
+
package_baseCompvue_type_script_lang_js,
|
|
40992
|
+
render,
|
|
40993
|
+
staticRenderFns,
|
|
40994
|
+
false,
|
|
40995
|
+
null,
|
|
40996
|
+
null,
|
|
40997
|
+
null
|
|
40998
|
+
|
|
40999
|
+
)
|
|
41000
|
+
|
|
41001
|
+
/* harmony default export */ var baseComp = (component.exports);
|
|
41002
|
+
|
|
41003
41003
|
/***/ }),
|
|
41004
41004
|
|
|
41005
41005
|
/***/ 9348:
|
|
@@ -41393,7 +41393,7 @@ var render = function render() {
|
|
|
41393
41393
|
var staticRenderFns = [];
|
|
41394
41394
|
|
|
41395
41395
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
41396
|
-
var baseComp = __webpack_require__(
|
|
41396
|
+
var baseComp = __webpack_require__(9345);
|
|
41397
41397
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-lineFive/View.vue?vue&type=script&lang=js
|
|
41398
41398
|
|
|
41399
41399
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
@@ -43830,7 +43830,7 @@ service.interceptors.request.use(config => {
|
|
|
43830
43830
|
if (config.url.includes("/ecosp-console")) {
|
|
43831
43831
|
document.cookie = "JSESSIONID=node017nm2falxdfe8c1parzfv9ilr29.node0";
|
|
43832
43832
|
} else if (config.url.includes("omni-channel-service-console")) {
|
|
43833
|
-
document.cookie = "JSESSIONID=
|
|
43833
|
+
document.cookie = "JSESSIONID=D0A102C1DF80210FDAEBAFEFBBC3074B";
|
|
43834
43834
|
}
|
|
43835
43835
|
} else {
|
|
43836
43836
|
if (config.url.includes("/api/") && is_cmsComp) {
|
|
@@ -43930,7 +43930,7 @@ var render = function render() {
|
|
|
43930
43930
|
var staticRenderFns = [];
|
|
43931
43931
|
|
|
43932
43932
|
// EXTERNAL MODULE: ./package/baseComp.vue + 3 modules
|
|
43933
|
-
var baseComp = __webpack_require__(
|
|
43933
|
+
var baseComp = __webpack_require__(9345);
|
|
43934
43934
|
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
43935
43935
|
var jumpUrl = __webpack_require__(4102);
|
|
43936
43936
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-titleLeft/View.vue?vue&type=script&setup=true&lang=js
|