cms-chenhj-ui 2.0.16 → 2.0.17

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.
@@ -20492,8 +20492,8 @@ var map = {
20492
20492
  "./cms-lineTwo/index.js": 7756,
20493
20493
  "./cms-proCard": 7001,
20494
20494
  "./cms-proCard/": 7001,
20495
- "./cms-proCard/View": 5910,
20496
- "./cms-proCard/View.vue": 5910,
20495
+ "./cms-proCard/View": 8945,
20496
+ "./cms-proCard/View.vue": 8945,
20497
20497
  "./cms-proCard/index": 7001,
20498
20498
  "./cms-proCard/index.js": 7001,
20499
20499
  "./cms-prodCustomization": 1854,
@@ -20532,6 +20532,12 @@ var map = {
20532
20532
  "./cms-servePlan-text/View.vue": 4726,
20533
20533
  "./cms-servePlan-text/index": 2520,
20534
20534
  "./cms-servePlan-text/index.js": 2520,
20535
+ "./cms-stored-value-card": 9320,
20536
+ "./cms-stored-value-card/": 9320,
20537
+ "./cms-stored-value-card/View": 1675,
20538
+ "./cms-stored-value-card/View.vue": 1675,
20539
+ "./cms-stored-value-card/index": 9320,
20540
+ "./cms-stored-value-card/index.js": 9320,
20535
20541
  "./cms-termsAndConditions": 8806,
20536
20542
  "./cms-termsAndConditions/": 8806,
20537
20543
  "./cms-termsAndConditions/View": 7060,
@@ -21010,6 +21016,393 @@ var component = (0,componentNormalizer/* default */.A)(
21010
21016
 
21011
21017
  /***/ }),
21012
21018
 
21019
+ /***/ 1675:
21020
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
21021
+
21022
+ "use strict";
21023
+ // ESM COMPAT FLAG
21024
+ __webpack_require__.r(__webpack_exports__);
21025
+
21026
+ // EXPORTS
21027
+ __webpack_require__.d(__webpack_exports__, {
21028
+ "default": function() { return /* binding */ View; }
21029
+ });
21030
+
21031
+ ;// ./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-stored-value-card/View.vue?vue&type=template&id=5dba4ef6&scoped=true
21032
+ var render = function render() {
21033
+ var _vm = this,
21034
+ _c = _vm._self._c;
21035
+ return _c('BaseComp', _vm._b({
21036
+ attrs: {
21037
+ "data": _vm.data,
21038
+ "nowCompId": _vm.nowCompId,
21039
+ "isOpcacity": _vm.isOpcacity,
21040
+ "lang": _vm.lang
21041
+ },
21042
+ on: {
21043
+ "getConfigData": _vm.getConfigData
21044
+ }
21045
+ }, 'BaseComp', _vm.$attrs, false), [_c('section', {
21046
+ staticClass: "cmhk-home_main"
21047
+ }, [_c('div', {
21048
+ staticClass: "wrap"
21049
+ }, [_c('div', {
21050
+ ref: "cardList",
21051
+ staticClass: "cardList"
21052
+ }, [_vm.configList.length === 0 ? [_c('div', {
21053
+ staticClass: "card-box"
21054
+ }, [_c('div', {
21055
+ staticClass: "card"
21056
+ }, [_c('div', {
21057
+ staticClass: "img-box"
21058
+ }, [_c('div', {
21059
+ staticClass: "card-img",
21060
+ class: {
21061
+ 'is-cms': _vm.$EventBus
21062
+ }
21063
+ }, [_c('img', {
21064
+ staticStyle: {
21065
+ "height": "200px"
21066
+ },
21067
+ attrs: {
21068
+ "src": _vm.placeholderImg,
21069
+ "alt": ""
21070
+ }
21071
+ })])]), _c('div', {
21072
+ staticClass: "content-box"
21073
+ }, [_c('div', {
21074
+ staticClass: "card-name"
21075
+ }, [_vm._v(_vm._s(_vm.langText.productName))]), _c('div', {
21076
+ staticClass: "text-box"
21077
+ }, [_c('div', {
21078
+ staticClass: "card-refPrice"
21079
+ }, [_vm._v(" " + _vm._s(_vm.langText.Price) + " HK$XXXX ")]), _c('div', {
21080
+ staticClass: "card-pice-text"
21081
+ }, [_vm._v(_vm._s(_vm.langText.onlinePrice))])]), _c('div', {
21082
+ staticClass: "card-pice"
21083
+ }, [_c('span', [_vm._v("HK$")]), _vm._v("XXXX")]), _c('div', {
21084
+ staticClass: "card-btn"
21085
+ }, [_vm._v(_vm._s(_vm.langText.buyNow))])])])])] : _vm._e(), _vm._l(_vm.viewList, function (item, index) {
21086
+ return _c('div', {
21087
+ key: `${index}-${item.commodityId || index}`,
21088
+ staticClass: "card-box"
21089
+ }, [_c('div', {
21090
+ staticClass: "card"
21091
+ }, [_c('div', {
21092
+ staticClass: "tag-box-left"
21093
+ }, [_vm._l(item.malltCommodityLeft, function (ele, i) {
21094
+ return [_c('img', {
21095
+ key: i,
21096
+ attrs: {
21097
+ "src": _vm.compBaseUrl + ele.pictureUrl,
21098
+ "alt": ""
21099
+ }
21100
+ })];
21101
+ })], 2), _c('div', {
21102
+ staticClass: "tag-box-right"
21103
+ }, [_vm._l(item.malltCommodityRight, function (ele, i) {
21104
+ return [_c('img', {
21105
+ key: i,
21106
+ attrs: {
21107
+ "src": _vm.compBaseUrl + ele.pictureUrl,
21108
+ "alt": ""
21109
+ }
21110
+ })];
21111
+ })], 2), _c('div', {
21112
+ staticClass: "img-box"
21113
+ }, [_vm.isNotActive(item) ? _c('div', {
21114
+ staticClass: "mask"
21115
+ }, [_vm._v(" " + _vm._s(new Date(item.upTime).getTime() > _vm.nowTs ? _vm.langText.comingSoon : _vm.langText.expired) + " ")]) : _vm._e(), _c('div', {
21116
+ staticClass: "card-img",
21117
+ class: {
21118
+ 'is-cms': _vm.$EventBus
21119
+ }
21120
+ }, [_c('img', {
21121
+ attrs: {
21122
+ "src": _vm.compBaseUrl + item.maxPicId,
21123
+ "alt": ""
21124
+ }
21125
+ })])]), _c('div', {
21126
+ staticClass: "content-box"
21127
+ }, [_vm.isNotActive(item) ? _c('div', {
21128
+ staticClass: "content-mask"
21129
+ }) : _vm._e(), _c('div', {
21130
+ staticClass: "card-name"
21131
+ }, [_vm._v(_vm._s(item.commodityName))]), _c('div', {
21132
+ staticClass: "text-box"
21133
+ }, [item.price !== item.refPrice ? _c('div', {
21134
+ staticClass: "card-refPrice"
21135
+ }, [_vm._v(" " + _vm._s(_vm.langText.Price) + " HK$" + _vm._s(_vm.convertCentsToYuan(item.refPrice)) + " ")]) : _c('div', {
21136
+ staticClass: "card-refPrice"
21137
+ }), _c('div', {
21138
+ staticClass: "card-pice-text"
21139
+ }, [_vm._v(" " + _vm._s(item.price !== item.refPrice ? _vm.langText.onlinePrice : _vm.langText.Price) + " ")])]), _c('div', {
21140
+ staticClass: "card-pice spc-font"
21141
+ }, [_c('span', [_vm._v("HK$")]), _vm._v(_vm._s(_vm.convertCentsToYuan(item.price)) + " ")]), _vm.isActive(item) ? _c('div', {
21142
+ staticClass: "card-btn",
21143
+ on: {
21144
+ "click": function ($event) {
21145
+ return _vm.goDetail(item);
21146
+ }
21147
+ }
21148
+ }, [_vm._v(" " + _vm._s(_vm.langText.buyNow)), _c('img', {
21149
+ attrs: {
21150
+ "src": _vm.arrowRightImg
21151
+ }
21152
+ })]) : _c('div', {
21153
+ staticClass: "card-btn"
21154
+ }, [_vm._v(" " + _vm._s(new Date(item.upTime).getTime() > _vm.nowTs ? (_vm.langText.launch || "").replace("NNN", item.upTime) : _vm.langText.Offer) + " ")])])])]);
21155
+ })], 2), !_vm.seeMore && _vm.configList.length > 9 ? _c('div', {
21156
+ ref: "seeMoreRef",
21157
+ staticClass: "seeMore",
21158
+ on: {
21159
+ "click": function ($event) {
21160
+ _vm.seeMore = true;
21161
+ }
21162
+ }
21163
+ }, [_vm._v(" " + _vm._s(_vm.langText.more) + " "), _c('img', {
21164
+ staticClass: "btm",
21165
+ attrs: {
21166
+ "src": _vm.arrowDownImg
21167
+ }
21168
+ }), _c('img', {
21169
+ staticClass: "hover",
21170
+ attrs: {
21171
+ "src": _vm.arrowHoverImg
21172
+ }
21173
+ }), _c('img', {
21174
+ staticClass: "active",
21175
+ attrs: {
21176
+ "src": _vm.arrowActiveImg
21177
+ }
21178
+ })]) : _vm._e()])])]);
21179
+ };
21180
+ var staticRenderFns = [];
21181
+
21182
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
21183
+ var es_iterator_constructor = __webpack_require__(8111);
21184
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
21185
+ var es_iterator_filter = __webpack_require__(2489);
21186
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
21187
+ var es_iterator_for_each = __webpack_require__(7588);
21188
+ // EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
21189
+ var baseComp = __webpack_require__(7135);
21190
+ // EXTERNAL MODULE: ./src/api/index.js
21191
+ var api = __webpack_require__(2842);
21192
+ // EXTERNAL MODULE: ./node_modules/qs/lib/index.js
21193
+ var lib = __webpack_require__(7087);
21194
+ var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
21195
+ ;// ./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-stored-value-card/View.vue?vue&type=script&lang=js
21196
+
21197
+
21198
+
21199
+
21200
+
21201
+
21202
+
21203
+
21204
+
21205
+ /* harmony default export */ var Viewvue_type_script_lang_js = ({
21206
+ name: "cms-stored-value-card",
21207
+ components: {
21208
+ BaseComp: baseComp["default"]
21209
+ },
21210
+ props: {
21211
+ data: {
21212
+ type: Object,
21213
+ default: () => {
21214
+ return {};
21215
+ }
21216
+ },
21217
+ nowCompId: {
21218
+ type: [String, Number],
21219
+ default: ""
21220
+ },
21221
+ isOpcacity: {
21222
+ type: Boolean,
21223
+ default: true
21224
+ },
21225
+ lang: {
21226
+ type: String,
21227
+ default: "zh-HK"
21228
+ }
21229
+ },
21230
+ data() {
21231
+ return {
21232
+ langConfig: {
21233
+ "zh-HK": {
21234
+ productName: "產品名稱",
21235
+ Price: "建議零售價",
21236
+ onlinePrice: "網上優惠價",
21237
+ buyNow: "立即選購",
21238
+ comingSoon: "即將推出",
21239
+ expired: "優惠已過期",
21240
+ more: "查看更多",
21241
+ launch: "NNN 上線",
21242
+ Offer: "優惠即將推出"
21243
+ },
21244
+ "zh-CN": {
21245
+ productName: "产品名称",
21246
+ Price: "建议零售价",
21247
+ onlinePrice: "网上优惠价",
21248
+ buyNow: "立即选购",
21249
+ comingSoon: "即将推出",
21250
+ expired: "优惠已过期",
21251
+ more: "查看更多",
21252
+ launch: "NNN 上线",
21253
+ Offer: "优惠即将推出"
21254
+ },
21255
+ "en-US": {
21256
+ productName: "Product Name",
21257
+ Price: "RRP",
21258
+ onlinePrice: "Online Price",
21259
+ buyNow: "Buy Now",
21260
+ comingSoon: "Coming Soon",
21261
+ expired: "Expired",
21262
+ more: "See more",
21263
+ launch: "Launch at NNN",
21264
+ Offer: "Offer Coming"
21265
+ }
21266
+ },
21267
+ configList: [],
21268
+ seeMore: false,
21269
+ nowTs: Date.now(),
21270
+ compBaseUrl: this.$route.query.envId == 4 ? "https://omniapi.hk.chinamobile.com" : "https://omniapi-uat.hk.chinamobile.com",
21271
+ // images
21272
+ placeholderImg: __webpack_require__(5335),
21273
+ arrowRightImg: __webpack_require__(4860),
21274
+ arrowDownImg: __webpack_require__(1861),
21275
+ arrowHoverImg: __webpack_require__(4116),
21276
+ arrowActiveImg: __webpack_require__(9670),
21277
+ shopList: []
21278
+ };
21279
+ },
21280
+ computed: {
21281
+ langText() {
21282
+ return this.config && this.langConfig && this.langConfig[this.lang] || this.langConfig["zh-HK"];
21283
+ },
21284
+ viewList() {
21285
+ if (this.seeMore) return this.shopList;
21286
+ return this.shopList.slice(0, 9);
21287
+ }
21288
+ },
21289
+ mounted() {
21290
+ if (!this.$EventBus) {
21291
+ if (["https://omniapi.hk.chinamobile.com", "https://www.hk.chinamobile.com"].includes(window.location.origin)) {
21292
+ this.compBaseUrl = "https://omniapi.hk.chinamobile.com";
21293
+ } else {
21294
+ this.compBaseUrl = "https://omniapi-uat.hk.chinamobile.com";
21295
+ }
21296
+ }
21297
+ },
21298
+ beforeDestroy() {},
21299
+ methods: {
21300
+ getConfigData(configData) {
21301
+ this.configList = configData.configList;
21302
+ console.log("getConfigData", this.configList);
21303
+ this.getValue();
21304
+ },
21305
+ async getValue() {
21306
+ await this.getCommodityDetails();
21307
+ },
21308
+ // 拉取已选商品详情
21309
+ async getCommodityDetails() {
21310
+ // try {
21311
+ let req = {
21312
+ busInfo: JSON.stringify({
21313
+ commodityIds: [...this.configList],
21314
+ commodityTypes: ["604", "605"]
21315
+ })
21316
+ };
21317
+ req = lib_default().stringify(req);
21318
+ const json = await (0,api/* getCommodityDetails */.yX)(req, {
21319
+ lang_sc: "zh-CN",
21320
+ lang_tc: "zh-HK",
21321
+ lang_en: "en-US"
21322
+ }[this.lang]);
21323
+ let dataResult = json && json.busiResp && json.busiResp.busiDataResp;
21324
+ if (Array.isArray(dataResult)) {
21325
+ dataResult.forEach(item => {
21326
+ if (Array.isArray(item.malltCommodityTags)) {
21327
+ const left = item.malltCommodityTags.filter(ele => ele.tagType == 5001).sort((a, b) => a.sort - b.sort);
21328
+ const right = item.malltCommodityTags.filter(ele => ele.tagType == 5002).sort((a, b) => a.sort - b.sort);
21329
+ item.malltCommodityLeft = left.slice(0, 2);
21330
+ item.malltCommodityRight = right.slice(0, 4);
21331
+ } else {
21332
+ item.malltCommodityLeft = [];
21333
+ item.malltCommodityRight = [];
21334
+ }
21335
+ });
21336
+ // 按选择顺序排序
21337
+ this.shopList = dataResult.sort((a, b) => {
21338
+ return this.configList.indexOf(a.commodityId) - this.configList.indexOf(b.commodityId);
21339
+ });
21340
+ } else {
21341
+ this.shopList = [];
21342
+ }
21343
+ // } catch (e) {
21344
+ // this.shopList = [];
21345
+ // }
21346
+ },
21347
+ isActive(item) {
21348
+ const now = Date.now();
21349
+ return new Date(item.upTime).getTime() < now && new Date(item.downTime).getTime() > now;
21350
+ },
21351
+ isNotActive(item) {
21352
+ const now = Date.now();
21353
+ return new Date(item.upTime).getTime() > now || new Date(item.downTime).getTime() < now;
21354
+ },
21355
+ convertCentsToYuan(cents) {
21356
+ const yuan = (Number(cents || 0) / 100).toFixed(2);
21357
+ return parseFloat(yuan);
21358
+ },
21359
+ goDetail(item) {
21360
+ const base = this.$EventBus ? this.compBaseUrl : window.location.origin;
21361
+ if (item.commodityType === "604") {
21362
+ if ((item.commodityName || "").includes("MySIM")) {
21363
+ window.parent.location.href = `${base}/${this.lang}/home/prepaid-card/mysim/detail?commodityId=${item.commodityId}&mysim=${item.commodityName}`;
21364
+ } else {
21365
+ window.parent.location.href = `${base}/${this.lang}/home/prepaid-card/detail?commodityId=${item.commodityId}&commodityType=604&commodityName=${item.commodityName}`;
21366
+ }
21367
+ } else if (item.commodityType === "605") {
21368
+ window.parent.location.href = `${base}/${this.lang}/home/prepaid/refill-voucher/detail?commodityId=${item.commodityId}&commodityType=605&commodityName=${item.commodityName}`;
21369
+ }
21370
+ }
21371
+ }
21372
+ });
21373
+ ;// ./package/cms-stored-value-card/View.vue?vue&type=script&lang=js
21374
+ /* harmony default export */ var cms_stored_value_card_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
21375
+ ;// ./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-stored-value-card/View.vue?vue&type=style&index=0&id=5dba4ef6&prod&lang=scss&scoped=true
21376
+ // extracted by mini-css-extract-plugin
21377
+
21378
+ ;// ./package/cms-stored-value-card/View.vue?vue&type=style&index=0&id=5dba4ef6&prod&lang=scss&scoped=true
21379
+
21380
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
21381
+ var componentNormalizer = __webpack_require__(1656);
21382
+ ;// ./package/cms-stored-value-card/View.vue
21383
+
21384
+
21385
+
21386
+ ;
21387
+
21388
+
21389
+ /* normalize component */
21390
+
21391
+ var component = (0,componentNormalizer/* default */.A)(
21392
+ cms_stored_value_card_Viewvue_type_script_lang_js,
21393
+ render,
21394
+ staticRenderFns,
21395
+ false,
21396
+ null,
21397
+ "5dba4ef6",
21398
+ null
21399
+
21400
+ )
21401
+
21402
+ /* harmony default export */ var View = (component.exports);
21403
+
21404
+ /***/ }),
21405
+
21013
21406
  /***/ 1683:
