cms-chenhj-ui 2.0.25 → 2.0.26

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.
@@ -23,6 +23,234 @@ module.exports = function (it) {
23
23
  };
24
24
 
25
25
 
26
+ /***/ }),
27
+
28
+ /***/ 38:
29
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
30
+
31
+ "use strict";
32
+ // ESM COMPAT FLAG
33
+ __webpack_require__.r(__webpack_exports__);
34
+
35
+ // EXPORTS
36
+ __webpack_require__.d(__webpack_exports__, {
37
+ "default": function() { return /* binding */ View; }
38
+ });
39
+
40
+ ;// ./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-threeScroll/View.vue?vue&type=template&id=4ecaae13&scoped=true
41
+ var render = function render() {
42
+ var _vm = this,
43
+ _c = _vm._self._c;
44
+ return _c('BaseComp', _vm._b({
45
+ attrs: {
46
+ "data": _vm.data,
47
+ "nowCompId": _vm.nowCompId,
48
+ "isOpcacity": _vm.isOpcacity,
49
+ "lang": _vm.lang
50
+ },
51
+ on: {
52
+ "getConfigData": _vm.getConfigData
53
+ }
54
+ }, 'BaseComp', _vm.$attrs, false), [_c('section', {
55
+ ref: "news",
56
+ staticClass: "cmhk-home_main"
57
+ }, [_vm.configList.length ? _c('div', {
58
+ staticClass: "section-body"
59
+ }, [_c('div', {
60
+ staticClass: "cmhk-section_corp_news-ser"
61
+ }, [_c('div', {
62
+ staticClass: "news-box_container"
63
+ }, [_c('div', {
64
+ staticClass: "news-box_swiper",
65
+ attrs: {
66
+ "id": `news-swiper${_vm.data.componentId}`
67
+ }
68
+ }, [_c('div', {
69
+ staticClass: "swiper-wrapper"
70
+ }, _vm._l(_vm.configList, function (item, inx) {
71
+ return _c('div', {
72
+ key: `${inx}${item === null || item === void 0 ? void 0 : item.id}`,
73
+ staticClass: "swiper-slide"
74
+ }, [_c('div', {
75
+ staticClass: "new-read_card read-card_bg-wt",
76
+ on: {
77
+ "click": function ($event) {
78
+ return _vm.decodeJumpUrl(item.jumpUrl);
79
+ }
80
+ }
81
+ }, [_c('div', {
82
+ staticClass: "image-desbox_wapper"
83
+ }, [_c('img', {
84
+ staticClass: "layout-pc",
85
+ attrs: {
86
+ "src": item.uploadImagePC,
87
+ "alt": item.imagePcATL
88
+ }
89
+ }), _c('img', {
90
+ staticClass: "layout-mobile",
91
+ attrs: {
92
+ "src": item.uploadImageH5,
93
+ "alt": item.imageH5ATL
94
+ }
95
+ })]), _c('div', {
96
+ staticClass: "new-read_card-content"
97
+ }, [_c('p', {
98
+ staticClass: "title"
99
+ }, [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.input1))]), _c('p', {
100
+ staticClass: "time"
101
+ }, [_vm._v(_vm._s(item.input2))]), _c('p', {
102
+ staticClass: "des"
103
+ }, [_vm._v(_vm._s(item.input3))]), item.input4 ? _c('p', {
104
+ staticClass: "continue-read"
105
+ }, [_vm._v(" " + _vm._s(item.input4) + " "), _c('i', {
106
+ staticClass: "el-icon-arrow-right"
107
+ })]) : _vm._e()])])]);
108
+ }), 0)]), _vm.configList.length > 3 ? [_c('div', {
109
+ staticClass: "pag-prev left layout-pc",
110
+ class: [_vm.swiperNewsIdx > 2 ? 'is-active' : ''],
111
+ on: {
112
+ "click": _vm.newsPrev
113
+ }
114
+ }, [_c('i', {
115
+ staticClass: "el-icon-arrow-left"
116
+ })]), _c('div', {
117
+ staticClass: "pag-next right layout-pc",
118
+ class: [_vm.swiperNewsIdx < _vm.configList.length - 1 ? 'is-active' : ''],
119
+ on: {
120
+ "click": _vm.newsNext
121
+ }
122
+ }, [_c('i', {
123
+ staticClass: "el-icon-arrow-right"
124
+ })])] : _vm._e()], 2)])]) : _vm._e()])]);
125
+ };
126
+ var staticRenderFns = [];
127
+
128
+ // EXTERNAL MODULE: ./src/utils/index.js
129
+ var utils = __webpack_require__(9563);
130
+ // EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
131
+ var swiper = __webpack_require__(828);
132
+ // EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
133
+ var swiper_esm_bundle = __webpack_require__(1532);
134
+ // EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
135
+ var baseComp = __webpack_require__(9659);
136
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-threeScroll/View.vue?vue&type=script&lang=js
137
+
138
+
139
+
140
+
141
+
142
+ /* harmony default export */ var Viewvue_type_script_lang_js = ({
143
+ name: "cms-threeScroll",
144
+ components: {
145
+ BaseComp: baseComp["default"]
146
+ },
147
+ props: {
148
+ data: {
149
+ type: Object,
150
+ default: () => {
151
+ return {};
152
+ }
153
+ },
154
+ nowCompId: {
155
+ type: [String, Number],
156
+ default: ""
157
+ },
158
+ isOpcacity: {
159
+ type: Boolean,
160
+ default: true
161
+ },
162
+ lang: {
163
+ type: String,
164
+ default: "zh-HK"
165
+ }
166
+ },
167
+ data() {
168
+ return {
169
+ configList: [],
170
+ swiperNewsIdx: 0,
171
+ newsSwiper: null
172
+ };
173
+ },
174
+ mounted() {
175
+ const vm = this;
176
+ this.$nextTick(() => {
177
+ this.newsSwiper = new swiper_esm_bundle/* default */.A(`#news-swiper${this.data.componentId}`, {
178
+ autoplay: false,
179
+ loop: false,
180
+ // 循环模式选项
181
+ slidesPerView: (0,utils/* getDevice */.Pf)() !== "mobile" ? 3 : "auto",
182
+ // spaceBetween: getDevice() !== 'mobile' ? 32 : 16, // 在slide之间设置距离
183
+ observer: true,
184
+ observeParents: true,
185
+ touchMoveStopPropagation: true,
186
+ on: {
187
+ slideChangeTransitionEnd: function () {
188
+ if ((0,utils/* getDevice */.Pf)() !== "mobile") {
189
+ vm.swiperNewsIdx = this.realIndex + 2;
190
+ } else {
191
+ vm.swiperNewsIdx = this.realIndex;
192
+ }
193
+ console.log("新闻-当前页最后一个元素下标", vm.swiperNewsIdx);
194
+ },
195
+ resize: function () {
196
+ this.update(true);
197
+ }
198
+ }
199
+ });
200
+ });
201
+ },
202
+ watch: {},
203
+ methods: {
204
+ getConfigData(configData) {
205
+ this.configList = configData.configList;
206
+ },
207
+ newsPrev() {
208
+ if (this.swiperNewsIdx > 2) {
209
+ this.newsSwiper.slidePrev();
210
+ }
211
+ },
212
+ newsNext() {
213
+ if (this.swiperNewsIdx < this.configList.length - 1) {
214
+ this.newsSwiper.slideNext();
215
+ }
216
+ },
217
+ decodeJumpUrl(url) {
218
+ if (!url) return;
219
+ top.location.href = url;
220
+ }
221
+ }
222
+ });
223
+ ;// ./package/cms-threeScroll/View.vue?vue&type=script&lang=js
224
+ /* harmony default export */ var cms_threeScroll_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
225
+ ;// ./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-threeScroll/View.vue?vue&type=style&index=0&id=4ecaae13&prod&lang=scss&scoped=true
226
+ // extracted by mini-css-extract-plugin
227
+
228
+ ;// ./package/cms-threeScroll/View.vue?vue&type=style&index=0&id=4ecaae13&prod&lang=scss&scoped=true
229
+
230
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
231
+ var componentNormalizer = __webpack_require__(1656);
232
+ ;// ./package/cms-threeScroll/View.vue
233
+
234
+
235
+
236
+ ;
237
+
238
+
239
+ /* normalize component */
240
+
241
+ var component = (0,componentNormalizer/* default */.A)(
242
+ cms_threeScroll_Viewvue_type_script_lang_js,
243
+ render,
244
+ staticRenderFns,
245
+ false,
246
+ null,
247
+ "4ecaae13",
248
+ null
249
+
250
+ )
251
+
252
+ /* harmony default export */ var View = (component.exports);
253
+
26
254
  /***/ }),
