cms-chenhj-ui 1.0.57 → 1.0.58
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 +567 -572
- package/cms-chenhj-ui.common.js.map +1 -1
- package/cms-chenhj-ui.css +1 -1
- package/cms-chenhj-ui.umd.js +1201 -1206
- package/cms-chenhj-ui.umd.js.map +1 -1
- package/cms-chenhj-ui.umd.min.js +1 -1
- package/cms-chenhj-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
package/cms-chenhj-ui.umd.js
CHANGED
|
@@ -38138,7 +38138,7 @@ var map = {
|
|
|
38138
38138
|
"./cms-aLineThreeLeftTwo/View.vue": 149,
|
|
38139
38139
|
"./cms-activityCountdown/View.vue": 5591,
|
|
38140
38140
|
"./cms-activityTime/View.vue": 4879,
|
|
38141
|
-
"./cms-banner/View.vue":
|
|
38141
|
+
"./cms-banner/View.vue": 8410,
|
|
38142
38142
|
"./cms-breadCrumb/View.vue": 1263,
|
|
38143
38143
|
"./cms-button/View.vue": 7081,
|
|
38144
38144
|
"./cms-cells/View.vue": 2442,
|
|
@@ -43244,405 +43244,6 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
43244
43244
|
module.exports = {};
|
|
43245
43245
|
|
|
43246
43246
|
|
|
43247
|
-
/***/ }),
|
|
43248
|
-
|
|
43249
|
-
/***/ 6274:
|
|
43250
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
43251
|
-
|
|
43252
|
-
"use strict";
|
|
43253
|
-
// ESM COMPAT FLAG
|
|
43254
|
-
__webpack_require__.r(__webpack_exports__);
|
|
43255
|
-
|
|
43256
|
-
// EXPORTS
|
|
43257
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
43258
|
-
"default": function() { return /* binding */ View; }
|
|
43259
|
-
});
|
|
43260
|
-
|
|
43261
|
-
;// ./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=504b8057&scoped=true
|
|
43262
|
-
var render = function render() {
|
|
43263
|
-
var _vm = this,
|
|
43264
|
-
_c = _vm._self._c;
|
|
43265
|
-
return _c('div', {
|
|
43266
|
-
staticClass: "test",
|
|
43267
|
-
class: [_vm.nowCompId !== '' && _vm.nowCompId == _vm.data.id ? 'highLight' : ''],
|
|
43268
|
-
staticStyle: {
|
|
43269
|
-
"position": "relative",
|
|
43270
|
-
"cursor": "pointer"
|
|
43271
|
-
},
|
|
43272
|
-
style: _vm.style,
|
|
43273
|
-
on: {
|
|
43274
|
-
"click": function ($event) {
|
|
43275
|
-
$event.stopPropagation();
|
|
43276
|
-
return _vm.handleNowComp();
|
|
43277
|
-
}
|
|
43278
|
-
}
|
|
43279
|
-
}, [_c('div', {
|
|
43280
|
-
staticClass: "content-swiper tt_banner"
|
|
43281
|
-
}, [_vm.cmsConfig.bannerList.length > 0 ? _c('div', {
|
|
43282
|
-
staticClass: "relative position"
|
|
43283
|
-
}, [_c('div', {
|
|
43284
|
-
staticClass: "my_banner"
|
|
43285
|
-
}, [_c('div', {
|
|
43286
|
-
staticClass: "swiper-container_contentswiper",
|
|
43287
|
-
attrs: {
|
|
43288
|
-
"id": `contentSwiper${_vm.data.id}`
|
|
43289
|
-
}
|
|
43290
|
-
}, [_c('div', {
|
|
43291
|
-
staticClass: "swiper-wrapper",
|
|
43292
|
-
staticStyle: {
|
|
43293
|
-
"width": "1074px",
|
|
43294
|
-
"height": "100%"
|
|
43295
|
-
}
|
|
43296
|
-
}, _vm._l(_vm.cmsConfig.bannerList, function (item, inx) {
|
|
43297
|
-
return _c('div', {
|
|
43298
|
-
key: inx,
|
|
43299
|
-
staticClass: "swiper-slide"
|
|
43300
|
-
}, [item ? _c('div', {
|
|
43301
|
-
staticClass: "swiper-banner_box",
|
|
43302
|
-
on: {
|
|
43303
|
-
"click": function ($event) {
|
|
43304
|
-
return _vm.decodeJumpUrl(item.jumpUrl, _vm.$router);
|
|
43305
|
-
}
|
|
43306
|
-
}
|
|
43307
|
-
}, [_c('img', {
|
|
43308
|
-
staticClass: "swiper-banner_image layout-pc",
|
|
43309
|
-
attrs: {
|
|
43310
|
-
"src": item.uploadImagePC,
|
|
43311
|
-
"alt": "PC"
|
|
43312
|
-
}
|
|
43313
|
-
}), _c('img', {
|
|
43314
|
-
staticClass: "swiper-banner_image layout-mobile",
|
|
43315
|
-
attrs: {
|
|
43316
|
-
"src": item.uploadImageH5,
|
|
43317
|
-
"alt": "H5"
|
|
43318
|
-
}
|
|
43319
|
-
}), _c('div', {
|
|
43320
|
-
staticClass: "extra-swiper_box layout-pc"
|
|
43321
|
-
}, [item.title ? _c('div', {
|
|
43322
|
-
staticClass: "swiper-contentbtn"
|
|
43323
|
-
}, [_c('span', [_vm._v(_vm._s(item.title))])]) : _vm._e(), item.des ? _c('div', {
|
|
43324
|
-
staticClass: "swiper-labels"
|
|
43325
|
-
}, [_c('span', [_vm._v(_vm._s(item.des))])]) : _vm._e(), _c('div', {
|
|
43326
|
-
staticClass: "swiper-btn_container"
|
|
43327
|
-
}, [item.input1 != '' ? _c('a', {
|
|
43328
|
-
attrs: {
|
|
43329
|
-
"href": item.jumpUrl1,
|
|
43330
|
-
"target": "_self"
|
|
43331
|
-
}
|
|
43332
|
-
}, [_c('button', {
|
|
43333
|
-
staticClass: "swiper-opbtn have-arrow"
|
|
43334
|
-
}, [_c('span', [_vm._v(_vm._s(item.input1))])])]) : _vm._e(), item.input2 != '' ? _c('a', {
|
|
43335
|
-
attrs: {
|
|
43336
|
-
"href": item.jumpUrl2,
|
|
43337
|
-
"target": "_self"
|
|
43338
|
-
}
|
|
43339
|
-
}, [_c('button', {
|
|
43340
|
-
staticClass: "swiper-opbtn_wt"
|
|
43341
|
-
}, [_c('span', [_vm._v(_vm._s(item.input2))])])]) : _vm._e()])])]) : _vm._e()]);
|
|
43342
|
-
}), 0)])]), _c('div', {
|
|
43343
|
-
directives: [{
|
|
43344
|
-
name: "show",
|
|
43345
|
-
rawName: "v-show",
|
|
43346
|
-
value: _vm.cmsConfig.bannerList[_vm.swiperIdx].input1 || _vm.cmsConfig.bannerList[_vm.swiperIdx].input2 || _vm.cmsConfig.bannerList[_vm.swiperIdx].input3 || _vm.cmsConfig.bannerList[_vm.swiperIdx].inputNew,
|
|
43347
|
-
expression: "\n cmsConfig.bannerList[swiperIdx].input1 ||\n cmsConfig.bannerList[swiperIdx].input2 ||\n cmsConfig.bannerList[swiperIdx].input3 ||\n cmsConfig.bannerList[swiperIdx].inputNew\n "
|
|
43348
|
-
}],
|
|
43349
|
-
staticClass: "mb-swiper_box layout-mobile"
|
|
43350
|
-
}, [_vm.cmsConfig.bannerList[_vm.swiperIdx].title ? _c('div', {
|
|
43351
|
-
staticClass: "swiper-contentbtn"
|
|
43352
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.cmsConfig.bannerList[_vm.swiperIdx].title))])]) : _vm._e(), _vm.cmsConfig.bannerList[_vm.swiperIdx].des ? _c('div', {
|
|
43353
|
-
staticClass: "swiper-label"
|
|
43354
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.cmsConfig.bannerList[_vm.swiperIdx].des))])]) : _vm._e(), _c('div', {
|
|
43355
|
-
staticClass: "swiper-btn_container"
|
|
43356
|
-
}, [_vm.cmsConfig.bannerList[_vm.swiperIdx].input1 ? _c('a', {
|
|
43357
|
-
attrs: {
|
|
43358
|
-
"href": _vm.cmsConfig.bannerList[_vm.swiperIdx].jumpUrl1,
|
|
43359
|
-
"target": "_self"
|
|
43360
|
-
}
|
|
43361
|
-
}, [_c('button', {
|
|
43362
|
-
staticClass: "swiper-opbtn have-arrow"
|
|
43363
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.cmsConfig.bannerList[_vm.swiperIdx].input1))])])]) : _vm._e(), _vm.cmsConfig.bannerList[_vm.swiperIdx].input2 ? _c('a', {
|
|
43364
|
-
attrs: {
|
|
43365
|
-
"href": _vm.cmsConfig.bannerList[_vm.swiperIdx].jumpUrl2,
|
|
43366
|
-
"target": "_self"
|
|
43367
|
-
}
|
|
43368
|
-
}, [_c('button', {
|
|
43369
|
-
staticClass: "swiper-opbtn_wt have-arrow"
|
|
43370
|
-
}, [_c('span', [_vm._v(_vm._s(_vm.cmsConfig.bannerList[_vm.swiperIdx].input2))])])]) : _vm._e()])]), _vm.cmsConfig.bannerList.length > 1 ? _c('div', {
|
|
43371
|
-
staticClass: "cmhk-swiper-button-number"
|
|
43372
|
-
}, [_vm._l(_vm.cmsConfig.bannerList, function (item, idx) {
|
|
43373
|
-
return _c('div', {
|
|
43374
|
-
key: idx,
|
|
43375
|
-
staticClass: "line-customs_wrapper",
|
|
43376
|
-
on: {
|
|
43377
|
-
"click": function ($event) {
|
|
43378
|
-
$event.stopPropagation();
|
|
43379
|
-
return _vm.jumpToSlide(idx);
|
|
43380
|
-
}
|
|
43381
|
-
}
|
|
43382
|
-
}, [_c('div', {
|
|
43383
|
-
class: ['cmhk-line-customs', idx === _vm.swiperIdx ? 'cmhk-line-customs-active' : '']
|
|
43384
|
-
}, [item && item.input1 ? _c('div', {
|
|
43385
|
-
staticClass: "swiper-popupup layout-pc"
|
|
43386
|
-
}, [_c('p', {
|
|
43387
|
-
staticClass: "swiper-popuptext"
|
|
43388
|
-
}, [_vm._v(_vm._s(item.input1))])]) : _vm._e()])]);
|
|
43389
|
-
}), _c('div', {
|
|
43390
|
-
staticClass: "swiper-button-puase",
|
|
43391
|
-
on: {
|
|
43392
|
-
"click": function ($event) {
|
|
43393
|
-
$event.stopPropagation();
|
|
43394
|
-
return _vm.swiperPlay.apply(null, arguments);
|
|
43395
|
-
}
|
|
43396
|
-
}
|
|
43397
|
-
}, [!_vm.swiperPlayVal ? _c('img', {
|
|
43398
|
-
staticClass: "playstart-image",
|
|
43399
|
-
attrs: {
|
|
43400
|
-
"src": __webpack_require__(2254)
|
|
43401
|
-
}
|
|
43402
|
-
}) : _vm._e(), _vm.swiperPlayVal ? _c('img', {
|
|
43403
|
-
staticClass: "playstop-image",
|
|
43404
|
-
attrs: {
|
|
43405
|
-
"src": __webpack_require__(2584)
|
|
43406
|
-
}
|
|
43407
|
-
}) : _vm._e()])], 2) : _vm._e()]) : _vm._e(), _c('div', {
|
|
43408
|
-
class: {
|
|
43409
|
-
opcacity: _vm.isOpcacity
|
|
43410
|
-
},
|
|
43411
|
-
on: {
|
|
43412
|
-
"click": _vm.handleNowComp
|
|
43413
|
-
}
|
|
43414
|
-
})]), _vm.nowCompId !== '' && _vm.nowCompId == _vm.data.id ? _c('div', {
|
|
43415
|
-
staticClass: "com-delete"
|
|
43416
|
-
}, [_c('i', {
|
|
43417
|
-
staticClass: "el-icon-delete",
|
|
43418
|
-
on: {
|
|
43419
|
-
"click": function ($event) {
|
|
43420
|
-
$event.stopPropagation();
|
|
43421
|
-
return _vm.deleteComponent.apply(null, arguments);
|
|
43422
|
-
}
|
|
43423
|
-
}
|
|
43424
|
-
})]) : _vm._e()]);
|
|
43425
|
-
};
|
|
43426
|
-
var staticRenderFns = [];
|
|
43427
|
-
|
|
43428
|
-
;// ./package/cms-banner/View.vue?vue&type=template&id=504b8057&scoped=true
|
|
43429
|
-
|
|
43430
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
43431
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
43432
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
43433
|
-
var es_iterator_for_each = __webpack_require__(7588);
|
|
43434
|
-
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
|
|
43435
|
-
var swiper = __webpack_require__(828);
|
|
43436
|
-
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
43437
|
-
var swiper_esm_bundle = __webpack_require__(1532);
|
|
43438
|
-
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
43439
|
-
var jumpUrl = __webpack_require__(4102);
|
|
43440
|
-
;// ./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
|
|
43441
|
-
|
|
43442
|
-
|
|
43443
|
-
|
|
43444
|
-
|
|
43445
|
-
|
|
43446
|
-
|
|
43447
|
-
|
|
43448
|
-
|
|
43449
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
43450
|
-
name: "cms-banner",
|
|
43451
|
-
props: {
|
|
43452
|
-
data: {
|
|
43453
|
-
type: Object,
|
|
43454
|
-
default: () => {
|
|
43455
|
-
return {};
|
|
43456
|
-
}
|
|
43457
|
-
},
|
|
43458
|
-
nowCompId: {
|
|
43459
|
-
type: [String, Number],
|
|
43460
|
-
default: ""
|
|
43461
|
-
},
|
|
43462
|
-
isOpcacity: {
|
|
43463
|
-
type: Boolean,
|
|
43464
|
-
default: true
|
|
43465
|
-
},
|
|
43466
|
-
lang: {
|
|
43467
|
-
type: String,
|
|
43468
|
-
default: "zh-HK"
|
|
43469
|
-
}
|
|
43470
|
-
},
|
|
43471
|
-
data() {
|
|
43472
|
-
return {
|
|
43473
|
-
style: {},
|
|
43474
|
-
// 样式
|
|
43475
|
-
isEditor: true,
|
|
43476
|
-
cmsConfig: {
|
|
43477
|
-
bannerList: []
|
|
43478
|
-
},
|
|
43479
|
-
CN: [],
|
|
43480
|
-
HK: [],
|
|
43481
|
-
EN: [],
|
|
43482
|
-
// 轮播
|
|
43483
|
-
swiperOne: null,
|
|
43484
|
-
swiperIdx: 0,
|
|
43485
|
-
swiperPlayVal: true
|
|
43486
|
-
};
|
|
43487
|
-
},
|
|
43488
|
-
created() {
|
|
43489
|
-
if (this.$route.path != "/editor") {
|
|
43490
|
-
this.isEditor = false;
|
|
43491
|
-
}
|
|
43492
|
-
},
|
|
43493
|
-
mounted() {
|
|
43494
|
-
if (this.$EventBus) {
|
|
43495
|
-
this.$EventBus.$on("forceUpdateCom", data => {
|
|
43496
|
-
if (data.id == this.data.id) {
|
|
43497
|
-
let obj = {};
|
|
43498
|
-
data.settings.attribute.forEach(item => {
|
|
43499
|
-
obj[item.key] = item.value;
|
|
43500
|
-
});
|
|
43501
|
-
this.style = obj;
|
|
43502
|
-
}
|
|
43503
|
-
});
|
|
43504
|
-
}
|
|
43505
|
-
if (this.cmsConfig.bannerList.length > 0) {
|
|
43506
|
-
this.initSwiper("bannerList");
|
|
43507
|
-
}
|
|
43508
|
-
},
|
|
43509
|
-
watch: {
|
|
43510
|
-
data: {
|
|
43511
|
-
handler(val) {
|
|
43512
|
-
let obj = {};
|
|
43513
|
-
val.settings.settings.forEach(item => {
|
|
43514
|
-
this.CN = item.value.bannerList.CN;
|
|
43515
|
-
this.HK = item.value.bannerList.HK;
|
|
43516
|
-
this.EN = item.value.bannerList.EN;
|
|
43517
|
-
});
|
|
43518
|
-
val.settings.attribute.forEach(item => {
|
|
43519
|
-
obj[item.key] = item.value;
|
|
43520
|
-
});
|
|
43521
|
-
this.style = obj;
|
|
43522
|
-
this.getValue(this.lang);
|
|
43523
|
-
},
|
|
43524
|
-
deep: true,
|
|
43525
|
-
immediate: true
|
|
43526
|
-
},
|
|
43527
|
-
lang: {
|
|
43528
|
-
handler(val) {
|
|
43529
|
-
this.getValue(val);
|
|
43530
|
-
},
|
|
43531
|
-
deep: true,
|
|
43532
|
-
immediate: true
|
|
43533
|
-
}
|
|
43534
|
-
},
|
|
43535
|
-
methods: {
|
|
43536
|
-
getValue(val) {
|
|
43537
|
-
const obj = {
|
|
43538
|
-
"zh-CN": "CN",
|
|
43539
|
-
"zh-HK": "HK",
|
|
43540
|
-
"en-US": "EN"
|
|
43541
|
-
};
|
|
43542
|
-
this.cmsConfig.bannerList = this[`${obj[val]}`];
|
|
43543
|
-
},
|
|
43544
|
-
handleNowComp() {
|
|
43545
|
-
if (!this.isOpcacity) return;
|
|
43546
|
-
this.$EventBus.$emit("handleNowComp", {
|
|
43547
|
-
key: this.data.id,
|
|
43548
|
-
settings: this.data.settings,
|
|
43549
|
-
nowCompName: this.data.compName
|
|
43550
|
-
});
|
|
43551
|
-
},
|
|
43552
|
-
deleteComponent() {
|
|
43553
|
-
this.$EventBus.$emit("handleDeleteComp", {
|
|
43554
|
-
key: this.data.id
|
|
43555
|
-
});
|
|
43556
|
-
},
|
|
43557
|
-
initSwiper(operationName) {
|
|
43558
|
-
const vm = this;
|
|
43559
|
-
if (operationName === "bannerList" && this.cmsConfig.bannerList.length > 0) {
|
|
43560
|
-
// 当广告个数大于1的时候才开启循环
|
|
43561
|
-
const ifLoop = this.cmsConfig.bannerList.length > 1 ? true : false;
|
|
43562
|
-
this.swiperOne = new swiper_esm_bundle/* default */.A(`#contentSwiper${this.data.id}`, {
|
|
43563
|
-
initialSlide: 0,
|
|
43564
|
-
// 初始化时slide的索引
|
|
43565
|
-
autoplay: {
|
|
43566
|
-
// 自动开始
|
|
43567
|
-
delay: 5000,
|
|
43568
|
-
// 时间间隔
|
|
43569
|
-
disableOnInteraction: false // 手动操作轮播图后不会暂停
|
|
43570
|
-
},
|
|
43571
|
-
loop: ifLoop,
|
|
43572
|
-
// 循环模式选项
|
|
43573
|
-
spaceBetween: 30,
|
|
43574
|
-
// 在slide之间设置距离
|
|
43575
|
-
observer: true,
|
|
43576
|
-
observeParents: true,
|
|
43577
|
-
on: {
|
|
43578
|
-
slideChangeTransitionEnd: function () {
|
|
43579
|
-
// swiper从一个slide过渡到另一个slide结束时执行
|
|
43580
|
-
console.log("realIndex", this.realIndex);
|
|
43581
|
-
if (this.realIndex > vm.cmsConfig.bannerList.length - 1) return;
|
|
43582
|
-
vm.swiperIdx = this.realIndex;
|
|
43583
|
-
},
|
|
43584
|
-
resize: function () {
|
|
43585
|
-
this.update(true);
|
|
43586
|
-
}
|
|
43587
|
-
}
|
|
43588
|
-
});
|
|
43589
|
-
}
|
|
43590
|
-
},
|
|
43591
|
-
// 轮播
|
|
43592
|
-
swiperPlay() {
|
|
43593
|
-
this.swiperPlayVal = !this.swiperPlayVal;
|
|
43594
|
-
this.swiperPlayVal ? this.swiperClickStart() : this.swiperClickStop();
|
|
43595
|
-
},
|
|
43596
|
-
swiperClickStop() {
|
|
43597
|
-
this.swiperOne.autoplay.stop();
|
|
43598
|
-
},
|
|
43599
|
-
swiperClickStart() {
|
|
43600
|
-
this.swiperOne.autoplay.start();
|
|
43601
|
-
},
|
|
43602
|
-
jumpToSlide(idx) {
|
|
43603
|
-
// banner 轮播PC
|
|
43604
|
-
console.log("PC点击了", idx);
|
|
43605
|
-
// 在Loop模式下Swiper切换到指定slide。切换到的是slide索引是realIndex
|
|
43606
|
-
this.swiperOne.slideToLoop(idx, 1000, false);
|
|
43607
|
-
this.swiperIdx = idx;
|
|
43608
|
-
},
|
|
43609
|
-
//跳转
|
|
43610
|
-
decodeJumpUrl(path, route) {
|
|
43611
|
-
(0,jumpUrl/* decodeJumpUrl */.u)(path, route);
|
|
43612
|
-
}
|
|
43613
|
-
}
|
|
43614
|
-
});
|
|
43615
|
-
;// ./package/cms-banner/View.vue?vue&type=script&lang=js
|
|
43616
|
-
/* harmony default export */ var cms_banner_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
43617
|
-
;// ./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=504b8057&prod&scoped=true&lang=scss
|
|
43618
|
-
// extracted by mini-css-extract-plugin
|
|
43619
|
-
|
|
43620
|
-
;// ./package/cms-banner/View.vue?vue&type=style&index=0&id=504b8057&prod&scoped=true&lang=scss
|
|
43621
|
-
|
|
43622
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
43623
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
43624
|
-
;// ./package/cms-banner/View.vue
|
|
43625
|
-
|
|
43626
|
-
|
|
43627
|
-
|
|
43628
|
-
;
|
|
43629
|
-
|
|
43630
|
-
|
|
43631
|
-
/* normalize component */
|
|
43632
|
-
|
|
43633
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
43634
|
-
cms_banner_Viewvue_type_script_lang_js,
|
|
43635
|
-
render,
|
|
43636
|
-
staticRenderFns,
|
|
43637
|
-
false,
|
|
43638
|
-
null,
|
|
43639
|
-
"504b8057",
|
|
43640
|
-
null
|
|
43641
|
-
|
|
43642
|
-
)
|
|
43643
|
-
|
|
43644
|
-
/* harmony default export */ var View = (component.exports);
|
|
43645
|
-
|
|
43646
43247
|
/***/ }),
|
|
43647
43248
|
|
|
43648
43249
|
/***/ 6279:
|
|
@@ -46591,397 +46192,780 @@ module.exports = function (O, C) {
|
|
|
46591
46192
|
|
|
46592
46193
|
"use strict";
|
|
46593
46194
|
|
|
46594
|
-
var IS_PURE = __webpack_require__(6395);
|
|
46195
|
+
var IS_PURE = __webpack_require__(6395);
|
|
46196
|
+
var globalThis = __webpack_require__(4576);
|
|
46197
|
+
var defineGlobalProperty = __webpack_require__(9433);
|
|
46198
|
+
|
|
46199
|
+
var SHARED = '__core-js_shared__';
|
|
46200
|
+
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
46201
|
+
|
|
46202
|
+
(store.versions || (store.versions = [])).push({
|
|
46203
|
+
version: '3.41.0',
|
|
46204
|
+
mode: IS_PURE ? 'pure' : 'global',
|
|
46205
|
+
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
46206
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE',
|
|
46207
|
+
source: 'https://github.com/zloirock/core-js'
|
|
46208
|
+
});
|
|
46209
|
+
|
|
46210
|
+
|
|
46211
|
+
/***/ }),
|
|
46212
|
+
|
|
46213
|
+
/***/ 7634:
|
|
46214
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46215
|
+
|
|
46216
|
+
"use strict";
|
|
46217
|
+
|
|
46218
|
+
|
|
46219
|
+
var GetIntrinsic = __webpack_require__(6303);
|
|
46220
|
+
var callBindBasic = __webpack_require__(5556);
|
|
46221
|
+
|
|
46222
|
+
/** @type {(thisArg: string, searchString: string, position?: number) => number} */
|
|
46223
|
+
var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
|
|
46224
|
+
|
|
46225
|
+
/** @type {import('.')} */
|
|
46226
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
46227
|
+
/* eslint no-extra-parens: 0 */
|
|
46228
|
+
|
|
46229
|
+
var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */GetIntrinsic(name, !!allowMissing);
|
|
46230
|
+
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
46231
|
+
return callBindBasic(/** @type {const} */[intrinsic]);
|
|
46232
|
+
}
|
|
46233
|
+
return intrinsic;
|
|
46234
|
+
};
|
|
46235
|
+
|
|
46236
|
+
/***/ }),
|
|
46237
|
+
|
|
46238
|
+
/***/ 7642:
|
|
46239
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
46240
|
+
|
|
46241
|
+
"use strict";
|
|
46242
|
+
|
|
46243
|
+
var $ = __webpack_require__(6518);
|
|
46244
|
+
var difference = __webpack_require__(3440);
|
|
46245
|
+
var setMethodAcceptSetLike = __webpack_require__(4916);
|
|
46246
|
+
|
|
46247
|
+
var INCORRECT = !setMethodAcceptSetLike('difference', function (result) {
|
|
46248
|
+
return result.size === 0;
|
|
46249
|
+
});
|
|
46250
|
+
|
|
46251
|
+
// `Set.prototype.difference` method
|
|
46252
|
+
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
46253
|
+
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
46254
|
+
difference: difference
|
|
46255
|
+
});
|
|
46256
|
+
|
|
46257
|
+
|
|
46258
|
+
/***/ }),
|
|
46259
|
+
|
|
46260
|
+
/***/ 7657:
|
|
46261
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46262
|
+
|
|
46263
|
+
"use strict";
|
|
46264
|
+
|
|
46265
|
+
var fails = __webpack_require__(9039);
|
|
46266
|
+
var isCallable = __webpack_require__(4901);
|
|
46267
|
+
var isObject = __webpack_require__(34);
|
|
46268
|
+
var create = __webpack_require__(2360);
|
|
46269
|
+
var getPrototypeOf = __webpack_require__(2787);
|
|
46270
|
+
var defineBuiltIn = __webpack_require__(6840);
|
|
46271
|
+
var wellKnownSymbol = __webpack_require__(8227);
|
|
46272
|
+
var IS_PURE = __webpack_require__(6395);
|
|
46273
|
+
|
|
46274
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
46275
|
+
var BUGGY_SAFARI_ITERATORS = false;
|
|
46276
|
+
|
|
46277
|
+
// `%IteratorPrototype%` object
|
|
46278
|
+
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
46279
|
+
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
46280
|
+
|
|
46281
|
+
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
46282
|
+
if ([].keys) {
|
|
46283
|
+
arrayIterator = [].keys();
|
|
46284
|
+
// Safari 8 has buggy iterators w/o `next`
|
|
46285
|
+
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
|
|
46286
|
+
else {
|
|
46287
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
|
|
46288
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
|
|
46289
|
+
}
|
|
46290
|
+
}
|
|
46291
|
+
|
|
46292
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
|
|
46293
|
+
var test = {};
|
|
46294
|
+
// FF44- legacy iterators case
|
|
46295
|
+
return IteratorPrototype[ITERATOR].call(test) !== test;
|
|
46296
|
+
});
|
|
46297
|
+
|
|
46298
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
|
|
46299
|
+
else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
|
|
46300
|
+
|
|
46301
|
+
// `%IteratorPrototype%[@@iterator]()` method
|
|
46302
|
+
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
46303
|
+
if (!isCallable(IteratorPrototype[ITERATOR])) {
|
|
46304
|
+
defineBuiltIn(IteratorPrototype, ITERATOR, function () {
|
|
46305
|
+
return this;
|
|
46306
|
+
});
|
|
46307
|
+
}
|
|
46308
|
+
|
|
46309
|
+
module.exports = {
|
|
46310
|
+
IteratorPrototype: IteratorPrototype,
|
|
46311
|
+
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
|
|
46312
|
+
};
|
|
46313
|
+
|
|
46314
|
+
|
|
46315
|
+
/***/ }),
|
|
46316
|
+
|
|
46317
|
+
/***/ 7680:
|
|
46318
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46319
|
+
|
|
46320
|
+
"use strict";
|
|
46321
|
+
|
|
46322
|
+
var uncurryThis = __webpack_require__(9504);
|
|
46323
|
+
|
|
46324
|
+
module.exports = uncurryThis([].slice);
|
|
46325
|
+
|
|
46326
|
+
|
|
46327
|
+
/***/ }),
|
|
46328
|
+
|
|
46329
|
+
/***/ 7696:
|
|
46330
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46331
|
+
|
|
46332
|
+
"use strict";
|
|
46333
|
+
|
|
46334
|
+
var toIntegerOrInfinity = __webpack_require__(1291);
|
|
46335
|
+
var toLength = __webpack_require__(8014);
|
|
46336
|
+
|
|
46337
|
+
var $RangeError = RangeError;
|
|
46338
|
+
|
|
46339
|
+
// `ToIndex` abstract operation
|
|
46340
|
+
// https://tc39.es/ecma262/#sec-toindex
|
|
46341
|
+
module.exports = function (it) {
|
|
46342
|
+
if (it === undefined) return 0;
|
|
46343
|
+
var number = toIntegerOrInfinity(it);
|
|
46344
|
+
var length = toLength(number);
|
|
46345
|
+
if (number !== length) throw new $RangeError('Wrong length or index');
|
|
46346
|
+
return length;
|
|
46347
|
+
};
|
|
46348
|
+
|
|
46349
|
+
|
|
46350
|
+
/***/ }),
|
|
46351
|
+
|
|
46352
|
+
/***/ 7740:
|
|
46353
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46354
|
+
|
|
46355
|
+
"use strict";
|
|
46356
|
+
|
|
46357
|
+
var hasOwn = __webpack_require__(9297);
|
|
46358
|
+
var ownKeys = __webpack_require__(5031);
|
|
46359
|
+
var getOwnPropertyDescriptorModule = __webpack_require__(7347);
|
|
46360
|
+
var definePropertyModule = __webpack_require__(4913);
|
|
46361
|
+
|
|
46362
|
+
module.exports = function (target, source, exceptions) {
|
|
46363
|
+
var keys = ownKeys(source);
|
|
46364
|
+
var defineProperty = definePropertyModule.f;
|
|
46365
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
46366
|
+
for (var i = 0; i < keys.length; i++) {
|
|
46367
|
+
var key = keys[i];
|
|
46368
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
46369
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
46370
|
+
}
|
|
46371
|
+
}
|
|
46372
|
+
};
|
|
46373
|
+
|
|
46374
|
+
|
|
46375
|
+
/***/ }),
|
|
46376
|
+
|
|
46377
|
+
/***/ 7750:
|
|
46378
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46379
|
+
|
|
46380
|
+
"use strict";
|
|
46381
|
+
|
|
46382
|
+
var isNullOrUndefined = __webpack_require__(4117);
|
|
46383
|
+
|
|
46384
|
+
var $TypeError = TypeError;
|
|
46385
|
+
|
|
46386
|
+
// `RequireObjectCoercible` abstract operation
|
|
46387
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
46388
|
+
module.exports = function (it) {
|
|
46389
|
+
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
46390
|
+
return it;
|
|
46391
|
+
};
|
|
46392
|
+
|
|
46393
|
+
|
|
46394
|
+
/***/ }),
|
|
46395
|
+
|
|
46396
|
+
/***/ 7751:
|
|
46397
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46398
|
+
|
|
46399
|
+
"use strict";
|
|
46400
|
+
|
|
46595
46401
|
var globalThis = __webpack_require__(4576);
|
|
46596
|
-
var
|
|
46402
|
+
var isCallable = __webpack_require__(4901);
|
|
46597
46403
|
|
|
46598
|
-
var
|
|
46599
|
-
|
|
46404
|
+
var aFunction = function (argument) {
|
|
46405
|
+
return isCallable(argument) ? argument : undefined;
|
|
46406
|
+
};
|
|
46600
46407
|
|
|
46601
|
-
|
|
46602
|
-
|
|
46603
|
-
|
|
46604
|
-
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
46605
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE',
|
|
46606
|
-
source: 'https://github.com/zloirock/core-js'
|
|
46607
|
-
});
|
|
46408
|
+
module.exports = function (namespace, method) {
|
|
46409
|
+
return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
|
|
46410
|
+
};
|
|
46608
46411
|
|
|
46609
46412
|
|
|
46610
46413
|
/***/ }),
|
|
46611
46414
|
|
|
46612
|
-
/***/
|
|
46613
|
-
/***/ (function(module
|
|
46415
|
+
/***/ 7811:
|
|
46416
|
+
/***/ (function(module) {
|
|
46614
46417
|
|
|
46615
46418
|
"use strict";
|
|
46616
46419
|
|
|
46420
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
46421
|
+
module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
46617
46422
|
|
|
46618
|
-
var GetIntrinsic = __webpack_require__(6303);
|
|
46619
|
-
var callBindBasic = __webpack_require__(5556);
|
|
46620
46423
|
|
|
46621
|
-
|
|
46622
|
-
var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
|
|
46424
|
+
/***/ }),
|
|
46623
46425
|
|
|
46624
|
-
|
|
46625
|
-
|
|
46626
|
-
/* eslint no-extra-parens: 0 */
|
|
46426
|
+
/***/ 7897:
|
|
46427
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
46627
46428
|
|
|
46628
|
-
|
|
46629
|
-
|
|
46630
|
-
|
|
46429
|
+
"use strict";
|
|
46430
|
+
var __webpack_unused_export__;
|
|
46431
|
+
|
|
46432
|
+
|
|
46433
|
+
__webpack_unused_export__ = true;
|
|
46434
|
+
__webpack_unused_export__ = __webpack_unused_export__ = __webpack_unused_export__ = undefined;
|
|
46435
|
+
var _zhCN = __webpack_require__(5434);
|
|
46436
|
+
var _zhCN2 = _interopRequireDefault(_zhCN);
|
|
46437
|
+
var _vue = __webpack_require__(3562);
|
|
46438
|
+
var _vue2 = _interopRequireDefault(_vue);
|
|
46439
|
+
var _deepmerge = __webpack_require__(7934);
|
|
46440
|
+
var _deepmerge2 = _interopRequireDefault(_deepmerge);
|
|
46441
|
+
var _format = __webpack_require__(850);
|
|
46442
|
+
var _format2 = _interopRequireDefault(_format);
|
|
46443
|
+
function _interopRequireDefault(obj) {
|
|
46444
|
+
return obj && obj.__esModule ? obj : {
|
|
46445
|
+
default: obj
|
|
46446
|
+
};
|
|
46447
|
+
}
|
|
46448
|
+
var format = (0, _format2.default)(_vue2.default);
|
|
46449
|
+
var lang = _zhCN2.default;
|
|
46450
|
+
var merged = false;
|
|
46451
|
+
var i18nHandler = function i18nHandler() {
|
|
46452
|
+
var vuei18n = Object.getPrototypeOf(this || _vue2.default).$t;
|
|
46453
|
+
if (typeof vuei18n === 'function' && !!_vue2.default.locale) {
|
|
46454
|
+
if (!merged) {
|
|
46455
|
+
merged = true;
|
|
46456
|
+
_vue2.default.locale(_vue2.default.config.lang, (0, _deepmerge2.default)(lang, _vue2.default.locale(_vue2.default.config.lang) || {}, {
|
|
46457
|
+
clone: true
|
|
46458
|
+
}));
|
|
46459
|
+
}
|
|
46460
|
+
return vuei18n.apply(this, arguments);
|
|
46631
46461
|
}
|
|
46632
|
-
|
|
46462
|
+
};
|
|
46463
|
+
var t = __webpack_unused_export__ = function t(path, options) {
|
|
46464
|
+
var value = i18nHandler.apply(this, arguments);
|
|
46465
|
+
if (value !== null && value !== undefined) return value;
|
|
46466
|
+
var array = path.split('.');
|
|
46467
|
+
var current = lang;
|
|
46468
|
+
for (var i = 0, j = array.length; i < j; i++) {
|
|
46469
|
+
var property = array[i];
|
|
46470
|
+
value = current[property];
|
|
46471
|
+
if (i === j - 1) return format(value, options);
|
|
46472
|
+
if (!value) return '';
|
|
46473
|
+
current = value;
|
|
46474
|
+
}
|
|
46475
|
+
return '';
|
|
46476
|
+
};
|
|
46477
|
+
var use = __webpack_unused_export__ = function use(l) {
|
|
46478
|
+
lang = l || lang;
|
|
46479
|
+
};
|
|
46480
|
+
var i18n = __webpack_unused_export__ = function i18n(fn) {
|
|
46481
|
+
i18nHandler = fn || i18nHandler;
|
|
46482
|
+
};
|
|
46483
|
+
__webpack_unused_export__ = {
|
|
46484
|
+
use: use,
|
|
46485
|
+
t: t,
|
|
46486
|
+
i18n: i18n
|
|
46633
46487
|
};
|
|
46634
46488
|
|
|
46635
46489
|
/***/ }),
|
|
46636
46490
|
|
|
46637
|
-
/***/
|
|
46638
|
-
/***/ (function(
|
|
46491
|
+
/***/ 7934:
|
|
46492
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46639
46493
|
|
|
46640
46494
|
"use strict";
|
|
46641
46495
|
|
|
46642
|
-
var $ = __webpack_require__(6518);
|
|
46643
|
-
var difference = __webpack_require__(3440);
|
|
46644
|
-
var setMethodAcceptSetLike = __webpack_require__(4916);
|
|
46645
46496
|
|
|
46646
|
-
|
|
46647
|
-
|
|
46648
|
-
|
|
46497
|
+
__webpack_require__(4114);
|
|
46498
|
+
__webpack_require__(8111);
|
|
46499
|
+
__webpack_require__(7588);
|
|
46500
|
+
__webpack_require__(8237);
|
|
46501
|
+
var isMergeableObject = function isMergeableObject(value) {
|
|
46502
|
+
return isNonNullObject(value) && !isSpecial(value);
|
|
46503
|
+
};
|
|
46504
|
+
function isNonNullObject(value) {
|
|
46505
|
+
return !!value && typeof value === 'object';
|
|
46506
|
+
}
|
|
46507
|
+
function isSpecial(value) {
|
|
46508
|
+
var stringValue = Object.prototype.toString.call(value);
|
|
46509
|
+
return stringValue === '[object RegExp]' || stringValue === '[object Date]' || isReactElement(value);
|
|
46510
|
+
}
|
|
46649
46511
|
|
|
46650
|
-
//
|
|
46651
|
-
|
|
46652
|
-
|
|
46653
|
-
|
|
46654
|
-
|
|
46512
|
+
// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
|
|
46513
|
+
var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
46514
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
46515
|
+
function isReactElement(value) {
|
|
46516
|
+
return value.$$typeof === REACT_ELEMENT_TYPE;
|
|
46517
|
+
}
|
|
46518
|
+
function emptyTarget(val) {
|
|
46519
|
+
return Array.isArray(val) ? [] : {};
|
|
46520
|
+
}
|
|
46521
|
+
function cloneIfNecessary(value, optionsArgument) {
|
|
46522
|
+
var clone = optionsArgument && optionsArgument.clone === true;
|
|
46523
|
+
return clone && isMergeableObject(value) ? deepmerge(emptyTarget(value), value, optionsArgument) : value;
|
|
46524
|
+
}
|
|
46525
|
+
function defaultArrayMerge(target, source, optionsArgument) {
|
|
46526
|
+
var destination = target.slice();
|
|
46527
|
+
source.forEach(function (e, i) {
|
|
46528
|
+
if (typeof destination[i] === 'undefined') {
|
|
46529
|
+
destination[i] = cloneIfNecessary(e, optionsArgument);
|
|
46530
|
+
} else if (isMergeableObject(e)) {
|
|
46531
|
+
destination[i] = deepmerge(target[i], e, optionsArgument);
|
|
46532
|
+
} else if (target.indexOf(e) === -1) {
|
|
46533
|
+
destination.push(cloneIfNecessary(e, optionsArgument));
|
|
46534
|
+
}
|
|
46535
|
+
});
|
|
46536
|
+
return destination;
|
|
46537
|
+
}
|
|
46538
|
+
function mergeObject(target, source, optionsArgument) {
|
|
46539
|
+
var destination = {};
|
|
46540
|
+
if (isMergeableObject(target)) {
|
|
46541
|
+
Object.keys(target).forEach(function (key) {
|
|
46542
|
+
destination[key] = cloneIfNecessary(target[key], optionsArgument);
|
|
46543
|
+
});
|
|
46544
|
+
}
|
|
46545
|
+
Object.keys(source).forEach(function (key) {
|
|
46546
|
+
if (!isMergeableObject(source[key]) || !target[key]) {
|
|
46547
|
+
destination[key] = cloneIfNecessary(source[key], optionsArgument);
|
|
46548
|
+
} else {
|
|
46549
|
+
destination[key] = deepmerge(target[key], source[key], optionsArgument);
|
|
46550
|
+
}
|
|
46551
|
+
});
|
|
46552
|
+
return destination;
|
|
46553
|
+
}
|
|
46554
|
+
function deepmerge(target, source, optionsArgument) {
|
|
46555
|
+
var sourceIsArray = Array.isArray(source);
|
|
46556
|
+
var targetIsArray = Array.isArray(target);
|
|
46557
|
+
var options = optionsArgument || {
|
|
46558
|
+
arrayMerge: defaultArrayMerge
|
|
46559
|
+
};
|
|
46560
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
46561
|
+
if (!sourceAndTargetTypesMatch) {
|
|
46562
|
+
return cloneIfNecessary(source, optionsArgument);
|
|
46563
|
+
} else if (sourceIsArray) {
|
|
46564
|
+
var arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
46565
|
+
return arrayMerge(target, source, optionsArgument);
|
|
46566
|
+
} else {
|
|
46567
|
+
return mergeObject(target, source, optionsArgument);
|
|
46568
|
+
}
|
|
46569
|
+
}
|
|
46570
|
+
deepmerge.all = function deepmergeAll(array, optionsArgument) {
|
|
46571
|
+
if (!Array.isArray(array) || array.length < 2) {
|
|
46572
|
+
throw new Error('first argument should be an array with at least two elements');
|
|
46573
|
+
}
|
|
46655
46574
|
|
|
46575
|
+
// we are sure there are at least 2 values, so it is safe to have no initial value
|
|
46576
|
+
return array.reduce(function (prev, next) {
|
|
46577
|
+
return deepmerge(prev, next, optionsArgument);
|
|
46578
|
+
});
|
|
46579
|
+
};
|
|
46580
|
+
var deepmerge_1 = deepmerge;
|
|
46581
|
+
module.exports = deepmerge_1;
|
|
46656
46582
|
|
|
46657
46583
|
/***/ }),
|
|
46658
46584
|
|
|
46659
|
-
/***/
|
|
46660
|
-
/***/ (function(
|
|
46585
|
+
/***/ 7936:
|
|
46586
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
46661
46587
|
|
|
46662
46588
|
"use strict";
|
|
46663
46589
|
|
|
46664
|
-
var
|
|
46665
|
-
var
|
|
46666
|
-
var isObject = __webpack_require__(34);
|
|
46667
|
-
var create = __webpack_require__(2360);
|
|
46668
|
-
var getPrototypeOf = __webpack_require__(2787);
|
|
46669
|
-
var defineBuiltIn = __webpack_require__(6840);
|
|
46670
|
-
var wellKnownSymbol = __webpack_require__(8227);
|
|
46671
|
-
var IS_PURE = __webpack_require__(6395);
|
|
46672
|
-
|
|
46673
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
46674
|
-
var BUGGY_SAFARI_ITERATORS = false;
|
|
46675
|
-
|
|
46676
|
-
// `%IteratorPrototype%` object
|
|
46677
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
46678
|
-
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
46590
|
+
var $ = __webpack_require__(6518);
|
|
46591
|
+
var $transfer = __webpack_require__(5636);
|
|
46679
46592
|
|
|
46680
|
-
|
|
46681
|
-
|
|
46682
|
-
|
|
46683
|
-
|
|
46684
|
-
|
|
46685
|
-
else {
|
|
46686
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
|
|
46687
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
|
|
46593
|
+
// `ArrayBuffer.prototype.transferToFixedLength` method
|
|
46594
|
+
// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength
|
|
46595
|
+
if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
|
|
46596
|
+
transferToFixedLength: function transferToFixedLength() {
|
|
46597
|
+
return $transfer(this, arguments.length ? arguments[0] : undefined, false);
|
|
46688
46598
|
}
|
|
46689
|
-
}
|
|
46690
|
-
|
|
46691
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
|
|
46692
|
-
var test = {};
|
|
46693
|
-
// FF44- legacy iterators case
|
|
46694
|
-
return IteratorPrototype[ITERATOR].call(test) !== test;
|
|
46695
46599
|
});
|
|
46696
46600
|
|
|
46697
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
|
|
46698
|
-
else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
|
|
46699
|
-
|
|
46700
|
-
// `%IteratorPrototype%[@@iterator]()` method
|
|
46701
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
46702
|
-
if (!isCallable(IteratorPrototype[ITERATOR])) {
|
|
46703
|
-
defineBuiltIn(IteratorPrototype, ITERATOR, function () {
|
|
46704
|
-
return this;
|
|
46705
|
-
});
|
|
46706
|
-
}
|
|
46707
|
-
|
|
46708
|
-
module.exports = {
|
|
46709
|
-
IteratorPrototype: IteratorPrototype,
|
|
46710
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
|
|
46711
|
-
};
|
|
46712
|
-
|
|
46713
46601
|
|
|
46714
46602
|
/***/ }),
|
|
46715
46603
|
|
|
46716
|
-
/***/
|
|
46717
|
-
/***/ (function(
|
|
46604
|
+
/***/ 8004:
|
|
46605
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
46718
46606
|
|
|
46719
46607
|
"use strict";
|
|
46720
46608
|
|
|
46721
|
-
var
|
|
46609
|
+
var $ = __webpack_require__(6518);
|
|
46610
|
+
var fails = __webpack_require__(9039);
|
|
46611
|
+
var intersection = __webpack_require__(8750);
|
|
46612
|
+
var setMethodAcceptSetLike = __webpack_require__(4916);
|
|
46613
|
+
|
|
46614
|
+
var INCORRECT = !setMethodAcceptSetLike('intersection', function (result) {
|
|
46615
|
+
return result.size === 2 && result.has(1) && result.has(2);
|
|
46616
|
+
}) || fails(function () {
|
|
46617
|
+
// eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
|
|
46618
|
+
return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
|
|
46619
|
+
});
|
|
46722
46620
|
|
|
46723
|
-
|
|
46621
|
+
// `Set.prototype.intersection` method
|
|
46622
|
+
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
46623
|
+
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
46624
|
+
intersection: intersection
|
|
46625
|
+
});
|
|
46724
46626
|
|
|
46725
46627
|
|
|
46726
46628
|
/***/ }),
|
|
46727
46629
|
|
|
46728
|
-
/***/
|
|
46630
|
+
/***/ 8014:
|
|
46729
46631
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46730
46632
|
|
|
46731
46633
|
"use strict";
|
|
46732
46634
|
|
|
46733
46635
|
var toIntegerOrInfinity = __webpack_require__(1291);
|
|
46734
|
-
var toLength = __webpack_require__(8014);
|
|
46735
46636
|
|
|
46736
|
-
var
|
|
46637
|
+
var min = Math.min;
|
|
46737
46638
|
|
|
46738
|
-
// `
|
|
46739
|
-
// https://tc39.es/ecma262/#sec-
|
|
46740
|
-
module.exports = function (
|
|
46741
|
-
|
|
46742
|
-
|
|
46743
|
-
var length = toLength(number);
|
|
46744
|
-
if (number !== length) throw new $RangeError('Wrong length or index');
|
|
46745
|
-
return length;
|
|
46639
|
+
// `ToLength` abstract operation
|
|
46640
|
+
// https://tc39.es/ecma262/#sec-tolength
|
|
46641
|
+
module.exports = function (argument) {
|
|
46642
|
+
var len = toIntegerOrInfinity(argument);
|
|
46643
|
+
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
46746
46644
|
};
|
|
46747
46645
|
|
|
46748
46646
|
|
|
46749
46647
|
/***/ }),
|
|
46750
46648
|
|
|
46751
|
-
/***/
|
|
46752
|
-
/***/ (function(
|
|
46649
|
+
/***/ 8036:
|
|
46650
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
46753
46651
|
|
|
46754
46652
|
"use strict";
|
|
46653
|
+
// ESM COMPAT FLAG
|
|
46654
|
+
__webpack_require__.r(__webpack_exports__);
|
|
46755
46655
|
|
|
46756
|
-
|
|
46757
|
-
|
|
46758
|
-
|
|
46759
|
-
|
|
46656
|
+
// EXPORTS
|
|
46657
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
46658
|
+
"default": function() { return /* binding */ View; }
|
|
46659
|
+
});
|
|
46760
46660
|
|
|
46761
|
-
|
|
46762
|
-
|
|
46763
|
-
var
|
|
46764
|
-
|
|
46765
|
-
|
|
46766
|
-
|
|
46767
|
-
|
|
46768
|
-
|
|
46661
|
+
;// ./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-column/View.vue?vue&type=template&id=bd317c30
|
|
46662
|
+
var render = function render() {
|
|
46663
|
+
var _vm = this,
|
|
46664
|
+
_c = _vm._self._c;
|
|
46665
|
+
return _c('Draggable', {
|
|
46666
|
+
attrs: {
|
|
46667
|
+
"chosen-class": "chosen",
|
|
46668
|
+
"force-fallback": "true",
|
|
46669
|
+
"group": "people",
|
|
46670
|
+
"animation": "1000",
|
|
46671
|
+
"disabled": _vm.dragDisabled
|
|
46672
|
+
},
|
|
46673
|
+
on: {
|
|
46674
|
+
"start": _vm.onStart,
|
|
46675
|
+
"end": _vm.onEnd
|
|
46769
46676
|
}
|
|
46770
|
-
}
|
|
46677
|
+
}, [_c('div', {
|
|
46678
|
+
staticClass: "drag-column-container",
|
|
46679
|
+
class: [_vm.nowCompId !== '' && _vm.nowCompId == _vm.data.id ? 'highLight' : ''],
|
|
46680
|
+
staticStyle: {
|
|
46681
|
+
"position": "relative"
|
|
46682
|
+
},
|
|
46683
|
+
style: _vm.style,
|
|
46684
|
+
on: {
|
|
46685
|
+
"click": function ($event) {
|
|
46686
|
+
$event.stopPropagation();
|
|
46687
|
+
return _vm.handleNowComp.apply(null, arguments);
|
|
46688
|
+
}
|
|
46689
|
+
}
|
|
46690
|
+
}, [_vm._l(_vm.data.list, function (item) {
|
|
46691
|
+
return [_c('Draggable', {
|
|
46692
|
+
key: item.id,
|
|
46693
|
+
staticClass: "drag-column",
|
|
46694
|
+
class: [_vm.isEditor ? 'border' : ''],
|
|
46695
|
+
attrs: {
|
|
46696
|
+
"id": item.id,
|
|
46697
|
+
"chosen-class": "chosen",
|
|
46698
|
+
"force-fallback": "true",
|
|
46699
|
+
"group": "people",
|
|
46700
|
+
"animation": "1000",
|
|
46701
|
+
"disabled": _vm.dragDisabled
|
|
46702
|
+
},
|
|
46703
|
+
on: {
|
|
46704
|
+
"start": _vm.onStart,
|
|
46705
|
+
"end": _vm.onEnd
|
|
46706
|
+
}
|
|
46707
|
+
}, [item ? [_c(item.compName, {
|
|
46708
|
+
tag: "component",
|
|
46709
|
+
attrs: {
|
|
46710
|
+
"data": item,
|
|
46711
|
+
"nowCompId": _vm.nowCompId
|
|
46712
|
+
}
|
|
46713
|
+
})] : _vm._e()], 2)];
|
|
46714
|
+
}), _vm.nowCompId !== '' && _vm.nowCompId == _vm.data.id ? _c('div', {
|
|
46715
|
+
staticClass: "com-delete"
|
|
46716
|
+
}, [_c('i', {
|
|
46717
|
+
staticClass: "el-icon-delete",
|
|
46718
|
+
on: {
|
|
46719
|
+
"click": function ($event) {
|
|
46720
|
+
$event.stopPropagation();
|
|
46721
|
+
return _vm.deleteComponent.apply(null, arguments);
|
|
46722
|
+
}
|
|
46723
|
+
}
|
|
46724
|
+
})]) : _vm._e()], 2)]);
|
|
46771
46725
|
};
|
|
46726
|
+
var staticRenderFns = [];
|
|
46772
46727
|
|
|
46728
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
46729
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
46730
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
46731
|
+
var es_iterator_for_each = __webpack_require__(7588);
|
|
46732
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
|
|
46733
|
+
var es_iterator_map = __webpack_require__(1701);
|
|
46734
|
+
// EXTERNAL MODULE: ./node_modules/vuedraggable/dist/vuedraggable.umd.js
|
|
46735
|
+
var vuedraggable_umd = __webpack_require__(9014);
|
|
46736
|
+
var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_umd);
|
|
46737
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-column/View.vue?vue&type=script&lang=js
|
|
46773
46738
|
|
|
46774
|
-
/***/ }),
|
|
46775
|
-
|
|
46776
|
-
/***/ 7750:
|
|
46777
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46778
|
-
|
|
46779
|
-
"use strict";
|
|
46780
|
-
|
|
46781
|
-
var isNullOrUndefined = __webpack_require__(4117);
|
|
46782
46739
|
|
|
46783
|
-
var $TypeError = TypeError;
|
|
46784
46740
|
|
|
46785
|
-
// `RequireObjectCoercible` abstract operation
|
|
46786
|
-
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
46787
|
-
module.exports = function (it) {
|
|
46788
|
-
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
46789
|
-
return it;
|
|
46790
|
-
};
|
|
46791
46741
|
|
|
46792
46742
|
|
|
46793
|
-
/***/ }),
|
|
46794
46743
|
|
|
46795
|
-
/***/ 7751:
|
|
46796
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46797
46744
|
|
|
46798
|
-
|
|
46745
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
46746
|
+
name: "cms-column",
|
|
46747
|
+
components: {
|
|
46748
|
+
Draggable: (vuedraggable_umd_default())
|
|
46749
|
+
},
|
|
46750
|
+
props: {
|
|
46751
|
+
data: {
|
|
46752
|
+
type: Object,
|
|
46753
|
+
default: () => {
|
|
46754
|
+
return {};
|
|
46755
|
+
}
|
|
46756
|
+
},
|
|
46757
|
+
nowCompId: {
|
|
46758
|
+
type: [String, Number],
|
|
46759
|
+
default: ""
|
|
46760
|
+
}
|
|
46761
|
+
},
|
|
46762
|
+
watch: {
|
|
46763
|
+
data: {
|
|
46764
|
+
handler(val) {
|
|
46765
|
+
let obj = {};
|
|
46766
|
+
let num = 0;
|
|
46767
|
+
let originHeight = 0;
|
|
46768
|
+
val.settings.settings.forEach(item => {
|
|
46769
|
+
if (item.key == "num") {
|
|
46770
|
+
num = item.value;
|
|
46771
|
+
}
|
|
46772
|
+
});
|
|
46773
|
+
val.settings.attribute.map(item => {
|
|
46774
|
+
obj[item.key] = item.value;
|
|
46775
|
+
if (this.getDevice() == "mobile" || this.getDevice() == "tablet") {
|
|
46776
|
+
if (item.key == "height") {
|
|
46777
|
+
if (item.value.indexOf("px") != -1) {
|
|
46778
|
+
originHeight = parseFloat(item.value.split("px")[0]) * num + "px";
|
|
46779
|
+
}
|
|
46780
|
+
if (item.value.indexOf("%") != -1) {
|
|
46781
|
+
originHeight = parseFloat(item.value.split("px")[0]) * num + "%";
|
|
46782
|
+
}
|
|
46783
|
+
}
|
|
46784
|
+
}
|
|
46785
|
+
});
|
|
46786
|
+
this.style = obj;
|
|
46787
|
+
if (this.getDevice() == "mobile" || this.getDevice() == "tablet") {
|
|
46788
|
+
this.style.height = originHeight;
|
|
46789
|
+
}
|
|
46790
|
+
if (this.isEditor) {
|
|
46791
|
+
this.style.width = `calc(${obj.width} - 2px)`;
|
|
46792
|
+
}
|
|
46793
|
+
},
|
|
46794
|
+
deep: true,
|
|
46795
|
+
immediate: true
|
|
46796
|
+
}
|
|
46797
|
+
},
|
|
46798
|
+
data() {
|
|
46799
|
+
return {
|
|
46800
|
+
style: {},
|
|
46801
|
+
isEditor: true,
|
|
46802
|
+
// 是否是开发态
|
|
46803
|
+
dragDisabled: false
|
|
46804
|
+
};
|
|
46805
|
+
},
|
|
46806
|
+
created() {
|
|
46807
|
+
if (this.$route.path != "/editor") {
|
|
46808
|
+
this.isEditor = false;
|
|
46809
|
+
this.dragDisabled = true;
|
|
46810
|
+
}
|
|
46811
|
+
},
|
|
46812
|
+
mounted() {
|
|
46813
|
+
if (this.$EventBus) {
|
|
46814
|
+
this.$EventBus.$on("forceUpdateCom", data => {
|
|
46815
|
+
if (data.id == this.data.id) {
|
|
46816
|
+
let obj = {};
|
|
46817
|
+
data.settings.attribute.forEach(item => {
|
|
46818
|
+
obj[item.key] = item.value;
|
|
46819
|
+
});
|
|
46820
|
+
this.style = obj;
|
|
46821
|
+
}
|
|
46822
|
+
});
|
|
46823
|
+
}
|
|
46824
|
+
},
|
|
46825
|
+
methods: {
|
|
46826
|
+
getDevice() {
|
|
46827
|
+
const DEVICES = {
|
|
46828
|
+
/**
|
|
46829
|
+
* 桌面
|
|
46830
|
+
*/
|
|
46831
|
+
DESKTOP: "pc",
|
|
46832
|
+
PC: "pc",
|
|
46833
|
+
/**
|
|
46834
|
+
* 平板
|
|
46835
|
+
*/
|
|
46836
|
+
TABLET: "tablet",
|
|
46837
|
+
/**
|
|
46838
|
+
* 移动端/手机
|
|
46839
|
+
*/
|
|
46840
|
+
MOBILE: "mobile"
|
|
46841
|
+
};
|
|
46842
|
+
const tablet = "(max-width: 1024px)";
|
|
46843
|
+
const mobile = "(max-width: 1024px)";
|
|
46844
|
+
if (window.parent.matchMedia(mobile).matches) {
|
|
46845
|
+
return DEVICES.MOBILE;
|
|
46846
|
+
} else if (window.parent.matchMedia(tablet).matches) {
|
|
46847
|
+
return DEVICES.TABLET;
|
|
46848
|
+
}
|
|
46849
|
+
return DEVICES.PC;
|
|
46850
|
+
},
|
|
46851
|
+
onStart() {},
|
|
46852
|
+
onEnd(e) {
|
|
46853
|
+
console.log(e, 8);
|
|
46854
|
+
},
|
|
46855
|
+
handleNowComp() {
|
|
46856
|
+
if (!this.isOpcacity) return;
|
|
46857
|
+
this.$EventBus.$emit("handleNowComp", {
|
|
46858
|
+
key: this.data.id,
|
|
46859
|
+
settings: this.data.settings,
|
|
46860
|
+
nowCompName: this.data.compName
|
|
46861
|
+
});
|
|
46862
|
+
},
|
|
46863
|
+
deleteComponent() {
|
|
46864
|
+
this.$EventBus.$emit("handleDeleteComp", {
|
|
46865
|
+
key: this.data.id
|
|
46866
|
+
});
|
|
46867
|
+
}
|
|
46868
|
+
}
|
|
46869
|
+
});
|
|
46870
|
+
;// ./package/cms-column/View.vue?vue&type=script&lang=js
|
|
46871
|
+
/* harmony default export */ var cms_column_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
46872
|
+
;// ./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-column/View.vue?vue&type=style&index=0&id=bd317c30&prod&lang=css
|
|
46873
|
+
// extracted by mini-css-extract-plugin
|
|
46799
46874
|
|
|
46800
|
-
|
|
46801
|
-
var isCallable = __webpack_require__(4901);
|
|
46875
|
+
;// ./package/cms-column/View.vue?vue&type=style&index=0&id=bd317c30&prod&lang=css
|
|
46802
46876
|
|
|
46803
|
-
|
|
46804
|
-
|
|
46805
|
-
|
|
46877
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
46878
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
46879
|
+
;// ./package/cms-column/View.vue
|
|
46806
46880
|
|
|
46807
|
-
module.exports = function (namespace, method) {
|
|
46808
|
-
return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
|
|
46809
|
-
};
|
|
46810
46881
|
|
|
46811
46882
|
|
|
46812
|
-
|
|
46883
|
+
;
|
|
46813
46884
|
|
|
46814
|
-
/***/ 7811:
|
|
46815
|
-
/***/ (function(module) {
|
|
46816
46885
|
|
|
46817
|
-
|
|
46886
|
+
/* normalize component */
|
|
46818
46887
|
|
|
46819
|
-
|
|
46820
|
-
|
|
46888
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
46889
|
+
cms_column_Viewvue_type_script_lang_js,
|
|
46890
|
+
render,
|
|
46891
|
+
staticRenderFns,
|
|
46892
|
+
false,
|
|
46893
|
+
null,
|
|
46894
|
+
null,
|
|
46895
|
+
null
|
|
46896
|
+
|
|
46897
|
+
)
|
|
46821
46898
|
|
|
46899
|
+
/* harmony default export */ var View = (component.exports);
|
|
46822
46900
|
|
|
46823
46901
|
/***/ }),
|
|
46824
46902
|
|
|
46825
|
-
/***/
|
|
46826
|
-
/***/ (function(__unused_webpack_module,
|
|
46903
|
+
/***/ 8066:
|
|
46904
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
46827
46905
|
|
|
46828
46906
|
"use strict";
|
|
46829
|
-
|
|
46830
|
-
|
|
46831
|
-
|
|
46832
|
-
|
|
46833
|
-
|
|
46834
|
-
|
|
46835
|
-
|
|
46836
|
-
|
|
46837
|
-
|
|
46838
|
-
|
|
46839
|
-
|
|
46840
|
-
|
|
46841
|
-
|
|
46842
|
-
|
|
46843
|
-
|
|
46844
|
-
|
|
46845
|
-
|
|
46846
|
-
|
|
46847
|
-
|
|
46848
|
-
|
|
46849
|
-
|
|
46850
|
-
|
|
46851
|
-
|
|
46852
|
-
|
|
46853
|
-
|
|
46854
|
-
|
|
46855
|
-
|
|
46856
|
-
|
|
46857
|
-
|
|
46858
|
-
|
|
46859
|
-
|
|
46860
|
-
|
|
46861
|
-
|
|
46862
|
-
|
|
46863
|
-
|
|
46864
|
-
|
|
46865
|
-
|
|
46866
|
-
|
|
46867
|
-
for (var i = 0, j = array.length; i < j; i++) {
|
|
46868
|
-
var property = array[i];
|
|
46869
|
-
value = current[property];
|
|
46870
|
-
if (i === j - 1) return format(value, options);
|
|
46871
|
-
if (!value) return '';
|
|
46872
|
-
current = value;
|
|
46873
|
-
}
|
|
46874
|
-
return '';
|
|
46875
|
-
};
|
|
46876
|
-
var use = __webpack_unused_export__ = function use(l) {
|
|
46877
|
-
lang = l || lang;
|
|
46878
|
-
};
|
|
46879
|
-
var i18n = __webpack_unused_export__ = function i18n(fn) {
|
|
46880
|
-
i18nHandler = fn || i18nHandler;
|
|
46881
|
-
};
|
|
46882
|
-
__webpack_unused_export__ = {
|
|
46883
|
-
use: use,
|
|
46884
|
-
t: t,
|
|
46885
|
-
i18n: i18n
|
|
46886
|
-
};
|
|
46907
|
+
__webpack_require__.r(__webpack_exports__);
|
|
46908
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
46909
|
+
onlinePurchase: 'Online Purchase',
|
|
46910
|
+
CMHK: 'CMHK 5G',
|
|
46911
|
+
servicePlans: 'Service Plans',
|
|
46912
|
+
broadband: 'Home Broadband',
|
|
46913
|
+
Gband: '5G Broadband',
|
|
46914
|
+
devices: 'Handsets & Devices',
|
|
46915
|
+
card: 'Prepaid Card Service',
|
|
46916
|
+
data: 'Data & VAS',
|
|
46917
|
+
IDD: 'Global Services & IDD',
|
|
46918
|
+
policy: 'Privacy Policy',
|
|
46919
|
+
summary: 'Key Information Summary',
|
|
46920
|
+
customer: 'Our Customer Charter',
|
|
46921
|
+
infomations: 'Your imfomations',
|
|
46922
|
+
privacy: 'Privacy',
|
|
46923
|
+
conditions: 'Contract Terms & Conditions',
|
|
46924
|
+
us: 'About Us',
|
|
46925
|
+
overview: 'Corporate Overview',
|
|
46926
|
+
news: 'Company News',
|
|
46927
|
+
notice: 'Tender Notice',
|
|
46928
|
+
join: 'Join Us',
|
|
46929
|
+
links: 'Friendly Links',
|
|
46930
|
+
partnerships: 'Partnerships',
|
|
46931
|
+
help: 'Help and Support',
|
|
46932
|
+
onlineHelp: 'Online Help and Support',
|
|
46933
|
+
education: 'Customer Education Zone',
|
|
46934
|
+
fraud: 'Customer Education Zone',
|
|
46935
|
+
shop: 'CMHK Shop',
|
|
46936
|
+
contact: 'Contact Us',
|
|
46937
|
+
questions: 'FAQ/Frequently Asked Questions',
|
|
46938
|
+
service: '24-hour Customer Service Hotline 12580',
|
|
46939
|
+
hotline: 'Sales Hotline 12588 (11am to 8pm)',
|
|
46940
|
+
follow: 'Follow or Contact Us',
|
|
46941
|
+
download: 'Download MyLink App, follow our official WeChat account, and stay tuned for more information and enjoy mobile services',
|
|
46942
|
+
account: 'WeChat Official Account',
|
|
46943
|
+
bottomText: '© 2023 China Mobile Hong Kong Company Limited. All rights reserved'
|
|
46944
|
+
});
|
|
46887
46945
|
|
|
46888
46946
|
/***/ }),
|
|
46889
46947
|
|
|
46890
|
-
/***/
|
|
46948
|
+
/***/ 8089:
|
|
46891
46949
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
46892
46950
|
|
|
46893
46951
|
"use strict";
|
|
46894
46952
|
|
|
46895
46953
|
|
|
46896
|
-
|
|
46897
|
-
__webpack_require__(
|
|
46898
|
-
|
|
46899
|
-
|
|
46900
|
-
|
|
46901
|
-
|
|
46902
|
-
|
|
46903
|
-
|
|
46904
|
-
return !!value && typeof value === 'object';
|
|
46905
|
-
}
|
|
46906
|
-
function isSpecial(value) {
|
|
46907
|
-
var stringValue = Object.prototype.toString.call(value);
|
|
46908
|
-
return stringValue === '[object RegExp]' || stringValue === '[object Date]' || isReactElement(value);
|
|
46909
|
-
}
|
|
46910
|
-
|
|
46911
|
-
// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
|
|
46912
|
-
var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
46913
|
-
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
46914
|
-
function isReactElement(value) {
|
|
46915
|
-
return value.$$typeof === REACT_ELEMENT_TYPE;
|
|
46916
|
-
}
|
|
46917
|
-
function emptyTarget(val) {
|
|
46918
|
-
return Array.isArray(val) ? [] : {};
|
|
46919
|
-
}
|
|
46920
|
-
function cloneIfNecessary(value, optionsArgument) {
|
|
46921
|
-
var clone = optionsArgument && optionsArgument.clone === true;
|
|
46922
|
-
return clone && isMergeableObject(value) ? deepmerge(emptyTarget(value), value, optionsArgument) : value;
|
|
46923
|
-
}
|
|
46924
|
-
function defaultArrayMerge(target, source, optionsArgument) {
|
|
46925
|
-
var destination = target.slice();
|
|
46926
|
-
source.forEach(function (e, i) {
|
|
46927
|
-
if (typeof destination[i] === 'undefined') {
|
|
46928
|
-
destination[i] = cloneIfNecessary(e, optionsArgument);
|
|
46929
|
-
} else if (isMergeableObject(e)) {
|
|
46930
|
-
destination[i] = deepmerge(target[i], e, optionsArgument);
|
|
46931
|
-
} else if (target.indexOf(e) === -1) {
|
|
46932
|
-
destination.push(cloneIfNecessary(e, optionsArgument));
|
|
46933
|
-
}
|
|
46934
|
-
});
|
|
46935
|
-
return destination;
|
|
46936
|
-
}
|
|
46937
|
-
function mergeObject(target, source, optionsArgument) {
|
|
46938
|
-
var destination = {};
|
|
46939
|
-
if (isMergeableObject(target)) {
|
|
46940
|
-
Object.keys(target).forEach(function (key) {
|
|
46941
|
-
destination[key] = cloneIfNecessary(target[key], optionsArgument);
|
|
46942
|
-
});
|
|
46943
|
-
}
|
|
46944
|
-
Object.keys(source).forEach(function (key) {
|
|
46945
|
-
if (!isMergeableObject(source[key]) || !target[key]) {
|
|
46946
|
-
destination[key] = cloneIfNecessary(source[key], optionsArgument);
|
|
46947
|
-
} else {
|
|
46948
|
-
destination[key] = deepmerge(target[key], source[key], optionsArgument);
|
|
46949
|
-
}
|
|
46950
|
-
});
|
|
46951
|
-
return destination;
|
|
46952
|
-
}
|
|
46953
|
-
function deepmerge(target, source, optionsArgument) {
|
|
46954
|
-
var sourceIsArray = Array.isArray(source);
|
|
46955
|
-
var targetIsArray = Array.isArray(target);
|
|
46956
|
-
var options = optionsArgument || {
|
|
46957
|
-
arrayMerge: defaultArrayMerge
|
|
46958
|
-
};
|
|
46959
|
-
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
46960
|
-
if (!sourceAndTargetTypesMatch) {
|
|
46961
|
-
return cloneIfNecessary(source, optionsArgument);
|
|
46962
|
-
} else if (sourceIsArray) {
|
|
46963
|
-
var arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
46964
|
-
return arrayMerge(target, source, optionsArgument);
|
|
46965
|
-
} else {
|
|
46966
|
-
return mergeObject(target, source, optionsArgument);
|
|
46954
|
+
/** @type {import('.')} */
|
|
46955
|
+
var $gOPD = __webpack_require__(3299);
|
|
46956
|
+
if ($gOPD) {
|
|
46957
|
+
try {
|
|
46958
|
+
$gOPD([], 'length');
|
|
46959
|
+
} catch (e) {
|
|
46960
|
+
// IE 8 has a broken gOPD
|
|
46961
|
+
$gOPD = null;
|
|
46967
46962
|
}
|
|
46968
46963
|
}
|
|
46969
|
-
|
|
46970
|
-
if (!Array.isArray(array) || array.length < 2) {
|
|
46971
|
-
throw new Error('first argument should be an array with at least two elements');
|
|
46972
|
-
}
|
|
46973
|
-
|
|
46974
|
-
// we are sure there are at least 2 values, so it is safe to have no initial value
|
|
46975
|
-
return array.reduce(function (prev, next) {
|
|
46976
|
-
return deepmerge(prev, next, optionsArgument);
|
|
46977
|
-
});
|
|
46978
|
-
};
|
|
46979
|
-
var deepmerge_1 = deepmerge;
|
|
46980
|
-
module.exports = deepmerge_1;
|
|
46964
|
+
module.exports = $gOPD;
|
|
46981
46965
|
|
|
46982
46966
|
/***/ }),
|
|
46983
46967
|
|
|
46984
|
-
/***/
|
|
46968
|
+
/***/ 8100:
|
|
46985
46969
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
46986
46970
|
|
|
46987
46971
|
"use strict";
|
|
@@ -46989,63 +46973,102 @@ module.exports = deepmerge_1;
|
|
|
46989
46973
|
var $ = __webpack_require__(6518);
|
|
46990
46974
|
var $transfer = __webpack_require__(5636);
|
|
46991
46975
|
|
|
46992
|
-
// `ArrayBuffer.prototype.
|
|
46993
|
-
// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.
|
|
46976
|
+
// `ArrayBuffer.prototype.transfer` method
|
|
46977
|
+
// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer
|
|
46994
46978
|
if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
|
|
46995
|
-
|
|
46996
|
-
return $transfer(this, arguments.length ? arguments[0] : undefined,
|
|
46979
|
+
transfer: function transfer() {
|
|
46980
|
+
return $transfer(this, arguments.length ? arguments[0] : undefined, true);
|
|
46997
46981
|
}
|
|
46998
46982
|
});
|
|
46999
46983
|
|
|
47000
46984
|
|
|
47001
46985
|
/***/ }),
|
|
47002
46986
|
|
|
47003
|
-
/***/
|
|
46987
|
+
/***/ 8111:
|
|
47004
46988
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
47005
46989
|
|
|
47006
46990
|
"use strict";
|
|
47007
46991
|
|
|
47008
46992
|
var $ = __webpack_require__(6518);
|
|
46993
|
+
var globalThis = __webpack_require__(4576);
|
|
46994
|
+
var anInstance = __webpack_require__(679);
|
|
46995
|
+
var anObject = __webpack_require__(8551);
|
|
46996
|
+
var isCallable = __webpack_require__(4901);
|
|
46997
|
+
var getPrototypeOf = __webpack_require__(2787);
|
|
46998
|
+
var defineBuiltInAccessor = __webpack_require__(2106);
|
|
46999
|
+
var createProperty = __webpack_require__(4659);
|
|
47009
47000
|
var fails = __webpack_require__(9039);
|
|
47010
|
-
var
|
|
47011
|
-
var
|
|
47001
|
+
var hasOwn = __webpack_require__(9297);
|
|
47002
|
+
var wellKnownSymbol = __webpack_require__(8227);
|
|
47003
|
+
var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
|
|
47004
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
47005
|
+
var IS_PURE = __webpack_require__(6395);
|
|
47012
47006
|
|
|
47013
|
-
var
|
|
47014
|
-
|
|
47015
|
-
|
|
47016
|
-
// eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
|
|
47017
|
-
return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
|
|
47018
|
-
});
|
|
47007
|
+
var CONSTRUCTOR = 'constructor';
|
|
47008
|
+
var ITERATOR = 'Iterator';
|
|
47009
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
47019
47010
|
|
|
47020
|
-
|
|
47021
|
-
|
|
47022
|
-
|
|
47023
|
-
|
|
47011
|
+
var $TypeError = TypeError;
|
|
47012
|
+
var NativeIterator = globalThis[ITERATOR];
|
|
47013
|
+
|
|
47014
|
+
// FF56- have non-standard global helper `Iterator`
|
|
47015
|
+
var FORCED = IS_PURE
|
|
47016
|
+
|| !isCallable(NativeIterator)
|
|
47017
|
+
|| NativeIterator.prototype !== IteratorPrototype
|
|
47018
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
47019
|
+
|| !fails(function () { NativeIterator({}); });
|
|
47020
|
+
|
|
47021
|
+
var IteratorConstructor = function Iterator() {
|
|
47022
|
+
anInstance(this, IteratorPrototype);
|
|
47023
|
+
if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
|
|
47024
|
+
};
|
|
47025
|
+
|
|
47026
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
47027
|
+
if (DESCRIPTORS) {
|
|
47028
|
+
defineBuiltInAccessor(IteratorPrototype, key, {
|
|
47029
|
+
configurable: true,
|
|
47030
|
+
get: function () {
|
|
47031
|
+
return value;
|
|
47032
|
+
},
|
|
47033
|
+
set: function (replacement) {
|
|
47034
|
+
anObject(this);
|
|
47035
|
+
if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
|
|
47036
|
+
if (hasOwn(this, key)) this[key] = replacement;
|
|
47037
|
+
else createProperty(this, key, replacement);
|
|
47038
|
+
}
|
|
47039
|
+
});
|
|
47040
|
+
} else IteratorPrototype[key] = value;
|
|
47041
|
+
};
|
|
47042
|
+
|
|
47043
|
+
if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
|
|
47044
|
+
|
|
47045
|
+
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
|
47046
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
47047
|
+
}
|
|
47048
|
+
|
|
47049
|
+
IteratorConstructor.prototype = IteratorPrototype;
|
|
47050
|
+
|
|
47051
|
+
// `Iterator` constructor
|
|
47052
|
+
// https://tc39.es/ecma262/#sec-iterator
|
|
47053
|
+
$({ global: true, constructor: true, forced: FORCED }, {
|
|
47054
|
+
Iterator: IteratorConstructor
|
|
47024
47055
|
});
|
|
47025
47056
|
|
|
47026
47057
|
|
|
47027
47058
|
/***/ }),
|
|
47028
47059
|
|
|
47029
|
-
/***/
|
|
47030
|
-
/***/ (function(module
|
|
47060
|
+
/***/ 8134:
|
|
47061
|
+
/***/ (function(module) {
|
|
47031
47062
|
|
|
47032
47063
|
"use strict";
|
|
47033
47064
|
|
|
47034
|
-
var toIntegerOrInfinity = __webpack_require__(1291);
|
|
47035
|
-
|
|
47036
|
-
var min = Math.min;
|
|
47037
|
-
|
|
47038
|
-
// `ToLength` abstract operation
|
|
47039
|
-
// https://tc39.es/ecma262/#sec-tolength
|
|
47040
|
-
module.exports = function (argument) {
|
|
47041
|
-
var len = toIntegerOrInfinity(argument);
|
|
47042
|
-
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
47043
|
-
};
|
|
47044
47065
|
|
|
47066
|
+
/** @type {import('./syntax')} */
|
|
47067
|
+
module.exports = SyntaxError;
|
|
47045
47068
|
|
|
47046
47069
|
/***/ }),
|
|
47047
47070
|
|
|
47048
|
-
/***/
|
|
47071
|
+
/***/ 8167:
|
|
47049
47072
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
47050
47073
|
|
|
47051
47074
|
"use strict";
|
|
@@ -47057,28 +47080,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
47057
47080
|
"default": function() { return /* binding */ View; }
|
|
47058
47081
|
});
|
|
47059
47082
|
|
|
47060
|
-
;// ./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-
|
|
47083
|
+
;// ./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-productDetails/View.vue?vue&type=template&id=35963b51&scoped=true
|
|
47061
47084
|
var render = function render() {
|
|
47062
47085
|
var _vm = this,
|
|
47063
47086
|
_c = _vm._self._c;
|
|
47064
|
-
return _c('
|
|
47065
|
-
attrs: {
|
|
47066
|
-
"chosen-class": "chosen",
|
|
47067
|
-
"force-fallback": "true",
|
|
47068
|
-
"group": "people",
|
|
47069
|
-
"animation": "1000",
|
|
47070
|
-
"disabled": _vm.dragDisabled
|
|
47071
|
-
},
|
|
47072
|
-
on: {
|
|
47073
|
-
"start": _vm.onStart,
|
|
47074
|
-
"end": _vm.onEnd
|
|
47075
|
-
}
|
|
47076
|
-
}, [_c('div', {
|
|
47077
|
-
staticClass: "drag-column-container",
|
|
47087
|
+
return _c('div', {
|
|
47078
47088
|
class: [_vm.nowCompId !== '' && _vm.nowCompId == _vm.data.id ? 'highLight' : ''],
|
|
47079
|
-
staticStyle: {
|
|
47080
|
-
"position": "relative"
|
|
47081
|
-
},
|
|
47082
47089
|
style: _vm.style,
|
|
47083
47090
|
on: {
|
|
47084
47091
|
"click": function ($event) {
|
|
@@ -47086,31 +47093,50 @@ var render = function render() {
|
|
|
47086
47093
|
return _vm.handleNowComp.apply(null, arguments);
|
|
47087
47094
|
}
|
|
47088
47095
|
}
|
|
47089
|
-
}, [
|
|
47090
|
-
|
|
47091
|
-
|
|
47092
|
-
|
|
47093
|
-
|
|
47094
|
-
|
|
47095
|
-
|
|
47096
|
-
|
|
47097
|
-
|
|
47098
|
-
|
|
47099
|
-
|
|
47100
|
-
|
|
47101
|
-
|
|
47102
|
-
|
|
47103
|
-
|
|
47104
|
-
|
|
47105
|
-
|
|
47106
|
-
|
|
47107
|
-
|
|
47108
|
-
|
|
47109
|
-
|
|
47110
|
-
|
|
47111
|
-
|
|
47112
|
-
|
|
47113
|
-
|
|
47096
|
+
}, [_c('div', {
|
|
47097
|
+
staticClass: "position",
|
|
47098
|
+
on: {
|
|
47099
|
+
"click": _vm.handleNowComp
|
|
47100
|
+
}
|
|
47101
|
+
}, [_c('div', {
|
|
47102
|
+
staticClass: "project-page"
|
|
47103
|
+
}, [_c('div', {
|
|
47104
|
+
staticClass: "cmhk-home_main"
|
|
47105
|
+
}, [_c('div', {
|
|
47106
|
+
staticClass: "page-valueadded-card-des"
|
|
47107
|
+
}, [_c('div', {
|
|
47108
|
+
staticClass: "card-des-content"
|
|
47109
|
+
}, [_c('div', {
|
|
47110
|
+
staticClass: "content-left"
|
|
47111
|
+
}, [_c('img', {
|
|
47112
|
+
staticClass: "pc-show",
|
|
47113
|
+
attrs: {
|
|
47114
|
+
"src": _vm.contentObj.uploadImagePC,
|
|
47115
|
+
"alt": _vm.contentObj.imagePcATL
|
|
47116
|
+
}
|
|
47117
|
+
}), _c('img', {
|
|
47118
|
+
staticClass: "mobile-show",
|
|
47119
|
+
attrs: {
|
|
47120
|
+
"src": _vm.contentObj.uploadImageH5,
|
|
47121
|
+
"alt": _vm.contentObj.imageH5ATL
|
|
47122
|
+
}
|
|
47123
|
+
})]), _c('div', {
|
|
47124
|
+
staticClass: "content-right"
|
|
47125
|
+
}, [_c('h6', {
|
|
47126
|
+
staticClass: "card-mess-title"
|
|
47127
|
+
}, [_vm._v(_vm._s(_vm.contentObj.input1))]), _c('div', {
|
|
47128
|
+
staticClass: "page-dot-section",
|
|
47129
|
+
domProps: {
|
|
47130
|
+
"innerHTML": _vm._s(_vm.contentObj.input2)
|
|
47131
|
+
}
|
|
47132
|
+
})])])])])]), _c('div', {
|
|
47133
|
+
class: {
|
|
47134
|
+
opcacity: _vm.isOpcacity
|
|
47135
|
+
},
|
|
47136
|
+
on: {
|
|
47137
|
+
"click": _vm.handleNowComp
|
|
47138
|
+
}
|
|
47139
|
+
})]), _vm.nowCompId !== '' && _vm.nowCompId == _vm.data.id ? _c('div', {
|
|
47114
47140
|
staticClass: "com-delete"
|
|
47115
47141
|
}, [_c('i', {
|
|
47116
47142
|
staticClass: "el-icon-delete",
|
|
@@ -47120,7 +47146,7 @@ var render = function render() {
|
|
|
47120
47146
|
return _vm.deleteComponent.apply(null, arguments);
|
|
47121
47147
|
}
|
|
47122
47148
|
}
|
|
47123
|
-
})]) : _vm._e()]
|
|
47149
|
+
})]) : _vm._e()]);
|
|
47124
47150
|
};
|
|
47125
47151
|
var staticRenderFns = [];
|
|
47126
47152
|
|
|
@@ -47128,24 +47154,13 @@ var staticRenderFns = [];
|
|
|
47128
47154
|
var es_iterator_constructor = __webpack_require__(8111);
|
|
47129
47155
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
47130
47156
|
var es_iterator_for_each = __webpack_require__(7588);
|
|
47131
|
-
|
|
47132
|
-
var es_iterator_map = __webpack_require__(1701);
|
|
47133
|
-
// EXTERNAL MODULE: ./node_modules/vuedraggable/dist/vuedraggable.umd.js
|
|
47134
|
-
var vuedraggable_umd = __webpack_require__(9014);
|
|
47135
|
-
var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_umd);
|
|
47136
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-column/View.vue?vue&type=script&lang=js
|
|
47137
|
-
|
|
47138
|
-
|
|
47139
|
-
|
|
47157
|
+
;// ./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
|
|
47140
47158
|
|
|
47141
47159
|
|
|
47142
47160
|
|
|
47143
47161
|
|
|
47144
47162
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
47145
|
-
name: "cms-
|
|
47146
|
-
components: {
|
|
47147
|
-
Draggable: (vuedraggable_umd_default())
|
|
47148
|
-
},
|
|
47163
|
+
name: "cms-productDetails",
|
|
47149
47164
|
props: {
|
|
47150
47165
|
data: {
|
|
47151
47166
|
type: Object,
|
|
@@ -47156,57 +47171,25 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
47156
47171
|
nowCompId: {
|
|
47157
47172
|
type: [String, Number],
|
|
47158
47173
|
default: ""
|
|
47174
|
+
},
|
|
47175
|
+
isOpcacity: {
|
|
47176
|
+
type: Boolean,
|
|
47177
|
+
default: true
|
|
47178
|
+
},
|
|
47179
|
+
lang: {
|
|
47180
|
+
type: String,
|
|
47181
|
+
default: "zh-HK"
|
|
47159
47182
|
}
|
|
47160
|
-
},
|
|
47161
|
-
|
|
47162
|
-
|
|
47163
|
-
|
|
47164
|
-
|
|
47165
|
-
|
|
47166
|
-
|
|
47167
|
-
|
|
47168
|
-
|
|
47169
|
-
|
|
47170
|
-
}
|
|
47171
|
-
});
|
|
47172
|
-
val.settings.attribute.map(item => {
|
|
47173
|
-
obj[item.key] = item.value;
|
|
47174
|
-
if (this.getDevice() == "mobile" || this.getDevice() == "tablet") {
|
|
47175
|
-
if (item.key == "height") {
|
|
47176
|
-
if (item.value.indexOf("px") != -1) {
|
|
47177
|
-
originHeight = parseFloat(item.value.split("px")[0]) * num + "px";
|
|
47178
|
-
}
|
|
47179
|
-
if (item.value.indexOf("%") != -1) {
|
|
47180
|
-
originHeight = parseFloat(item.value.split("px")[0]) * num + "%";
|
|
47181
|
-
}
|
|
47182
|
-
}
|
|
47183
|
-
}
|
|
47184
|
-
});
|
|
47185
|
-
this.style = obj;
|
|
47186
|
-
if (this.getDevice() == "mobile" || this.getDevice() == "tablet") {
|
|
47187
|
-
this.style.height = originHeight;
|
|
47188
|
-
}
|
|
47189
|
-
if (this.isEditor) {
|
|
47190
|
-
this.style.width = `calc(${obj.width} - 2px)`;
|
|
47191
|
-
}
|
|
47192
|
-
},
|
|
47193
|
-
deep: true,
|
|
47194
|
-
immediate: true
|
|
47195
|
-
}
|
|
47196
|
-
},
|
|
47197
|
-
data() {
|
|
47198
|
-
return {
|
|
47199
|
-
style: {},
|
|
47200
|
-
isEditor: true,
|
|
47201
|
-
// 是否是开发态
|
|
47202
|
-
dragDisabled: false
|
|
47203
|
-
};
|
|
47204
|
-
},
|
|
47205
|
-
created() {
|
|
47206
|
-
if (this.$route.path != "/editor") {
|
|
47207
|
-
this.isEditor = false;
|
|
47208
|
-
this.dragDisabled = true;
|
|
47209
|
-
}
|
|
47183
|
+
},
|
|
47184
|
+
data() {
|
|
47185
|
+
return {
|
|
47186
|
+
style: {},
|
|
47187
|
+
CN: {},
|
|
47188
|
+
HK: {},
|
|
47189
|
+
EN: {},
|
|
47190
|
+
contentObj: {},
|
|
47191
|
+
messFold: false
|
|
47192
|
+
};
|
|
47210
47193
|
},
|
|
47211
47194
|
mounted() {
|
|
47212
47195
|
if (this.$EventBus) {
|
|
@@ -47221,35 +47204,46 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
47221
47204
|
});
|
|
47222
47205
|
}
|
|
47223
47206
|
},
|
|
47207
|
+
watch: {
|
|
47208
|
+
data: {
|
|
47209
|
+
handler(val) {
|
|
47210
|
+
let obj = {};
|
|
47211
|
+
val.settings.settings.forEach(item => {
|
|
47212
|
+
this.CN = item.value.content.CN;
|
|
47213
|
+
this.HK = item.value.content.HK;
|
|
47214
|
+
this.EN = item.value.content.EN;
|
|
47215
|
+
});
|
|
47216
|
+
val.settings.attribute.forEach(item => {
|
|
47217
|
+
obj[item.key] = item.value;
|
|
47218
|
+
});
|
|
47219
|
+
this.getValue(this.lang);
|
|
47220
|
+
},
|
|
47221
|
+
deep: true,
|
|
47222
|
+
immediate: true
|
|
47223
|
+
},
|
|
47224
|
+
lang: {
|
|
47225
|
+
handler(val) {
|
|
47226
|
+
this.getValue(val);
|
|
47227
|
+
},
|
|
47228
|
+
deep: true,
|
|
47229
|
+
immediate: true
|
|
47230
|
+
}
|
|
47231
|
+
},
|
|
47224
47232
|
methods: {
|
|
47225
|
-
|
|
47226
|
-
const
|
|
47227
|
-
|
|
47228
|
-
|
|
47229
|
-
|
|
47230
|
-
DESKTOP: "pc",
|
|
47231
|
-
PC: "pc",
|
|
47232
|
-
/**
|
|
47233
|
-
* 平板
|
|
47234
|
-
*/
|
|
47235
|
-
TABLET: "tablet",
|
|
47236
|
-
/**
|
|
47237
|
-
* 移动端/手机
|
|
47238
|
-
*/
|
|
47239
|
-
MOBILE: "mobile"
|
|
47233
|
+
getValue(val) {
|
|
47234
|
+
const obj = {
|
|
47235
|
+
"zh-CN": "CN",
|
|
47236
|
+
"zh-HK": "HK",
|
|
47237
|
+
"en-US": "EN"
|
|
47240
47238
|
};
|
|
47241
|
-
|
|
47242
|
-
const mobile = "(max-width: 1024px)";
|
|
47243
|
-
if (window.parent.matchMedia(mobile).matches) {
|
|
47244
|
-
return DEVICES.MOBILE;
|
|
47245
|
-
} else if (window.parent.matchMedia(tablet).matches) {
|
|
47246
|
-
return DEVICES.TABLET;
|
|
47247
|
-
}
|
|
47248
|
-
return DEVICES.PC;
|
|
47239
|
+
this.contentObj = this[`${obj[val]}`];
|
|
47249
47240
|
},
|
|
47250
|
-
|
|
47251
|
-
|
|
47252
|
-
|
|
47241
|
+
foldMessText() {
|
|
47242
|
+
this.messFold = !this.messFold;
|
|
47243
|
+
},
|
|
47244
|
+
decodeJumpUrl(url) {
|
|
47245
|
+
if (!url) return;
|
|
47246
|
+
top.location.href = url;
|
|
47253
47247
|
},
|
|
47254
47248
|
handleNowComp() {
|
|
47255
47249
|
if (!this.isOpcacity) return;
|
|
@@ -47263,19 +47257,35 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
|
|
|
47263
47257
|
this.$EventBus.$emit("handleDeleteComp", {
|
|
47264
47258
|
key: this.data.id
|
|
47265
47259
|
});
|
|
47260
|
+
},
|
|
47261
|
+
escape2Html(str) {
|
|
47262
|
+
if (str) {
|
|
47263
|
+
var arrEntities = {
|
|
47264
|
+
lt: "<",
|
|
47265
|
+
gt: ">",
|
|
47266
|
+
nbsp: " ",
|
|
47267
|
+
amp: "&",
|
|
47268
|
+
quot: '"'
|
|
47269
|
+
};
|
|
47270
|
+
return str.replace(/&(lt|gt|nbsp|amp|quot);/gi, function (all, t) {
|
|
47271
|
+
return arrEntities[t];
|
|
47272
|
+
});
|
|
47273
|
+
} else {
|
|
47274
|
+
return "";
|
|
47275
|
+
}
|
|
47266
47276
|
}
|
|
47267
47277
|
}
|
|
47268
47278
|
});
|
|
47269
|
-
;// ./package/cms-
|
|
47270
|
-
/* harmony default export */ var
|
|
47271
|
-
;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-
|
|
47279
|
+
;// ./package/cms-productDetails/View.vue?vue&type=script&lang=js
|
|
47280
|
+
/* harmony default export */ var cms_productDetails_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
47281
|
+
;// ./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-productDetails/View.vue?vue&type=style&index=0&id=35963b51&prod&lang=scss&scoped=true
|
|
47272
47282
|
// extracted by mini-css-extract-plugin
|
|
47273
47283
|
|
|
47274
|
-
;// ./package/cms-
|
|
47284
|
+
;// ./package/cms-productDetails/View.vue?vue&type=style&index=0&id=35963b51&prod&lang=scss&scoped=true
|
|
47275
47285
|
|
|
47276
47286
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
47277
47287
|
var componentNormalizer = __webpack_require__(1656);
|
|
47278
|
-
;// ./package/cms-
|
|
47288
|
+
;// ./package/cms-productDetails/View.vue
|
|
47279
47289
|
|
|
47280
47290
|
|
|
47281
47291
|
|
|
@@ -47285,12 +47295,12 @@ var componentNormalizer = __webpack_require__(1656);
|
|
|
47285
47295
|
/* normalize component */
|
|
47286
47296
|
|
|
47287
47297
|
var component = (0,componentNormalizer/* default */.A)(
|
|
47288
|
-
|
|
47298
|
+
cms_productDetails_Viewvue_type_script_lang_js,
|
|
47289
47299
|
render,
|
|
47290
47300
|
staticRenderFns,
|
|
47291
47301
|
false,
|
|
47292
47302
|
null,
|
|
47293
|
-
|
|
47303
|
+
"35963b51",
|
|
47294
47304
|
null
|
|
47295
47305
|
|
|
47296
47306
|
)
|
|
@@ -47299,175 +47309,156 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
47299
47309
|
|
|
47300
47310
|
/***/ }),
|
|
47301
47311
|
|
|
47302
|
-
/***/
|
|
47303
|
-
/***/ (function(
|
|
47312
|
+
/***/ 8227:
|
|
47313
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
47304
47314
|
|
|
47305
47315
|
"use strict";
|
|
47306
|
-
__webpack_require__.r(__webpack_exports__);
|
|
47307
|
-
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
47308
|
-
onlinePurchase: 'Online Purchase',
|
|
47309
|
-
CMHK: 'CMHK 5G',
|
|
47310
|
-
servicePlans: 'Service Plans',
|
|
47311
|
-
broadband: 'Home Broadband',
|
|
47312
|
-
Gband: '5G Broadband',
|
|
47313
|
-
devices: 'Handsets & Devices',
|
|
47314
|
-
card: 'Prepaid Card Service',
|
|
47315
|
-
data: 'Data & VAS',
|
|
47316
|
-
IDD: 'Global Services & IDD',
|
|
47317
|
-
policy: 'Privacy Policy',
|
|
47318
|
-
summary: 'Key Information Summary',
|
|
47319
|
-
customer: 'Our Customer Charter',
|
|
47320
|
-
infomations: 'Your imfomations',
|
|
47321
|
-
privacy: 'Privacy',
|
|
47322
|
-
conditions: 'Contract Terms & Conditions',
|
|
47323
|
-
us: 'About Us',
|
|
47324
|
-
overview: 'Corporate Overview',
|
|
47325
|
-
news: 'Company News',
|
|
47326
|
-
notice: 'Tender Notice',
|
|
47327
|
-
join: 'Join Us',
|
|
47328
|
-
links: 'Friendly Links',
|
|
47329
|
-
partnerships: 'Partnerships',
|
|
47330
|
-
help: 'Help and Support',
|
|
47331
|
-
onlineHelp: 'Online Help and Support',
|
|
47332
|
-
education: 'Customer Education Zone',
|
|
47333
|
-
fraud: 'Customer Education Zone',
|
|
47334
|
-
shop: 'CMHK Shop',
|
|
47335
|
-
contact: 'Contact Us',
|
|
47336
|
-
questions: 'FAQ/Frequently Asked Questions',
|
|
47337
|
-
service: '24-hour Customer Service Hotline 12580',
|
|
47338
|
-
hotline: 'Sales Hotline 12588 (11am to 8pm)',
|
|
47339
|
-
follow: 'Follow or Contact Us',
|
|
47340
|
-
download: 'Download MyLink App, follow our official WeChat account, and stay tuned for more information and enjoy mobile services',
|
|
47341
|
-
account: 'WeChat Official Account',
|
|
47342
|
-
bottomText: '© 2023 China Mobile Hong Kong Company Limited. All rights reserved'
|
|
47343
|
-
});
|
|
47344
|
-
|
|
47345
|
-
/***/ }),
|
|
47346
47316
|
|
|
47347
|
-
|
|
47348
|
-
|
|
47317
|
+
var globalThis = __webpack_require__(4576);
|
|
47318
|
+
var shared = __webpack_require__(5745);
|
|
47319
|
+
var hasOwn = __webpack_require__(9297);
|
|
47320
|
+
var uid = __webpack_require__(3392);
|
|
47321
|
+
var NATIVE_SYMBOL = __webpack_require__(4495);
|
|
47322
|
+
var USE_SYMBOL_AS_UID = __webpack_require__(7040);
|
|
47349
47323
|
|
|
47350
|
-
|
|
47324
|
+
var Symbol = globalThis.Symbol;
|
|
47325
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
47326
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
47351
47327
|
|
|
47328
|
+
module.exports = function (name) {
|
|
47329
|
+
if (!hasOwn(WellKnownSymbolsStore, name)) {
|
|
47330
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
|
|
47331
|
+
? Symbol[name]
|
|
47332
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
47333
|
+
} return WellKnownSymbolsStore[name];
|
|
47334
|
+
};
|
|
47352
47335
|
|
|
47353
|
-
/** @type {import('.')} */
|
|
47354
|
-
var $gOPD = __webpack_require__(3299);
|
|
47355
|
-
if ($gOPD) {
|
|
47356
|
-
try {
|
|
47357
|
-
$gOPD([], 'length');
|
|
47358
|
-
} catch (e) {
|
|
47359
|
-
// IE 8 has a broken gOPD
|
|
47360
|
-
$gOPD = null;
|
|
47361
|
-
}
|
|
47362
|
-
}
|
|
47363
|
-
module.exports = $gOPD;
|
|
47364
47336
|
|
|
47365
47337
|
/***/ }),
|
|
47366
47338
|
|
|
47367
|
-
/***/
|
|
47339
|
+
/***/ 8237:
|
|
47368
47340
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
47369
47341
|
|
|
47370
47342
|
"use strict";
|
|
47371
47343
|
|
|
47372
47344
|
var $ = __webpack_require__(6518);
|
|
47373
|
-
var
|
|
47345
|
+
var iterate = __webpack_require__(2652);
|
|
47346
|
+
var aCallable = __webpack_require__(9306);
|
|
47347
|
+
var anObject = __webpack_require__(8551);
|
|
47348
|
+
var getIteratorDirect = __webpack_require__(1767);
|
|
47374
47349
|
|
|
47375
|
-
|
|
47376
|
-
|
|
47377
|
-
|
|
47378
|
-
|
|
47379
|
-
|
|
47350
|
+
var $TypeError = TypeError;
|
|
47351
|
+
|
|
47352
|
+
// `Iterator.prototype.reduce` method
|
|
47353
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
|
47354
|
+
$({ target: 'Iterator', proto: true, real: true }, {
|
|
47355
|
+
reduce: function reduce(reducer /* , initialValue */) {
|
|
47356
|
+
anObject(this);
|
|
47357
|
+
aCallable(reducer);
|
|
47358
|
+
var record = getIteratorDirect(this);
|
|
47359
|
+
var noInitial = arguments.length < 2;
|
|
47360
|
+
var accumulator = noInitial ? undefined : arguments[1];
|
|
47361
|
+
var counter = 0;
|
|
47362
|
+
iterate(record, function (value) {
|
|
47363
|
+
if (noInitial) {
|
|
47364
|
+
noInitial = false;
|
|
47365
|
+
accumulator = value;
|
|
47366
|
+
} else {
|
|
47367
|
+
accumulator = reducer(accumulator, value, counter);
|
|
47368
|
+
}
|
|
47369
|
+
counter++;
|
|
47370
|
+
}, { IS_RECORD: true });
|
|
47371
|
+
if (noInitial) throw new $TypeError('Reduce of empty iterator with no initial value');
|
|
47372
|
+
return accumulator;
|
|
47380
47373
|
}
|
|
47381
47374
|
});
|
|
47382
47375
|
|
|
47383
47376
|
|
|
47384
47377
|
/***/ }),
|
|
47385
47378
|
|
|
47386
|
-
/***/
|
|
47387
|
-
/***/ (function(
|
|
47379
|
+
/***/ 8251:
|
|
47380
|
+
/***/ (function(module) {
|
|
47388
47381
|
|
|
47389
47382
|
"use strict";
|
|
47390
47383
|
|
|
47391
|
-
var $ = __webpack_require__(6518);
|
|
47392
|
-
var globalThis = __webpack_require__(4576);
|
|
47393
|
-
var anInstance = __webpack_require__(679);
|
|
47394
|
-
var anObject = __webpack_require__(8551);
|
|
47395
|
-
var isCallable = __webpack_require__(4901);
|
|
47396
|
-
var getPrototypeOf = __webpack_require__(2787);
|
|
47397
|
-
var defineBuiltInAccessor = __webpack_require__(2106);
|
|
47398
|
-
var createProperty = __webpack_require__(4659);
|
|
47399
|
-
var fails = __webpack_require__(9039);
|
|
47400
|
-
var hasOwn = __webpack_require__(9297);
|
|
47401
|
-
var wellKnownSymbol = __webpack_require__(8227);
|
|
47402
|
-
var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
|
|
47403
|
-
var DESCRIPTORS = __webpack_require__(3724);
|
|
47404
|
-
var IS_PURE = __webpack_require__(6395);
|
|
47405
|
-
|
|
47406
|
-
var CONSTRUCTOR = 'constructor';
|
|
47407
|
-
var ITERATOR = 'Iterator';
|
|
47408
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
47409
|
-
|
|
47410
|
-
var $TypeError = TypeError;
|
|
47411
|
-
var NativeIterator = globalThis[ITERATOR];
|
|
47412
|
-
|
|
47413
|
-
// FF56- have non-standard global helper `Iterator`
|
|
47414
|
-
var FORCED = IS_PURE
|
|
47415
|
-
|| !isCallable(NativeIterator)
|
|
47416
|
-
|| NativeIterator.prototype !== IteratorPrototype
|
|
47417
|
-
// FF44- non-standard `Iterator` passes previous tests
|
|
47418
|
-
|| !fails(function () { NativeIterator({}); });
|
|
47419
47384
|
|
|
47420
|
-
var
|
|
47421
|
-
|
|
47422
|
-
|
|
47385
|
+
var replace = String.prototype.replace;
|
|
47386
|
+
var percentTwenties = /%20/g;
|
|
47387
|
+
var Format = {
|
|
47388
|
+
RFC1738: 'RFC1738',
|
|
47389
|
+
RFC3986: 'RFC3986'
|
|
47390
|
+
};
|
|
47391
|
+
module.exports = {
|
|
47392
|
+
'default': Format.RFC3986,
|
|
47393
|
+
formatters: {
|
|
47394
|
+
RFC1738: function (value) {
|
|
47395
|
+
return replace.call(value, percentTwenties, '+');
|
|
47396
|
+
},
|
|
47397
|
+
RFC3986: function (value) {
|
|
47398
|
+
return String(value);
|
|
47399
|
+
}
|
|
47400
|
+
},
|
|
47401
|
+
RFC1738: Format.RFC1738,
|
|
47402
|
+
RFC3986: Format.RFC3986
|
|
47423
47403
|
};
|
|
47424
47404
|
|
|
47425
|
-
|
|
47426
|
-
if (DESCRIPTORS) {
|
|
47427
|
-
defineBuiltInAccessor(IteratorPrototype, key, {
|
|
47428
|
-
configurable: true,
|
|
47429
|
-
get: function () {
|
|
47430
|
-
return value;
|
|
47431
|
-
},
|
|
47432
|
-
set: function (replacement) {
|
|
47433
|
-
anObject(this);
|
|
47434
|
-
if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
|
|
47435
|
-
if (hasOwn(this, key)) this[key] = replacement;
|
|
47436
|
-
else createProperty(this, key, replacement);
|
|
47437
|
-
}
|
|
47438
|
-
});
|
|
47439
|
-
} else IteratorPrototype[key] = value;
|
|
47440
|
-
};
|
|
47405
|
+
/***/ }),
|
|
47441
47406
|
|
|
47442
|
-
|
|
47407
|
+
/***/ 8254:
|
|
47408
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
47409
|
+
|
|
47410
|
+
"use strict";
|
|
47411
|
+
__webpack_require__.r(__webpack_exports__);
|
|
47412
|
+
/* harmony import */ var core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8111);
|
|
47413
|
+
/* harmony import */ var core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
47414
|
+
/* harmony import */ var core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8237);
|
|
47415
|
+
/* harmony import */ var core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
47443
47416
|
|
|
47444
|
-
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
|
47445
|
-
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
47446
|
-
}
|
|
47447
47417
|
|
|
47448
|
-
IteratorConstructor.prototype = IteratorPrototype;
|
|
47449
47418
|
|
|
47450
|
-
// `Iterator` constructor
|
|
47451
|
-
// https://tc39.es/ecma262/#sec-iterator
|
|
47452
|
-
$({ global: true, constructor: true, forced: FORCED }, {
|
|
47453
|
-
Iterator: IteratorConstructor
|
|
47454
|
-
});
|
|
47455
47419
|
|
|
47420
|
+
const modulesFiles = __webpack_require__(8607);
|
|
47421
|
+
const modules = modulesFiles.keys().reduce((modules, modulePath) => {
|
|
47422
|
+
const moduleName = modulePath.replace(/^\.\/(.*)\.\w+$/, '$1').replace('/en', '');
|
|
47423
|
+
const value = modulesFiles(modulePath);
|
|
47424
|
+
modules[moduleName] = value.default;
|
|
47425
|
+
return modules;
|
|
47426
|
+
}, {});
|
|
47427
|
+
/* harmony default export */ __webpack_exports__["default"] = (modules);
|
|
47456
47428
|
|
|
47457
47429
|
/***/ }),
|
|
47458
47430
|
|
|
47459
|
-
/***/
|
|
47460
|
-
/***/ (function(module) {
|
|
47431
|
+
/***/ 8307:
|
|
47432
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
47461
47433
|
|
|
47462
47434
|
"use strict";
|
|
47463
47435
|
|
|
47464
47436
|
|
|
47465
|
-
|
|
47466
|
-
|
|
47437
|
+
__webpack_require__(8111);
|
|
47438
|
+
__webpack_require__(7588);
|
|
47439
|
+
var utils = __webpack_require__(758);
|
|
47440
|
+
var defaults = __webpack_require__(9189);
|
|
47441
|
+
|
|
47442
|
+
/**
|
|
47443
|
+
* Transform the data for a request or a response
|
|
47444
|
+
*
|
|
47445
|
+
* @param {Object|String} data The data to be transformed
|
|
47446
|
+
* @param {Array} headers The headers for the request or response
|
|
47447
|
+
* @param {Array|Function} fns A single function or Array of functions
|
|
47448
|
+
* @returns {*} The resulting transformed data
|
|
47449
|
+
*/
|
|
47450
|
+
module.exports = function transformData(data, headers, fns) {
|
|
47451
|
+
var context = this || defaults;
|
|
47452
|
+
/*eslint no-param-reassign:0*/
|
|
47453
|
+
utils.forEach(fns, function transform(fn) {
|
|
47454
|
+
data = fn.call(context, data, headers);
|
|
47455
|
+
});
|
|
47456
|
+
return data;
|
|
47457
|
+
};
|
|
47467
47458
|
|
|
47468
47459
|
/***/ }),
|
|
47469
47460
|
|
|
47470
|
-
/***/
|
|
47461
|
+
/***/ 8410:
|
|
47471
47462
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
47472
47463
|
|
|
47473
47464
|
"use strict";
|
|
@@ -47479,56 +47470,148 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
47479
47470
|
"default": function() { return /* binding */ View; }
|
|
47480
47471
|
});
|
|
47481
47472
|
|
|
47482
|
-
;// ./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-
|
|
47473
|
+
;// ./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=27afd59e&scoped=true
|
|
47483
47474
|
var render = function render() {
|
|
47475
|
+
var _vm$cmsConfig$bannerL;
|
|
47484
47476
|
var _vm = this,
|
|
47485
47477
|
_c = _vm._self._c;
|
|
47486
47478
|
return _c('div', {
|
|
47479
|
+
staticClass: "test",
|
|
47487
47480
|
class: [_vm.nowCompId !== '' && _vm.nowCompId == _vm.data.id ? 'highLight' : ''],
|
|
47481
|
+
staticStyle: {
|
|
47482
|
+
"position": "relative",
|
|
47483
|
+
"cursor": "pointer"
|
|
47484
|
+
},
|
|
47488
47485
|
style: _vm.style,
|
|
47489
47486
|
on: {
|
|
47490
47487
|
"click": function ($event) {
|
|
47491
47488
|
$event.stopPropagation();
|
|
47492
|
-
return _vm.handleNowComp
|
|
47489
|
+
return _vm.handleNowComp();
|
|
47493
47490
|
}
|
|
47494
47491
|
}
|
|
47495
47492
|
}, [_c('div', {
|
|
47496
|
-
staticClass: "
|
|
47497
|
-
|
|
47498
|
-
|
|
47499
|
-
}
|
|
47500
|
-
}, [_c('div', {
|
|
47501
|
-
staticClass: "project-page"
|
|
47502
|
-
}, [_c('div', {
|
|
47503
|
-
staticClass: "cmhk-home_main"
|
|
47493
|
+
staticClass: "content-swiper tt_banner"
|
|
47494
|
+
}, [_vm.cmsConfig.bannerList.length > 0 ? _c('div', {
|
|
47495
|
+
staticClass: "relative position"
|
|
47504
47496
|
}, [_c('div', {
|
|
47505
|
-
staticClass: "
|
|
47497
|
+
staticClass: "my_banner"
|
|
47506
47498
|
}, [_c('div', {
|
|
47507
|
-
staticClass: "
|
|
47499
|
+
staticClass: "swiper-container_contentswiper",
|
|
47500
|
+
attrs: {
|
|
47501
|
+
"id": `contentSwiper${_vm.data.id}`
|
|
47502
|
+
}
|
|
47508
47503
|
}, [_c('div', {
|
|
47509
|
-
staticClass: "
|
|
47510
|
-
|
|
47511
|
-
|
|
47504
|
+
staticClass: "swiper-wrapper",
|
|
47505
|
+
staticStyle: {
|
|
47506
|
+
"width": "1074px",
|
|
47507
|
+
"height": "100%"
|
|
47508
|
+
}
|
|
47509
|
+
}, _vm._l(_vm.cmsConfig.bannerList, function (item, inx) {
|
|
47510
|
+
return _c('div', {
|
|
47511
|
+
key: inx,
|
|
47512
|
+
staticClass: "swiper-slide"
|
|
47513
|
+
}, [item ? _c('div', {
|
|
47514
|
+
staticClass: "swiper-banner_box",
|
|
47515
|
+
on: {
|
|
47516
|
+
"click": function ($event) {
|
|
47517
|
+
return _vm.decodeJumpUrl(item.jumpUrl, _vm.$router);
|
|
47518
|
+
}
|
|
47519
|
+
}
|
|
47520
|
+
}, [_c('img', {
|
|
47521
|
+
staticClass: "swiper-banner_image layout-pc",
|
|
47522
|
+
attrs: {
|
|
47523
|
+
"src": item.uploadImagePC,
|
|
47524
|
+
"alt": "PC"
|
|
47525
|
+
}
|
|
47526
|
+
}), _c('img', {
|
|
47527
|
+
staticClass: "swiper-banner_image layout-mobile",
|
|
47528
|
+
attrs: {
|
|
47529
|
+
"src": item.uploadImageH5,
|
|
47530
|
+
"alt": "H5"
|
|
47531
|
+
}
|
|
47532
|
+
}), _c('div', {
|
|
47533
|
+
staticClass: "extra-swiper_box layout-pc"
|
|
47534
|
+
}, [item.title ? _c('div', {
|
|
47535
|
+
staticClass: "swiper-contentbtn"
|
|
47536
|
+
}, [_c('span', [_vm._v(_vm._s(item.title))])]) : _vm._e(), item.des ? _c('div', {
|
|
47537
|
+
staticClass: "swiper-labels"
|
|
47538
|
+
}, [_c('span', [_vm._v(_vm._s(item.des))])]) : _vm._e(), _c('div', {
|
|
47539
|
+
staticClass: "swiper-btn_container"
|
|
47540
|
+
}, [item.input1 != '' ? _c('a', {
|
|
47541
|
+
attrs: {
|
|
47542
|
+
"href": item.jumpUrl1,
|
|
47543
|
+
"target": "_self"
|
|
47544
|
+
}
|
|
47545
|
+
}, [_c('button', {
|
|
47546
|
+
staticClass: "swiper-opbtn have-arrow"
|
|
47547
|
+
}, [_c('span', [_vm._v(_vm._s(item.input1))])])]) : _vm._e(), item.input2 != '' ? _c('a', {
|
|
47548
|
+
attrs: {
|
|
47549
|
+
"href": item.jumpUrl2,
|
|
47550
|
+
"target": "_self"
|
|
47551
|
+
}
|
|
47552
|
+
}, [_c('button', {
|
|
47553
|
+
staticClass: "swiper-opbtn_wt"
|
|
47554
|
+
}, [_c('span', [_vm._v(_vm._s(item.input2))])])]) : _vm._e()])])]) : _vm._e()]);
|
|
47555
|
+
}), 0)])]), _vm.cmsConfig.bannerList[_vm.swiperIdx].title || _vm.cmsConfig.bannerList[_vm.swiperIdx].des || _vm.cmsConfig.bannerList[_vm.swiperIdx].input1 || _vm.cmsConfig.bannerList[_vm.swiperIdx].input2 || (_vm$cmsConfig$bannerL = _vm.cmsConfig.bannerList[_vm.swiperIdx]) !== null && _vm$cmsConfig$bannerL !== void 0 && _vm$cmsConfig$bannerL.input3 ? _c('div', {
|
|
47556
|
+
staticClass: "mb-swiper_box layout-mobile"
|
|
47557
|
+
}, [_vm.cmsConfig.bannerList[_vm.swiperIdx].title ? _c('div', {
|
|
47558
|
+
staticClass: "swiper-contentbtn"
|
|
47559
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.cmsConfig.bannerList[_vm.swiperIdx].title))])]) : _vm._e(), _vm.cmsConfig.bannerList[_vm.swiperIdx].des ? _c('div', {
|
|
47560
|
+
staticClass: "swiper-label"
|
|
47561
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.cmsConfig.bannerList[_vm.swiperIdx].des))])]) : _vm._e(), _c('div', {
|
|
47562
|
+
staticClass: "swiper-btn_container"
|
|
47563
|
+
}, [_vm.cmsConfig.bannerList[_vm.swiperIdx].input1 ? _c('a', {
|
|
47512
47564
|
attrs: {
|
|
47513
|
-
"
|
|
47514
|
-
"
|
|
47565
|
+
"href": _vm.cmsConfig.bannerList[_vm.swiperIdx].jumpUrl1,
|
|
47566
|
+
"target": "_self"
|
|
47515
47567
|
}
|
|
47516
|
-
}
|
|
47517
|
-
staticClass: "
|
|
47568
|
+
}, [_c('button', {
|
|
47569
|
+
staticClass: "swiper-opbtn have-arrow"
|
|
47570
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.cmsConfig.bannerList[_vm.swiperIdx].input1))])])]) : _vm._e(), _vm.cmsConfig.bannerList[_vm.swiperIdx].input2 ? _c('a', {
|
|
47518
47571
|
attrs: {
|
|
47519
|
-
"
|
|
47520
|
-
"
|
|
47572
|
+
"href": _vm.cmsConfig.bannerList[_vm.swiperIdx].jumpUrl2,
|
|
47573
|
+
"target": "_self"
|
|
47521
47574
|
}
|
|
47522
|
-
}
|
|
47523
|
-
staticClass: "
|
|
47524
|
-
}, [_c('
|
|
47525
|
-
staticClass: "
|
|
47526
|
-
}, [_vm.
|
|
47527
|
-
|
|
47528
|
-
|
|
47529
|
-
"
|
|
47575
|
+
}, [_c('button', {
|
|
47576
|
+
staticClass: "swiper-opbtn_wt have-arrow"
|
|
47577
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.cmsConfig.bannerList[_vm.swiperIdx].input2))])])]) : _vm._e()])]) : _vm._e(), _vm.cmsConfig.bannerList.length > 1 ? _c('div', {
|
|
47578
|
+
staticClass: "cmhk-swiper-button-number"
|
|
47579
|
+
}, [_vm._l(_vm.cmsConfig.bannerList, function (item, idx) {
|
|
47580
|
+
return _c('div', {
|
|
47581
|
+
key: idx,
|
|
47582
|
+
staticClass: "line-customs_wrapper",
|
|
47583
|
+
on: {
|
|
47584
|
+
"click": function ($event) {
|
|
47585
|
+
$event.stopPropagation();
|
|
47586
|
+
return _vm.jumpToSlide(idx);
|
|
47587
|
+
}
|
|
47588
|
+
}
|
|
47589
|
+
}, [_c('div', {
|
|
47590
|
+
class: ['cmhk-line-customs', idx === _vm.swiperIdx ? 'cmhk-line-customs-active' : '']
|
|
47591
|
+
}, [item && item.input1 ? _c('div', {
|
|
47592
|
+
staticClass: "swiper-popupup layout-pc"
|
|
47593
|
+
}, [_c('p', {
|
|
47594
|
+
staticClass: "swiper-popuptext"
|
|
47595
|
+
}, [_vm._v(_vm._s(item.input1))])]) : _vm._e()])]);
|
|
47596
|
+
}), _c('div', {
|
|
47597
|
+
staticClass: "swiper-button-puase",
|
|
47598
|
+
on: {
|
|
47599
|
+
"click": function ($event) {
|
|
47600
|
+
$event.stopPropagation();
|
|
47601
|
+
return _vm.swiperPlay.apply(null, arguments);
|
|
47602
|
+
}
|
|
47530
47603
|
}
|
|
47531
|
-
}
|
|
47604
|
+
}, [!_vm.swiperPlayVal ? _c('img', {
|
|
47605
|
+
staticClass: "playstart-image",
|
|
47606
|
+
attrs: {
|
|
47607
|
+
"src": __webpack_require__(2254)
|
|
47608
|
+
}
|
|
47609
|
+
}) : _vm._e(), _vm.swiperPlayVal ? _c('img', {
|
|
47610
|
+
staticClass: "playstop-image",
|
|
47611
|
+
attrs: {
|
|
47612
|
+
"src": __webpack_require__(2584)
|
|
47613
|
+
}
|
|
47614
|
+
}) : _vm._e()])], 2) : _vm._e()]) : _vm._e(), _c('div', {
|
|
47532
47615
|
class: {
|
|
47533
47616
|
opcacity: _vm.isOpcacity
|
|
47534
47617
|
},
|
|
@@ -47549,17 +47632,29 @@ var render = function render() {
|
|
|
47549
47632
|
};
|
|
47550
47633
|
var staticRenderFns = [];
|
|
47551
47634
|
|
|
47635
|
+
;// ./package/cms-banner/View.vue?vue&type=template&id=27afd59e&scoped=true
|
|
47636
|
+
|
|
47552
47637
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
47553
47638
|
var es_iterator_constructor = __webpack_require__(8111);
|
|
47554
47639
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
47555
47640
|
var es_iterator_for_each = __webpack_require__(7588);
|
|
47556
|
-
|
|
47641
|
+
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
|
|
47642
|
+
var swiper = __webpack_require__(828);
|
|
47643
|
+
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
47644
|
+
var swiper_esm_bundle = __webpack_require__(1532);
|
|
47645
|
+
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
47646
|
+
var jumpUrl = __webpack_require__(4102);
|
|
47647
|
+
;// ./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
|
|
47648
|
+
|
|
47649
|
+
|
|
47650
|
+
|
|
47651
|
+
|
|
47557
47652
|
|
|
47558
47653
|
|
|
47559
47654
|
|
|
47560
47655
|
|
|
47561
47656
|
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
47562
|
-
name: "cms-
|
|
47657
|
+
name: "cms-banner",
|
|
47563
47658
|
props: {
|
|
47564
47659
|
data: {
|
|
47565
47660
|
type: Object,
|
|
@@ -47583,13 +47678,25 @@ var es_iterator_for_each = __webpack_require__(7588);
|
|
|
47583
47678
|
data() {
|
|
47584
47679
|
return {
|
|
47585
47680
|
style: {},
|
|
47586
|
-
|
|
47587
|
-
|
|
47588
|
-
|
|
47589
|
-
|
|
47590
|
-
|
|
47681
|
+
// 样式
|
|
47682
|
+
isEditor: true,
|
|
47683
|
+
cmsConfig: {
|
|
47684
|
+
bannerList: []
|
|
47685
|
+
},
|
|
47686
|
+
CN: [],
|
|
47687
|
+
HK: [],
|
|
47688
|
+
EN: [],
|
|
47689
|
+
// 轮播
|
|
47690
|
+
swiperOne: null,
|
|
47691
|
+
swiperIdx: 0,
|
|
47692
|
+
swiperPlayVal: true
|
|
47591
47693
|
};
|
|
47592
47694
|
},
|
|
47695
|
+
created() {
|
|
47696
|
+
if (this.$route.path != "/editor") {
|
|
47697
|
+
this.isEditor = false;
|
|
47698
|
+
}
|
|
47699
|
+
},
|
|
47593
47700
|
mounted() {
|
|
47594
47701
|
if (this.$EventBus) {
|
|
47595
47702
|
this.$EventBus.$on("forceUpdateCom", data => {
|
|
@@ -47602,19 +47709,23 @@ var es_iterator_for_each = __webpack_require__(7588);
|
|
|
47602
47709
|
}
|
|
47603
47710
|
});
|
|
47604
47711
|
}
|
|
47712
|
+
if (this.cmsConfig.bannerList.length > 0) {
|
|
47713
|
+
this.initSwiper("bannerList");
|
|
47714
|
+
}
|
|
47605
47715
|
},
|
|
47606
47716
|
watch: {
|
|
47607
47717
|
data: {
|
|
47608
47718
|
handler(val) {
|
|
47609
47719
|
let obj = {};
|
|
47610
47720
|
val.settings.settings.forEach(item => {
|
|
47611
|
-
this.CN = item.value.
|
|
47612
|
-
this.HK = item.value.
|
|
47613
|
-
this.EN = item.value.
|
|
47721
|
+
this.CN = item.value.bannerList.CN;
|
|
47722
|
+
this.HK = item.value.bannerList.HK;
|
|
47723
|
+
this.EN = item.value.bannerList.EN;
|
|
47614
47724
|
});
|
|
47615
47725
|
val.settings.attribute.forEach(item => {
|
|
47616
47726
|
obj[item.key] = item.value;
|
|
47617
47727
|
});
|
|
47728
|
+
this.style = obj;
|
|
47618
47729
|
this.getValue(this.lang);
|
|
47619
47730
|
},
|
|
47620
47731
|
deep: true,
|
|
@@ -47635,14 +47746,7 @@ var es_iterator_for_each = __webpack_require__(7588);
|
|
|
47635
47746
|
"zh-HK": "HK",
|
|
47636
47747
|
"en-US": "EN"
|
|
47637
47748
|
};
|
|
47638
|
-
this.
|
|
47639
|
-
},
|
|
47640
|
-
foldMessText() {
|
|
47641
|
-
this.messFold = !this.messFold;
|
|
47642
|
-
},
|
|
47643
|
-
decodeJumpUrl(url) {
|
|
47644
|
-
if (!url) return;
|
|
47645
|
-
top.location.href = url;
|
|
47749
|
+
this.cmsConfig.bannerList = this[`${obj[val]}`];
|
|
47646
47750
|
},
|
|
47647
47751
|
handleNowComp() {
|
|
47648
47752
|
if (!this.isOpcacity) return;
|
|
@@ -47657,34 +47761,74 @@ var es_iterator_for_each = __webpack_require__(7588);
|
|
|
47657
47761
|
key: this.data.id
|
|
47658
47762
|
});
|
|
47659
47763
|
},
|
|
47660
|
-
|
|
47661
|
-
|
|
47662
|
-
|
|
47663
|
-
|
|
47664
|
-
|
|
47665
|
-
|
|
47666
|
-
|
|
47667
|
-
|
|
47668
|
-
|
|
47669
|
-
|
|
47670
|
-
|
|
47764
|
+
initSwiper(operationName) {
|
|
47765
|
+
const vm = this;
|
|
47766
|
+
if (operationName === "bannerList" && this.cmsConfig.bannerList.length > 0) {
|
|
47767
|
+
// 当广告个数大于1的时候才开启循环
|
|
47768
|
+
const ifLoop = this.cmsConfig.bannerList.length > 1 ? true : false;
|
|
47769
|
+
this.swiperOne = new swiper_esm_bundle/* default */.A(`#contentSwiper${this.data.id}`, {
|
|
47770
|
+
initialSlide: 0,
|
|
47771
|
+
// 初始化时slide的索引
|
|
47772
|
+
autoplay: {
|
|
47773
|
+
// 自动开始
|
|
47774
|
+
delay: 5000,
|
|
47775
|
+
// 时间间隔
|
|
47776
|
+
disableOnInteraction: false // 手动操作轮播图后不会暂停
|
|
47777
|
+
},
|
|
47778
|
+
loop: ifLoop,
|
|
47779
|
+
// 循环模式选项
|
|
47780
|
+
spaceBetween: 30,
|
|
47781
|
+
// 在slide之间设置距离
|
|
47782
|
+
observer: true,
|
|
47783
|
+
observeParents: true,
|
|
47784
|
+
on: {
|
|
47785
|
+
slideChangeTransitionEnd: function () {
|
|
47786
|
+
// swiper从一个slide过渡到另一个slide结束时执行
|
|
47787
|
+
console.log("realIndex", this.realIndex);
|
|
47788
|
+
if (this.realIndex > vm.cmsConfig.bannerList.length - 1) return;
|
|
47789
|
+
vm.swiperIdx = this.realIndex;
|
|
47790
|
+
},
|
|
47791
|
+
resize: function () {
|
|
47792
|
+
this.update(true);
|
|
47793
|
+
}
|
|
47794
|
+
}
|
|
47671
47795
|
});
|
|
47672
|
-
} else {
|
|
47673
|
-
return "";
|
|
47674
47796
|
}
|
|
47797
|
+
},
|
|
47798
|
+
// 轮播
|
|
47799
|
+
swiperPlay() {
|
|
47800
|
+
this.swiperPlayVal = !this.swiperPlayVal;
|
|
47801
|
+
this.swiperPlayVal ? this.swiperClickStart() : this.swiperClickStop();
|
|
47802
|
+
},
|
|
47803
|
+
swiperClickStop() {
|
|
47804
|
+
this.swiperOne.autoplay.stop();
|
|
47805
|
+
},
|
|
47806
|
+
swiperClickStart() {
|
|
47807
|
+
this.swiperOne.autoplay.start();
|
|
47808
|
+
},
|
|
47809
|
+
jumpToSlide(idx) {
|
|
47810
|
+
// banner 轮播PC
|
|
47811
|
+
console.log("PC点击了", idx);
|
|
47812
|
+
// 在Loop模式下Swiper切换到指定slide。切换到的是slide索引是realIndex
|
|
47813
|
+
this.swiperOne.slideToLoop(idx, 1000, false);
|
|
47814
|
+
this.swiperIdx = idx;
|
|
47815
|
+
},
|
|
47816
|
+
//跳转
|
|
47817
|
+
decodeJumpUrl(path, route) {
|
|
47818
|
+
(0,jumpUrl/* decodeJumpUrl */.u)(path, route);
|
|
47675
47819
|
}
|
|
47676
47820
|
}
|
|
47677
47821
|
});
|
|
47678
|
-
;// ./package/cms-
|
|
47679
|
-
/* harmony default export */ var
|
|
47680
|
-
;// ./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-
|
|
47822
|
+
;// ./package/cms-banner/View.vue?vue&type=script&lang=js
|
|
47823
|
+
/* harmony default export */ var cms_banner_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
47824
|
+
;// ./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=27afd59e&prod&scoped=true&lang=scss
|
|
47681
47825
|
// extracted by mini-css-extract-plugin
|
|
47682
47826
|
|
|
47683
|
-
;// ./package/cms-
|
|
47827
|
+
;// ./package/cms-banner/View.vue?vue&type=style&index=0&id=27afd59e&prod&scoped=true&lang=scss
|
|
47684
47828
|
|
|
47685
47829
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
47686
47830
|
var componentNormalizer = __webpack_require__(1656);
|
|
47687
|
-
;// ./package/cms-
|
|
47831
|
+
;// ./package/cms-banner/View.vue
|
|
47688
47832
|
|
|
47689
47833
|
|
|
47690
47834
|
|
|
@@ -47694,12 +47838,12 @@ var componentNormalizer = __webpack_require__(1656);
|
|
|
47694
47838
|
/* normalize component */
|
|
47695
47839
|
|
|
47696
47840
|
var component = (0,componentNormalizer/* default */.A)(
|
|
47697
|
-
|
|
47841
|
+
cms_banner_Viewvue_type_script_lang_js,
|
|
47698
47842
|
render,
|
|
47699
47843
|
staticRenderFns,
|
|
47700
47844
|
false,
|
|
47701
47845
|
null,
|
|
47702
|
-
"
|
|
47846
|
+
"27afd59e",
|
|
47703
47847
|
null
|
|
47704
47848
|
|
|
47705
47849
|
)
|
|
@@ -47708,155 +47852,6 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
47708
47852
|
|
|
47709
47853
|
/***/ }),
|
|
47710
47854
|
|
|
47711
|
-
/***/ 8227:
|
|
47712
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
47713
|
-
|
|
47714
|
-
"use strict";
|
|
47715
|
-
|
|
47716
|
-
var globalThis = __webpack_require__(4576);
|
|
47717
|
-
var shared = __webpack_require__(5745);
|
|
47718
|
-
var hasOwn = __webpack_require__(9297);
|
|
47719
|
-
var uid = __webpack_require__(3392);
|
|
47720
|
-
var NATIVE_SYMBOL = __webpack_require__(4495);
|
|
47721
|
-
var USE_SYMBOL_AS_UID = __webpack_require__(7040);
|
|
47722
|
-
|
|
47723
|
-
var Symbol = globalThis.Symbol;
|
|
47724
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
47725
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
47726
|
-
|
|
47727
|
-
module.exports = function (name) {
|
|
47728
|
-
if (!hasOwn(WellKnownSymbolsStore, name)) {
|
|
47729
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
|
|
47730
|
-
? Symbol[name]
|
|
47731
|
-
: createWellKnownSymbol('Symbol.' + name);
|
|
47732
|
-
} return WellKnownSymbolsStore[name];
|
|
47733
|
-
};
|
|
47734
|
-
|
|
47735
|
-
|
|
47736
|
-
/***/ }),
|
|
47737
|
-
|
|
47738
|
-
/***/ 8237:
|
|
47739
|
-
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
47740
|
-
|
|
47741
|
-
"use strict";
|
|
47742
|
-
|
|
47743
|
-
var $ = __webpack_require__(6518);
|
|
47744
|
-
var iterate = __webpack_require__(2652);
|
|
47745
|
-
var aCallable = __webpack_require__(9306);
|
|
47746
|
-
var anObject = __webpack_require__(8551);
|
|
47747
|
-
var getIteratorDirect = __webpack_require__(1767);
|
|
47748
|
-
|
|
47749
|
-
var $TypeError = TypeError;
|
|
47750
|
-
|
|
47751
|
-
// `Iterator.prototype.reduce` method
|
|
47752
|
-
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
|
47753
|
-
$({ target: 'Iterator', proto: true, real: true }, {
|
|
47754
|
-
reduce: function reduce(reducer /* , initialValue */) {
|
|
47755
|
-
anObject(this);
|
|
47756
|
-
aCallable(reducer);
|
|
47757
|
-
var record = getIteratorDirect(this);
|
|
47758
|
-
var noInitial = arguments.length < 2;
|
|
47759
|
-
var accumulator = noInitial ? undefined : arguments[1];
|
|
47760
|
-
var counter = 0;
|
|
47761
|
-
iterate(record, function (value) {
|
|
47762
|
-
if (noInitial) {
|
|
47763
|
-
noInitial = false;
|
|
47764
|
-
accumulator = value;
|
|
47765
|
-
} else {
|
|
47766
|
-
accumulator = reducer(accumulator, value, counter);
|
|
47767
|
-
}
|
|
47768
|
-
counter++;
|
|
47769
|
-
}, { IS_RECORD: true });
|
|
47770
|
-
if (noInitial) throw new $TypeError('Reduce of empty iterator with no initial value');
|
|
47771
|
-
return accumulator;
|
|
47772
|
-
}
|
|
47773
|
-
});
|
|
47774
|
-
|
|
47775
|
-
|
|
47776
|
-
/***/ }),
|
|
47777
|
-
|
|
47778
|
-
/***/ 8251:
|
|
47779
|
-
/***/ (function(module) {
|
|
47780
|
-
|
|
47781
|
-
"use strict";
|
|
47782
|
-
|
|
47783
|
-
|
|
47784
|
-
var replace = String.prototype.replace;
|
|
47785
|
-
var percentTwenties = /%20/g;
|
|
47786
|
-
var Format = {
|
|
47787
|
-
RFC1738: 'RFC1738',
|
|
47788
|
-
RFC3986: 'RFC3986'
|
|
47789
|
-
};
|
|
47790
|
-
module.exports = {
|
|
47791
|
-
'default': Format.RFC3986,
|
|
47792
|
-
formatters: {
|
|
47793
|
-
RFC1738: function (value) {
|
|
47794
|
-
return replace.call(value, percentTwenties, '+');
|
|
47795
|
-
},
|
|
47796
|
-
RFC3986: function (value) {
|
|
47797
|
-
return String(value);
|
|
47798
|
-
}
|
|
47799
|
-
},
|
|
47800
|
-
RFC1738: Format.RFC1738,
|
|
47801
|
-
RFC3986: Format.RFC3986
|
|
47802
|
-
};
|
|
47803
|
-
|
|
47804
|
-
/***/ }),
|
|
47805
|
-
|
|
47806
|
-
/***/ 8254:
|
|
47807
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
47808
|
-
|
|
47809
|
-
"use strict";
|
|
47810
|
-
__webpack_require__.r(__webpack_exports__);
|
|
47811
|
-
/* harmony import */ var core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8111);
|
|
47812
|
-
/* harmony import */ var core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
47813
|
-
/* harmony import */ var core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8237);
|
|
47814
|
-
/* harmony import */ var core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_iterator_reduce_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
47815
|
-
|
|
47816
|
-
|
|
47817
|
-
|
|
47818
|
-
|
|
47819
|
-
const modulesFiles = __webpack_require__(8607);
|
|
47820
|
-
const modules = modulesFiles.keys().reduce((modules, modulePath) => {
|
|
47821
|
-
const moduleName = modulePath.replace(/^\.\/(.*)\.\w+$/, '$1').replace('/en', '');
|
|
47822
|
-
const value = modulesFiles(modulePath);
|
|
47823
|
-
modules[moduleName] = value.default;
|
|
47824
|
-
return modules;
|
|
47825
|
-
}, {});
|
|
47826
|
-
/* harmony default export */ __webpack_exports__["default"] = (modules);
|
|
47827
|
-
|
|
47828
|
-
/***/ }),
|
|
47829
|
-
|
|
47830
|
-
/***/ 8307:
|
|
47831
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
47832
|
-
|
|
47833
|
-
"use strict";
|
|
47834
|
-
|
|
47835
|
-
|
|
47836
|
-
__webpack_require__(8111);
|
|
47837
|
-
__webpack_require__(7588);
|
|
47838
|
-
var utils = __webpack_require__(758);
|
|
47839
|
-
var defaults = __webpack_require__(9189);
|
|
47840
|
-
|
|
47841
|
-
/**
|
|
47842
|
-
* Transform the data for a request or a response
|
|
47843
|
-
*
|
|
47844
|
-
* @param {Object|String} data The data to be transformed
|
|
47845
|
-
* @param {Array} headers The headers for the request or response
|
|
47846
|
-
* @param {Array|Function} fns A single function or Array of functions
|
|
47847
|
-
* @returns {*} The resulting transformed data
|
|
47848
|
-
*/
|
|
47849
|
-
module.exports = function transformData(data, headers, fns) {
|
|
47850
|
-
var context = this || defaults;
|
|
47851
|
-
/*eslint no-param-reassign:0*/
|
|
47852
|
-
utils.forEach(fns, function transform(fn) {
|
|
47853
|
-
data = fn.call(context, data, headers);
|
|
47854
|
-
});
|
|
47855
|
-
return data;
|
|
47856
|
-
};
|
|
47857
|
-
|
|
47858
|
-
/***/ }),
|
|
47859
|
-
|
|
47860
47855
|
/***/ 8425:
|
|
47861
47856
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
47862
47857
|
|