21014
21407
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
21015
21408
 
@@ -21603,6 +21996,14 @@ const validateSchema = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getValidateSc
21603
21996
 
21604
21997
  /***/ }),
21605
21998
 
21999
+ /***/ 1861:
22000
+ /***/ (function(module) {
22001
+
22002
+ "use strict";
22003
+ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAwUlEQVRYR+2VQQ6EMAhF6ZxEN049hif3GFY305OowdTEGGqBLpwFXTbwefkF6uDl416uDwZgDpgD5sB/OtB9+x9uyI/bhhBCrNmW3vtm3dyIGss8tXct0oEE0ABArIG4FD+02AD3RA0EVyPbA1wB6nkkuY9NKBE6QaQ5xSmQCEpiT+AiAAZyhDkx1HOxAEoQ2uKoywbIQeB9mnPV2IoAKIhkq6q42IFMp+O1emGJHSAgqla2GqDmf7jmGoA5YA6YAzukPq8hQaCizgAAAABJRU5ErkJggg==";
22004
+
22005
+ /***/ }),
22006
+
21606
22007
  /***/ 1944:
21607
22008
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
21608
22009
 
@@ -23954,6 +24355,315 @@ var userAgent = navigator && navigator.userAgent;
23954
24355
  module.exports = userAgent ? String(userAgent) : '';