27
255
 
28
256
  /***/ 81:
@@ -20920,8 +21148,8 @@ var map = {
20920
21148
  "./cms-activityTime/index.js": 2104,
20921
21149
  "./cms-banner": 5342,
20922
21150
  "./cms-banner/": 5342,
20923
- "./cms-banner/View": 7747,
20924
- "./cms-banner/View.vue": 7747,
21151
+ "./cms-banner/View": 9894,
21152
+ "./cms-banner/View.vue": 9894,
20925
21153
  "./cms-banner/components/cmhkALabel": 1989,
20926
21154
  "./cms-banner/components/cmhkALabel.vue": 1989,
20927
21155
  "./cms-banner/index": 5342,
@@ -21071,8 +21299,8 @@ var map = {
21071
21299
  "./cms-text/index.js": 4759,
21072
21300
  "./cms-threeScroll": 1661,
21073
21301
  "./cms-threeScroll/": 1661,
21074
- "./cms-threeScroll/View": 2136,
21075
- "./cms-threeScroll/View.vue": 2136,
21302
+ "./cms-threeScroll/View": 38,
21303
+ "./cms-threeScroll/View.vue": 38,
21076
21304
  "./cms-threeScroll/index": 1661,
21077
21305
  "./cms-threeScroll/index.js": 1661,
21078
21306
  "./cms-titleCenter": 7891,
@@ -21286,7 +21514,7 @@ function normalizeComponent(
21286
21514
  __webpack_require__.r(__webpack_exports__);
21287
21515
  /* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
21288
21516
 
21289
- const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 2136));
21517
+ const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 38));
21290
21518
  const langData = {
21291
21519
  configList: [{
21292
21520
  id: Math.random().toString(),
@@ -22552,232 +22780,6 @@ function getValidateSchema(langData) {
22552
22780
 
22553
22781
  /***/ }),
22554
22782
 
22555
- /***/ 2136:
22556
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22557
-
22558
- "use strict";
22559
- // ESM COMPAT FLAG
22560
- __webpack_require__.r(__webpack_exports__);
22561
-
22562
- // EXPORTS
22563
- __webpack_require__.d(__webpack_exports__, {
22564
- "default": function() { return /* binding */ View; }
22565
- });
22566
-
22567
- ;// ./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-threeScroll/View.vue?vue&type=template&id=b5477492&scoped=true
22568
- var render = function render() {
22569
- var _vm = this,
22570
- _c = _vm._self._c;
22571
- return _c('BaseComp', _vm._b({
22572
- attrs: {
22573
- "data": _vm.data,
22574
- "nowCompId": _vm.nowCompId,
22575
- "isOpcacity": _vm.isOpcacity,
22576
- "lang": _vm.lang
22577
- },
22578
- on: {
22579
- "getConfigData": _vm.getConfigData
22580
- }
22581
- }, 'BaseComp', _vm.$attrs, false), [_c('section', {
22582
- ref: "news",
22583
- staticClass: "cmhk-home_main"
22584
- }, [_vm.configList.length ? _c('div', {
22585
- staticClass: "section-body"
22586
- }, [_c('div', {
22587
- staticClass: "cmhk-section_corp_news-ser"
22588
- }, [_c('div', {
22589
- staticClass: "news-box_container"
22590
- }, [_c('div', {
22591
- staticClass: "news-box_swiper",
22592
- attrs: {
22593
- "id": `news-swiper${_vm.data.componentId}`
22594
- }
22595
- }, [_c('div', {
22596
- staticClass: "swiper-wrapper"
22597
- }, _vm._l(_vm.configList, function (item, inx) {
22598
- return _c('div', {
22599
- key: `${inx}${item === null || item === void 0 ? void 0 : item.id}`,
22600
- staticClass: "swiper-slide"
22601
- }, [_c('div', {
22602
- staticClass: "new-read_card read-card_bg-wt",
22603
- on: {
22604
- "click": function ($event) {
22605
- return _vm.decodeJumpUrl(item.jumpUrl);
22606
- }
22607
- }
22608
- }, [_c('div', {
22609
- staticClass: "image-desbox_wapper"
22610
- }, [_c('img', {
22611
- staticClass: "layout-pc",
22612
- attrs: {
22613
- "src": item.uploadImagePC,
22614
- "alt": item.imagePcATL
22615
- }
22616
- }), _c('img', {
22617
- staticClass: "layout-mobile",
22618
- attrs: {
22619
- "src": item.uploadImageH5,
22620
- "alt": item.imageH5ATL
22621
- }
22622
- })]), _c('div', {
22623
- staticClass: "new-read_card-content"
22624
- }, [_c('p', {
22625
- staticClass: "title"
22626
- }, [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.input1))]), _c('p', {
22627
- staticClass: "time"
22628
- }, [_vm._v(_vm._s(item.input2))]), _c('p', {
22629
- staticClass: "des"
22630
- }, [_vm._v(_vm._s(item.input3))]), item.input4 ? _c('p', {
22631
- staticClass: "continue-read"
22632
- }, [_vm._v(" " + _vm._s(item.input4) + " "), _c('i', {
22633
- staticClass: "el-icon-arrow-right"
22634
- })]) : _vm._e()])])]);
22635
- }), 0)]), _vm.configList.length > 3 ? [_c('div', {
22636
- staticClass: "pag-prev left layout-pc",
22637
- class: [_vm.swiperNewsIdx > 2 ? 'is-active' : ''],
22638
- on: {
22639
- "click": _vm.newsPrev
22640
- }
22641
- }, [_c('i', {
22642
- staticClass: "el-icon-arrow-left"
22643
- })]), _c('div', {
22644
- staticClass: "pag-next right layout-pc",
22645
- class: [_vm.swiperNewsIdx < _vm.configList.length - 1 ? 'is-active' : ''],
22646
- on: {
22647
- "click": _vm.newsNext
22648
- }
22649
- }, [_c('i', {
22650
- staticClass: "el-icon-arrow-right"
22651
- })])] : _vm._e()], 2)])]) : _vm._e()])]);
22652
- };
22653
- var staticRenderFns = [];
22654
-
22655
- // EXTERNAL MODULE: ./src/utils/index.js
22656
- var utils = __webpack_require__(9563);
22657
- // EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
22658
- var swiper = __webpack_require__(828);
22659
- // EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
22660
- var swiper_esm_bundle = __webpack_require__(1532);
22661
- // EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
22662
- var baseComp = __webpack_require__(9659);
22663
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-threeScroll/View.vue?vue&type=script&lang=js
22664
-
22665
-
22666
-
22667
-
22668
-
22669
- /* harmony default export */ var Viewvue_type_script_lang_js = ({
22670
- name: "cms-threeScroll",
22671
- components: {
22672
- BaseComp: baseComp["default"]
22673
- },
22674
- props: {
22675
- data: {
22676
- type: Object,
22677
- default: () => {
22678
- return {};
22679
- }
22680
- },
22681
- nowCompId: {
22682
- type: [String, Number],
22683
- default: ""
22684
- },
22685
- isOpcacity: {
22686
- type: Boolean,
22687
- default: true
22688
- },
22689
- lang: {
22690
- type: String,
22691
- default: "zh-HK"
22692
- }
22693
- },
22694
- data() {
22695
- return {
22696
- configList: [],
22697
- swiperNewsIdx: 0,
22698
- newsSwiper: null
22699
- };
22700
- },
22701
- mounted() {
22702
- const vm = this;
22703
- this.newsSwiper = new swiper_esm_bundle/* default */.A(`#news-swiper${this.data.componentId}`, {
22704
- autoplay: false,
22705
- loop: false,
22706
- // 循环模式选项
22707
- slidesPerView: (0,utils/* getDevice */.Pf)() !== "mobile" ? 3 : "auto",
22708
- // spaceBetween: getDevice() !== 'mobile' ? 32 : 16, // 在slide之间设置距离
22709
- observer: true,
22710
- observeParents: true,
22711
- touchMoveStopPropagation: true,
22712
- on: {
22713
- slideChangeTransitionEnd: function () {
22714
- if ((0,utils/* getDevice */.Pf)() !== "mobile") {
22715
- vm.swiperNewsIdx = this.realIndex + 2;
22716
- } else {
22717
- vm.swiperNewsIdx = this.realIndex;
22718
- }
22719
- console.log("新闻-当前页最后一个元素下标", vm.swiperNewsIdx);
22720
- },
22721
- resize: function () {
22722
- this.update(true);
22723
- }
22724
- }
22725
- });
22726
- },
22727
- watch: {},
22728
- methods: {
22729
- getConfigData(configData) {
22730
- this.configList = configData.configList;
22731
- },
22732
- newsPrev() {
22733
- if (this.swiperNewsIdx > 2) {
22734
- this.newsSwiper.slidePrev();
22735
- }
22736
- },
22737
- newsNext() {
22738
- if (this.swiperNewsIdx < this.configList.length - 1) {
22739
- this.newsSwiper.slideNext();
22740
- }
22741
- },
22742
- decodeJumpUrl(url) {
22743
- if (!url) return;
22744
- top.location.href = url;
22745
- }
22746
- }
22747
- });
22748
- ;// ./package/cms-threeScroll/View.vue?vue&type=script&lang=js
22749
- /* harmony default export */ var cms_threeScroll_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
22750
- ;// ./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-threeScroll/View.vue?vue&type=style&index=0&id=b5477492&prod&lang=scss&scoped=true
22751
- // extracted by mini-css-extract-plugin
22752
-
22753
- ;// ./package/cms-threeScroll/View.vue?vue&type=style&index=0&id=b5477492&prod&lang=scss&scoped=true
22754
-
22755
- // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
22756
- var componentNormalizer = __webpack_require__(1656);
22757
- ;// ./package/cms-threeScroll/View.vue
22758
-
22759
-
22760
-
22761
- ;
22762
-
22763
-
22764
- /* normalize component */
22765
-
22766
- var component = (0,componentNormalizer/* default */.A)(
22767
- cms_threeScroll_Viewvue_type_script_lang_js,
22768
- render,
22769
- staticRenderFns,
22770
- false,
22771
- null,
22772
- "b5477492",
22773
- null
22774
-
22775
- )
22776
-
22777
- /* harmony default export */ var View = (component.exports);
22778
-
22779
- /***/ }),
22780
-
22781
22783
  /***/ 2140:
