cms-chenhj-ui 2.0.25 → 2.0.27
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 +1616 -1611
- package/cms-chenhj-ui.common.js.map +1 -1
- package/cms-chenhj-ui.css +1 -1
- package/cms-chenhj-ui.umd.js +1263 -1258
- package/cms-chenhj-ui.umd.js.map +1 -1
- package/cms-chenhj-ui.umd.min.js +3 -3
- package/cms-chenhj-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
package/cms-chenhj-ui.umd.js
CHANGED
|
@@ -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":
|
|
20924
|
-
"./cms-banner/View.vue":
|
|
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,
|
|
@@ -20946,8 +21174,8 @@ var map = {
|
|
|
20946
21174
|
"./cms-column-card/index": 3583,
|
|
20947
21175
|
"./cms-column-card/index.js": 3583,
|
|
20948
21176
|
"./cms-column/": 3154,
|
|
20949
|
-
"./cms-column/View":
|
|
20950
|
-
"./cms-column/View.vue":
|
|
21177
|
+
"./cms-column/View": 6821,
|
|
21178
|
+
"./cms-column/View.vue": 6821,
|
|
20951
21179
|
"./cms-column/index": 3154,
|
|
20952
21180
|
"./cms-column/index.js": 3154,
|
|
20953
21181
|
"./cms-description": 98,
|
|
@@ -21065,14 +21293,14 @@ var map = {
|
|
|
21065
21293
|
"./cms-termsAndConditions/index.js": 8806,
|
|
21066
21294
|
"./cms-text": 4759,
|
|
21067
21295
|
"./cms-text/": 4759,
|
|
21068
|
-
"./cms-text/View":
|
|
21069
|
-
"./cms-text/View.vue":
|
|
21296
|
+
"./cms-text/View": 7428,
|
|
21297
|
+
"./cms-text/View.vue": 7428,
|
|
21070
21298
|
"./cms-text/index": 4759,
|
|
21071
21299
|
"./cms-text/index.js": 4759,
|
|
21072
21300
|
"./cms-threeScroll": 1661,
|
|
21073
21301
|
"./cms-threeScroll/": 1661,
|
|
21074
|
-
"./cms-threeScroll/View":
|
|
21075
|
-
"./cms-threeScroll/View.vue":
|
|
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,
|
|
@@ -21089,8 +21317,8 @@ var map = {
|
|
|
21089
21317
|
"./cms-titleLeft/index.js": 3003,
|
|
21090
21318
|
"./cms-via-storedValueCard": 9711,
|
|
21091
21319
|
"./cms-via-storedValueCard/": 9711,
|
|
21092
|
-
"./cms-via-storedValueCard/View":
|
|
21093
|
-
"./cms-via-storedValueCard/View.vue":
|
|
21320
|
+
"./cms-via-storedValueCard/View": 8924,
|
|
21321
|
+
"./cms-via-storedValueCard/View.vue": 8924,
|
|
21094
21322
|
"./cms-via-storedValueCard/index": 9711,
|
|
21095
21323
|
"./cms-via-storedValueCard/index copy": 8862,
|
|
21096
21324
|
"./cms-via-storedValueCard/index copy.js": 8862,
|
|
@@ -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__,
|
|
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
|
|
|
@@ -22793,270 +22795,6 @@ test[TO_STRING_TAG] = 'z';
|
|
|
22793
22795
|
module.exports = String(test) === '[object z]';
|
|
22794
22796
|
|
|
22795
22797
|
|
|
22796
|
-
/***/ }),
|
|
22797
|
-
|
|
22798
|
-
/***/ 2171:
|
|
22799
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
22800
|
-
|
|
22801
|
-
"use strict";
|
|
22802
|
-
// ESM COMPAT FLAG
|
|
22803
|
-
__webpack_require__.r(__webpack_exports__);
|
|
22804
|
-
|
|
22805
|
-
// EXPORTS
|
|
22806
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
22807
|
-
"default": function() { return /* binding */ View; }
|
|
22808
|
-
});
|
|
22809
|
-
|
|
22810
|
-
;// ./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=f2ba72e8&scoped=true
|
|
22811
|
-
var render = function render() {
|
|
22812
|
-
var _vm = this,
|
|
22813
|
-
_c = _vm._self._c;
|
|
22814
|
-
return _c('BaseComp', _vm._b({
|
|
22815
|
-
attrs: {
|
|
22816
|
-
"data": _vm.data,
|
|
22817
|
-
"nowCompId": _vm.nowCompId,
|
|
22818
|
-
"isOpcacity": _vm.isOpcacity,
|
|
22819
|
-
"isMask": false,
|
|
22820
|
-
"lang": _vm.lang
|
|
22821
|
-
},
|
|
22822
|
-
on: {
|
|
22823
|
-
"getConfigData": _vm.getConfigData
|
|
22824
|
-
},
|
|
22825
|
-
scopedSlots: _vm._u([{
|
|
22826
|
-
key: "default",
|
|
22827
|
-
fn: function (slotProps) {
|
|
22828
|
-
return [_c('section', {
|
|
22829
|
-
class: (_vm.configData.widthType === 'full' ? 'width-full' : 'cmhk-home_main', {
|
|
22830
|
-
hoverBorderClass: _vm.isConfigPage
|
|
22831
|
-
}),
|
|
22832
|
-
style: _vm.containerStyle
|
|
22833
|
-
}, [_c('div', {
|
|
22834
|
-
staticClass: "column-setting",
|
|
22835
|
-
class: [`layout-${_vm.configData.layoutType || 'default'}`, `${slotProps.isMobile && _vm.configData.mobileLayout === 'vertical' ? 'mobile-vertical' : 'mobile-horizontal'}`],
|
|
22836
|
-
style: _vm.columnStyle
|
|
22837
|
-
}, _vm._l(_vm.data.childList, function (item, index) {
|
|
22838
|
-
return _c('cms-column-card', _vm._b({
|
|
22839
|
-
key: item.componentId,
|
|
22840
|
-
class: _vm.getColumnItemClass(index),
|
|
22841
|
-
style: _vm.getColumnItemStyle(index),
|
|
22842
|
-
attrs: {
|
|
22843
|
-
"data": item,
|
|
22844
|
-
"nowCompId": _vm.nowCompId,
|
|
22845
|
-
"isOpcacity": _vm.isOpcacity,
|
|
22846
|
-
"isMask": false,
|
|
22847
|
-
"lang": _vm.lang,
|
|
22848
|
-
"isMobile": slotProps.isMobile,
|
|
22849
|
-
"mobileLayout": _vm.configData.mobileLayout
|
|
22850
|
-
}
|
|
22851
|
-
}, 'cms-column-card', _vm.$attrs, false));
|
|
22852
|
-
}), 1)])];
|
|
22853
|
-
}
|
|
22854
|
-
}])
|
|
22855
|
-
}, 'BaseComp', _vm.$attrs, false));
|
|
22856
|
-
};
|
|
22857
|
-
var staticRenderFns = [];
|
|
22858
|
-
|
|
22859
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
22860
|
-
var baseComp = __webpack_require__(9659);
|
|
22861
|
-
;// ./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
|
|
22862
|
-
|
|
22863
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
22864
|
-
name: "cms-column",
|
|
22865
|
-
components: {
|
|
22866
|
-
BaseComp: baseComp["default"]
|
|
22867
|
-
},
|
|
22868
|
-
props: {
|
|
22869
|
-
data: {
|
|
22870
|
-
type: Object,
|
|
22871
|
-
default: () => {
|
|
22872
|
-
return {};
|
|
22873
|
-
}
|
|
22874
|
-
},
|
|
22875
|
-
nowCompId: {
|
|
22876
|
-
type: [String, Number],
|
|
22877
|
-
default: ""
|
|
22878
|
-
},
|
|
22879
|
-
isOpcacity: {
|
|
22880
|
-
type: Boolean,
|
|
22881
|
-
default: true
|
|
22882
|
-
},
|
|
22883
|
-
lang: {
|
|
22884
|
-
type: String,
|
|
22885
|
-
default: "zh-HK"
|
|
22886
|
-
}
|
|
22887
|
-
},
|
|
22888
|
-
data() {
|
|
22889
|
-
return {
|
|
22890
|
-
configData: {},
|
|
22891
|
-
messFold: true,
|
|
22892
|
-
// 默认配置数据
|
|
22893
|
-
defaultConfig: {
|
|
22894
|
-
layoutType: "100",
|
|
22895
|
-
heightType: "auto",
|
|
22896
|
-
widthType: "auto",
|
|
22897
|
-
mobileLayout: "vertical",
|
|
22898
|
-
fixedHeight: 300,
|
|
22899
|
-
borderWidth: 0,
|
|
22900
|
-
borderStyle: "solid",
|
|
22901
|
-
borderColor: "",
|
|
22902
|
-
backgroundColor: "#FFF",
|
|
22903
|
-
backgroundImage: "",
|
|
22904
|
-
boxShadow: "",
|
|
22905
|
-
borderRadius: 0,
|
|
22906
|
-
columnGap: 0,
|
|
22907
|
-
rowGap: 0,
|
|
22908
|
-
title: "",
|
|
22909
|
-
description: "",
|
|
22910
|
-
input1: "",
|
|
22911
|
-
showTitle: true,
|
|
22912
|
-
showDescription: true,
|
|
22913
|
-
animationDuration: 300,
|
|
22914
|
-
responsiveBreakpoint: 768
|
|
22915
|
-
}
|
|
22916
|
-
};
|
|
22917
|
-
},
|
|
22918
|
-
mounted() {},
|
|
22919
|
-
watch: {
|
|
22920
|
-
configData: {
|
|
22921
|
-
handler() {
|
|
22922
|
-
this.updateStyles();
|
|
22923
|
-
},
|
|
22924
|
-
immediate: true,
|
|
22925
|
-
deep: true
|
|
22926
|
-
}
|
|
22927
|
-
},
|
|
22928
|
-
computed: {
|
|
22929
|
-
isConfigPage() {
|
|
22930
|
-
return this.$EventBus && this.isOpcacity;
|
|
22931
|
-
},
|
|
22932
|
-
// 容器样式
|
|
22933
|
-
containerStyle() {
|
|
22934
|
-
return {
|
|
22935
|
-
backgroundColor: this.configData.backgroundColor || this.defaultConfig.backgroundColor,
|
|
22936
|
-
backgroundImage: this.configData.backgroundImage ? `url(${this.configData.backgroundImage})` : "",
|
|
22937
|
-
backgroundSize: "cover",
|
|
22938
|
-
backgroundRepeat: "no-repeat",
|
|
22939
|
-
backgroundPosition: "center center",
|
|
22940
|
-
boxShadow: this.configData.boxShadow || this.defaultConfig.boxShadow,
|
|
22941
|
-
borderRadius: `${this.configData.borderRadius || this.defaultConfig.borderRadius}px`,
|
|
22942
|
-
minHeight: this.configData.heightType === "fixed" ? `${this.configData.fixedHeight}px` : "auto"
|
|
22943
|
-
};
|
|
22944
|
-
},
|
|
22945
|
-
// 分栏容器样式
|
|
22946
|
-
columnStyle() {
|
|
22947
|
-
// const gap = this.configData.rowGap || this.defaultConfig.rowGap;
|
|
22948
|
-
return {
|
|
22949
|
-
// gap: `${gap}px`,
|
|
22950
|
-
border: this.configData.borderWidth ? `${this.configData.borderWidth}px ${this.configData.borderStyle} ${this.configData.borderColor}` : "none"
|
|
22951
|
-
};
|
|
22952
|
-
}
|
|
22953
|
-
},
|
|
22954
|
-
methods: {
|
|
22955
|
-
// 获取配置数据
|
|
22956
|
-
getConfigData(configData) {
|
|
22957
|
-
this.configData = configData;
|
|
22958
|
-
this.updateStyles();
|
|
22959
|
-
},
|
|
22960
|
-
// 更新样式
|
|
22961
|
-
updateStyles() {
|
|
22962
|
-
this.$nextTick(() => {
|
|
22963
|
-
// 触发样式更新
|
|
22964
|
-
this.$forceUpdate();
|
|
22965
|
-
});
|
|
22966
|
-
},
|
|
22967
|
-
// 获取分栏项的类名
|
|
22968
|
-
getColumnItemClass(index) {
|
|
22969
|
-
const layoutType = this.configData.layoutType || this.defaultConfig.layoutType;
|
|
22970
|
-
return ["column-item", `column-item-${index}`, `layout-${layoutType}`, {
|
|
22971
|
-
"min-h": this.$EventBus && this.isOpcacity,
|
|
22972
|
-
"first-item": index === 0,
|
|
22973
|
-
"last-item": index === this.data.childList.length - 1
|
|
22974
|
-
}];
|
|
22975
|
-
},
|
|
22976
|
-
// 获取分栏项的样式
|
|
22977
|
-
getColumnItemStyle(index) {
|
|
22978
|
-
const layoutType = this.configData.layoutType || this.defaultConfig.layoutType;
|
|
22979
|
-
const gap = this.configData.rowGap || this.defaultConfig.rowGap;
|
|
22980
|
-
let flexBasis = "100%";
|
|
22981
|
-
let marginRight = "0";
|
|
22982
|
-
|
|
22983
|
-
// 根据布局类型设置宽度
|
|
22984
|
-
switch (layoutType) {
|
|
22985
|
-
case "50-50":
|
|
22986
|
-
flexBasis = `calc(50% - ${gap / 2}px)`;
|
|
22987
|
-
marginRight = index % 2 === 0 ? `${gap}px` : "0";
|
|
22988
|
-
break;
|
|
22989
|
-
case "33-66":
|
|
22990
|
-
flexBasis = index === 0 ? `calc(33.33% - ${gap / 2}px)` : `calc(66.67% - ${gap / 2}px)`;
|
|
22991
|
-
marginRight = index === 0 ? `${gap}px` : "0";
|
|
22992
|
-
break;
|
|
22993
|
-
case "66-33":
|
|
22994
|
-
flexBasis = index === 0 ? `calc(66.67% - ${gap / 2}px)` : `calc(33.33% - ${gap / 2}px)`;
|
|
22995
|
-
marginRight = index === 0 ? `${gap}px` : "0";
|
|
22996
|
-
break;
|
|
22997
|
-
case "33-33-33":
|
|
22998
|
-
flexBasis = `calc(33.33% - ${gap * 2 / 3}px)`;
|
|
22999
|
-
marginRight = index < 2 ? `${gap}px` : "0";
|
|
23000
|
-
break;
|
|
23001
|
-
case "25-50-25":
|
|
23002
|
-
if (index === 0 || index === 2) {
|
|
23003
|
-
flexBasis = `calc(25% - ${gap * 2 / 3}px)`;
|
|
23004
|
-
} else {
|
|
23005
|
-
flexBasis = `calc(50% - ${gap * 2 / 3}px)`;
|
|
23006
|
-
}
|
|
23007
|
-
marginRight = index < 2 ? `${gap}px` : "0";
|
|
23008
|
-
break;
|
|
23009
|
-
default:
|
|
23010
|
-
flexBasis = "100%";
|
|
23011
|
-
}
|
|
23012
|
-
return {
|
|
23013
|
-
flexBasis,
|
|
23014
|
-
marginRight,
|
|
23015
|
-
marginBottom: `${this.configData.columnGap || this.defaultConfig.columnGap}px`
|
|
23016
|
-
};
|
|
23017
|
-
},
|
|
23018
|
-
// 折叠/展开文本
|
|
23019
|
-
foldMessText() {
|
|
23020
|
-
this.messFold = !this.messFold;
|
|
23021
|
-
},
|
|
23022
|
-
// 处理跳转链接
|
|
23023
|
-
decodeJumpUrl(url) {
|
|
23024
|
-
if (!url) return;
|
|
23025
|
-
top.location.href = url;
|
|
23026
|
-
}
|
|
23027
|
-
}
|
|
23028
|
-
});
|
|
23029
|
-
;// ./package/cms-column/View.vue?vue&type=script&lang=js
|
|
23030
|
-
/* harmony default export */ var cms_column_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
23031
|
-
;// ./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-column/View.vue?vue&type=style&index=0&id=f2ba72e8&prod&lang=scss&scoped=true
|
|
23032
|
-
// extracted by mini-css-extract-plugin
|
|
23033
|
-
|
|
23034
|
-
;// ./package/cms-column/View.vue?vue&type=style&index=0&id=f2ba72e8&prod&lang=scss&scoped=true
|
|
23035
|
-
|
|
23036
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
23037
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
23038
|
-
;// ./package/cms-column/View.vue
|
|
23039
|
-
|
|
23040
|
-
|
|
23041
|
-
|
|
23042
|
-
;
|
|
23043
|
-
|
|
23044
|
-
|
|
23045
|
-
/* normalize component */
|
|
23046
|
-
|
|
23047
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
23048
|
-
cms_column_Viewvue_type_script_lang_js,
|
|
23049
|
-
render,
|
|
23050
|
-
staticRenderFns,
|
|
23051
|
-
false,
|
|
23052
|
-
null,
|
|
23053
|
-
"f2ba72e8",
|
|
23054
|
-
null
|
|
23055
|
-
|
|
23056
|
-
)
|
|
23057
|
-
|
|
23058
|
-
/* harmony default export */ var View = (component.exports);
|
|
23059
|
-
|
|
23060
22798
|
/***/ }),
|
|
23061
22799
|
|
|
23062
22800
|
/***/ 2179:
|
|
@@ -25442,7 +25180,7 @@ module.exports = Math.min;
|
|
|
25442
25180
|
__webpack_require__.r(__webpack_exports__);
|
|
25443
25181
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
25444
25182
|
|
|
25445
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
25183
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 6821));
|
|
25446
25184
|
const langData = {
|
|
25447
25185
|
// 布局配置
|
|
25448
25186
|
layoutType: "100",
|
|
@@ -34458,7 +34196,7 @@ const configDataType = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getLangDataTy
|
|
|
34458
34196
|
borderColor: {
|
|
34459
34197
|
label: "边框颜色",
|
|
34460
34198
|
widgetType: "el-color-picker",
|
|
34461
|
-
predefine: [
|
|
34199
|
+
predefine: ["#2F85FF", "#f48427", "#52C41A", "#D6197F"]
|
|
34462
34200
|
},
|
|
34463
34201
|
borderRadius: {
|
|
34464
34202
|
label: "圆角(px)",
|
|
@@ -34472,7 +34210,7 @@ const configDataType = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getLangDataTy
|
|
|
34472
34210
|
backgroundColor: {
|
|
34473
34211
|
label: "背景颜色",
|
|
34474
34212
|
widgetType: "el-color-picker",
|
|
34475
|
-
predefine: [
|
|
34213
|
+
predefine: ["#2F85FF", "#f48427", "#52C41A", "#D6197F"]
|
|
34476
34214
|
},
|
|
34477
34215
|
backgroundImage: {
|
|
34478
34216
|
label: "背景图片",
|
|
@@ -34497,7 +34235,8 @@ const validateSchema = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getValidateSc
|
|
|
34497
34235
|
settings: cmsCompName => {
|
|
34498
34236
|
return (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getInitCompData)({
|
|
34499
34237
|
cmsCompName,
|
|
34500
|
-
langData
|
|
34238
|
+
langData,
|
|
34239
|
+
isLangAll: true
|
|
34501
34240
|
});
|
|
34502
34241
|
}
|
|
34503
34242
|
});
|
|
@@ -35656,384 +35395,6 @@ module.exports = function (it) {
|
|
|
35656
35395
|
};
|
|
35657
35396
|
|
|
35658
35397
|
|
|
35659
|
-
/***/ }),
|
|
35660
|
-
|
|
35661
|
-
/***/ 4160:
|
|
35662
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
35663
|
-
|
|
35664
|
-
"use strict";
|
|
35665
|
-
// ESM COMPAT FLAG
|
|
35666
|
-
__webpack_require__.r(__webpack_exports__);
|
|
35667
|
-
|
|
35668
|
-
// EXPORTS
|
|
35669
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
35670
|
-
"default": function() { return /* binding */ View; }
|
|
35671
|
-
});
|
|
35672
|
-
|
|
35673
|
-
;// ./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-via-storedValueCard/View.vue?vue&type=template&id=25771ea8&scoped=true
|
|
35674
|
-
var render = function render() {
|
|
35675
|
-
var _vm = this,
|
|
35676
|
-
_c = _vm._self._c;
|
|
35677
|
-
return _c('BaseComp', _vm._b({
|
|
35678
|
-
attrs: {
|
|
35679
|
-
"data": _vm.data,
|
|
35680
|
-
"nowCompId": _vm.nowCompId,
|
|
35681
|
-
"isOpcacity": _vm.isOpcacity,
|
|
35682
|
-
"lang": _vm.lang
|
|
35683
|
-
},
|
|
35684
|
-
on: {
|
|
35685
|
-
"getConfigData": _vm.getConfigData
|
|
35686
|
-
}
|
|
35687
|
-
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
35688
|
-
staticClass: "cmhk-home_main"
|
|
35689
|
-
}, [_c('div', {
|
|
35690
|
-
staticClass: "wrap"
|
|
35691
|
-
}, [_c('div', {
|
|
35692
|
-
ref: "cardList",
|
|
35693
|
-
staticClass: "cardList"
|
|
35694
|
-
}, [_vm.viewList.length === 0 ? [_c('div', {
|
|
35695
|
-
staticClass: "card-box"
|
|
35696
|
-
}, [_c('div', {
|
|
35697
|
-
staticClass: "card"
|
|
35698
|
-
}, [_c('div', {
|
|
35699
|
-
staticClass: "img-box"
|
|
35700
|
-
}, [_c('div', {
|
|
35701
|
-
staticClass: "card-img",
|
|
35702
|
-
class: {
|
|
35703
|
-
'is-cms': _vm.$EventBus
|
|
35704
|
-
}
|
|
35705
|
-
}, [_c('img', {
|
|
35706
|
-
staticStyle: {
|
|
35707
|
-
"height": "200px"
|
|
35708
|
-
},
|
|
35709
|
-
attrs: {
|
|
35710
|
-
"src": _vm.placeholderImg,
|
|
35711
|
-
"alt": ""
|
|
35712
|
-
}
|
|
35713
|
-
})])]), _c('div', {
|
|
35714
|
-
staticClass: "content-box"
|
|
35715
|
-
}, [_c('div', {
|
|
35716
|
-
staticClass: "card-name"
|
|
35717
|
-
}, [_vm._v(_vm._s(_vm.langText.productName))]), _c('div', {
|
|
35718
|
-
staticClass: "text-box"
|
|
35719
|
-
}, [_c('div', {
|
|
35720
|
-
staticClass: "card-refPrice"
|
|
35721
|
-
}, [_vm._v(" " + _vm._s(_vm.langText.Price) + " HK$XXXX ")]), _c('div', {
|
|
35722
|
-
staticClass: "card-pice-text"
|
|
35723
|
-
}, [_vm._v(_vm._s(_vm.langText.onlinePrice))])]), _c('div', {
|
|
35724
|
-
staticClass: "card-pice"
|
|
35725
|
-
}, [_c('span', [_vm._v("HK$")]), _vm._v("XXXX")]), _c('div', {
|
|
35726
|
-
staticClass: "card-btn"
|
|
35727
|
-
}, [_vm._v(_vm._s(_vm.langText.buyNow))])])])])] : _vm._e(), _vm._l(_vm.viewList, function (item, index) {
|
|
35728
|
-
return _c('div', {
|
|
35729
|
-
key: `${index}-${item.commodityId || index}`,
|
|
35730
|
-
staticClass: "card-box"
|
|
35731
|
-
}, [_c('div', {
|
|
35732
|
-
staticClass: "card"
|
|
35733
|
-
}, [_c('div', {
|
|
35734
|
-
staticClass: "tag-box-left"
|
|
35735
|
-
}, [_vm._l(item.malltCommodityLeft, function (ele, i) {
|
|
35736
|
-
return [_c('img', {
|
|
35737
|
-
key: i,
|
|
35738
|
-
attrs: {
|
|
35739
|
-
"src": _vm.compBaseUrl + ele.pictureUrl,
|
|
35740
|
-
"alt": ""
|
|
35741
|
-
}
|
|
35742
|
-
})];
|
|
35743
|
-
})], 2), _c('div', {
|
|
35744
|
-
staticClass: "tag-box-right"
|
|
35745
|
-
}, [_vm._l(item.malltCommodityRight, function (ele, i) {
|
|
35746
|
-
return [_c('img', {
|
|
35747
|
-
key: i,
|
|
35748
|
-
attrs: {
|
|
35749
|
-
"src": _vm.compBaseUrl + ele.pictureUrl,
|
|
35750
|
-
"alt": ""
|
|
35751
|
-
}
|
|
35752
|
-
})];
|
|
35753
|
-
})], 2), _c('div', {
|
|
35754
|
-
staticClass: "img-box"
|
|
35755
|
-
}, [_vm.isNotActive(item) ? _c('div', {
|
|
35756
|
-
staticClass: "mask"
|
|
35757
|
-
}, [_vm._v(" " + _vm._s(new Date(item.upTime).getTime() > _vm.nowTs ? _vm.langText.comingSoon : _vm.langText.expired) + " ")]) : _vm._e(), _c('div', {
|
|
35758
|
-
staticClass: "card-img",
|
|
35759
|
-
class: {
|
|
35760
|
-
'is-cms': _vm.$EventBus
|
|
35761
|
-
}
|
|
35762
|
-
}, [_c('img', {
|
|
35763
|
-
attrs: {
|
|
35764
|
-
"src": _vm.compBaseUrl + item.maxPicId,
|
|
35765
|
-
"alt": ""
|
|
35766
|
-
}
|
|
35767
|
-
})])]), _c('div', {
|
|
35768
|
-
staticClass: "content-box"
|
|
35769
|
-
}, [_vm.isNotActive(item) ? _c('div', {
|
|
35770
|
-
staticClass: "content-mask"
|
|
35771
|
-
}) : _vm._e(), _c('div', {
|
|
35772
|
-
staticClass: "card-name"
|
|
35773
|
-
}, [_vm._v(_vm._s(item.commodityName))]), _c('div', {
|
|
35774
|
-
staticClass: "text-box"
|
|
35775
|
-
}, [item.price !== item.refPrice ? _c('div', {
|
|
35776
|
-
staticClass: "card-refPrice"
|
|
35777
|
-
}, [_vm._v(" " + _vm._s(_vm.langText.Price) + " HK$" + _vm._s(_vm.convertCentsToYuan(item.refPrice)) + " ")]) : _c('div', {
|
|
35778
|
-
staticClass: "card-refPrice"
|
|
35779
|
-
}), _c('div', {
|
|
35780
|
-
staticClass: "card-pice-text"
|
|
35781
|
-
}, [_vm._v(" " + _vm._s(item.price !== item.refPrice ? _vm.langText.onlinePrice : _vm.langText.Price) + " ")])]), _c('div', {
|
|
35782
|
-
staticClass: "card-pice spc-font"
|
|
35783
|
-
}, [_c('span', [_vm._v("HK$")]), _vm._v(_vm._s(_vm.convertCentsToYuan(item.price)) + " ")]), _vm.isActive(item) ? _c('div', {
|
|
35784
|
-
staticClass: "card-btn",
|
|
35785
|
-
on: {
|
|
35786
|
-
"click": function ($event) {
|
|
35787
|
-
return _vm.goDetail(item);
|
|
35788
|
-
}
|
|
35789
|
-
}
|
|
35790
|
-
}, [_vm._v(" " + _vm._s(_vm.langText.buyNow)), _c('img', {
|
|
35791
|
-
attrs: {
|
|
35792
|
-
"src": _vm.arrowRightImg
|
|
35793
|
-
}
|
|
35794
|
-
})]) : _c('div', {
|
|
35795
|
-
staticClass: "card-btn"
|
|
35796
|
-
}, [_vm._v(" " + _vm._s(new Date(item.upTime).getTime() > _vm.nowTs ? (_vm.langText.launch || "").replace("NNN", item.upTime) : _vm.langText.Offer) + " ")])])])]);
|
|
35797
|
-
})], 2), !_vm.seeMore && _vm.configList.length > 9 ? _c('div', {
|
|
35798
|
-
ref: "seeMoreRef",
|
|
35799
|
-
staticClass: "seeMore",
|
|
35800
|
-
on: {
|
|
35801
|
-
"click": function ($event) {
|
|
35802
|
-
_vm.seeMore = true;
|
|
35803
|
-
}
|
|
35804
|
-
}
|
|
35805
|
-
}, [_vm._v(" " + _vm._s(_vm.langText.more) + " "), _c('img', {
|
|
35806
|
-
staticClass: "btm",
|
|
35807
|
-
attrs: {
|
|
35808
|
-
"src": _vm.arrowDownImg
|
|
35809
|
-
}
|
|
35810
|
-
})]) : _vm._e()])])]);
|
|
35811
|
-
};
|
|
35812
|
-
var staticRenderFns = [];
|
|
35813
|
-
|
|
35814
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
35815
|
-
var es_iterator_constructor = __webpack_require__(8111);
|
|
35816
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
|
|
35817
|
-
var es_iterator_filter = __webpack_require__(2489);
|
|
35818
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
35819
|
-
var es_iterator_for_each = __webpack_require__(7588);
|
|
35820
|
-
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
35821
|
-
var baseComp = __webpack_require__(9659);
|
|
35822
|
-
// EXTERNAL MODULE: ./src/api/index.js
|
|
35823
|
-
var api = __webpack_require__(2842);
|
|
35824
|
-
// EXTERNAL MODULE: ./package/patch.js
|
|
35825
|
-
var patch = __webpack_require__(4229);
|
|
35826
|
-
// EXTERNAL MODULE: ./node_modules/qs/lib/index.js
|
|
35827
|
-
var lib = __webpack_require__(7087);
|
|
35828
|
-
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
|
35829
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
35830
|
-
|
|
35831
|
-
|
|
35832
|
-
|
|
35833
|
-
|
|
35834
|
-
|
|
35835
|
-
|
|
35836
|
-
|
|
35837
|
-
|
|
35838
|
-
|
|
35839
|
-
|
|
35840
|
-
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
35841
|
-
name: "cms-via-storedValueCard",
|
|
35842
|
-
components: {
|
|
35843
|
-
BaseComp: baseComp["default"]
|
|
35844
|
-
},
|
|
35845
|
-
props: {
|
|
35846
|
-
data: {
|
|
35847
|
-
type: Object,
|
|
35848
|
-
default: () => {
|
|
35849
|
-
return {};
|
|
35850
|
-
}
|
|
35851
|
-
},
|
|
35852
|
-
nowCompId: {
|
|
35853
|
-
type: [String, Number],
|
|
35854
|
-
default: ""
|
|
35855
|
-
},
|
|
35856
|
-
isOpcacity: {
|
|
35857
|
-
type: Boolean,
|
|
35858
|
-
default: true
|
|
35859
|
-
},
|
|
35860
|
-
lang: {
|
|
35861
|
-
type: String,
|
|
35862
|
-
default: "zh-HK"
|
|
35863
|
-
}
|
|
35864
|
-
},
|
|
35865
|
-
data() {
|
|
35866
|
-
return {
|
|
35867
|
-
langConfig: {
|
|
35868
|
-
"zh-HK": {
|
|
35869
|
-
productName: "產品名稱",
|
|
35870
|
-
Price: "建議零售價",
|
|
35871
|
-
onlinePrice: "網上優惠價",
|
|
35872
|
-
buyNow: "立即選購",
|
|
35873
|
-
comingSoon: "即將推出",
|
|
35874
|
-
expired: "優惠已過期",
|
|
35875
|
-
more: "查看更多",
|
|
35876
|
-
launch: "NNN 上線",
|
|
35877
|
-
Offer: "優惠即將推出"
|
|
35878
|
-
},
|
|
35879
|
-
"zh-CN": {
|
|
35880
|
-
productName: "产品名称",
|
|
35881
|
-
Price: "建议零售价",
|
|
35882
|
-
onlinePrice: "网上优惠价",
|
|
35883
|
-
buyNow: "立即选购",
|
|
35884
|
-
comingSoon: "即将推出",
|
|
35885
|
-
expired: "优惠已过期",
|
|
35886
|
-
more: "查看更多",
|
|
35887
|
-
launch: "NNN 上线",
|
|
35888
|
-
Offer: "优惠即将推出"
|
|
35889
|
-
},
|
|
35890
|
-
"en-US": {
|
|
35891
|
-
productName: "Product Name",
|
|
35892
|
-
Price: "SRP",
|
|
35893
|
-
onlinePrice: "Online Price",
|
|
35894
|
-
buyNow: "Buy Now",
|
|
35895
|
-
comingSoon: "Coming Soon",
|
|
35896
|
-
expired: "Expired",
|
|
35897
|
-
more: "See more",
|
|
35898
|
-
launch: "Launch at NNN",
|
|
35899
|
-
Offer: "Offer Coming"
|
|
35900
|
-
}
|
|
35901
|
-
},
|
|
35902
|
-
configList: [],
|
|
35903
|
-
seeMore: false,
|
|
35904
|
-
nowTs: Date.now(),
|
|
35905
|
-
compBaseUrl: "https://omniapi.hk.chinamobile.com",
|
|
35906
|
-
// images
|
|
35907
|
-
placeholderImg: __webpack_require__(5335),
|
|
35908
|
-
arrowRightImg: __webpack_require__(4860),
|
|
35909
|
-
arrowDownImg: __webpack_require__(1861),
|
|
35910
|
-
arrowHoverImg: __webpack_require__(4116),
|
|
35911
|
-
arrowActiveImg: __webpack_require__(9670),
|
|
35912
|
-
shopList: []
|
|
35913
|
-
};
|
|
35914
|
-
},
|
|
35915
|
-
computed: {
|
|
35916
|
-
langText() {
|
|
35917
|
-
return this.langConfig[this.lang] ? this.langConfig[this.lang] : this.langConfig["zh-HK"];
|
|
35918
|
-
},
|
|
35919
|
-
viewList() {
|
|
35920
|
-
if (this.seeMore) return this.shopList;
|
|
35921
|
-
return this.shopList.slice(0, 9);
|
|
35922
|
-
}
|
|
35923
|
-
},
|
|
35924
|
-
mounted() {
|
|
35925
|
-
if (!this.$EventBus) {
|
|
35926
|
-
this.compBaseUrl = (0,patch.getCompBaseUrl)();
|
|
35927
|
-
}
|
|
35928
|
-
},
|
|
35929
|
-
beforeDestroy() {},
|
|
35930
|
-
methods: {
|
|
35931
|
-
getConfigData(configData) {
|
|
35932
|
-
this.configList = configData.configList;
|
|
35933
|
-
console.log("getConfigData", this.configList);
|
|
35934
|
-
this.getValue();
|
|
35935
|
-
},
|
|
35936
|
-
async getValue() {
|
|
35937
|
-
await this.getCommodityDetails();
|
|
35938
|
-
},
|
|
35939
|
-
// 拉取已选商品详情
|
|
35940
|
-
async getCommodityDetails() {
|
|
35941
|
-
// try {
|
|
35942
|
-
let req = {
|
|
35943
|
-
busInfo: JSON.stringify({
|
|
35944
|
-
commodityIds: [...this.configList],
|
|
35945
|
-
commodityTypes: ["604", "605"]
|
|
35946
|
-
})
|
|
35947
|
-
};
|
|
35948
|
-
req = lib_default().stringify(req);
|
|
35949
|
-
const json = await (0,api/* getCommodityDetails */.yX)(req, this.lang);
|
|
35950
|
-
let dataResult = json && json.busiResp && json.busiResp.busiDataResp;
|
|
35951
|
-
if (Array.isArray(dataResult)) {
|
|
35952
|
-
dataResult.forEach(item => {
|
|
35953
|
-
if (Array.isArray(item.malltCommodityTags)) {
|
|
35954
|
-
const left = item.malltCommodityTags.filter(ele => ele.tagType == 5001).sort((a, b) => a.sort - b.sort);
|
|
35955
|
-
const right = item.malltCommodityTags.filter(ele => ele.tagType == 5002).sort((a, b) => a.sort - b.sort);
|
|
35956
|
-
item.malltCommodityLeft = left.slice(0, 2);
|
|
35957
|
-
item.malltCommodityRight = right.slice(0, 4);
|
|
35958
|
-
} else {
|
|
35959
|
-
item.malltCommodityLeft = [];
|
|
35960
|
-
item.malltCommodityRight = [];
|
|
35961
|
-
}
|
|
35962
|
-
});
|
|
35963
|
-
// 按选择顺序排序
|
|
35964
|
-
this.shopList = dataResult.sort((a, b) => {
|
|
35965
|
-
return this.configList.indexOf(a.commodityId) - this.configList.indexOf(b.commodityId);
|
|
35966
|
-
});
|
|
35967
|
-
} else {
|
|
35968
|
-
this.shopList = [];
|
|
35969
|
-
}
|
|
35970
|
-
// } catch (e) {
|
|
35971
|
-
// this.shopList = [];
|
|
35972
|
-
// }
|
|
35973
|
-
},
|
|
35974
|
-
isActive(item) {
|
|
35975
|
-
const now = Date.now();
|
|
35976
|
-
return new Date(item.upTime).getTime() < now && new Date(item.downTime).getTime() > now;
|
|
35977
|
-
},
|
|
35978
|
-
isNotActive(item) {
|
|
35979
|
-
const now = Date.now();
|
|
35980
|
-
return new Date(item.upTime).getTime() > now || new Date(item.downTime).getTime() < now;
|
|
35981
|
-
},
|
|
35982
|
-
convertCentsToYuan(cents) {
|
|
35983
|
-
const yuan = (Number(cents || 0) / 100).toFixed(2);
|
|
35984
|
-
return parseFloat(yuan);
|
|
35985
|
-
},
|
|
35986
|
-
goDetail(item) {
|
|
35987
|
-
const base = this.$EventBus ? this.compBaseUrl : window.location.origin;
|
|
35988
|
-
const langMap = {
|
|
35989
|
-
"zh-CN": "sc",
|
|
35990
|
-
"zh-HK": "tc",
|
|
35991
|
-
"en-US": "en"
|
|
35992
|
-
};
|
|
35993
|
-
const routeLang = langMap[this.lang];
|
|
35994
|
-
if (item.commodityType === "604") {
|
|
35995
|
-
if ((item.commodityName || "").includes("MySIM")) {
|
|
35996
|
-
window.parent.location.href = `${base}/${routeLang}/home/prepaid-card/mysim/detail?commodityId=${item.commodityId}&mysim=${item.commodityName}`;
|
|
35997
|
-
} else {
|
|
35998
|
-
window.parent.location.href = `${base}/${routeLang}/home/prepaid-card/detail?commodityId=${item.commodityId}&commodityType=604&commodityName=${item.commodityName}`;
|
|
35999
|
-
}
|
|
36000
|
-
} else if (item.commodityType === "605") {
|
|
36001
|
-
window.parent.location.href = `${base}/${routeLang}/home/prepaid/refill-voucher/detail?commodityId=${item.commodityId}&commodityType=605&commodityName=${item.commodityName}`;
|
|
36002
|
-
}
|
|
36003
|
-
}
|
|
36004
|
-
}
|
|
36005
|
-
});
|
|
36006
|
-
;// ./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
36007
|
-
/* harmony default export */ var cms_via_storedValueCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
36008
|
-
;// ./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-via-storedValueCard/View.vue?vue&type=style&index=0&id=25771ea8&prod&lang=scss&scoped=true
|
|
36009
|
-
// extracted by mini-css-extract-plugin
|
|
36010
|
-
|
|
36011
|
-
;// ./package/cms-via-storedValueCard/View.vue?vue&type=style&index=0&id=25771ea8&prod&lang=scss&scoped=true
|
|
36012
|
-
|
|
36013
|
-
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
36014
|
-
var componentNormalizer = __webpack_require__(1656);
|
|
36015
|
-
;// ./package/cms-via-storedValueCard/View.vue
|
|
36016
|
-
|
|
36017
|
-
|
|
36018
|
-
|
|
36019
|
-
;
|
|
36020
|
-
|
|
36021
|
-
|
|
36022
|
-
/* normalize component */
|
|
36023
|
-
|
|
36024
|
-
var component = (0,componentNormalizer/* default */.A)(
|
|
36025
|
-
cms_via_storedValueCard_Viewvue_type_script_lang_js,
|
|
36026
|
-
render,
|
|
36027
|
-
staticRenderFns,
|
|
36028
|
-
false,
|
|
36029
|
-
null,
|
|
36030
|
-
"25771ea8",
|
|
36031
|
-
null
|
|
36032
|
-
|
|
36033
|
-
)
|
|
36034
|
-
|
|
36035
|
-
/* harmony default export */ var View = (component.exports);
|
|
36036
|
-
|
|
36037
35398
|
/***/ }),
|
|
36038
35399
|
|
|
36039
35400
|
/***/ 4188:
|
|
@@ -38079,7 +37440,7 @@ exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
|
|
|
38079
37440
|
__webpack_require__.r(__webpack_exports__);
|
|
38080
37441
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
38081
37442
|
|
|
38082
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
37443
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 7428));
|
|
38083
37444
|
const langData = {
|
|
38084
37445
|
// 内容编辑
|
|
38085
37446
|
textContent: "请输入文本内容",
|
|
@@ -38094,7 +37455,8 @@ const langData = {
|
|
|
38094
37455
|
fontWeight: "normal",
|
|
38095
37456
|
fontStyle: "normal",
|
|
38096
37457
|
textDecoration: "none",
|
|
38097
|
-
fontFamily: "Microsoft YaHei",
|
|
37458
|
+
// fontFamily: "Microsoft YaHei",
|
|
37459
|
+
|
|
38098
37460
|
// 布局设置
|
|
38099
37461
|
paddingTop: 0,
|
|
38100
37462
|
paddingBottom: 0,
|
|
@@ -39326,11 +38688,11 @@ var map = {
|
|
|
39326
38688
|
"./cms-aLineThreeLeftTwo/View.vue": 136,
|
|
39327
38689
|
"./cms-activityCountdown/View.vue": 4115,
|
|
39328
38690
|
"./cms-activityTime/View.vue": 2620,
|
|
39329
|
-
"./cms-banner/View.vue":
|
|
38691
|
+
"./cms-banner/View.vue": 9894,
|
|
39330
38692
|
"./cms-button/View.vue": 1163,
|
|
39331
38693
|
"./cms-cells/View.vue": 983,
|
|
39332
38694
|
"./cms-column-card/View.vue": 688,
|
|
39333
|
-
"./cms-column/View.vue":
|
|
38695
|
+
"./cms-column/View.vue": 6821,
|
|
39334
38696
|
"./cms-description/View.vue": 6296,
|
|
39335
38697
|
"./cms-dynamic-comp/View.vue": 471,
|
|
39336
38698
|
"./cms-iconFour/View.vue": 2946,
|
|
@@ -39349,11 +38711,11 @@ var map = {
|
|
|
39349
38711
|
"./cms-servePlan-tab/View.vue": 8296,
|
|
39350
38712
|
"./cms-servePlan-text/View.vue": 4726,
|
|
39351
38713
|
"./cms-termsAndConditions/View.vue": 7060,
|
|
39352
|
-
"./cms-text/View.vue":
|
|
39353
|
-
"./cms-threeScroll/View.vue":
|
|
38714
|
+
"./cms-text/View.vue": 7428,
|
|
38715
|
+
"./cms-threeScroll/View.vue": 38,
|
|
39354
38716
|
"./cms-titleCenter/View.vue": 788,
|
|
39355
38717
|
"./cms-titleLeft/View.vue": 7284,
|
|
39356
|
-
"./cms-via-storedValueCard/View.vue":
|
|
38718
|
+
"./cms-via-storedValueCard/View.vue": 8924,
|
|
39357
38719
|
"./cms-video-group/View.vue": 103,
|
|
39358
38720
|
"./cms-video/View.vue": 5846,
|
|
39359
38721
|
"./cms-view/View.vue": 3774
|
|
@@ -39429,7 +38791,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAEQCAYAAADm
|
|
|
39429
38791
|
__webpack_require__.r(__webpack_exports__);
|
|
39430
38792
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
39431
38793
|
|
|
39432
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
38794
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 9894));
|
|
39433
38795
|
const langData = {
|
|
39434
38796
|
configList: [{
|
|
39435
38797
|
id: Math.random().toString(),
|
|
@@ -46027,6 +45389,270 @@ exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties :
|
|
|
46027
45389
|
};
|
|
46028
45390
|
|
|
46029
45391
|
|
|
45392
|
+
/***/ }),
|
|
45393
|
+
|
|
45394
|
+
/***/ 6821:
|
|
45395
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
45396
|
+
|
|
45397
|
+
"use strict";
|
|
45398
|
+
// ESM COMPAT FLAG
|
|
45399
|
+
__webpack_require__.r(__webpack_exports__);
|
|
45400
|
+
|
|
45401
|
+
// EXPORTS
|
|
45402
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
45403
|
+
"default": function() { return /* binding */ View; }
|
|
45404
|
+
});
|
|
45405
|
+
|
|
45406
|
+
;// ./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=1402d563&scoped=true
|
|
45407
|
+
var render = function render() {
|
|
45408
|
+
var _vm = this,
|
|
45409
|
+
_c = _vm._self._c;
|
|
45410
|
+
return _c('BaseComp', _vm._b({
|
|
45411
|
+
attrs: {
|
|
45412
|
+
"data": _vm.data,
|
|
45413
|
+
"nowCompId": _vm.nowCompId,
|
|
45414
|
+
"isOpcacity": _vm.isOpcacity,
|
|
45415
|
+
"isMask": false,
|
|
45416
|
+
"lang": _vm.lang
|
|
45417
|
+
},
|
|
45418
|
+
on: {
|
|
45419
|
+
"getConfigData": _vm.getConfigData
|
|
45420
|
+
},
|
|
45421
|
+
scopedSlots: _vm._u([{
|
|
45422
|
+
key: "default",
|
|
45423
|
+
fn: function (slotProps) {
|
|
45424
|
+
return [_c('section', {
|
|
45425
|
+
class: [_vm.configData.widthType === 'full' ? 'width-full' : 'cmhk-home_main', {
|
|
45426
|
+
hoverBorderClass: _vm.isConfigPage
|
|
45427
|
+
}],
|
|
45428
|
+
style: _vm.containerStyle
|
|
45429
|
+
}, [_c('div', {
|
|
45430
|
+
staticClass: "column-setting",
|
|
45431
|
+
class: [`layout-${_vm.configData.layoutType || 'default'}`, `${slotProps.isMobile && _vm.configData.mobileLayout === 'vertical' ? 'mobile-vertical' : 'mobile-horizontal'}`],
|
|
45432
|
+
style: _vm.columnStyle
|
|
45433
|
+
}, _vm._l(_vm.data.childList, function (item, index) {
|
|
45434
|
+
return _c('cms-column-card', _vm._b({
|
|
45435
|
+
key: item.componentId,
|
|
45436
|
+
class: _vm.getColumnItemClass(index),
|
|
45437
|
+
style: _vm.getColumnItemStyle(index),
|
|
45438
|
+
attrs: {
|
|
45439
|
+
"data": item,
|
|
45440
|
+
"nowCompId": _vm.nowCompId,
|
|
45441
|
+
"isOpcacity": _vm.isOpcacity,
|
|
45442
|
+
"isMask": false,
|
|
45443
|
+
"lang": _vm.lang,
|
|
45444
|
+
"isMobile": slotProps.isMobile,
|
|
45445
|
+
"mobileLayout": _vm.configData.mobileLayout
|
|
45446
|
+
}
|
|
45447
|
+
}, 'cms-column-card', _vm.$attrs, false));
|
|
45448
|
+
}), 1)])];
|
|
45449
|
+
}
|
|
45450
|
+
}])
|
|
45451
|
+
}, 'BaseComp', _vm.$attrs, false));
|
|
45452
|
+
};
|
|
45453
|
+
var staticRenderFns = [];
|
|
45454
|
+
|
|
45455
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
45456
|
+
var baseComp = __webpack_require__(9659);
|
|
45457
|
+
;// ./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
|
|
45458
|
+
|
|
45459
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
45460
|
+
name: "cms-column",
|
|
45461
|
+
components: {
|
|
45462
|
+
BaseComp: baseComp["default"]
|
|
45463
|
+
},
|
|
45464
|
+
props: {
|
|
45465
|
+
data: {
|
|
45466
|
+
type: Object,
|
|
45467
|
+
default: () => {
|
|
45468
|
+
return {};
|
|
45469
|
+
}
|
|
45470
|
+
},
|
|
45471
|
+
nowCompId: {
|
|
45472
|
+
type: [String, Number],
|
|
45473
|
+
default: ""
|
|
45474
|
+
},
|
|
45475
|
+
isOpcacity: {
|
|
45476
|
+
type: Boolean,
|
|
45477
|
+
default: true
|
|
45478
|
+
},
|
|
45479
|
+
lang: {
|
|
45480
|
+
type: String,
|
|
45481
|
+
default: "zh-HK"
|
|
45482
|
+
}
|
|
45483
|
+
},
|
|
45484
|
+
data() {
|
|
45485
|
+
return {
|
|
45486
|
+
configData: {},
|
|
45487
|
+
messFold: true,
|
|
45488
|
+
// 默认配置数据
|
|
45489
|
+
defaultConfig: {
|
|
45490
|
+
layoutType: "100",
|
|
45491
|
+
heightType: "auto",
|
|
45492
|
+
widthType: "auto",
|
|
45493
|
+
mobileLayout: "vertical",
|
|
45494
|
+
fixedHeight: 300,
|
|
45495
|
+
borderWidth: 0,
|
|
45496
|
+
borderStyle: "solid",
|
|
45497
|
+
borderColor: "",
|
|
45498
|
+
backgroundColor: "#FFF",
|
|
45499
|
+
backgroundImage: "",
|
|
45500
|
+
boxShadow: "",
|
|
45501
|
+
borderRadius: 0,
|
|
45502
|
+
columnGap: 0,
|
|
45503
|
+
rowGap: 0,
|
|
45504
|
+
title: "",
|
|
45505
|
+
description: "",
|
|
45506
|
+
input1: "",
|
|
45507
|
+
showTitle: true,
|
|
45508
|
+
showDescription: true,
|
|
45509
|
+
animationDuration: 300,
|
|
45510
|
+
responsiveBreakpoint: 768
|
|
45511
|
+
}
|
|
45512
|
+
};
|
|
45513
|
+
},
|
|
45514
|
+
mounted() {},
|
|
45515
|
+
watch: {
|
|
45516
|
+
configData: {
|
|
45517
|
+
handler() {
|
|
45518
|
+
this.updateStyles();
|
|
45519
|
+
},
|
|
45520
|
+
immediate: true,
|
|
45521
|
+
deep: true
|
|
45522
|
+
}
|
|
45523
|
+
},
|
|
45524
|
+
computed: {
|
|
45525
|
+
isConfigPage() {
|
|
45526
|
+
return this.$EventBus && this.isOpcacity;
|
|
45527
|
+
},
|
|
45528
|
+
// 容器样式
|
|
45529
|
+
containerStyle() {
|
|
45530
|
+
return {
|
|
45531
|
+
backgroundColor: this.configData.backgroundColor || this.defaultConfig.backgroundColor,
|
|
45532
|
+
backgroundImage: this.configData.backgroundImage ? `url(${this.configData.backgroundImage})` : "",
|
|
45533
|
+
backgroundSize: "cover",
|
|
45534
|
+
backgroundRepeat: "no-repeat",
|
|
45535
|
+
backgroundPosition: "center center",
|
|
45536
|
+
boxShadow: this.configData.boxShadow || this.defaultConfig.boxShadow,
|
|
45537
|
+
borderRadius: `${this.configData.borderRadius || this.defaultConfig.borderRadius}px`,
|
|
45538
|
+
minHeight: this.configData.heightType === "fixed" ? `${this.configData.fixedHeight}px` : "auto"
|
|
45539
|
+
};
|
|
45540
|
+
},
|
|
45541
|
+
// 分栏容器样式
|
|
45542
|
+
columnStyle() {
|
|
45543
|
+
// const gap = this.configData.rowGap || this.defaultConfig.rowGap;
|
|
45544
|
+
return {
|
|
45545
|
+
// gap: `${gap}px`,
|
|
45546
|
+
border: this.configData.borderWidth ? `${this.configData.borderWidth}px ${this.configData.borderStyle} ${this.configData.borderColor}` : "none"
|
|
45547
|
+
};
|
|
45548
|
+
}
|
|
45549
|
+
},
|
|
45550
|
+
methods: {
|
|
45551
|
+
// 获取配置数据
|
|
45552
|
+
getConfigData(configData) {
|
|
45553
|
+
this.configData = configData;
|
|
45554
|
+
this.updateStyles();
|
|
45555
|
+
},
|
|
45556
|
+
// 更新样式
|
|
45557
|
+
updateStyles() {
|
|
45558
|
+
this.$nextTick(() => {
|
|
45559
|
+
// 触发样式更新
|
|
45560
|
+
this.$forceUpdate();
|
|
45561
|
+
});
|
|
45562
|
+
},
|
|
45563
|
+
// 获取分栏项的类名
|
|
45564
|
+
getColumnItemClass(index) {
|
|
45565
|
+
const layoutType = this.configData.layoutType || this.defaultConfig.layoutType;
|
|
45566
|
+
return ["column-item", `column-item-${index}`, `layout-${layoutType}`, {
|
|
45567
|
+
"min-h": this.$EventBus && this.isOpcacity,
|
|
45568
|
+
"first-item": index === 0,
|
|
45569
|
+
"last-item": index === this.data.childList.length - 1
|
|
45570
|
+
}];
|
|
45571
|
+
},
|
|
45572
|
+
// 获取分栏项的样式
|
|
45573
|
+
getColumnItemStyle(index) {
|
|
45574
|
+
const layoutType = this.configData.layoutType || this.defaultConfig.layoutType;
|
|
45575
|
+
const gap = this.configData.rowGap || this.defaultConfig.rowGap;
|
|
45576
|
+
let flexBasis = "100%";
|
|
45577
|
+
let marginRight = "0";
|
|
45578
|
+
|
|
45579
|
+
// 根据布局类型设置宽度
|
|
45580
|
+
switch (layoutType) {
|
|
45581
|
+
case "50-50":
|
|
45582
|
+
flexBasis = `calc(50% - ${gap / 2}px)`;
|
|
45583
|
+
marginRight = index % 2 === 0 ? `${gap}px` : "0";
|
|
45584
|
+
break;
|
|
45585
|
+
case "33-66":
|
|
45586
|
+
flexBasis = index === 0 ? `calc(33.33% - ${gap / 2}px)` : `calc(66.67% - ${gap / 2}px)`;
|
|
45587
|
+
marginRight = index === 0 ? `${gap}px` : "0";
|
|
45588
|
+
break;
|
|
45589
|
+
case "66-33":
|
|
45590
|
+
flexBasis = index === 0 ? `calc(66.67% - ${gap / 2}px)` : `calc(33.33% - ${gap / 2}px)`;
|
|
45591
|
+
marginRight = index === 0 ? `${gap}px` : "0";
|
|
45592
|
+
break;
|
|
45593
|
+
case "33-33-33":
|
|
45594
|
+
flexBasis = `calc(33.33% - ${gap * 2 / 3}px)`;
|
|
45595
|
+
marginRight = index < 2 ? `${gap}px` : "0";
|
|
45596
|
+
break;
|
|
45597
|
+
case "25-50-25":
|
|
45598
|
+
if (index === 0 || index === 2) {
|
|
45599
|
+
flexBasis = `calc(25% - ${gap * 2 / 3}px)`;
|
|
45600
|
+
} else {
|
|
45601
|
+
flexBasis = `calc(50% - ${gap * 2 / 3}px)`;
|
|
45602
|
+
}
|
|
45603
|
+
marginRight = index < 2 ? `${gap}px` : "0";
|
|
45604
|
+
break;
|
|
45605
|
+
default:
|
|
45606
|
+
flexBasis = "100%";
|
|
45607
|
+
}
|
|
45608
|
+
return {
|
|
45609
|
+
flexBasis,
|
|
45610
|
+
marginRight,
|
|
45611
|
+
marginBottom: `${this.configData.columnGap || this.defaultConfig.columnGap}px`
|
|
45612
|
+
};
|
|
45613
|
+
},
|
|
45614
|
+
// 折叠/展开文本
|
|
45615
|
+
foldMessText() {
|
|
45616
|
+
this.messFold = !this.messFold;
|
|
45617
|
+
},
|
|
45618
|
+
// 处理跳转链接
|
|
45619
|
+
decodeJumpUrl(url) {
|
|
45620
|
+
if (!url) return;
|
|
45621
|
+
top.location.href = url;
|
|
45622
|
+
}
|
|
45623
|
+
}
|
|
45624
|
+
});
|
|
45625
|
+
;// ./package/cms-column/View.vue?vue&type=script&lang=js
|
|
45626
|
+
/* harmony default export */ var cms_column_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
45627
|
+
;// ./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-column/View.vue?vue&type=style&index=0&id=1402d563&prod&lang=scss&scoped=true
|
|
45628
|
+
// extracted by mini-css-extract-plugin
|
|
45629
|
+
|
|
45630
|
+
;// ./package/cms-column/View.vue?vue&type=style&index=0&id=1402d563&prod&lang=scss&scoped=true
|
|
45631
|
+
|
|
45632
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
45633
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
45634
|
+
;// ./package/cms-column/View.vue
|
|
45635
|
+
|
|
45636
|
+
|
|
45637
|
+
|
|
45638
|
+
;
|
|
45639
|
+
|
|
45640
|
+
|
|
45641
|
+
/* normalize component */
|
|
45642
|
+
|
|
45643
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
45644
|
+
cms_column_Viewvue_type_script_lang_js,
|
|
45645
|
+
render,
|
|
45646
|
+
staticRenderFns,
|
|
45647
|
+
false,
|
|
45648
|
+
null,
|
|
45649
|
+
"1402d563",
|
|
45650
|
+
null
|
|
45651
|
+
|
|
45652
|
+
)
|
|
45653
|
+
|
|
45654
|
+
/* harmony default export */ var View = (component.exports);
|
|
45655
|
+
|
|
46030
45656
|
/***/ }),
|
|
46031
45657
|
|
|
46032
45658
|
/***/ 6823:
|
|
@@ -47606,7 +47232,61 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
47606
47232
|
|
|
47607
47233
|
/***/ }),
|
|
47608
47234
|
|
|
47609
|
-
/***/
|
|
47235
|
+
/***/ 7347:
|
|
47236
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
47237
|
+
|
|
47238
|
+
"use strict";
|
|
47239
|
+
|
|
47240
|
+
var DESCRIPTORS = __webpack_require__(3724);
|
|
47241
|
+
var call = __webpack_require__(9565);
|
|
47242
|
+
var propertyIsEnumerableModule = __webpack_require__(8773);
|
|
47243
|
+
var createPropertyDescriptor = __webpack_require__(6980);
|
|
47244
|
+
var toIndexedObject = __webpack_require__(5397);
|
|
47245
|
+
var toPropertyKey = __webpack_require__(6969);
|
|
47246
|
+
var hasOwn = __webpack_require__(9297);
|
|
47247
|
+
var IE8_DOM_DEFINE = __webpack_require__(5917);
|
|
47248
|
+
|
|
47249
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
47250
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
47251
|
+
|
|
47252
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
47253
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
47254
|
+
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
47255
|
+
O = toIndexedObject(O);
|
|
47256
|
+
P = toPropertyKey(P);
|
|
47257
|
+
if (IE8_DOM_DEFINE) try {
|
|
47258
|
+
return $getOwnPropertyDescriptor(O, P);
|
|
47259
|
+
} catch (error) { /* empty */ }
|
|
47260
|
+
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
47261
|
+
};
|
|
47262
|
+
|
|
47263
|
+
|
|
47264
|
+
/***/ }),
|
|
47265
|
+
|
|
47266
|
+
/***/ 7394:
|
|
47267
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
47268
|
+
|
|
47269
|
+
"use strict";
|
|
47270
|
+
|
|
47271
|
+
var globalThis = __webpack_require__(4576);
|
|
47272
|
+
var uncurryThisAccessor = __webpack_require__(6706);
|
|
47273
|
+
var classof = __webpack_require__(2195);
|
|
47274
|
+
|
|
47275
|
+
var ArrayBuffer = globalThis.ArrayBuffer;
|
|
47276
|
+
var TypeError = globalThis.TypeError;
|
|
47277
|
+
|
|
47278
|
+
// Includes
|
|
47279
|
+
// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
|
|
47280
|
+
// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception.
|
|
47281
|
+
module.exports = ArrayBuffer && uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) {
|
|
47282
|
+
if (classof(O) !== 'ArrayBuffer') throw new TypeError('ArrayBuffer expected');
|
|
47283
|
+
return O.byteLength;
|
|
47284
|
+
};
|
|
47285
|
+
|
|
47286
|
+
|
|
47287
|
+
/***/ }),
|
|
47288
|
+
|
|
47289
|
+
/***/ 7428:
|
|
47610
47290
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
47611
47291
|
|
|
47612
47292
|
"use strict";
|
|
@@ -47618,7 +47298,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
47618
47298
|
"default": function() { return /* binding */ View; }
|
|
47619
47299
|
});
|
|
47620
47300
|
|
|
47621
|
-
;// ./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-text/View.vue?vue&type=template&id=
|
|
47301
|
+
;// ./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-text/View.vue?vue&type=template&id=1854eb12&scoped=true
|
|
47622
47302
|
var render = function render() {
|
|
47623
47303
|
var _vm = this,
|
|
47624
47304
|
_c = _vm._self._c;
|
|
@@ -47724,7 +47404,8 @@ var baseComp = __webpack_require__(9659);
|
|
|
47724
47404
|
fontWeight: "normal",
|
|
47725
47405
|
fontStyle: "normal",
|
|
47726
47406
|
textDecoration: "none",
|
|
47727
|
-
fontFamily: "inherit",
|
|
47407
|
+
// fontFamily: "inherit",
|
|
47408
|
+
|
|
47728
47409
|
// 布局设置
|
|
47729
47410
|
paddingTop: 0,
|
|
47730
47411
|
paddingBottom: 0,
|
|
@@ -47818,7 +47499,7 @@ var baseComp = __webpack_require__(9659);
|
|
|
47818
47499
|
fontWeight: config.fontWeight,
|
|
47819
47500
|
fontStyle: config.fontStyle,
|
|
47820
47501
|
textDecoration: config.textDecoration,
|
|
47821
|
-
fontFamily: config.fontFamily,
|
|
47502
|
+
// fontFamily: config.fontFamily,
|
|
47822
47503
|
lineHeight: config.lineHeight,
|
|
47823
47504
|
letterSpacing: `${config.letterSpacing}px`,
|
|
47824
47505
|
textAlign: config.textAlign,
|
|
@@ -47989,10 +47670,10 @@ var baseComp = __webpack_require__(9659);
|
|
|
47989
47670
|
});
|
|
47990
47671
|
;// ./package/cms-text/View.vue?vue&type=script&lang=js
|
|
47991
47672
|
/* harmony default export */ var cms_text_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
47992
|
-
;// ./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-text/View.vue?vue&type=style&index=0&id=
|
|
47673
|
+
;// ./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-text/View.vue?vue&type=style&index=0&id=1854eb12&prod&lang=scss&scoped=true
|
|
47993
47674
|
// extracted by mini-css-extract-plugin
|
|
47994
47675
|
|
|
47995
|
-
;// ./package/cms-text/View.vue?vue&type=style&index=0&id=
|
|
47676
|
+
;// ./package/cms-text/View.vue?vue&type=style&index=0&id=1854eb12&prod&lang=scss&scoped=true
|
|
47996
47677
|
|
|
47997
47678
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
47998
47679
|
var componentNormalizer = __webpack_require__(1656);
|
|
@@ -48011,67 +47692,13 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
48011
47692
|
staticRenderFns,
|
|
48012
47693
|
false,
|
|
48013
47694
|
null,
|
|
48014
|
-
"
|
|
47695
|
+
"1854eb12",
|
|
48015
47696
|
null
|
|
48016
47697
|
|
|
48017
47698
|
)
|
|
48018
47699
|
|
|
48019
47700
|
/* harmony default export */ var View = (component.exports);
|
|
48020
47701
|
|
|
48021
|
-
/***/ }),
|
|
48022
|
-
|
|
48023
|
-
/***/ 7347:
|
|
48024
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
48025
|
-
|
|
48026
|
-
"use strict";
|
|
48027
|
-
|
|
48028
|
-
var DESCRIPTORS = __webpack_require__(3724);
|
|
48029
|
-
var call = __webpack_require__(9565);
|
|
48030
|
-
var propertyIsEnumerableModule = __webpack_require__(8773);
|
|
48031
|
-
var createPropertyDescriptor = __webpack_require__(6980);
|
|
48032
|
-
var toIndexedObject = __webpack_require__(5397);
|
|
48033
|
-
var toPropertyKey = __webpack_require__(6969);
|
|
48034
|
-
var hasOwn = __webpack_require__(9297);
|
|
48035
|
-
var IE8_DOM_DEFINE = __webpack_require__(5917);
|
|
48036
|
-
|
|
48037
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
48038
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
48039
|
-
|
|
48040
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
48041
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
48042
|
-
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
48043
|
-
O = toIndexedObject(O);
|
|
48044
|
-
P = toPropertyKey(P);
|
|
48045
|
-
if (IE8_DOM_DEFINE) try {
|
|
48046
|
-
return $getOwnPropertyDescriptor(O, P);
|
|
48047
|
-
} catch (error) { /* empty */ }
|
|
48048
|
-
if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
48049
|
-
};
|
|
48050
|
-
|
|
48051
|
-
|
|
48052
|
-
/***/ }),
|
|
48053
|
-
|
|
48054
|
-
/***/ 7394:
|
|
48055
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
48056
|
-
|
|
48057
|
-
"use strict";
|
|
48058
|
-
|
|
48059
|
-
var globalThis = __webpack_require__(4576);
|
|
48060
|
-
var uncurryThisAccessor = __webpack_require__(6706);
|
|
48061
|
-
var classof = __webpack_require__(2195);
|
|
48062
|
-
|
|
48063
|
-
var ArrayBuffer = globalThis.ArrayBuffer;
|
|
48064
|
-
var TypeError = globalThis.TypeError;
|
|
48065
|
-
|
|
48066
|
-
// Includes
|
|
48067
|
-
// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
|
|
48068
|
-
// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception.
|
|
48069
|
-
module.exports = ArrayBuffer && uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) {
|
|
48070
|
-
if (classof(O) !== 'ArrayBuffer') throw new TypeError('ArrayBuffer expected');
|
|
48071
|
-
return O.byteLength;
|
|
48072
|
-
};
|
|
48073
|
-
|
|
48074
|
-
|
|
48075
47702
|
/***/ }),
|
|
48076
47703
|
|
|
48077
47704
|
/***/ 7467:
|
|
@@ -48888,310 +48515,6 @@ module.exports = function (target, source, exceptions) {
|
|
|
48888
48515
|
};
|
|
48889
48516
|
|
|
48890
48517
|
|
|
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
48518
|
/***/ }),
|
|
49196
48519
|
|
|
49197
48520
|
/***/ 7750:
|
|
@@ -53055,7 +52378,7 @@ module.exports = URIError;
|
|
|
53055
52378
|
__webpack_require__.r(__webpack_exports__);
|
|
53056
52379
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
53057
52380
|
|
|
53058
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
52381
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 8924));
|
|
53059
52382
|
const langData = {};
|
|
53060
52383
|
const configDataType = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getLangDataType)(langData, {});
|
|
53061
52384
|
const validateSchema = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getValidateSchema)(langData);
|
|
@@ -53141,6 +52464,384 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAQAAABs
|
|
|
53141
52464
|
|
|
53142
52465
|
/***/ }),
|
|
53143
52466
|
|
|
52467
|
+
/***/ 8924:
|
|
52468
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
52469
|
+
|
|
52470
|
+
"use strict";
|
|
52471
|
+
// ESM COMPAT FLAG
|
|
52472
|
+
__webpack_require__.r(__webpack_exports__);
|
|
52473
|
+
|
|
52474
|
+
// EXPORTS
|
|
52475
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
52476
|
+
"default": function() { return /* binding */ View; }
|
|
52477
|
+
});
|
|
52478
|
+
|
|
52479
|
+
;// ./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-via-storedValueCard/View.vue?vue&type=template&id=ff44e87c&scoped=true
|
|
52480
|
+
var render = function render() {
|
|
52481
|
+
var _vm = this,
|
|
52482
|
+
_c = _vm._self._c;
|
|
52483
|
+
return _c('BaseComp', _vm._b({
|
|
52484
|
+
attrs: {
|
|
52485
|
+
"data": _vm.data,
|
|
52486
|
+
"nowCompId": _vm.nowCompId,
|
|
52487
|
+
"isOpcacity": _vm.isOpcacity,
|
|
52488
|
+
"lang": _vm.lang
|
|
52489
|
+
},
|
|
52490
|
+
on: {
|
|
52491
|
+
"getConfigData": _vm.getConfigData
|
|
52492
|
+
}
|
|
52493
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('section', {
|
|
52494
|
+
staticClass: "cmhk-home_main"
|
|
52495
|
+
}, [_c('div', {
|
|
52496
|
+
staticClass: "wrap"
|
|
52497
|
+
}, [_c('div', {
|
|
52498
|
+
ref: "cardList",
|
|
52499
|
+
staticClass: "cardList"
|
|
52500
|
+
}, [_vm.viewList.length === 0 ? [_c('div', {
|
|
52501
|
+
staticClass: "card-box"
|
|
52502
|
+
}, [_c('div', {
|
|
52503
|
+
staticClass: "card"
|
|
52504
|
+
}, [_c('div', {
|
|
52505
|
+
staticClass: "img-box"
|
|
52506
|
+
}, [_c('div', {
|
|
52507
|
+
staticClass: "card-img",
|
|
52508
|
+
class: {
|
|
52509
|
+
'is-cms': _vm.$EventBus
|
|
52510
|
+
}
|
|
52511
|
+
}, [_c('img', {
|
|
52512
|
+
staticStyle: {
|
|
52513
|
+
"height": "200px"
|
|
52514
|
+
},
|
|
52515
|
+
attrs: {
|
|
52516
|
+
"src": _vm.placeholderImg,
|
|
52517
|
+
"alt": ""
|
|
52518
|
+
}
|
|
52519
|
+
})])]), _c('div', {
|
|
52520
|
+
staticClass: "content-box"
|
|
52521
|
+
}, [_c('div', {
|
|
52522
|
+
staticClass: "card-name"
|
|
52523
|
+
}, [_vm._v(_vm._s(_vm.langText.productName))]), _c('div', {
|
|
52524
|
+
staticClass: "text-box"
|
|
52525
|
+
}, [_c('div', {
|
|
52526
|
+
staticClass: "card-refPrice"
|
|
52527
|
+
}, [_vm._v(" " + _vm._s(_vm.langText.Price) + " HK$XXXX ")]), _c('div', {
|
|
52528
|
+
staticClass: "card-pice-text"
|
|
52529
|
+
}, [_vm._v(_vm._s(_vm.langText.onlinePrice))])]), _c('div', {
|
|
52530
|
+
staticClass: "card-pice"
|
|
52531
|
+
}, [_c('span', [_vm._v("HK$")]), _vm._v("XXXX")]), _c('div', {
|
|
52532
|
+
staticClass: "card-btn"
|
|
52533
|
+
}, [_vm._v(_vm._s(_vm.langText.buyNow))])])])])] : _vm._e(), _vm._l(_vm.viewList, function (item, index) {
|
|
52534
|
+
return _c('div', {
|
|
52535
|
+
key: `${index}-${item.commodityId || index}`,
|
|
52536
|
+
staticClass: "card-box"
|
|
52537
|
+
}, [_c('div', {
|
|
52538
|
+
staticClass: "card"
|
|
52539
|
+
}, [_c('div', {
|
|
52540
|
+
staticClass: "tag-box-left"
|
|
52541
|
+
}, [_vm._l(item.malltCommodityLeft, function (ele, i) {
|
|
52542
|
+
return [_c('img', {
|
|
52543
|
+
key: i,
|
|
52544
|
+
attrs: {
|
|
52545
|
+
"src": _vm.compBaseUrl + ele.pictureUrl,
|
|
52546
|
+
"alt": ""
|
|
52547
|
+
}
|
|
52548
|
+
})];
|
|
52549
|
+
})], 2), _c('div', {
|
|
52550
|
+
staticClass: "tag-box-right"
|
|
52551
|
+
}, [_vm._l(item.malltCommodityRight, function (ele, i) {
|
|
52552
|
+
return [_c('img', {
|
|
52553
|
+
key: i,
|
|
52554
|
+
attrs: {
|
|
52555
|
+
"src": _vm.compBaseUrl + ele.pictureUrl,
|
|
52556
|
+
"alt": ""
|
|
52557
|
+
}
|
|
52558
|
+
})];
|
|
52559
|
+
})], 2), _c('div', {
|
|
52560
|
+
staticClass: "img-box"
|
|
52561
|
+
}, [_vm.isNotActive(item) ? _c('div', {
|
|
52562
|
+
staticClass: "mask"
|
|
52563
|
+
}, [_vm._v(" " + _vm._s(new Date(item.upTime).getTime() > _vm.nowTs ? _vm.langText.comingSoon : _vm.langText.expired) + " ")]) : _vm._e(), _c('div', {
|
|
52564
|
+
staticClass: "card-img",
|
|
52565
|
+
class: {
|
|
52566
|
+
'is-cms': _vm.$EventBus
|
|
52567
|
+
}
|
|
52568
|
+
}, [_c('img', {
|
|
52569
|
+
attrs: {
|
|
52570
|
+
"src": _vm.compBaseUrl + item.maxPicId,
|
|
52571
|
+
"alt": ""
|
|
52572
|
+
}
|
|
52573
|
+
})])]), _c('div', {
|
|
52574
|
+
staticClass: "content-box"
|
|
52575
|
+
}, [_vm.isNotActive(item) ? _c('div', {
|
|
52576
|
+
staticClass: "content-mask"
|
|
52577
|
+
}) : _vm._e(), _c('div', {
|
|
52578
|
+
staticClass: "card-name"
|
|
52579
|
+
}, [_vm._v(_vm._s(item.commodityName))]), _c('div', {
|
|
52580
|
+
staticClass: "text-box"
|
|
52581
|
+
}, [item.price !== item.refPrice ? _c('div', {
|
|
52582
|
+
staticClass: "card-refPrice"
|
|
52583
|
+
}, [_vm._v(" " + _vm._s(_vm.langText.Price) + " HK$" + _vm._s(_vm.convertCentsToYuan(item.refPrice)) + " ")]) : _c('div', {
|
|
52584
|
+
staticClass: "card-refPrice"
|
|
52585
|
+
}), _c('div', {
|
|
52586
|
+
staticClass: "card-pice-text"
|
|
52587
|
+
}, [_vm._v(" " + _vm._s(item.price !== item.refPrice ? _vm.langText.onlinePrice : _vm.langText.Price) + " ")])]), _c('div', {
|
|
52588
|
+
staticClass: "card-pice spc-font"
|
|
52589
|
+
}, [_c('span', [_vm._v("HK$")]), _vm._v(_vm._s(_vm.convertCentsToYuan(item.price)) + " ")]), _vm.isActive(item) ? _c('div', {
|
|
52590
|
+
staticClass: "card-btn",
|
|
52591
|
+
on: {
|
|
52592
|
+
"click": function ($event) {
|
|
52593
|
+
return _vm.goDetail(item);
|
|
52594
|
+
}
|
|
52595
|
+
}
|
|
52596
|
+
}, [_vm._v(" " + _vm._s(_vm.langText.buyNow)), _c('img', {
|
|
52597
|
+
attrs: {
|
|
52598
|
+
"src": _vm.arrowRightImg
|
|
52599
|
+
}
|
|
52600
|
+
})]) : _c('div', {
|
|
52601
|
+
staticClass: "card-btn"
|
|
52602
|
+
}, [_vm._v(" " + _vm._s(new Date(item.upTime).getTime() > _vm.nowTs ? (_vm.langText.launch || "").replace("NNN", item.upTime) : _vm.langText.Offer) + " ")])])])]);
|
|
52603
|
+
})], 2), !_vm.seeMore && _vm.configList.length > 9 ? _c('div', {
|
|
52604
|
+
ref: "seeMoreRef",
|
|
52605
|
+
staticClass: "seeMore",
|
|
52606
|
+
on: {
|
|
52607
|
+
"click": function ($event) {
|
|
52608
|
+
_vm.seeMore = true;
|
|
52609
|
+
}
|
|
52610
|
+
}
|
|
52611
|
+
}, [_vm._v(" " + _vm._s(_vm.langText.more) + " "), _c('img', {
|
|
52612
|
+
staticClass: "btm",
|
|
52613
|
+
attrs: {
|
|
52614
|
+
"src": _vm.arrowDownImg
|
|
52615
|
+
}
|
|
52616
|
+
})]) : _vm._e()])])]);
|
|
52617
|
+
};
|
|
52618
|
+
var staticRenderFns = [];
|
|
52619
|
+
|
|
52620
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
|
|
52621
|
+
var es_iterator_constructor = __webpack_require__(8111);
|
|
52622
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
|
|
52623
|
+
var es_iterator_filter = __webpack_require__(2489);
|
|
52624
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
|
|
52625
|
+
var es_iterator_for_each = __webpack_require__(7588);
|
|
52626
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
52627
|
+
var baseComp = __webpack_require__(9659);
|
|
52628
|
+
// EXTERNAL MODULE: ./src/api/index.js
|
|
52629
|
+
var api = __webpack_require__(2842);
|
|
52630
|
+
// EXTERNAL MODULE: ./package/patch.js
|
|
52631
|
+
var patch = __webpack_require__(4229);
|
|
52632
|
+
// EXTERNAL MODULE: ./node_modules/qs/lib/index.js
|
|
52633
|
+
var lib = __webpack_require__(7087);
|
|
52634
|
+
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
|
52635
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
52636
|
+
|
|
52637
|
+
|
|
52638
|
+
|
|
52639
|
+
|
|
52640
|
+
|
|
52641
|
+
|
|
52642
|
+
|
|
52643
|
+
|
|
52644
|
+
|
|
52645
|
+
|
|
52646
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
52647
|
+
name: "cms-via-storedValueCard",
|
|
52648
|
+
components: {
|
|
52649
|
+
BaseComp: baseComp["default"]
|
|
52650
|
+
},
|
|
52651
|
+
props: {
|
|
52652
|
+
data: {
|
|
52653
|
+
type: Object,
|
|
52654
|
+
default: () => {
|
|
52655
|
+
return {};
|
|
52656
|
+
}
|
|
52657
|
+
},
|
|
52658
|
+
nowCompId: {
|
|
52659
|
+
type: [String, Number],
|
|
52660
|
+
default: ""
|
|
52661
|
+
},
|
|
52662
|
+
isOpcacity: {
|
|
52663
|
+
type: Boolean,
|
|
52664
|
+
default: true
|
|
52665
|
+
},
|
|
52666
|
+
lang: {
|
|
52667
|
+
type: String,
|
|
52668
|
+
default: "zh-HK"
|
|
52669
|
+
}
|
|
52670
|
+
},
|
|
52671
|
+
data() {
|
|
52672
|
+
return {
|
|
52673
|
+
langConfig: {
|
|
52674
|
+
"zh-HK": {
|
|
52675
|
+
productName: "產品名稱",
|
|
52676
|
+
Price: "建議零售價",
|
|
52677
|
+
onlinePrice: "網上優惠價",
|
|
52678
|
+
buyNow: "立即購買",
|
|
52679
|
+
comingSoon: "即將推出",
|
|
52680
|
+
expired: "優惠已過期",
|
|
52681
|
+
more: "查看更多",
|
|
52682
|
+
launch: "NNN 上線",
|
|
52683
|
+
Offer: "優惠即將推出"
|
|
52684
|
+
},
|
|
52685
|
+
"zh-CN": {
|
|
52686
|
+
productName: "产品名称",
|
|
52687
|
+
Price: "建议零售价",
|
|
52688
|
+
onlinePrice: "网上优惠价",
|
|
52689
|
+
buyNow: "立即购买",
|
|
52690
|
+
comingSoon: "即将推出",
|
|
52691
|
+
expired: "优惠已过期",
|
|
52692
|
+
more: "查看更多",
|
|
52693
|
+
launch: "NNN 上线",
|
|
52694
|
+
Offer: "优惠即将推出"
|
|
52695
|
+
},
|
|
52696
|
+
"en-US": {
|
|
52697
|
+
productName: "Product Name",
|
|
52698
|
+
Price: "SRP",
|
|
52699
|
+
onlinePrice: "Online Price",
|
|
52700
|
+
buyNow: "Buy Now",
|
|
52701
|
+
comingSoon: "Coming Soon",
|
|
52702
|
+
expired: "Expired",
|
|
52703
|
+
more: "See more",
|
|
52704
|
+
launch: "Launch at NNN",
|
|
52705
|
+
Offer: "Offer Coming"
|
|
52706
|
+
}
|
|
52707
|
+
},
|
|
52708
|
+
configList: [],
|
|
52709
|
+
seeMore: false,
|
|
52710
|
+
nowTs: Date.now(),
|
|
52711
|
+
compBaseUrl: "https://omniapi.hk.chinamobile.com",
|
|
52712
|
+
// images
|
|
52713
|
+
placeholderImg: __webpack_require__(5335),
|
|
52714
|
+
arrowRightImg: __webpack_require__(4860),
|
|
52715
|
+
arrowDownImg: __webpack_require__(1861),
|
|
52716
|
+
arrowHoverImg: __webpack_require__(4116),
|
|
52717
|
+
arrowActiveImg: __webpack_require__(9670),
|
|
52718
|
+
shopList: []
|
|
52719
|
+
};
|
|
52720
|
+
},
|
|
52721
|
+
computed: {
|
|
52722
|
+
langText() {
|
|
52723
|
+
return this.langConfig[this.lang] ? this.langConfig[this.lang] : this.langConfig["zh-HK"];
|
|
52724
|
+
},
|
|
52725
|
+
viewList() {
|
|
52726
|
+
if (this.seeMore) return this.shopList;
|
|
52727
|
+
return this.shopList.slice(0, 9);
|
|
52728
|
+
}
|
|
52729
|
+
},
|
|
52730
|
+
mounted() {
|
|
52731
|
+
if (!this.$EventBus) {
|
|
52732
|
+
this.compBaseUrl = (0,patch.getCompBaseUrl)();
|
|
52733
|
+
}
|
|
52734
|
+
},
|
|
52735
|
+
beforeDestroy() {},
|
|
52736
|
+
methods: {
|
|
52737
|
+
getConfigData(configData) {
|
|
52738
|
+
this.configList = configData.configList;
|
|
52739
|
+
console.log("getConfigData", this.configList);
|
|
52740
|
+
this.getValue();
|
|
52741
|
+
},
|
|
52742
|
+
async getValue() {
|
|
52743
|
+
await this.getCommodityDetails();
|
|
52744
|
+
},
|
|
52745
|
+
// 拉取已选商品详情
|
|
52746
|
+
async getCommodityDetails() {
|
|
52747
|
+
// try {
|
|
52748
|
+
let req = {
|
|
52749
|
+
busInfo: JSON.stringify({
|
|
52750
|
+
commodityIds: [...this.configList],
|
|
52751
|
+
commodityTypes: ["604", "605"]
|
|
52752
|
+
})
|
|
52753
|
+
};
|
|
52754
|
+
req = lib_default().stringify(req);
|
|
52755
|
+
const json = await (0,api/* getCommodityDetails */.yX)(req, this.lang);
|
|
52756
|
+
let dataResult = json && json.busiResp && json.busiResp.busiDataResp;
|
|
52757
|
+
if (Array.isArray(dataResult)) {
|
|
52758
|
+
dataResult.forEach(item => {
|
|
52759
|
+
if (Array.isArray(item.malltCommodityTags)) {
|
|
52760
|
+
const left = item.malltCommodityTags.filter(ele => ele.tagType == 5001).sort((a, b) => a.sort - b.sort);
|
|
52761
|
+
const right = item.malltCommodityTags.filter(ele => ele.tagType == 5002).sort((a, b) => a.sort - b.sort);
|
|
52762
|
+
item.malltCommodityLeft = left.slice(0, 2);
|
|
52763
|
+
item.malltCommodityRight = right.slice(0, 4);
|
|
52764
|
+
} else {
|
|
52765
|
+
item.malltCommodityLeft = [];
|
|
52766
|
+
item.malltCommodityRight = [];
|
|
52767
|
+
}
|
|
52768
|
+
});
|
|
52769
|
+
// 按选择顺序排序
|
|
52770
|
+
this.shopList = dataResult.sort((a, b) => {
|
|
52771
|
+
return this.configList.indexOf(a.commodityId) - this.configList.indexOf(b.commodityId);
|
|
52772
|
+
});
|
|
52773
|
+
} else {
|
|
52774
|
+
this.shopList = [];
|
|
52775
|
+
}
|
|
52776
|
+
// } catch (e) {
|
|
52777
|
+
// this.shopList = [];
|
|
52778
|
+
// }
|
|
52779
|
+
},
|
|
52780
|
+
isActive(item) {
|
|
52781
|
+
const now = Date.now();
|
|
52782
|
+
return new Date(item.upTime).getTime() < now && new Date(item.downTime).getTime() > now;
|
|
52783
|
+
},
|
|
52784
|
+
isNotActive(item) {
|
|
52785
|
+
const now = Date.now();
|
|
52786
|
+
return new Date(item.upTime).getTime() > now || new Date(item.downTime).getTime() < now;
|
|
52787
|
+
},
|
|
52788
|
+
convertCentsToYuan(cents) {
|
|
52789
|
+
const yuan = (Number(cents || 0) / 100).toFixed(2);
|
|
52790
|
+
return parseFloat(yuan);
|
|
52791
|
+
},
|
|
52792
|
+
goDetail(item) {
|
|
52793
|
+
const base = this.$EventBus ? this.compBaseUrl : window.location.origin;
|
|
52794
|
+
const langMap = {
|
|
52795
|
+
"zh-CN": "sc",
|
|
52796
|
+
"zh-HK": "tc",
|
|
52797
|
+
"en-US": "en"
|
|
52798
|
+
};
|
|
52799
|
+
const routeLang = langMap[this.lang];
|
|
52800
|
+
if (item.commodityType === "604") {
|
|
52801
|
+
if ((item.commodityName || "").includes("MySIM")) {
|
|
52802
|
+
window.parent.location.href = `${base}/${routeLang}/home/prepaid-card/mysim/detail?commodityId=${item.commodityId}&mysim=${item.commodityName}`;
|
|
52803
|
+
} else {
|
|
52804
|
+
window.parent.location.href = `${base}/${routeLang}/home/prepaid-card/detail?commodityId=${item.commodityId}&commodityType=604&commodityName=${item.commodityName}`;
|
|
52805
|
+
}
|
|
52806
|
+
} else if (item.commodityType === "605") {
|
|
52807
|
+
window.parent.location.href = `${base}/${routeLang}/home/prepaid/refill-voucher/detail?commodityId=${item.commodityId}&commodityType=605&commodityName=${item.commodityName}`;
|
|
52808
|
+
}
|
|
52809
|
+
}
|
|
52810
|
+
}
|
|
52811
|
+
});
|
|
52812
|
+
;// ./package/cms-via-storedValueCard/View.vue?vue&type=script&lang=js
|
|
52813
|
+
/* harmony default export */ var cms_via_storedValueCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
52814
|
+
;// ./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-via-storedValueCard/View.vue?vue&type=style&index=0&id=ff44e87c&prod&lang=scss&scoped=true
|
|
52815
|
+
// extracted by mini-css-extract-plugin
|
|
52816
|
+
|
|
52817
|
+
;// ./package/cms-via-storedValueCard/View.vue?vue&type=style&index=0&id=ff44e87c&prod&lang=scss&scoped=true
|
|
52818
|
+
|
|
52819
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
52820
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
52821
|
+
;// ./package/cms-via-storedValueCard/View.vue
|
|
52822
|
+
|
|
52823
|
+
|
|
52824
|
+
|
|
52825
|
+
;
|
|
52826
|
+
|
|
52827
|
+
|
|
52828
|
+
/* normalize component */
|
|
52829
|
+
|
|
52830
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
52831
|
+
cms_via_storedValueCard_Viewvue_type_script_lang_js,
|
|
52832
|
+
render,
|
|
52833
|
+
staticRenderFns,
|
|
52834
|
+
false,
|
|
52835
|
+
null,
|
|
52836
|
+
"ff44e87c",
|
|
52837
|
+
null
|
|
52838
|
+
|
|
52839
|
+
)
|
|
52840
|
+
|
|
52841
|
+
/* harmony default export */ var View = (component.exports);
|
|
52842
|
+
|
|
52843
|
+
/***/ }),
|
|
52844
|
+
|
|
53144
52845
|
/***/ 8945:
|
|
53145
52846
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
53146
52847
|
|
|
@@ -60202,7 +59903,7 @@ const validateSchema = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getValidateSc
|
|
|
60202
59903
|
__webpack_require__.r(__webpack_exports__);
|
|
60203
59904
|
/* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
|
|
60204
59905
|
|
|
60205
|
-
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
59906
|
+
const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 8924));
|
|
60206
59907
|
const langData = {
|
|
60207
59908
|
configList: [
|
|
60208
59909
|
// {
|
|
@@ -60313,6 +60014,310 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAMAAADx
|
|
|
60313
60014
|
|
|
60314
60015
|
/***/ }),
|
|
60315
60016
|
|
|
60017
|
+
/***/ 9894:
|
|
60018
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
60019
|
+
|
|
60020
|
+
"use strict";
|
|
60021
|
+
// ESM COMPAT FLAG
|
|
60022
|
+
__webpack_require__.r(__webpack_exports__);
|
|
60023
|
+
|
|
60024
|
+
// EXPORTS
|
|
60025
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
60026
|
+
"default": function() { return /* binding */ View; }
|
|
60027
|
+
});
|
|
60028
|
+
|
|
60029
|
+
;// ./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
|
|
60030
|
+
var render = function render() {
|
|
60031
|
+
var _vm$configList$_vm$sw;
|
|
60032
|
+
var _vm = this,
|
|
60033
|
+
_c = _vm._self._c;
|
|
60034
|
+
return _c('BaseComp', _vm._b({
|
|
60035
|
+
attrs: {
|
|
60036
|
+
"data": _vm.data,
|
|
60037
|
+
"nowCompId": _vm.nowCompId,
|
|
60038
|
+
"isOpcacity": _vm.isOpcacity,
|
|
60039
|
+
"lang": _vm.lang
|
|
60040
|
+
},
|
|
60041
|
+
on: {
|
|
60042
|
+
"getConfigData": _vm.getConfigData
|
|
60043
|
+
}
|
|
60044
|
+
}, 'BaseComp', _vm.$attrs, false), [_c('div', {
|
|
60045
|
+
staticClass: "content-swiper tt_banner"
|
|
60046
|
+
}, [_vm.configList.length > 0 ? _c('div', {
|
|
60047
|
+
staticClass: "relative position"
|
|
60048
|
+
}, [_c('div', {
|
|
60049
|
+
staticClass: "my_banner"
|
|
60050
|
+
}, [_c('div', {
|
|
60051
|
+
staticClass: "swiper-container_contentswiper",
|
|
60052
|
+
attrs: {
|
|
60053
|
+
"id": `contentSwiper${_vm.data.componentId}`
|
|
60054
|
+
}
|
|
60055
|
+
}, [_c('div', {
|
|
60056
|
+
staticClass: "swiper-wrapper"
|
|
60057
|
+
}, _vm._l(_vm.configList, function (item, inx) {
|
|
60058
|
+
return _c('div', {
|
|
60059
|
+
key: inx,
|
|
60060
|
+
staticClass: "swiper-slide"
|
|
60061
|
+
}, [item ? _c('div', {
|
|
60062
|
+
staticClass: "swiper-banner_box",
|
|
60063
|
+
on: {
|
|
60064
|
+
"click": function ($event) {
|
|
60065
|
+
return _vm.decodeJumpUrl(item.jumpUrl, _vm.$router);
|
|
60066
|
+
}
|
|
60067
|
+
}
|
|
60068
|
+
}, [_c('img', {
|
|
60069
|
+
staticClass: "swiper-banner_image layout-pc",
|
|
60070
|
+
attrs: {
|
|
60071
|
+
"src": item.uploadImagePC,
|
|
60072
|
+
"alt": "PC"
|
|
60073
|
+
}
|
|
60074
|
+
}), _c('img', {
|
|
60075
|
+
staticClass: "swiper-banner_image layout-mobile",
|
|
60076
|
+
attrs: {
|
|
60077
|
+
"src": item.uploadImageH5,
|
|
60078
|
+
"alt": "H5"
|
|
60079
|
+
}
|
|
60080
|
+
}), _c('div', {
|
|
60081
|
+
staticClass: "extra-swiper_box layout-pc"
|
|
60082
|
+
}, [item.title ? _c('div', {
|
|
60083
|
+
staticClass: "swiper-contentbtn"
|
|
60084
|
+
}, [_c('span', [_vm._v(_vm._s(item.title))])]) : _vm._e(), item.des ? _c('div', {
|
|
60085
|
+
staticClass: "swiper-labels"
|
|
60086
|
+
}, [_c('span', [_vm._v(_vm._s(item.des))])]) : _vm._e(), _c('div', {
|
|
60087
|
+
staticClass: "swiper-btn_container"
|
|
60088
|
+
}, [item.input1 != '' ? _c('a', {
|
|
60089
|
+
attrs: {
|
|
60090
|
+
"href": item.jumpUrl1,
|
|
60091
|
+
"target": "_self"
|
|
60092
|
+
}
|
|
60093
|
+
}, [_c('button', {
|
|
60094
|
+
staticClass: "swiper-opbtn have-arrow"
|
|
60095
|
+
}, [_c('span', [_vm._v(_vm._s(item.input1))])])]) : _vm._e(), item.input2 != '' ? _c('a', {
|
|
60096
|
+
attrs: {
|
|
60097
|
+
"href": item.jumpUrl2,
|
|
60098
|
+
"target": "_self"
|
|
60099
|
+
}
|
|
60100
|
+
}, [_c('button', {
|
|
60101
|
+
staticClass: "swiper-opbtn_wt"
|
|
60102
|
+
}, [_c('span', [_vm._v(_vm._s(item.input2))])])]) : _vm._e()])])]) : _vm._e()]);
|
|
60103
|
+
}), 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', {
|
|
60104
|
+
staticClass: "mb-swiper_box layout-mobile"
|
|
60105
|
+
}, [_vm.configList[_vm.swiperIdx].title ? _c('div', {
|
|
60106
|
+
staticClass: "swiper-contentbtn"
|
|
60107
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].title))])]) : _vm._e(), _vm.configList[_vm.swiperIdx].des ? _c('div', {
|
|
60108
|
+
staticClass: "swiper-label"
|
|
60109
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].des))])]) : _vm._e(), _c('div', {
|
|
60110
|
+
staticClass: "swiper-btn_container"
|
|
60111
|
+
}, [_vm.configList[_vm.swiperIdx].input1 ? _c('a', {
|
|
60112
|
+
attrs: {
|
|
60113
|
+
"href": _vm.configList[_vm.swiperIdx].jumpUrl1,
|
|
60114
|
+
"target": "_self"
|
|
60115
|
+
}
|
|
60116
|
+
}, [_c('button', {
|
|
60117
|
+
staticClass: "swiper-opbtn have-arrow"
|
|
60118
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].input1))])])]) : _vm._e(), _vm.configList[_vm.swiperIdx].input2 ? _c('a', {
|
|
60119
|
+
attrs: {
|
|
60120
|
+
"href": _vm.configList[_vm.swiperIdx].jumpUrl2,
|
|
60121
|
+
"target": "_self"
|
|
60122
|
+
}
|
|
60123
|
+
}, [_c('button', {
|
|
60124
|
+
staticClass: "swiper-opbtn_wt have-arrow"
|
|
60125
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.configList[_vm.swiperIdx].input2))])])]) : _vm._e()])]) : _vm._e(), _vm.configList.length > 1 ? _c('div', {
|
|
60126
|
+
staticClass: "cmhk-swiper-button-number"
|
|
60127
|
+
}, [_vm._l(_vm.configList, function (item, idx) {
|
|
60128
|
+
return _c('div', {
|
|
60129
|
+
key: idx,
|
|
60130
|
+
staticClass: "line-customs_wrapper",
|
|
60131
|
+
on: {
|
|
60132
|
+
"click": function ($event) {
|
|
60133
|
+
$event.stopPropagation();
|
|
60134
|
+
return _vm.jumpToSlide(idx);
|
|
60135
|
+
}
|
|
60136
|
+
}
|
|
60137
|
+
}, [_c('div', {
|
|
60138
|
+
class: ['cmhk-line-customs', idx === _vm.swiperIdx ? 'cmhk-line-customs-active' : '']
|
|
60139
|
+
}, [item && item.input1 ? _c('div', {
|
|
60140
|
+
staticClass: "swiper-popupup layout-pc"
|
|
60141
|
+
}, [_c('p', {
|
|
60142
|
+
staticClass: "swiper-popuptext"
|
|
60143
|
+
}, [_vm._v(_vm._s(item.input1))])]) : _vm._e()])]);
|
|
60144
|
+
}), _c('div', {
|
|
60145
|
+
staticClass: "swiper-button-puase",
|
|
60146
|
+
on: {
|
|
60147
|
+
"click": function ($event) {
|
|
60148
|
+
$event.stopPropagation();
|
|
60149
|
+
return _vm.swiperPlay.apply(null, arguments);
|
|
60150
|
+
}
|
|
60151
|
+
}
|
|
60152
|
+
}, [!_vm.swiperPlayVal ? _c('img', {
|
|
60153
|
+
staticClass: "playstart-image",
|
|
60154
|
+
attrs: {
|
|
60155
|
+
"src": __webpack_require__(2254)
|
|
60156
|
+
}
|
|
60157
|
+
}) : _vm._e(), _vm.swiperPlayVal ? _c('img', {
|
|
60158
|
+
staticClass: "playstop-image",
|
|
60159
|
+
attrs: {
|
|
60160
|
+
"src": __webpack_require__(2584)
|
|
60161
|
+
}
|
|
60162
|
+
}) : _vm._e()])], 2) : _vm._e()]) : _vm._e()])]);
|
|
60163
|
+
};
|
|
60164
|
+
var staticRenderFns = [];
|
|
60165
|
+
|
|
60166
|
+
;// ./package/cms-banner/View.vue?vue&type=template&id=379acd83&scoped=true
|
|
60167
|
+
|
|
60168
|
+
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.js
|
|
60169
|
+
var swiper = __webpack_require__(828);
|
|
60170
|
+
// EXTERNAL MODULE: ./node_modules/swiper/dist/js/swiper.esm.bundle.js + 3 modules
|
|
60171
|
+
var swiper_esm_bundle = __webpack_require__(1532);
|
|
60172
|
+
// EXTERNAL MODULE: ./src/utils/jumpUrl.js
|
|
60173
|
+
var jumpUrl = __webpack_require__(4102);
|
|
60174
|
+
// EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
|
|
60175
|
+
var baseComp = __webpack_require__(9659);
|
|
60176
|
+
;// ./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
|
|
60177
|
+
|
|
60178
|
+
|
|
60179
|
+
|
|
60180
|
+
|
|
60181
|
+
|
|
60182
|
+
/* harmony default export */ var Viewvue_type_script_lang_js = ({
|
|
60183
|
+
name: "cms-banner",
|
|
60184
|
+
components: {
|
|
60185
|
+
BaseComp: baseComp["default"]
|
|
60186
|
+
},
|
|
60187
|
+
props: {
|
|
60188
|
+
data: {
|
|
60189
|
+
type: Object,
|
|
60190
|
+
default: () => {
|
|
60191
|
+
return {};
|
|
60192
|
+
}
|
|
60193
|
+
},
|
|
60194
|
+
nowCompId: {
|
|
60195
|
+
type: [String, Number],
|
|
60196
|
+
default: ""
|
|
60197
|
+
},
|
|
60198
|
+
isOpcacity: {
|
|
60199
|
+
type: Boolean,
|
|
60200
|
+
default: true
|
|
60201
|
+
},
|
|
60202
|
+
lang: {
|
|
60203
|
+
type: String,
|
|
60204
|
+
default: "zh-HK"
|
|
60205
|
+
}
|
|
60206
|
+
},
|
|
60207
|
+
data() {
|
|
60208
|
+
return {
|
|
60209
|
+
configList: [],
|
|
60210
|
+
// 轮播
|
|
60211
|
+
swiperOne: null,
|
|
60212
|
+
swiperIdx: 0,
|
|
60213
|
+
swiperPlayVal: true
|
|
60214
|
+
};
|
|
60215
|
+
},
|
|
60216
|
+
created() {},
|
|
60217
|
+
mounted() {
|
|
60218
|
+
// if (this.configList.length > 0) {
|
|
60219
|
+
// this.initSwiper("bannerList");
|
|
60220
|
+
// }
|
|
60221
|
+
},
|
|
60222
|
+
watch: {},
|
|
60223
|
+
methods: {
|
|
60224
|
+
getConfigData(configData) {
|
|
60225
|
+
this.configList = configData.configList;
|
|
60226
|
+
this.$nextTick(() => {
|
|
60227
|
+
this.initSwiper();
|
|
60228
|
+
});
|
|
60229
|
+
},
|
|
60230
|
+
initSwiper() {
|
|
60231
|
+
const vm = this;
|
|
60232
|
+
if (this.configList.length > 0) {
|
|
60233
|
+
// 当广告个数大于1的时候才开启循环
|
|
60234
|
+
const ifLoop = this.configList.length > 1 ? true : false;
|
|
60235
|
+
this.swiperOne = new swiper_esm_bundle/* default */.A(`#contentSwiper${this.data.componentId}`, {
|
|
60236
|
+
initialSlide: 0,
|
|
60237
|
+
// 初始化时slide的索引
|
|
60238
|
+
autoplay: {
|
|
60239
|
+
// 自动开始
|
|
60240
|
+
delay: 5000,
|
|
60241
|
+
// 时间间隔
|
|
60242
|
+
disableOnInteraction: false // 手动操作轮播图后不会暂停
|
|
60243
|
+
},
|
|
60244
|
+
loop: ifLoop,
|
|
60245
|
+
// 循环模式选项
|
|
60246
|
+
spaceBetween: 30,
|
|
60247
|
+
// 在slide之间设置距离
|
|
60248
|
+
observer: true,
|
|
60249
|
+
observeParents: true,
|
|
60250
|
+
on: {
|
|
60251
|
+
slideChangeTransitionEnd: function () {
|
|
60252
|
+
// swiper从一个slide过渡到另一个slide结束时执行
|
|
60253
|
+
console.log("realIndex", this.realIndex);
|
|
60254
|
+
if (this.realIndex > vm.configList.length - 1) return;
|
|
60255
|
+
vm.swiperIdx = this.realIndex;
|
|
60256
|
+
},
|
|
60257
|
+
resize: function () {
|
|
60258
|
+
this.update(true);
|
|
60259
|
+
}
|
|
60260
|
+
}
|
|
60261
|
+
});
|
|
60262
|
+
}
|
|
60263
|
+
},
|
|
60264
|
+
// 轮播
|
|
60265
|
+
swiperPlay() {
|
|
60266
|
+
this.swiperPlayVal = !this.swiperPlayVal;
|
|
60267
|
+
this.swiperPlayVal ? this.swiperClickStart() : this.swiperClickStop();
|
|
60268
|
+
},
|
|
60269
|
+
swiperClickStop() {
|
|
60270
|
+
this.swiperOne.autoplay.stop();
|
|
60271
|
+
},
|
|
60272
|
+
swiperClickStart() {
|
|
60273
|
+
this.swiperOne.autoplay.start();
|
|
60274
|
+
},
|
|
60275
|
+
jumpToSlide(idx) {
|
|
60276
|
+
// banner 轮播PC
|
|
60277
|
+
console.log("PC点击了", idx);
|
|
60278
|
+
// 在Loop模式下Swiper切换到指定slide。切换到的是slide索引是realIndex
|
|
60279
|
+
this.swiperOne.slideToLoop(idx, 1000, false);
|
|
60280
|
+
this.swiperIdx = idx;
|
|
60281
|
+
},
|
|
60282
|
+
//跳转
|
|
60283
|
+
decodeJumpUrl(path, route) {
|
|
60284
|
+
(0,jumpUrl/* decodeJumpUrl */.u)(path, route);
|
|
60285
|
+
}
|
|
60286
|
+
}
|
|
60287
|
+
});
|
|
60288
|
+
;// ./package/cms-banner/View.vue?vue&type=script&lang=js
|
|
60289
|
+
/* harmony default export */ var cms_banner_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
|
|
60290
|
+
;// ./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
|
|
60291
|
+
// extracted by mini-css-extract-plugin
|
|
60292
|
+
|
|
60293
|
+
;// ./package/cms-banner/View.vue?vue&type=style&index=0&id=379acd83&prod&scoped=true&lang=scss
|
|
60294
|
+
|
|
60295
|
+
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
60296
|
+
var componentNormalizer = __webpack_require__(1656);
|
|
60297
|
+
;// ./package/cms-banner/View.vue
|
|
60298
|
+
|
|
60299
|
+
|
|
60300
|
+
|
|
60301
|
+
;
|
|
60302
|
+
|
|
60303
|
+
|
|
60304
|
+
/* normalize component */
|
|
60305
|
+
|
|
60306
|
+
var component = (0,componentNormalizer/* default */.A)(
|
|
60307
|
+
cms_banner_Viewvue_type_script_lang_js,
|
|
60308
|
+
render,
|
|
60309
|
+
staticRenderFns,
|
|
60310
|
+
false,
|
|
60311
|
+
null,
|
|
60312
|
+
"379acd83",
|
|
60313
|
+
null
|
|
60314
|
+
|
|
60315
|
+
)
|
|
60316
|
+
|
|
60317
|
+
/* harmony default export */ var View = (component.exports);
|
|
60318
|
+
|
|
60319
|
+
/***/ }),
|
|
60320
|
+
|
|
60316
60321
|
/***/ 9928:
|
|
60317
60322
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
60318
60323
|
|