23955
24356
 
23956
24357
 
24358
+ /***/ }),
24359
+
24360
+ /***/ 2842:
24361
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
24362
+
24363
+ "use strict";
24364
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24365
+ /* harmony export */ WL: function() { return /* binding */ queryV1; },
24366
+ /* harmony export */ yX: function() { return /* binding */ getCommodityDetails; }
24367
+ /* harmony export */ });
24368
+ /* unused harmony exports saveInstance, queryInstanceConfig, queryCategoryInfo, queryCommodityList, listV1, queryMenuList, uploadImage, uploadVideo, queryDeptList, queryBreadCrumbsList, queryPageHfList, queryUrl, createPage, queryPageInfo, editPage, getPreDictonaryList, saveTemporaryInfo, getTemporaryInfo, queryApproveList, queryComponentByColumn, queryCollections, collectionComponent, syncComponentConfigure, queryComponentConfigure, queryOperateList, updateDefaultConfig, omniHeartbeat, emallHeartbeat, qryBtList */
24369
+ /* harmony import */ var _utils_request__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9688);
24370
+
24371
+
24372
+ // 页面配置保存接口
24373
+ function saveInstance(data) {
24374
+ return request({
24375
+ method: "post",
24376
+ url: "/omni-channel-service-console/rest/channelCmsCompInstance/saveInstance",
24377
+ data
24378
+ });
24379
+ }
24380
+
24381
+ // 页面组件配置信息查询接口
24382
+ function queryInstanceConfig(data) {
24383
+ return request({
24384
+ method: "post",
24385
+ url: "/omni-channel-service-console/rest/channelCmsCompInstance/queryInstanceConfig",
24386
+ data
24387
+ });
24388
+ }
24389
+ //B端25查询卡片组件下拉框
24390
+ function queryCategoryInfo(data) {
24391
+ return request({
24392
+ method: "post",
24393
+ url: "/ecosp-console/commodityCategory/queryCategoryList",
24394
+ data
24395
+ });
24396
+ }
24397
+ //B端25查询卡片
24398
+ function queryCommodityList(data) {
24399
+ return request({
24400
+ method: "post",
24401
+ url: "/ecosp-console/item/queryCommodityList",
24402
+ data
24403
+ });
24404
+ }
24405
+ function listV1(data, language) {
24406
+ return request({
24407
+ method: "post",
24408
+ url: "/api/ecosp-emall/itemRest/commodity/listV1",
24409
+ data,
24410
+ headers: {
24411
+ "Accept-Language": language || ""
24412
+ }
24413
+ });
24414
+ }
24415
+ //cmhk接口
24416
+ function queryV1(data, language) {
24417
+ return (0,_utils_request__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)({
24418
+ method: "post",
24419
+ url: "/api/ecosp-emall/itemRest/commodity/queryV1",
24420
+ data
24421
+ });
24422
+ }
24423
+ //cmhk接口
24424
+ function getCommodityDetails(data, language) {
24425
+ return (0,_utils_request__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)({
24426
+ method: "post",
24427
+ url: "/api/ecosp-emall/itemRest/commodity/getCommodityDetails",
24428
+ data
24429
+ });
24430
+ }
24431
+ //查询menuList
24432
+ function queryMenuList(data) {
24433
+ return request({
24434
+ method: "post",
24435
+ url: "/api/omni-channel-service-portal/rest/overAllMenuConfig/queryMenuListNew",
24436
+ data
24437
+ });
24438
+ }
24439
+ function uploadImage(data) {
24440
+ return request({
24441
+ method: "post",
24442
+ url: "/omni-channel-service-console/rest/commonFile/image",
24443
+ data
24444
+ });
24445
+ }
24446
+ function uploadVideo(data) {
24447
+ return request({
24448
+ method: "post",
24449
+ url: "/omni-channel-service-console/rest/commonFile/video",
24450
+ data
24451
+ });
24452
+ }
24453
+ /**
24454
+ * 查询部门列表
24455
+ * @returns {Promise}
24456
+ */
24457
+ function queryDeptList(data) {
24458
+ return request({
24459
+ method: "post",
24460
+ url: "/omni-channel-service-console/rest/workBench/queryDeptList",
24461
+ data
24462
+ });
24463
+ }
24464
+
24465
+ /**
24466
+ * 查询面包屑列表
24467
+ * @returns {Promise}
24468
+ */
24469
+ function queryBreadCrumbsList(data) {
24470
+ return request({
24471
+ method: "post",
24472
+ url: "/omni-channel-service-console/rest/workBench/queryBreadCrumbsList",
24473
+ data
24474
+ });
24475
+ }
24476
+
24477
+ /**
24478
+ * 查询页头页脚列表
24479
+ * @returns {Promise}
24480
+ */
24481
+ function queryPageHfList(data) {
24482
+ return request({
24483
+ method: "post",
24484
+ url: "/omni-channel-service-console/rest/workBench/queryPageHfList",
24485
+ data
24486
+ });
24487
+ }
24488
+
24489
+ /**
24490
+ * 查询URL接口
24491
+ * @returns {Promise}
24492
+ */
24493
+ function queryUrl(data) {
24494
+ return request({
24495
+ method: "post",
24496
+ url: "/omni-channel-service-console/rest/workBench/queryUrl",
24497
+ data
24498
+ });
24499
+ }
24500
+
24501
+ /**
24502
+ * 创建页面
24503
+ * @param {Object} pageData 页面数据
24504
+ * @returns {Promise}
24505
+ */
24506
+ function createPage(data) {
24507
+ return request({
24508
+ method: "post",
24509
+ url: "/omni-channel-service-console/rest/workBench/createPage",
24510
+ data
24511
+ });
24512
+ }
24513
+ /**
24514
+ * 查询页面信息
24515
+ * @returns {Promise}
24516
+ */
24517
+ function queryPageInfo(data) {
24518
+ return request({
24519
+ method: "post",
24520
+ url: "/omni-channel-service-console/rest/workBench/queryPageInfo",
24521
+ data
24522
+ });
24523
+ }
24524
+
24525
+ /**
24526
+ * 查询页面信息
24527
+ * @returns {Promise}
24528
+ */
24529
+ function editPage(data) {
24530
+ return request({
24531
+ method: "post",
24532
+ url: "/omni-channel-service-console/rest/workBench/editPage",
24533
+ data
24534
+ });
24535
+ }
24536
+ /**
24537
+ * 字典值
24538
+ * @returns {Promise}
24539
+ */
24540
+ function getPreDictonaryList(data) {
24541
+ return request({
24542
+ method: "post",
24543
+ url: "/omni-channel-service-console/rest/Dictionary/queryDictionaryList",
24544
+ data
24545
+ });
24546
+ }
24547
+
24548
+ /**
24549
+ * 无痕浏览
24550
+ * @returns {Promise}
24551
+ */
24552
+ function saveTemporaryInfo(data) {
24553
+ return request({
24554
+ method: "post",
24555
+ url: "/omni-channel-service-console/rest/workBench/saveTempJson",
24556
+ data
24557
+ });
24558
+ }
24559
+ /**
24560
+ * 无痕浏览
24561
+ * @returns {Promise}
24562
+ */
24563
+ function getTemporaryInfo(data) {
24564
+ return request({
24565
+ method: "post",
24566
+ url: "/omni-channel-service-console/rest/workBench/queryTempJson",
24567
+ data
24568
+ });
24569
+ }
24570
+ /**
24571
+ * 查询操作记录
24572
+ * @returns {Promise}
24573
+ */
24574
+ function queryApproveList(data) {
24575
+ return request({
24576
+ method: "post",
24577
+ url: "/omni-channel-service-console/rest/workBench/queryApproveList",
24578
+ data
24579
+ });
24580
+ }
24581
+ /**
24582
+ * 通过栏目查询组件列表
24583
+ */
24584
+ function queryComponentByColumn(data) {
24585
+ return request({
24586
+ method: "post",
24587
+ url: "/omni-channel-service-console/rest/component/queryComponentByColumn",
24588
+ data
24589
+ });
24590
+ }
24591
+ /**
24592
+ * 查询收藏组件列表
24593
+ */
24594
+ function queryCollections(data) {
24595
+ return request({
24596
+ method: "post",
24597
+ url: "/omni-channel-service-console/rest/component/queryCollections",
24598
+ data
24599
+ });
24600
+ }
24601
+ /**
24602
+ * 收藏组件
24603
+ */
24604
+ function collectionComponent(data) {
24605
+ return request({
24606
+ method: "post",
24607
+ url: "/omni-channel-service-console/rest/component/collectionComponent",
24608
+ data
24609
+ });
24610
+ }
24611
+ /**
24612
+ * 保存/删除/修改组件配置
24613
+ */
24614
+ function syncComponentConfigure(data) {
24615
+ return request({
24616
+ method: "post",
24617
+ url: "/omni-channel-service-console/rest/component/syncComponentConfigure",
24618
+ data
24619
+ });
24620
+ }
24621
+ /**
24622
+ * 查询已保存组件列表
24623
+ */
24624
+ function queryComponentConfigure(data) {
24625
+ return request({
24626
+ method: "post",
24627
+ url: "/omni-channel-service-console/rest/component/queryComponentConfigure",
24628
+ data
24629
+ });
24630
+ }
24631
+ function queryOperateList(data) {
24632
+ return request({
24633
+ method: "post",
24634
+ url: "/omni-channel-service-console/rest/workBench/queryOperateList",
24635
+ data
24636
+ });
24637
+ }
24638
+ function updateDefaultConfig(data) {
24639
+ return request({
24640
+ method: "post",
24641
+ url: "/omni-channel-service-console/rest/workBench/updateDefaultConfig",
24642
+ data
24643
+ });
24644
+ }
24645
+ function omniHeartbeat(data) {
24646
+ return request({
24647
+ method: "post",
24648
+ url: "/omni-channel-service-console/rest/workBench/keepAlive",
24649
+ data
24650
+ });
24651
+ }
24652
+ function emallHeartbeat(data) {
24653
+ return request({
24654
+ method: "post",
24655
+ url: "/ecosp-console/workbench/keepAlive",
24656
+ data
24657
+ });
24658
+ }
24659
+ function qryBtList(data) {
24660
+ return request({
24661
+ method: "post",
24662
+ url: "/omni-channel-service-console/rest/component/qryBtList",
24663
+ data
24664
+ });
24665
+ }
24666
+
23957
24667
  /***/ }),