22782
22784
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22783
22785
 
@@ -34458,7 +34460,7 @@ const configDataType = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getLangDataTy
34458
34460
  borderColor: {
34459
34461
  label: "边框颜色",
34460
34462
  widgetType: "el-color-picker",
34461
- predefine: ['#2F85FF', '#f48427', '#52C41A', '#D6197F']
34463
+ predefine: ["#2F85FF", "#f48427", "#52C41A", "#D6197F"]
34462
34464
  },
34463
34465
  borderRadius: {
34464
34466
  label: "圆角(px)",
@@ -34472,7 +34474,7 @@ const configDataType = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getLangDataTy
34472
34474
  backgroundColor: {
34473
34475
  label: "背景颜色",
34474
34476
  widgetType: "el-color-picker",
34475
- predefine: ['#2F85FF', '#f48427', '#52C41A', '#D6197F']
34477
+ predefine: ["#2F85FF", "#f48427", "#52C41A", "#D6197F"]
34476
34478
  },
34477
34479
  backgroundImage: {
34478
34480
  label: "背景图片",
@@ -34497,7 +34499,8 @@ const validateSchema = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getValidateSc
34497
34499
  settings: cmsCompName => {
34498
34500
  return (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getInitCompData)({
34499
34501
  cmsCompName,
34500
- langData
34502
+ langData,
34503
+ isLangAll: true
34501
34504
  });
34502
34505
  }
34503
34506
  });