23958
24668
 
23959
24669
  /***/ 2946:
@@ -34527,6 +35237,14 @@ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
34527
35237
  });
34528
35238
 
34529
35239
 
35240
+ /***/ }),
35241
+
35242
+ /***/ 4116:
35243
+ /***/ (function(module) {
35244
+
35245
+ "use strict";
35246
+ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAMlJREFUWEftlMENwjAMRb9PrFEmgBWYqxcuiLFYASageyCRKlUqocpt/J1DOTjHyP5++bEt2PnIzvURAOFAOBAO/KcDp1t65w0pH1yeVxlatuX5nrr0xSNrvHo5LrVUBwpAB2BogfgpPmmZAZaJHgirxmoPWAW072FyN5uQEZpB2JzqFDCCTOwMXAXIgRZhS4z2XSaAGoS3+DTqzIxrhXAAypy7xpYC0JwoD3AVpx1Y6fR87V5YtAMKRNPKdgMwvbMVGwDhQDgQDoyvGK8h0ZAi2wAAAABJRU5ErkJggg==";
35247
+
34530
35248
  /***/ }),
34531
35249
 
34532
35250
  /***/ 4117:
@@ -36827,6 +37545,14 @@ module.exports = function mergeConfig(config1, config2) {
36827
37545
 
36828
37546
  /***/ }),
36829
37547
 
37548
+ /***/ 4860:
37549
+ /***/ (function(module) {
37550
+
37551
+ "use strict";
37552
+ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAYCAYAAADzoH0MAAAAAXNSR0IArs4c6QAAAM1JREFUOE+d1NERwiAMBuA/GzhCN7OO4AR1BDewTqYb2A0iKPQAQxLsS+/a5ksoJIR0MfMRwBXAFh5diOie32l3KoAHgKn4ePYgJfAKFRyabCZSAjOAm1CuiuxADGTmYaQC/kF+gFFEBEaQLuBFVMCDmICJeI6rgmyuChIQe2VtEj5dQGq0NjhaJxNQg4lWaxulsr+ZiT4VaQfJDO4CVtnlj5SayZU5I207DwVXSxgpW1xCANqZWP3t3onVZuK+Vd6pHMfZkgbrOe+z1StvwY53mu9ZPkwAAAAASUVORK5CYII=";
37553
+
37554
+ /***/ }),
37555
+
36830
37556
  /***/ 4889:
36831
37557
  /***/ (function(module) {
36832
37558
 
@@ -37524,13 +38250,14 @@ var map = {
37524
38250
  "./cms-lineFour/View.vue": 8067,
37525
38251
  "./cms-lineThree/View.vue": 7865,
37526
38252
  "./cms-lineTwo/View.vue": 1183,
37527
- "./cms-proCard/View.vue": 5910,
38253
+ "./cms-proCard/View.vue": 8945,
37528
38254
  "./cms-prodCustomization/View.vue": 1662,
37529
38255
  "./cms-productDetails/View.vue": 7793,
37530
38256
  "./cms-question/View.vue": 6287,
37531
38257
  "./cms-richText/View.vue": 5713,
37532
38258
  "./cms-servePlan-tab/View.vue": 330,
37533
38259
  "./cms-servePlan-text/View.vue": 4726,
38260
+ "./cms-stored-value-card/View.vue": 1675,
37534
38261
  "./cms-termsAndConditions/View.vue": 7060,
37535
38262
  "./cms-text/View.vue": 7326,
37536
38263
  "./cms-threeScroll/View.vue": 8687,
@@ -37564,6 +38291,14 @@ webpackContext.id = 5184;
37564
38291
 
37565
38292
  /***/ }),
37566
38293
 
38294
+ /***/ 5335:
38295
+ /***/ (function(module) {
38296
+
38297
+ "use strict";
38298
+ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAEQCAYAAADmsCy1AAAAAXNSR0IArs4c6QAAGABJREFUeF7tnVtyFceWhtcqYfAx7jAnohEmwg/SiyW1HyxGYDECwwiAEYBGIGkEiBEgRmAxAnaP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OoofUiAAgUgETjTPTM+xK9ADofuP8w/N7EYk8XQLAQhAIBIBHVx4IzdnZ3V0koBTDfRwNcqXSpECSLcQgEAUAqktz389tX5W37kMlH3RszDy7xCAQDcI6MDGsrZwVQd5xpPbQA9Xo3t2W0VWOGDKg5cyEIBAKwiojOxdunz0Hc88ugsb6FEjTUTumvC6Ux7QlIEABDwSyFac40dFjfNgJKUN9KCB53u2mKbpbU2SHzBTjxMETRCAwFECKrqVWvpY0mSQ91H9JIKVDfRow9n7o5bIokq6mCTJ9yZySUxmeNxnAkMAAs0TmGRLyk7QtyxN/yfVZPC332Vw2ql6UY1BDbRo55SHAAQg0GYCGGibo4d2CEAgKgEMNCp+OocABNpMAANtc/TQDgEIRCWAgUbFT+cQgECbCWCgbY4e2iEAgagEMNCo+OkcAhBoMwEMtM3RQzsEIBCVAAYaFT+dQwACbSaAgbY5emiHAASiEsBAo+KncwhAoM0EMNA2Rw/tEIBAVAIYaFT8dA4BCLSZAAba5uihHQIQiErg/wB1YYsak+UHWwAAAABJRU5ErkJggg==";
38299
+
38300
+ /***/ }),
38301
+
37567
38302
  /***/ 5342:
37568
38303
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
37569
38304
 
@@ -38818,504 +39553,6 @@ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
38818
39553
  });
38819
39554
 
38820
39555
 