@@ -39326,7 +39329,7 @@ var map = {
39326
39329
  "./cms-aLineThreeLeftTwo/View.vue": 136,
39327
39330
  "./cms-activityCountdown/View.vue": 4115,
39328
39331
  "./cms-activityTime/View.vue": 2620,
39329
- "./cms-banner/View.vue": 7747,
39332
+ "./cms-banner/View.vue": 9894,
39330
39333
  "./cms-button/View.vue": 1163,
39331
39334
  "./cms-cells/View.vue": 983,
39332
39335
  "./cms-column-card/View.vue": 688,
@@ -39350,7 +39353,7 @@ var map = {
39350
39353
  "./cms-servePlan-text/View.vue": 4726,
39351
39354
  "./cms-termsAndConditions/View.vue": 7060,
39352
39355
  "./cms-text/View.vue": 7326,
39353
- "./cms-threeScroll/View.vue": 2136,
39356
+ "./cms-threeScroll/View.vue": 38,
39354
39357
  "./cms-titleCenter/View.vue": 788,
39355
39358
  "./cms-titleLeft/View.vue": 7284,
39356
39359
  "./cms-via-storedValueCard/View.vue": 4160,
@@ -39429,7 +39432,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAEQCAYAAADm
39429
39432
  __webpack_require__.r(__webpack_exports__);
39430
39433
  /* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
39431
39434
 
39432
- const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 7747));
39435
+ const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 9894));
39433
39436
  const langData = {
39434
39437
  configList: [{
39435
39438
  id: Math.random().toString(),
@@ -48888,310 +48891,6 @@ module.exports = function (target, source, exceptions) {
48888
48891
  };
48889
48892
 
48890
48893
 
48891
- /***/ }),
48892
-
48893
- /***/ 7747:
48894
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
48895
-
48896
- "use strict";
48897
- // ESM COMPAT FLAG
48898
- __webpack_require__.r(__webpack_exports__);
48899
-
48900
- // EXPORTS
48901
- __webpack_require__.d(__webpack_exports__, {
48902
- "default": function() { return /* binding */ View; }
48903
- });
48904
-
48905
- ;// ./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=355e1f51&scoped=true
48906
- var render = function render() {
48907
- var _vm$configList$_vm$sw;
48908
- var _vm = this,
48909
- _c = _vm._self._c;
48910
- return _c('BaseComp', _vm._b({
48911
- attrs: {
48912
- "data": _vm.data,
48913
- "nowCompId": _vm.nowCompId,
48914
- "isOpcacity": _vm.isOpcacity,
48915
- "lang": _vm.lang
48916
- },
48917
- on: {
48918
- "getConfigData": _vm.getConfigData
48919
- }
48920
- }, 'BaseComp', _vm.$attrs, false), [_c('div', {
48921
- staticClass: "content-swiper tt_banner"
48922
- }, [_vm.configList.length > 0 ? _c('div', {
48923
- staticClass: "relative position"
48924
- }, [_c('div', {
48925
- staticClass: "my_banner"
48926
- }, [_c('div', {
48927
- staticClass: "swiper-container_contentswiper",
48928
- attrs: {
48929
- "id": `contentSwiper${_vm.data.componentId}`
48930
- }
48931
- }, [_c('div', {
48932
- staticClass: "swiper-wrapper"
48933
- }, _vm._l(_vm.configList, function (item, inx) {
48934
- return _c('div', {
48935
- key: inx,
48936
- staticClass: "swiper-slide"
48937
- }, [item ? _c('div', {
48938
- staticClass: "swiper-banner_box",
48939
- on: {
48940
- "click": function ($event) {
48941
- return _vm.decodeJumpUrl(item.jumpUrl, _vm.$router);
48942
- }
48943
- }
48944
- }, [_c('img', {
48945
- staticClass: "swiper-banner_image layout-pc",
48946
- attrs: {
48947
- "src": item.uploadImagePC,
48948
- "alt": "PC"
48949
- }
48950
- }), _c('img', {
48951
- staticClass: "swiper-banner_image layout-mobile",
48952
- attrs: {
48953
- "src": item.uploadImageH5,
48954
- "alt": "H5"
48955
- }
48956
- }), _c('div', {
48957
- staticClass: "extra-swiper_box layout-pc"
48958
- }, [item.title ? _c('div', {
48959
- staticClass: "swiper-contentbtn"
48960
- }, [_c('span', [_vm._v(_vm._s(item.title))])]) : _vm._e(), item.des ? _c('div', {
48961
- staticClass: "swiper-labels"
48962
- }, [_c('span', [_vm._v(_vm._s(item.des))])]) : _vm._e(), _c('div', {
48963
- staticClass: "swiper-btn_container"
48964
- }, [item.input1 != '' ? _c('a', {
48965
- attrs: {
48966
- "href": item.jumpUrl1,
48967
- "target": "_self"
48968
- }
48969
- }, [_c('button', {
48970
- staticClass: "swiper-opbtn have-arrow"
48971
- }, [_c('span', [_vm._v(_vm._s(item.input1))])])]) : _vm._e(), item.input2 != '' ? _c('a', {
48972
- attrs: {
48973
- "href": item.jumpUrl2,
48974
- "target": "_self"
48975
- }
48976
- }, [_c('button', {
48977
- staticClass: "swiper-opbtn_wt"
48978
- }, [_c('span', [_vm._v(_vm._s(item.input2))])])]) : _vm._e()])])]) : _vm._e()]);
48979
- }), 0)])]), _vm.configList[_vm.swiperIdx].title || _vm.configList[_vm.swiperIdx].des || _vm.configList[_vm.swiperIdx].input1 || _vm.configList[_vm.swiperIdx].input2 || (_vm$configList$_vm$sw = _vm.configList[_vm.swiperIdx]) !== null && _vm$configList$_vm$sw !== void 0 && _vm$configList$_vm$sw.input3 ? _c('div', {
48980
- staticClass: "mb-swiper_box layout-mobile"
48981
- }, [_vm.configList[_vm.swiperIdx].title ? _c('div', {
48982
- staticClass: "swiper-contentbtn"
48983
- }, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].title))])]) : _vm._e(), _vm.configList[_vm.swiperIdx].des ? _c('div', {
48984
- staticClass: "swiper-label"
48985
- }, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].des))])]) : _vm._e(), _c('div', {
48986
- staticClass: "swiper-btn_container"
48987
- }, [_vm.configList[_vm.swiperIdx].input1 ? _c('a', {
48988
- attrs: {
48989
- "href": _vm.configList[_vm.swiperIdx].jumpUrl1,
48990
- "target": "_self"
48991
- }
48992
- }, [_c('button', {
48993
- staticClass: "swiper-opbtn have-arrow"
48994
- }, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].input1))])])]) : _vm._e(), _vm.configList[_vm.swiperIdx].input2 ? _c('a', {
48995
- attrs: {
48996
- "href": _vm.configList[_vm.swiperIdx].jumpUrl2,
48997
- "target": "_self"
48998
- }
48999
- }, [_c('button', {
49000
- staticClass: "swiper-opbtn_wt have-arrow"
49001
- }, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].input2))])])]) : _vm._e()])]) : _vm._e(), _vm.configList.length > 1 ? _c('div', {
49002
- staticClass: "cmhk-swiper-button-number"
49003
- }, [_vm._l(_vm.configList, function (item, idx) {
49004
- return _c('div', {
49005
- key: idx,
49006
- staticClass: "line-customs_wrapper",
49007
- on: {
49008
- "click": function ($event) {
49009
- $event.stopPropagation();
49010
- return _vm.jumpToSlide(idx);
49011
- }
49012
- }
49013
- }, [_c('div', {
49014
- class: ['cmhk-line-customs', idx === _vm.swiperIdx ? 'cmhk-line-customs-active' : '']
49015
- }, [item && item.input1 ? _c('div', {
49016
- staticClass: "swiper-popupup layout-pc"
49017
- }, [_c('p', {
49018
- staticClass: "swiper-popuptext"
49019
- }, [_vm._v(_vm._s(item.input1))])]) : _vm._e()])]);
49020
- }), _c('div', {
49021
- staticClass: "swiper-button-puase",
49022
- on: {
49023
- "click": function ($event) {
49024
- $event.stopPropagation();
49025
- return _vm.swiperPlay.apply(null, arguments);
49026
- }
49027
- }
49028
- }, [!_vm.swiperPlayVal ? _c('img', {
49029
- staticClass: "playstart-image",
49030
- attrs: {
49031
- "src": __webpack_require__(2254)
49032
- }
49033
- }) : _vm._e(), _vm.swiperPlayVal ? _c('img', {
49034
- staticClass: "playstop-image",
49035
- attrs: {
49036
- "src": __webpack_require__(2584)
49037
- }
49038
- }) : _vm._e()])], 2) : _vm._e()]) : _vm._e()])]);
49039
- };
49040
- var staticRenderFns = [];
49041
-
49042
- ;// ./package/cms-banner/View.vue?vue&type=template&id=355e1f51&scoped=true
49043
-
49044
- // EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
49045
- var swiper = __webpack_require__(828);
49046
- // EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
49047
- var swiper_esm_bundle = __webpack_require__(1532);
49048
- // EXTERNAL MODULE: ./src/utils/jumpUrl.js
49049
- var jumpUrl = __webpack_require__(4102);
49050
- // EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
49051
- var baseComp = __webpack_require__(9659);
49052
- ;// ./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
49053
-
49054
-
49055
-
49056
-
49057
-
49058
- /* harmony default export */ var Viewvue_type_script_lang_js = ({
49059
- name: "cms-banner",
49060
- components: {
49061
- BaseComp: baseComp["default"]
49062
- },
49063
- props: {
49064
- data: {
49065
- type: Object,
49066
- default: () => {
49067
- return {};
49068
- }
49069
- },
49070
- nowCompId: {
49071
- type: [String, Number],
49072
- default: ""
49073
- },
49074
- isOpcacity: {
49075
- type: Boolean,
49076
- default: true
49077
- },
49078
- lang: {
49079
- type: String,
49080
- default: "zh-HK"
49081
- }
49082
- },
49083
- data() {
49084
- return {
49085
- configList: [],
49086
- // 轮播
49087
- swiperOne: null,
49088
- swiperIdx: 0,
49089
- swiperPlayVal: true
49090
- };
49091
- },
49092
- created() {},
49093
- mounted() {
49094
- // if (this.configList.length > 0) {
49095
- // this.initSwiper("bannerList");
49096
- // }
49097
- },
49098
- watch: {},
49099
- methods: {
49100
- getConfigData(configData) {
49101
- this.configList = configData.configList;
49102
- this.$nextTick(() => {
49103
- this.initSwiper();
49104
- });
49105
- },
49106
- initSwiper() {
49107
- const vm = this;
49108
- if (this.configList.length > 0) {
49109
- // 当广告个数大于1的时候才开启循环
49110
- const ifLoop = this.configList.length > 1 ? true : false;
49111
- this.swiperOne = new swiper_esm_bundle/* default */.A(`#contentSwiper${this.data.componentId}`, {
49112
- initialSlide: 0,
49113
- // 初始化时slide的索引
49114
- autoplay: {
49115
- // 自动开始
49116
- delay: 5000,
49117
- // 时间间隔
49118
- disableOnInteraction: false // 手动操作轮播图后不会暂停
49119
- },
49120
- loop: ifLoop,
49121
- // 循环模式选项
49122
- spaceBetween: 30,
49123
- // 在slide之间设置距离
49124
- observer: true,
49125
- observeParents: true,
49126
- on: {
49127
- slideChangeTransitionEnd: function () {
49128
- // swiper从一个slide过渡到另一个slide结束时执行
49129
- console.log("realIndex", this.realIndex);
49130
- if (this.realIndex > vm.configList.length - 1) return;
49131
- vm.swiperIdx = this.realIndex;
49132
- },
49133
- resize: function () {
49134
- this.update(true);
49135
- }
49136
- }
49137
- });
49138
- }
49139
- },
49140
- // 轮播
49141
- swiperPlay() {
49142
- this.swiperPlayVal = !this.swiperPlayVal;
49143
- this.swiperPlayVal ? this.swiperClickStart() : this.swiperClickStop();
49144
- },
49145
- swiperClickStop() {
49146
- this.swiperOne.autoplay.stop();
49147
- },
49148
- swiperClickStart() {
49149
- this.swiperOne.autoplay.start();
49150
- },
49151
- jumpToSlide(idx) {
49152
- // banner 轮播PC
49153
- console.log("PC点击了", idx);
49154
- // 在Loop模式下Swiper切换到指定slide。切换到的是slide索引是realIndex
49155
- this.swiperOne.slideToLoop(idx, 1000, false);
49156
- this.swiperIdx = idx;
49157
- },
49158
- //跳转
49159
- decodeJumpUrl(path, route) {
49160
- (0,jumpUrl/* decodeJumpUrl */.u)(path, route);
49161
- }
49162
- }
49163
- });
49164
- ;// ./package/cms-banner/View.vue?vue&type=script&lang=js
49165
- /* harmony default export */ var cms_banner_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
49166
- ;// ./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=355e1f51&prod&scoped=true&lang=scss
49167
- // extracted by mini-css-extract-plugin
49168
-
49169
- ;// ./package/cms-banner/View.vue?vue&type=style&index=0&id=355e1f51&prod&scoped=true&lang=scss
49170
-
49171
- // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
49172
- var componentNormalizer = __webpack_require__(1656);
49173
- ;// ./package/cms-banner/View.vue
49174
-
49175
-
49176
-
49177
- ;
49178
-
49179
-
49180
- /* normalize component */
49181
-
49182
- var component = (0,componentNormalizer/* default */.A)(
49183
- cms_banner_Viewvue_type_script_lang_js,
49184
- render,
49185
- staticRenderFns,
49186
- false,
49187
- null,
49188
- "355e1f51",
49189
- null
49190
-
49191
- )
49192
-
49193
- /* harmony default export */ var View = (component.exports);
49194
-
49195
48894
  /***/ }),
49196
48895
 
49197
48896
  /***/ 7750:
@@ -60313,6 +60012,310 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAMAAADx
60313
60012
 
60314
60013
  /***/ }),
60315
60014
 
60015
+ /***/ 9894:
60016
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
60017
+
60018
+ "use strict";
60019
+ // ESM COMPAT FLAG
60020
+ __webpack_require__.r(__webpack_exports__);
60021
+
60022
+ // EXPORTS
60023
+ __webpack_require__.d(__webpack_exports__, {
60024
+ "default": function() { return /* binding */ View; }
60025
+ });
60026
+
60027
+ ;// ./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=379acd83&scoped=true
60028
+ var render = function render() {
60029
+ var _vm$configList$_vm$sw;
60030
+ var _vm = this,
60031
+ _c = _vm._self._c;
60032
+ return _c('BaseComp', _vm._b({
60033
+ attrs: {
60034
+ "data": _vm.data,
60035
+ "nowCompId": _vm.nowCompId,
60036
+ "isOpcacity": _vm.isOpcacity,
60037
+ "lang": _vm.lang
60038
+ },
60039
+ on: {
60040
+ "getConfigData": _vm.getConfigData
60041
+ }
60042
+ }, 'BaseComp', _vm.$attrs, false), [_c('div', {
60043
+ staticClass: "content-swiper tt_banner"
60044
+ }, [_vm.configList.length > 0 ? _c('div', {
60045
+ staticClass: "relative position"
60046
+ }, [_c('div', {
60047
+ staticClass: "my_banner"
60048
+ }, [_c('div', {
60049
+ staticClass: "swiper-container_contentswiper",
60050
+ attrs: {
60051
+ "id": `contentSwiper${_vm.data.componentId}`
60052
+ }
60053
+ }, [_c('div', {
60054
+ staticClass: "swiper-wrapper"
60055
+ }, _vm._l(_vm.configList, function (item, inx) {
60056
+ return _c('div', {
60057
+ key: inx,
60058
+ staticClass: "swiper-slide"
60059
+ }, [item ? _c('div', {
60060
+ staticClass: "swiper-banner_box",
60061
+ on: {
60062
+ "click": function ($event) {
60063
+ return _vm.decodeJumpUrl(item.jumpUrl, _vm.$router);
60064
+ }
60065
+ }
60066
+ }, [_c('img', {
60067
+ staticClass: "swiper-banner_image layout-pc",
60068
+ attrs: {
60069
+ "src": item.uploadImagePC,
60070
+ "alt": "PC"
60071
+ }
60072
+ }), _c('img', {
60073
+ staticClass: "swiper-banner_image layout-mobile",
60074
+ attrs: {
60075
+ "src": item.uploadImageH5,
60076
+ "alt": "H5"
60077
+ }
60078
+ }), _c('div', {
60079
+ staticClass: "extra-swiper_box layout-pc"
60080
+ }, [item.title ? _c('div', {
60081
+ staticClass: "swiper-contentbtn"
60082
+ }, [_c('span', [_vm._v(_vm._s(item.title))])]) : _vm._e(), item.des ? _c('div', {
60083
+ staticClass: "swiper-labels"
60084
+ }, [_c('span', [_vm._v(_vm._s(item.des))])]) : _vm._e(), _c('div', {
60085
+ staticClass: "swiper-btn_container"
60086
+ }, [item.input1 != '' ? _c('a', {
60087
+ attrs: {
60088
+ "href": item.jumpUrl1,
60089
+ "target": "_self"
60090
+ }
60091
+ }, [_c('button', {
60092
+ staticClass: "swiper-opbtn have-arrow"
60093
+ }, [_c('span', [_vm._v(_vm._s(item.input1))])])]) : _vm._e(), item.input2 != '' ? _c('a', {
60094
+ attrs: {
60095
+ "href": item.jumpUrl2,
60096
+ "target": "_self"
60097
+ }
60098
+ }, [_c('button', {
60099
+ staticClass: "swiper-opbtn_wt"
60100
+ }, [_c('span', [_vm._v(_vm._s(item.input2))])])]) : _vm._e()])])]) : _vm._e()]);
60101
+ }), 0)])]), _vm.configList[_vm.swiperIdx].title || _vm.configList[_vm.swiperIdx].des || _vm.configList[_vm.swiperIdx].input1 || _vm.configList[_vm.swiperIdx].input2 || (_vm$configList$_vm$sw = _vm.configList[_vm.swiperIdx]) !== null && _vm$configList$_vm$sw !== void 0 && _vm$configList$_vm$sw.input3 ? _c('div', {
60102
+ staticClass: "mb-swiper_box layout-mobile"
60103
+ }, [_vm.configList[_vm.swiperIdx].title ? _c('div', {
60104
+ staticClass: "swiper-contentbtn"
60105
+ }, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].title))])]) : _vm._e(), _vm.configList[_vm.swiperIdx].des ? _c('div', {
60106
+ staticClass: "swiper-label"
60107
+ }, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].des))])]) : _vm._e(), _c('div', {
60108
+ staticClass: "swiper-btn_container"
60109
+ }, [_vm.configList[_vm.swiperIdx].input1 ? _c('a', {
60110
+ attrs: {
60111
+ "href": _vm.configList[_vm.swiperIdx].jumpUrl1,
60112
+ "target": "_self"
60113
+ }
60114
+ }, [_c('button', {
60115
+ staticClass: "swiper-opbtn have-arrow"
60116
+ }, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].input1))])])]) : _vm._e(), _vm.configList[_vm.swiperIdx].input2 ? _c('a', {
60117
+ attrs: {
60118
+ "href": _vm.configList[_vm.swiperIdx].jumpUrl2,
60119
+ "target": "_self"
60120
+ }
60121
+ }, [_c('button', {
60122
+ staticClass: "swiper-opbtn_wt have-arrow"
60123
+ }, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].input2))])])]) : _vm._e()])]) : _vm._e(), _vm.configList.length > 1 ? _c('div', {
60124
+ staticClass: "cmhk-swiper-button-number"
60125
+ }, [_vm._l(_vm.configList, function (item, idx) {
60126
+ return _c('div', {
60127
+ key: idx,
60128
+ staticClass: "line-customs_wrapper",
60129
+ on: {
60130
+ "click": function ($event) {
60131
+ $event.stopPropagation();
60132
+ return _vm.jumpToSlide(idx);
60133
+ }
60134
+ }
60135
+ }, [_c('div', {
60136
+ class: ['cmhk-line-customs', idx === _vm.swiperIdx ? 'cmhk-line-customs-active' : '']
60137
+ }, [item && item.input1 ? _c('div', {
60138
+ staticClass: "swiper-popupup layout-pc"
60139
+ }, [_c('p', {
60140
+ staticClass: "swiper-popuptext"
60141
+ }, [_vm._v(_vm._s(item.input1))])]) : _vm._e()])]);
60142
+ }), _c('div', {
60143
+ staticClass: "swiper-button-puase",
60144
+ on: {
60145
+ "click": function ($event) {
60146
+ $event.stopPropagation();
60147
+ return _vm.swiperPlay.apply(null, arguments);
60148
+ }
60149
+ }
60150
+ }, [!_vm.swiperPlayVal ? _c('img', {
60151
+ staticClass: "playstart-image",
60152
+ attrs: {
60153
+ "src": __webpack_require__(2254)
60154
+ }
60155
+ }) : _vm._e(), _vm.swiperPlayVal ? _c('img', {
60156
+ staticClass: "playstop-image",
60157
+ attrs: {
60158
+ "src": __webpack_require__(2584)
60159
+ }
60160
+ }) : _vm._e()])], 2) : _vm._e()]) : _vm._e()])]);
60161
+ };
60162
+ var staticRenderFns = [];
60163
+
60164
+ ;// ./package/cms-banner/View.vue?vue&type=template&id=379acd83&scoped=true
60165
+
60166
+ // EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
60167
+ var swiper = __webpack_require__(828);
60168
+ // EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
60169
+ var swiper_esm_bundle = __webpack_require__(1532);
60170
+ // EXTERNAL MODULE: ./src/utils/jumpUrl.js
60171
+ var jumpUrl = __webpack_require__(4102);
60172
+ // EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
60173
+ var baseComp = __webpack_require__(9659);
60174
+ ;// ./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
60175
+
60176
+
60177
+
60178
+
60179
+
60180
+ /* harmony default export */ var Viewvue_type_script_lang_js = ({
60181
+ name: "cms-banner",
60182
+ components: {
60183
+ BaseComp: baseComp["default"]
60184
+ },
60185
+ props: {
60186
+ data: {
60187
+ type: Object,
60188
+ default: () => {
60189
+ return {};
60190
+ }
60191
+ },
60192
+ nowCompId: {
60193
+ type: [String, Number],
60194
+ default: ""
60195
+ },
60196
+ isOpcacity: {
60197
+ type: Boolean,
60198
+ default: true
60199
+ },
60200
+ lang: {
60201
+ type: String,
60202
+ default: "zh-HK"
60203
+ }
60204
+ },
60205
+ data() {
60206
+ return {
60207
+ configList: [],
60208
+ // 轮播
60209
+ swiperOne: null,
60210
+ swiperIdx: 0,
60211
+ swiperPlayVal: true
60212
+ };
60213
+ },
60214
+ created() {},
60215
+ mounted() {
60216
+ // if (this.configList.length > 0) {
60217
+ // this.initSwiper("bannerList");
60218
+ // }
60219
+ },
60220
+ watch: {},
60221
+ methods: {
60222
+ getConfigData(configData) {
60223
+ this.configList = configData.configList;
60224
+ this.$nextTick(() => {
60225
+ this.initSwiper();
60226
+ });
60227
+ },
60228
+ initSwiper() {
60229
+ const vm = this;
60230
+ if (this.configList.length > 0) {
60231
+ // 当广告个数大于1的时候才开启循环
60232
+ const ifLoop = this.configList.length > 1 ? true : false;
60233
+ this.swiperOne = new swiper_esm_bundle/* default */.A(`#contentSwiper${this.data.componentId}`, {
60234
+ initialSlide: 0,
60235
+ // 初始化时slide的索引
60236
+ autoplay: {
60237
+ // 自动开始
60238
+ delay: 5000,
60239
+ // 时间间隔
60240
+ disableOnInteraction: false // 手动操作轮播图后不会暂停
60241
+ },
60242
+ loop: ifLoop,
60243
+ // 循环模式选项
60244
+ spaceBetween: 30,
60245
+ // 在slide之间设置距离
60246
+ observer: true,
60247
+ observeParents: true,
60248
+ on: {
60249
+ slideChangeTransitionEnd: function () {
60250
+ // swiper从一个slide过渡到另一个slide结束时执行
60251
+ console.log("realIndex", this.realIndex);
60252
+ if (this.realIndex > vm.configList.length - 1) return;
60253
+ vm.swiperIdx = this.realIndex;
60254
+ },
60255
+ resize: function () {
60256
+ this.update(true);
60257
+ }
60258
+ }
60259
+ });
60260
+ }
60261
+ },
60262
+ // 轮播
60263
+ swiperPlay() {
60264
+ this.swiperPlayVal = !this.swiperPlayVal;
60265
+ this.swiperPlayVal ? this.swiperClickStart() : this.swiperClickStop();
60266
+ },
60267
+ swiperClickStop() {
60268
+ this.swiperOne.autoplay.stop();
60269
+ },
60270
+ swiperClickStart() {
60271
+ this.swiperOne.autoplay.start();
60272
+ },
60273
+ jumpToSlide(idx) {
60274
+ // banner 轮播PC
60275
+ console.log("PC点击了", idx);
60276
+ // 在Loop模式下Swiper切换到指定slide。切换到的是slide索引是realIndex
60277
+ this.swiperOne.slideToLoop(idx, 1000, false);
60278
+ this.swiperIdx = idx;
60279
+ },
60280
+ //跳转
60281
+ decodeJumpUrl(path, route) {
60282
+ (0,jumpUrl/* decodeJumpUrl */.u)(path, route);
60283
+ }
60284
+ }
60285
+ });
60286
+ ;// ./package/cms-banner/View.vue?vue&type=script&lang=js
60287
+ /* harmony default export */ var cms_banner_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
60288
+ ;// ./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=379acd83&prod&scoped=true&lang=scss
60289
+ // extracted by mini-css-extract-plugin
60290
+
60291
+ ;// ./package/cms-banner/View.vue?vue&type=style&index=0&id=379acd83&prod&scoped=true&lang=scss
60292
+
60293
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
60294
+ var componentNormalizer = __webpack_require__(1656);
60295
+ ;// ./package/cms-banner/View.vue
60296
+
60297
+
60298
+
60299
+ ;
60300
+
60301
+
60302
+ /* normalize component */
60303
+
60304
+ var component = (0,componentNormalizer/* default */.A)(
60305
+ cms_banner_Viewvue_type_script_lang_js,
60306
+ render,
60307
+ staticRenderFns,
60308
+ false,
60309
+ null,
60310
+ "379acd83",
60311
+ null
60312
+
60313
+ )
60314
+
60315
+ /* harmony default export */ var View = (component.exports);
60316
+
60317
+ /***/ }),
60318
+
60316
60319
  /***/ 9928:
60317
60320
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
60318
60321