38821
- /***/ }),
38822
-
38823
- /***/ 5910:
38824
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
38825
-
38826
- "use strict";
38827
- // ESM COMPAT FLAG
38828
- __webpack_require__.r(__webpack_exports__);
38829
-
38830
- // EXPORTS
38831
- __webpack_require__.d(__webpack_exports__, {
38832
- "default": function() { return /* binding */ View; }
38833
- });
38834
-
38835
- ;// ./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-proCard/View.vue?vue&type=template&id=4c7f21b1&scoped=true
38836
- var render = function render() {
38837
- var _vm = this,
38838
- _c = _vm._self._c;
38839
- return _c('BaseComp', _vm._b({
38840
- attrs: {
38841
- "data": _vm.data,
38842
- "nowCompId": _vm.nowCompId,
38843
- "isOpcacity": _vm.isOpcacity,
38844
- "lang": _vm.lang
38845
- },
38846
- on: {
38847
- "getConfigData": _vm.getConfigData
38848
- }
38849
- }, 'BaseComp', _vm.$attrs, false), [_c('div', {
38850
- staticClass: "employeePurchase"
38851
- }, [_c('div', {
38852
- staticClass: "cmhk-home_main"
38853
- }, [_c('div', {
38854
- staticClass: "cardList"
38855
- }, [_c('div', {
38856
- staticClass: "card first-type-card"
38857
- }, [_c('div', {
38858
- staticClass: "card-item-div"
38859
- }, _vm._l(_vm.configList, function (item, index) {
38860
- return _c('div', {
38861
- key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
38862
- staticClass: "card-item"
38863
- }, [_c('img', {
38864
- staticClass: "childImg",
38865
- attrs: {
38866
- "src": item.ImageUrl,
38867
- "alt": "图片"
38868
- }
38869
- }), _c('div', {
38870
- staticClass: "color"
38871
- }, [item.colorBody && item.colorBody.length ? [_vm._l(item.colorBody, function (colorItem, idx) {
38872
- return [!!colorItem.color ? _c('div', {
38873
- key: `color${idx}`,
38874
- staticClass: "circle",
38875
- style: {
38876
- 'background-color': colorItem.color
38877
- }
38878
- }) : _vm._e()];
38879
- })] : [_c('div', {
38880
- staticClass: "circle",
38881
- staticStyle: {
38882
- "background-color": "rgb(178, 179, 181)"
38883
- }
38884
- }), _c('span', {
38885
- staticClass: "colorName"
38886
- })]], 2), _c('div', {
38887
- staticClass: "childName"
38888
- }, [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.title))]), _c('div', {
38889
- staticClass: "topPriceDesc"
38890
- }, [_vm._v(" " + _vm._s(item === null || item === void 0 ? void 0 : item.input1) + " "), _c('span', [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.diyInput))])]), _c('div', {
38891
- staticClass: "topPrice"
38892
- }, [_vm._v("HK$" + _vm._s(item === null || item === void 0 ? void 0 : item.input2))]), _c('div', {
38893
- staticClass: "purchaseBtn",
38894
- on: {
38895
- "click": function ($event) {
38896
- return _vm.decodeJumpUrl(item === null || item === void 0 ? void 0 : item.jumpUrl);
38897
- }
38898
- }
38899
- }, [_c('span', [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.button))]), _c('i', {
38900
- staticClass: "el-icon-arrow-right"
38901
- })])]);
38902
- }), 0)])])])])]);
38903
- };
38904
- var staticRenderFns = [];
38905
-
38906
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
38907
- var es_iterator_constructor = __webpack_require__(8111);
38908
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
38909
- var es_iterator_filter = __webpack_require__(2489);
38910
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
38911
- var es_iterator_map = __webpack_require__(1701);
38912
- // EXTERNAL MODULE: ./src/utils/request.js + 2 modules
38913
- var utils_request = __webpack_require__(9688);
38914
- ;// ./src/api/index.js
38915
-
38916
-
38917
- // 页面配置保存接口
38918
- function saveInstance(data) {
38919
- return request({
38920
- method: "post",
38921
- url: "/omni-channel-service-console/rest/channelCmsCompInstance/saveInstance",
38922
- data
38923
- });
38924
- }
38925
-
38926
- // 页面组件配置信息查询接口
38927
- function queryInstanceConfig(data) {
38928
- return request({
38929
- method: "post",
38930
- url: "/omni-channel-service-console/rest/channelCmsCompInstance/queryInstanceConfig",
38931
- data
38932
- });
38933
- }
38934
- //B端25查询卡片组件下拉框
38935
- function queryCategoryInfo(data) {
38936
- return request({
38937
- method: "post",
38938
- url: "/ecosp-console/commodityCategory/queryCategoryList",
38939
- data
38940
- });
38941
- }
38942
- //B端25查询卡片
38943
- function queryCommodityList(data) {
38944
- return request({
38945
- method: "post",
38946
- url: "/ecosp-console/item/queryCommodityList",
38947
- data
38948
- });
38949
- }
38950
- //cmhk接口
38951
- function queryV1(data, language) {
38952
- return (0,utils_request/* default */.A)({
38953
- method: "post",
38954
- url: "/api/ecosp-emall/itemRest/commodity/queryV1",
38955
- data,
38956
- headers: {
38957
- "Accept-Language": language || ""
38958
- }
38959
- });
38960
- }
38961
- //查询menuList
38962
- function queryMenuList(data) {
38963
- return request({
38964
- method: "post",
38965
- url: "/api/omni-channel-service-portal/rest/overAllMenuConfig/queryMenuListNew",
38966
- data
38967
- });
38968
- }
38969
- function uploadImage(data) {
38970
- return request({
38971
- method: "post",
38972
- url: "/omni-channel-service-console/rest/commonFile/image",
38973
- data
38974
- });
38975
- }
38976
- function uploadVideo(data) {
38977
- return request({
38978
- method: "post",
38979
- url: "/omni-channel-service-console/rest/commonFile/video",
38980
- data
38981
- });
38982
- }
38983
- /**
38984
- * 查询部门列表
38985
- * @returns {Promise}
38986
- */
38987
- function queryDeptList(data) {
38988
- return request({
38989
- method: "post",
38990
- url: "/omni-channel-service-console/rest/workBench/queryDeptList",
38991
- data
38992
- });
38993
- }
38994
-
38995
- /**
38996
- * 查询面包屑列表
38997
- * @returns {Promise}
38998
- */
38999
- function queryBreadCrumbsList(data) {
39000
- return request({
39001
- method: "post",
39002
- url: "/omni-channel-service-console/rest/workBench/queryBreadCrumbsList",
39003
- data
39004
- });
39005
- }
39006
-
39007
- /**
39008
- * 查询页头页脚列表
39009
- * @returns {Promise}
39010
- */
39011
- function queryPageHfList(data) {
39012
- return request({
39013
- method: "post",
39014
- url: "/omni-channel-service-console/rest/workBench/queryPageHfList",
39015
- data
39016
- });
39017
- }
39018
-
39019
- /**
39020
- * 查询URL接口
39021
- * @returns {Promise}
39022
- */
39023
- function queryUrl(data) {
39024
- return request({
39025
- method: "post",
39026
- url: "/omni-channel-service-console/rest/workBench/queryUrl",
39027
- data
39028
- });
39029
- }
39030
-
39031
- /**
39032
- * 创建页面
39033
- * @param {Object} pageData 页面数据
39034
- * @returns {Promise}
39035
- */
39036
- function createPage(data) {
39037
- return request({
39038
- method: "post",
39039
- url: "/omni-channel-service-console/rest/workBench/createPage",
39040
- data
39041
- });
39042
- }
39043
- /**
39044
- * 查询页面信息
39045
- * @returns {Promise}
39046
- */
39047
- function queryPageInfo(data) {
39048
- return request({
39049
- method: "post",
39050
- url: "/omni-channel-service-console/rest/workBench/queryPageInfo",
39051
- data
39052
- });
39053
- }
39054
-
39055
- /**
39056
- * 查询页面信息
39057
- * @returns {Promise}
39058
- */
39059
- function editPage(data) {
39060
- return request({
39061
- method: "post",
39062
- url: "/omni-channel-service-console/rest/workBench/editPage",
39063
- data
39064
- });
39065
- }
39066
- /**
39067
- * 字典值
39068
- * @returns {Promise}
39069
- */
39070
- function getPreDictonaryList(data) {
39071
- return request({
39072
- method: "post",
39073
- url: "/omni-channel-service-console/rest/Dictionary/queryDictionaryList",
39074
- data
39075
- });
39076
- }
39077
-
39078
- /**
39079
- * 无痕浏览
39080
- * @returns {Promise}
39081
- */
39082
- function saveTemporaryInfo(data) {
39083
- return request({
39084
- method: "post",
39085
- url: "/omni-channel-service-console/rest/workBench/saveTempJson",
39086
- data
39087
- });
39088
- }
39089
- /**
39090
- * 无痕浏览
39091
- * @returns {Promise}
39092
- */
39093
- function getTemporaryInfo(data) {
39094
- return request({
39095
- method: "post",
39096
- url: "/omni-channel-service-console/rest/workBench/queryTempJson",
39097
- data
39098
- });
39099
- }
39100
- /**
39101
- * 查询操作记录
39102
- * @returns {Promise}
39103
- */
39104
- function queryApproveList(data) {
39105
- return request({
39106
- method: "post",
39107
- url: "/omni-channel-service-console/rest/workBench/queryApproveList",
39108
- data
39109
- });
39110
- }
39111
- /**
39112
- * 通过栏目查询组件列表
39113
- */
39114
- function queryComponentByColumn(data) {
39115
- return request({
39116
- method: "post",
39117
- url: "/omni-channel-service-console/rest/component/queryComponentByColumn",
39118
- data
39119
- });
39120
- }
39121
- /**
39122
- * 查询收藏组件列表
39123
- */
39124
- function queryCollections(data) {
39125
- return request({
39126
- method: "post",
39127
- url: "/omni-channel-service-console/rest/component/queryCollections",
39128
- data
39129
- });
39130
- }
39131
- /**
39132
- * 收藏组件
39133
- */
39134
- function collectionComponent(data) {
39135
- return request({
39136
- method: "post",
39137
- url: "/omni-channel-service-console/rest/component/collectionComponent",
39138
- data
39139
- });
39140
- }
39141
- /**
39142
- * 保存/删除/修改组件配置
39143
- */
39144
- function syncComponentConfigure(data) {
39145
- return request({
39146
- method: "post",
39147
- url: "/omni-channel-service-console/rest/component/syncComponentConfigure",
39148
- data
39149
- });
39150
- }
39151
- /**
39152
- * 查询已保存组件列表
39153
- */
39154
- function queryComponentConfigure(data) {
39155
- return request({
39156
- method: "post",
39157
- url: "/omni-channel-service-console/rest/component/queryComponentConfigure",
39158
- data
39159
- });
39160
- }
39161
- function queryOperateList(data) {
39162
- return request({
39163
- method: "post",
39164
- url: "/omni-channel-service-console/rest/workBench/queryOperateList",
39165
- data
39166
- });
39167
- }
39168
- function updateDefaultConfig(data) {
39169
- return request({
39170
- method: "post",
39171
- url: "/omni-channel-service-console/rest/workBench/updateDefaultConfig",
39172
- data
39173
- });
39174
- }
39175
- function omniHeartbeat(data) {
39176
- return request({
39177
- method: "post",
39178
- url: "/omni-channel-service-console/rest/workBench/keepAlive",
39179
- data
39180
- });
39181
- }
39182
- function emallHeartbeat(data) {
39183
- return request({
39184
- method: "post",
39185
- url: "/ecosp-console/workbench/keepAlive",
39186
- data
39187
- });
39188
- }
39189
- function qryBtList(data) {
39190
- return request({
39191
- method: "post",
39192
- url: "/omni-channel-service-console/rest/component/qryBtList",
39193
- data
39194
- });
39195
- }
39196
- // EXTERNAL MODULE: ./node_modules/qs/lib/index.js
39197
- var lib = __webpack_require__(7087);
39198
- var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
39199
- // EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
39200
- var baseComp = __webpack_require__(7135);
39201
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-proCard/View.vue?vue&type=script&lang=js
39202
-
39203
-
39204
-
39205
-
39206
-
39207
-
39208
-
39209
-
39210
-
39211
-
39212
- /* harmony default export */ var Viewvue_type_script_lang_js = ({
39213
- name: "cms-proCard",
39214
- components: {
39215
- BaseComp: baseComp["default"]
39216
- },
39217
- props: {
39218
- data: {
39219
- type: Object,
39220
- default: () => {
39221
- return {};
39222
- }
39223
- },
39224
- nowCompId: {
39225
- type: [String, Number],
39226
- default: ""
39227
- },
39228
- isOpcacity: {
39229
- type: Boolean,
39230
- default: true
39231
- },
39232
- lang: {
39233
- type: String,
39234
- default: "zh-HK"
39235
- }
39236
- },
39237
- data() {
39238
- return {
39239
- configList: []
39240
- };
39241
- },
39242
- methods: {
39243
- getConfigData(configData) {
39244
- this.configList = configData.configList;
39245
- this.getValue();
39246
- },
39247
- async getValue() {
39248
- if (!this.isOpcacity && !this.$EventBus) {
39249
- await Promise.all(this.configList.map(async (item, index) => {
39250
- await this.getCommodityInfo(item, index);
39251
- }));
39252
- }
39253
- },
39254
- async getCommodityInfo(info, index) {
39255
- let req = {
39256
- busInfo: JSON.stringify({
39257
- commodityId: info.commodityId,
39258
- isPre: "N",
39259
- channelId: "WWW"
39260
- })
39261
- };
39262
- req = lib_default().stringify(req);
39263
- const res = await queryV1(req);
39264
- let result = {};
39265
- const defaultPic = "https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2023-11-15/ORIGINAL_20231115155223_BGxrpNa0_580x580.jpg?auto=format,compress&ar=1:1&fm=webp";
39266
- if (res.resCode == "000000") {
39267
- const commodityInfo = res.busiResp.busiDataResp[0];
39268
- const {
39269
- malltCommodityPrice = []
39270
- } = commodityInfo;
39271
- const priceNode = malltCommodityPrice.filter(item => item.isDefault == "1");
39272
- const [currentSku = {}] = priceNode.length ? priceNode : malltCommodityPrice;
39273
- const pictureUrl = currentSku !== null && currentSku !== void 0 && currentSku.commodityPricePictureVos.length ? currentSku === null || currentSku === void 0 ? void 0 : currentSku.commodityPricePictureVos[0].malltPictureVos[0].pictureUrl : defaultPic;
39274
- result = {
39275
- ...info,
39276
- commodityId: commodityInfo.commodityId,
39277
- ImageUrl: pictureUrl,
39278
- title: commodityInfo.commodityTitle,
39279
- input4: `${(currentSku === null || currentSku === void 0 ? void 0 : currentSku.refPrice) / 100}`
39280
- };
39281
- } else {
39282
- result = {
39283
- ...info
39284
- };
39285
- }
39286
- this.configList.splice(index, 1, result);
39287
- },
39288
- decodeJumpUrl(url) {
39289
- if (!url) return;
39290
- top.location.href = url;
39291
- }
39292
- }
39293
- });
39294
- ;// ./package/cms-proCard/View.vue?vue&type=script&lang=js
39295
- /* harmony default export */ var cms_proCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
39296
- // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
39297
- var componentNormalizer = __webpack_require__(1656);
39298
- ;// ./package/cms-proCard/View.vue
39299
-
39300
-
39301
-
39302
-
39303
-
39304
- /* normalize component */
39305
- ;
39306
- var component = (0,componentNormalizer/* default */.A)(
39307
- cms_proCard_Viewvue_type_script_lang_js,
39308
- render,
39309
- staticRenderFns,
39310
- false,
39311
- null,
39312
- "4c7f21b1",
39313
- null
39314
-
39315
- )
39316
-
39317
- /* harmony default export */ var View = (component.exports);
39318
-
39319
39556
  /***/ }),
39320
39557
 
39321
39558
  /***/ 5917:
@@ -44439,7 +44676,7 @@ module.exports = function (bitmap, value) {
44439
44676
  __webpack_require__.r(__webpack_exports__);
44440
44677
  /* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
44441
44678
 
44442
- const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 5910));
44679
+ const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 8945));
44443
44680
  const langData = {
44444
44681
  configList: [{
44445
44682
  id: Math.random().toString(),
@@ -50041,6 +50278,222 @@ module.exports = URIError;
50041
50278
 
50042
50279
  /***/ }),
50043
50280
 
50281
+ /***/ 8945:
50282
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
50283
+
50284
+ "use strict";
50285
+ // ESM COMPAT FLAG
50286
+ __webpack_require__.r(__webpack_exports__);
50287
+
50288
+ // EXPORTS
50289
+ __webpack_require__.d(__webpack_exports__, {
50290
+ "default": function() { return /* binding */ View; }
50291
+ });
50292
+
50293
+ ;// ./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-proCard/View.vue?vue&type=template&id=4c7f21b1&scoped=true
50294
+ var render = function render() {
50295
+ var _vm = this,
50296
+ _c = _vm._self._c;
50297
+ return _c('BaseComp', _vm._b({
50298
+ attrs: {
50299
+ "data": _vm.data,
50300
+ "nowCompId": _vm.nowCompId,
50301
+ "isOpcacity": _vm.isOpcacity,
50302
+ "lang": _vm.lang
50303
+ },
50304
+ on: {
50305
+ "getConfigData": _vm.getConfigData
50306
+ }
50307
+ }, 'BaseComp', _vm.$attrs, false), [_c('div', {
50308
+ staticClass: "employeePurchase"
50309
+ }, [_c('div', {
50310
+ staticClass: "cmhk-home_main"
50311
+ }, [_c('div', {
50312
+ staticClass: "cardList"
50313
+ }, [_c('div', {
50314
+ staticClass: "card first-type-card"
50315
+ }, [_c('div', {
50316
+ staticClass: "card-item-div"
50317
+ }, _vm._l(_vm.configList, function (item, index) {
50318
+ return _c('div', {
50319
+ key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
50320
+ staticClass: "card-item"
50321
+ }, [_c('img', {
50322
+ staticClass: "childImg",
50323
+ attrs: {
50324
+ "src": item.ImageUrl,
50325
+ "alt": "图片"
50326
+ }
50327
+ }), _c('div', {
50328
+ staticClass: "color"
50329
+ }, [item.colorBody && item.colorBody.length ? [_vm._l(item.colorBody, function (colorItem, idx) {
50330
+ return [!!colorItem.color ? _c('div', {
50331
+ key: `color${idx}`,
50332
+ staticClass: "circle",
50333
+ style: {
50334
+ 'background-color': colorItem.color
50335
+ }
50336
+ }) : _vm._e()];
50337
+ })] : [_c('div', {
50338
+ staticClass: "circle",
50339
+ staticStyle: {
50340
+ "background-color": "rgb(178, 179, 181)"
50341
+ }
50342
+ }), _c('span', {
50343
+ staticClass: "colorName"
50344
+ })]], 2), _c('div', {
50345
+ staticClass: "childName"
50346
+ }, [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.title))]), _c('div', {
50347
+ staticClass: "topPriceDesc"
50348
+ }, [_vm._v(" " + _vm._s(item === null || item === void 0 ? void 0 : item.input1) + " "), _c('span', [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.diyInput))])]), _c('div', {
50349
+ staticClass: "topPrice"
50350
+ }, [_vm._v("HK$" + _vm._s(item === null || item === void 0 ? void 0 : item.input2))]), _c('div', {
50351
+ staticClass: "purchaseBtn",
50352
+ on: {
50353
+ "click": function ($event) {
50354
+ return _vm.decodeJumpUrl(item === null || item === void 0 ? void 0 : item.jumpUrl);
50355
+ }
50356
+ }
50357
+ }, [_c('span', [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.button))]), _c('i', {
50358
+ staticClass: "el-icon-arrow-right"
50359
+ })])]);
50360
+ }), 0)])])])])]);
50361
+ };
50362
+ var staticRenderFns = [];
50363
+
50364
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
50365
+ var es_iterator_constructor = __webpack_require__(8111);
50366
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
50367
+ var es_iterator_filter = __webpack_require__(2489);
50368
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
50369
+ var es_iterator_map = __webpack_require__(1701);
50370
+ // EXTERNAL MODULE: ./src/api/index.js
50371
+ var api = __webpack_require__(2842);
50372
+ // EXTERNAL MODULE: ./node_modules/qs/lib/index.js
50373
+ var lib = __webpack_require__(7087);
50374
+ var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
50375
+ // EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
50376
+ var baseComp = __webpack_require__(7135);
50377
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-41.use!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/cms-proCard/View.vue?vue&type=script&lang=js
50378
+
50379
+
50380
+
50381
+
50382
+
50383
+
50384
+
50385
+
50386
+
50387
+
50388
+ /* harmony default export */ var Viewvue_type_script_lang_js = ({
50389
+ name: "cms-proCard",
50390
+ components: {
50391
+ BaseComp: baseComp["default"]
50392
+ },
50393
+ props: {
50394
+ data: {
50395
+ type: Object,
50396
+ default: () => {
50397
+ return {};
50398
+ }
50399
+ },
50400
+ nowCompId: {
50401
+ type: [String, Number],
50402
+ default: ""
50403
+ },
50404
+ isOpcacity: {
50405
+ type: Boolean,
50406
+ default: true
50407
+ },
50408
+ lang: {
50409
+ type: String,
50410
+ default: "zh-HK"
50411
+ }
50412
+ },
50413
+ data() {
50414
+ return {
50415
+ configList: []
50416
+ };
50417
+ },
50418
+ methods: {
50419
+ getConfigData(configData) {
50420
+ this.configList = configData.configList;
50421
+ this.getValue();
50422
+ },
50423
+ async getValue() {
50424
+ if (!this.isOpcacity && !this.$EventBus) {
50425
+ await Promise.all(this.configList.map(async (item, index) => {
50426
+ await this.getCommodityInfo(item, index);
50427
+ }));
50428
+ }
50429
+ },
50430
+ async getCommodityInfo(info, index) {
50431
+ let req = {
50432
+ busInfo: JSON.stringify({
50433
+ commodityId: info.commodityId,
50434
+ isPre: "N",
50435
+ channelId: "WWW"
50436
+ })
50437
+ };
50438
+ req = lib_default().stringify(req);
50439
+ const res = await (0,api/* queryV1 */.WL)(req);
50440
+ let result = {};
50441
+ const defaultPic = "https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2023-11-15/ORIGINAL_20231115155223_BGxrpNa0_580x580.jpg?auto=format,compress&ar=1:1&fm=webp";
50442
+ if (res.resCode == "000000") {
50443
+ const commodityInfo = res.busiResp.busiDataResp[0];
50444
+ const {
50445
+ malltCommodityPrice = []
50446
+ } = commodityInfo;
50447
+ const priceNode = malltCommodityPrice.filter(item => item.isDefault == "1");
50448
+ const [currentSku = {}] = priceNode.length ? priceNode : malltCommodityPrice;
50449
+ const pictureUrl = currentSku !== null && currentSku !== void 0 && currentSku.commodityPricePictureVos.length ? currentSku === null || currentSku === void 0 ? void 0 : currentSku.commodityPricePictureVos[0].malltPictureVos[0].pictureUrl : defaultPic;
50450
+ result = {
50451
+ ...info,
50452
+ commodityId: commodityInfo.commodityId,
50453
+ ImageUrl: pictureUrl,
50454
+ title: commodityInfo.commodityTitle,
50455
+ input4: `${(currentSku === null || currentSku === void 0 ? void 0 : currentSku.refPrice) / 100}`
50456
+ };
50457
+ } else {
50458
+ result = {
50459
+ ...info
50460
+ };
50461
+ }
50462
+ this.configList.splice(index, 1, result);
50463
+ },
50464
+ decodeJumpUrl(url) {
50465
+ if (!url) return;
50466
+ top.location.href = url;
50467
+ }
50468
+ }
50469
+ });
50470
+ ;// ./package/cms-proCard/View.vue?vue&type=script&lang=js
50471
+ /* harmony default export */ var cms_proCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
50472
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
50473
+ var componentNormalizer = __webpack_require__(1656);
50474
+ ;// ./package/cms-proCard/View.vue
50475
+
50476
+
50477
+
50478
+
50479
+
50480
+ /* normalize component */
50481
+ ;
50482
+ var component = (0,componentNormalizer/* default */.A)(
50483
+ cms_proCard_Viewvue_type_script_lang_js,
50484
+ render,
50485
+ staticRenderFns,
50486
+ false,
50487
+ null,
50488
+ "4c7f21b1",
50489
+ null
50490
+
50491
+ )
50492
+
50493
+ /* harmony default export */ var View = (component.exports);
50494
+
50495
+ /***/ }),
50496
+
50044
50497
  /***/ 8981:
50045
50498
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
50046
50499
 
@@ -53067,6 +53520,84 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
53067
53520
  });
53068
53521
 
53069
53522
 
53523
+ /***/ }),
53524
+
53525
+ /***/ 9320:
53526
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
53527
+
53528
+ "use strict";
53529
+ __webpack_require__.r(__webpack_exports__);
53530
+ /* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
53531
+
53532
+ const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 1675));
53533
+ const langData = {
53534
+ configList: [
53535
+ // {
53536
+ // id: Math.random().toString(),
53537
+ // pictureUrl:
53538
+ // "https://omniapi.hk.chinamobile.com/upload/images/omni-channel-service-console/preferential/2024-03-15/ORIGINAL_20240315172555_9XVGHwD4_600x348.png",
53539
+ // commodityId: "21202311071721797951533748224",
53540
+ // maxPicId: "",
53541
+ // commodityName: "",
53542
+ // refPrice: "",
53543
+ // price: "",
53544
+ // upTime: "",
53545
+ // malltCommodityRight: [],
53546
+ // malltCommodityLeft: [],
53547
+ // },
53548
+ ]
53549
+ };
53550
+ const configDataType = {};
53551
+ // const configDataType = getLangDataType(langData, {
53552
+ // configList: {
53553
+ // label: "商品信息配置",
53554
+ // addWidgetType: "addProductCard",
53555
+ // value: [
53556
+ // {
53557
+ // id: { label: "" },
53558
+ // ImageUrl: { label: "商品图片", hidden: true },
53559
+ // commodityId: { label: "商品id" },
53560
+ // title: { label: "标题" },
53561
+ // input1: { label: "員工特惠價", hidden: true },
53562
+ // diyInput: { label: "自定义" },
53563
+ // input2: { label: "员工优惠" },
53564
+ // input3: { label: "市場零售價", hidden: true },
53565
+ // input4: { label: "市场优惠" },
53566
+ // input5: { label: "起", hidden: true },
53567
+ // colorBody: {
53568
+ // label: "色值配置",
53569
+ // maxNums: 4,
53570
+ // value: [
53571
+ // {
53572
+ // id: { label: "" },
53573
+ // color: {
53574
+ // label: "色值",
53575
+ // widgetType: "el-color-picker",
53576
+ // predefine: ["#2F85FF", "#f48427", "#52C41A", "#D6197F"],
53577
+ // },
53578
+ // },
53579
+ // ],
53580
+ // },
53581
+ // button: { label: "按钮文案" },
53582
+ // jumpUrl: { label: "跳转链接" },
53583
+ // },
53584
+ // ],
53585
+ // },
53586
+ // });
53587
+ const validateSchema = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getValidateSchema)(langData);
53588
+ /* harmony default export */ __webpack_exports__["default"] = ({
53589
+ View,
53590
+ validateSchema,
53591
+ configDataType,
53592
+ langData,
53593
+ settings: cmsCompName => {
53594
+ return (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getInitCompData)({
53595
+ cmsCompName,
53596
+ langData
53597
+ });
53598
+ }
53599
+ });
53600
+
53070
53601
  /***/ }),
53071
53602
 
53072
53603
  /***/ 9348:
@@ -53719,6 +54250,14 @@ module.exports = {
53719
54250
  };
53720
54251
 
53721
54252
 
54253
+ /***/ }),
54254
+
54255
+ /***/ 9670:
54256
+ /***/ (function(module) {
54257
+
54258
+ "use strict";
54259
+ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAMlJREFUWEftlMENwjAMRb9PrFEmgBWYqxcuiLFYASageyCRKlUqocpt/J1DOTjHyP5++bEt2PnIzvURAOFAOBAO/KcDp1t65w0pH1yeVxlatuX5nrr0xSNrvHo5LrVUBwpAB2BogfgpPmmZAZaJHgirxmoPWAW072FyN5uQEZpB2JzqFDCCTOwMXAXIgRZhS4z2XSaAGoS3+DTqzIxrhXAAypy7xpYC0JwoD3AVpx1Y6fR87V5YtAMKRNPKdgMwvbMVGwDhQDgQDoyvGK8h0ZAi2wAAAABJRU5ErkJggg==";
54260
+
53722
54261
  /***/ }),
53723
54262
 
53724
54263
  /***/ 9688:
@@ -55914,9 +56453,9 @@ service.interceptors.request.use(config => {
55914
56453
  const env_prod = window.location.origin.includes(".22:");
55915
56454
  if (is_development) {
55916
56455
  if (config.url.includes("/ecosp-console")) {
55917
- document.cookie = "JSESSIONID=node017nm2falxdfe8c1parzfv9ilr29.node0";
56456
+ document.cookie = "JSESSIONID=31C253D4AB7D622317BE567A074A8D9F";
55918
56457
  } else if (config.url.includes("omni-channel-service-console")) {
55919
- document.cookie = "JSESSIONID=CA4058E3A195113C85AE1F926814CF89";
56458
+ document.cookie = "JSESSIONID=330793238C3780C658EA1FB6D4EECA59";
55920
56459
  }
55921
56460
  } else {
55922
56461
  if (config.url.includes("/api/") && is_cmsComp) {