cms-chenhj-ui 2.0.15 → 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.
@@ -931,283 +931,6 @@ var component = (0,componentNormalizer/* default */.A)(
931
931
 
932
932
  /***/ }),
933
933
 
934
- /***/ 348:
935
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
936
-
937
- "use strict";
938
- // ESM COMPAT FLAG
939
- __webpack_require__.r(__webpack_exports__);
940
-
941
- // EXPORTS
942
- __webpack_require__.d(__webpack_exports__, {
943
- "default": function() { return /* binding */ View; }
944
- });
945
-
946
- ;// ./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=cd35c518&scoped=true
947
- var render = function render() {
948
- var _vm = this,
949
- _c = _vm._self._c;
950
- return _c('BaseComp', _vm._b({
951
- attrs: {
952
- "data": _vm.data,
953
- "nowCompId": _vm.nowCompId,
954
- "isOpcacity": _vm.isOpcacity,
955
- "isMask": false,
956
- "lang": _vm.lang
957
- },
958
- on: {
959
- "getConfigData": _vm.getConfigData
960
- },
961
- scopedSlots: _vm._u([{
962
- key: "default",
963
- fn: function (slotProps) {
964
- return [_c('section', {
965
- class: (_vm.configData.widthType === 'full' ? 'width-full' : 'cmhk-home_main', {
966
- hoverBorderClass: _vm.isConfigPage
967
- }),
968
- style: _vm.containerStyle
969
- }, [_c('div', {
970
- staticClass: "column-setting",
971
- class: [`layout-${_vm.configData.layoutType || 'default'}`, `${slotProps.isMobile && _vm.configData.mobileLayout === 'vertical' ? 'mobile-vertical' : 'mobile-horizontal'}`],
972
- style: _vm.columnStyle
973
- }, _vm._l(_vm.data.childList, function (item, index) {
974
- return _c('cms-column-card', _vm._b({
975
- key: item.componentId,
976
- class: _vm.getColumnItemClass(index),
977
- style: _vm.getColumnItemStyle(index),
978
- attrs: {
979
- "data": item,
980
- "nowCompId": _vm.nowCompId,
981
- "isOpcacity": _vm.isOpcacity,
982
- "isMask": false,
983
- "lang": _vm.lang,
984
- "isMobile": slotProps.isMobile,
985
- "mobileLayout": _vm.configData.mobileLayout
986
- }
987
- }, 'cms-column-card', _vm.$attrs, false));
988
- }), 1)])];
989
- }
990
- }])
991
- }, 'BaseComp', _vm.$attrs, false));
992
- };
993
- var staticRenderFns = [];
994
-
995
- // EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
996
- var baseComp = __webpack_require__(7135);
997
- ;// ./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
998
-
999
- /* harmony default export */ var Viewvue_type_script_lang_js = ({
1000
- name: "cms-column",
1001
- components: {
1002
- BaseComp: baseComp["default"]
1003
- },
1004
- props: {
1005
- data: {
1006
- type: Object,
1007
- default: () => {
1008
- return {};
1009
- }
1010
- },
1011
- nowCompId: {
1012
- type: [String, Number],
1013
- default: ""
1014
- },
1015
- isOpcacity: {
1016
- type: Boolean,
1017
- default: true
1018
- },
1019
- lang: {
1020
- type: String,
1021
- default: "zh-HK"
1022
- }
1023
- },
1024
- data() {
1025
- return {
1026
- configData: {},
1027
- messFold: true,
1028
- // 默认配置数据
1029
- defaultConfig: {
1030
- layoutType: "100",
1031
- heightType: "auto",
1032
- widthType: "auto",
1033
- mobileLayout: "vertical",
1034
- fixedHeight: 300,
1035
- borderWidth: 0,
1036
- borderStyle: "solid",
1037
- borderColor: "",
1038
- backgroundColor: "#FFF",
1039
- backgroundImage: "",
1040
- boxShadow: "",
1041
- borderRadius: 0,
1042
- columnGap: 0,
1043
- rowGap: 0,
1044
- title: "",
1045
- description: "",
1046
- input1: "",
1047
- showTitle: true,
1048
- showDescription: true,
1049
- animationDuration: 300,
1050
- responsiveBreakpoint: 768
1051
- }
1052
- };
1053
- },
1054
- mounted() {
1055
- this.initConfigData();
1056
- // 添加窗口大小变化监听
1057
- },
1058
- watch: {
1059
- configData: {
1060
- handler() {
1061
- this.updateStyles();
1062
- },
1063
- deep: true
1064
- }
1065
- },
1066
- computed: {
1067
- isConfigPage() {
1068
- return this.$EventBus && this.isOpcacity;
1069
- },
1070
- // 容器样式
1071
- containerStyle() {
1072
- return {
1073
- backgroundColor: this.configData.backgroundColor || this.defaultConfig.backgroundColor,
1074
- backgroundImage: this.configData.backgroundImage ? `url(${this.configData.backgroundImage})` : "",
1075
- backgroundSize: "cover",
1076
- backgroundRepeat: "no-repeat",
1077
- backgroundPosition: "center center",
1078
- boxShadow: this.configData.boxShadow || this.defaultConfig.boxShadow,
1079
- borderRadius: `${this.configData.borderRadius || this.defaultConfig.borderRadius}px`,
1080
- minHeight: this.configData.heightType === "fixed" ? `${this.configData.fixedHeight}px` : "auto"
1081
- };
1082
- },
1083
- // 分栏容器样式
1084
- columnStyle() {
1085
- // const gap = this.configData.rowGap || this.defaultConfig.rowGap;
1086
- return {
1087
- // gap: `${gap}px`,
1088
- border: this.configData.borderWidth ? `${this.configData.borderWidth}px ${this.configData.borderStyle} ${this.configData.borderColor}` : "none"
1089
- };
1090
- }
1091
- },
1092
- methods: {
1093
- // 初始化配置数据
1094
- initConfigData() {
1095
- // 合并默认配置和传入配置
1096
- this.configData = {
1097
- ...this.defaultConfig,
1098
- ...this.configData
1099
- };
1100
- },
1101
- // 获取配置数据
1102
- getConfigData(configData) {
1103
- this.configData = {
1104
- ...this.defaultConfig,
1105
- ...configData
1106
- };
1107
- this.updateStyles();
1108
- },
1109
- // 更新样式
1110
- updateStyles() {
1111
- this.$nextTick(() => {
1112
- // 触发样式更新
1113
- this.$forceUpdate();
1114
- });
1115
- },
1116
- // 获取分栏项的类名
1117
- getColumnItemClass(index) {
1118
- const layoutType = this.configData.layoutType || this.defaultConfig.layoutType;
1119
- return ["column-item", `column-item-${index}`, `layout-${layoutType}`, {
1120
- "min-h": this.$EventBus && this.isOpcacity,
1121
- "first-item": index === 0,
1122
- "last-item": index === this.data.childList.length - 1
1123
- }];
1124
- },
1125
- // 获取分栏项的样式
1126
- getColumnItemStyle(index) {
1127
- const layoutType = this.configData.layoutType || this.defaultConfig.layoutType;
1128
- const gap = this.configData.rowGap || this.defaultConfig.rowGap;
1129
- let flexBasis = "100%";
1130
- let marginRight = "0";
1131
-
1132
- // 根据布局类型设置宽度
1133
- switch (layoutType) {
1134
- case "50-50":
1135
- flexBasis = `calc(50% - ${gap / 2}px)`;
1136
- marginRight = index % 2 === 0 ? `${gap}px` : "0";
1137
- break;
1138
- case "33-66":
1139
- flexBasis = index === 0 ? `calc(33.33% - ${gap / 2}px)` : `calc(66.67% - ${gap / 2}px)`;
1140
- marginRight = index === 0 ? `${gap}px` : "0";
1141
- break;
1142
- case "66-33":
1143
- flexBasis = index === 0 ? `calc(66.67% - ${gap / 2}px)` : `calc(33.33% - ${gap / 2}px)`;
1144
- marginRight = index === 0 ? `${gap}px` : "0";
1145
- break;
1146
- case "33-33-33":
1147
- flexBasis = `calc(33.33% - ${gap * 2 / 3}px)`;
1148
- marginRight = index < 2 ? `${gap}px` : "0";
1149
- break;
1150
- case "25-50-25":
1151
- if (index === 0 || index === 2) {
1152
- flexBasis = `calc(25% - ${gap * 2 / 3}px)`;
1153
- } else {
1154
- flexBasis = `calc(50% - ${gap * 2 / 3}px)`;
1155
- }
1156
- marginRight = index < 2 ? `${gap}px` : "0";
1157
- break;
1158
- default:
1159
- flexBasis = "100%";
1160
- }
1161
- return {
1162
- flexBasis,
1163
- marginRight,
1164
- marginBottom: `${this.configData.columnGap || this.defaultConfig.columnGap}px`
1165
- };
1166
- },
1167
- // 折叠/展开文本
1168
- foldMessText() {
1169
- this.messFold = !this.messFold;
1170
- },
1171
- // 处理跳转链接
1172
- decodeJumpUrl(url) {
1173
- if (!url) return;
1174
- top.location.href = url;
1175
- }
1176
- }
1177
- });
1178
- ;// ./package/cms-column/View.vue?vue&type=script&lang=js
1179
- /* harmony default export */ var cms_column_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
1180
- ;// ./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=cd35c518&prod&lang=scss&scoped=true
1181
- // extracted by mini-css-extract-plugin
1182
-
1183
- ;// ./package/cms-column/View.vue?vue&type=style&index=0&id=cd35c518&prod&lang=scss&scoped=true
1184
-
1185
- // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
1186
- var componentNormalizer = __webpack_require__(1656);
1187
- ;// ./package/cms-column/View.vue
1188
-
1189
-
1190
-
1191
- ;
1192
-
1193
-
1194
- /* normalize component */
1195
-
1196
- var component = (0,componentNormalizer/* default */.A)(
1197
- cms_column_Viewvue_type_script_lang_js,
1198
- render,
1199
- staticRenderFns,
1200
- false,
1201
- null,
1202
- "cd35c518",
1203
- null
1204
-
1205
- )
1206
-
1207
- /* harmony default export */ var View = (component.exports);
1208
-
1209
- /***/ }),
1210
-
1211
934
  /***/ 350:
1212
935
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1213
936
 
@@ -20703,8 +20426,8 @@ var map = {
20703
20426
  "./cms-column-card/index": 3583,
20704
20427
  "./cms-column-card/index.js": 3583,
20705
20428
  "./cms-column/": 3154,
20706
- "./cms-column/View": 348,
20707
- "./cms-column/View.vue": 348,
20429
+ "./cms-column/View": 2171,
20430
+ "./cms-column/View.vue": 2171,
20708
20431
  "./cms-column/index": 3154,
20709
20432
  "./cms-column/index.js": 3154,
20710
20433
  "./cms-description": 98,
@@ -20769,8 +20492,8 @@ var map = {
20769
20492
  "./cms-lineTwo/index.js": 7756,
20770
20493
  "./cms-proCard": 7001,
20771
20494
  "./cms-proCard/": 7001,
20772
- "./cms-proCard/View": 5910,
20773
- "./cms-proCard/View.vue": 5910,
20495
+ "./cms-proCard/View": 8945,
20496
+ "./cms-proCard/View.vue": 8945,
20774
20497
  "./cms-proCard/index": 7001,
20775
20498
  "./cms-proCard/index.js": 7001,
20776
20499
  "./cms-prodCustomization": 1854,
@@ -20809,6 +20532,12 @@ var map = {
20809
20532
  "./cms-servePlan-text/View.vue": 4726,
20810
20533
  "./cms-servePlan-text/index": 2520,
20811
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,
20812
20541
  "./cms-termsAndConditions": 8806,
20813
20542
  "./cms-termsAndConditions/": 8806,
20814
20543
  "./cms-termsAndConditions/View": 7060,
@@ -21287,6 +21016,393 @@ var component = (0,componentNormalizer/* default */.A)(
21287
21016
 
21288
21017
  /***/ }),
21289
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
+
21290
21406
  /***/ 1683:
21291
21407
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
21292
21408
 
@@ -21880,6 +21996,14 @@ const validateSchema = (0,_baseConfig__WEBPACK_IMPORTED_MODULE_0__.getValidateSc
21880
21996
 
21881
21997
  /***/ }),
21882
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
+
21883
22007
  /***/ 1944:
21884
22008
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
21885
22009
 
@@ -22306,6 +22430,270 @@ test[TO_STRING_TAG] = 'z';
22306
22430
  module.exports = String(test) === '[object z]';
22307
22431
 
22308
22432
 
22433
+ /***/ }),
22434
+
22435
+ /***/ 2171:
22436
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22437
+
22438
+ "use strict";
22439
+ // ESM COMPAT FLAG
22440
+ __webpack_require__.r(__webpack_exports__);
22441
+
22442
+ // EXPORTS
22443
+ __webpack_require__.d(__webpack_exports__, {
22444
+ "default": function() { return /* binding */ View; }
22445
+ });
22446
+
22447
+ ;// ./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
22448
+ var render = function render() {
22449
+ var _vm = this,
22450
+ _c = _vm._self._c;
22451
+ return _c('BaseComp', _vm._b({
22452
+ attrs: {
22453
+ "data": _vm.data,
22454
+ "nowCompId": _vm.nowCompId,
22455
+ "isOpcacity": _vm.isOpcacity,
22456
+ "isMask": false,
22457
+ "lang": _vm.lang
22458
+ },
22459
+ on: {
22460
+ "getConfigData": _vm.getConfigData
22461
+ },
22462
+ scopedSlots: _vm._u([{
22463
+ key: "default",
22464
+ fn: function (slotProps) {
22465
+ return [_c('section', {
22466
+ class: (_vm.configData.widthType === 'full' ? 'width-full' : 'cmhk-home_main', {
22467
+ hoverBorderClass: _vm.isConfigPage
22468
+ }),
22469
+ style: _vm.containerStyle
22470
+ }, [_c('div', {
22471
+ staticClass: "column-setting",
22472
+ class: [`layout-${_vm.configData.layoutType || 'default'}`, `${slotProps.isMobile && _vm.configData.mobileLayout === 'vertical' ? 'mobile-vertical' : 'mobile-horizontal'}`],
22473
+ style: _vm.columnStyle
22474
+ }, _vm._l(_vm.data.childList, function (item, index) {
22475
+ return _c('cms-column-card', _vm._b({
22476
+ key: item.componentId,
22477
+ class: _vm.getColumnItemClass(index),
22478
+ style: _vm.getColumnItemStyle(index),
22479
+ attrs: {
22480
+ "data": item,
22481
+ "nowCompId": _vm.nowCompId,
22482
+ "isOpcacity": _vm.isOpcacity,
22483
+ "isMask": false,
22484
+ "lang": _vm.lang,
22485
+ "isMobile": slotProps.isMobile,
22486
+ "mobileLayout": _vm.configData.mobileLayout
22487
+ }
22488
+ }, 'cms-column-card', _vm.$attrs, false));
22489
+ }), 1)])];
22490
+ }
22491
+ }])
22492
+ }, 'BaseComp', _vm.$attrs, false));
22493
+ };
22494
+ var staticRenderFns = [];
22495
+
22496
+ // EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
22497
+ var baseComp = __webpack_require__(7135);
22498
+ ;// ./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
22499
+
22500
+ /* harmony default export */ var Viewvue_type_script_lang_js = ({
22501
+ name: "cms-column",
22502
+ components: {
22503
+ BaseComp: baseComp["default"]
22504
+ },
22505
+ props: {
22506
+ data: {
22507
+ type: Object,
22508
+ default: () => {
22509
+ return {};
22510
+ }
22511
+ },
22512
+ nowCompId: {
22513
+ type: [String, Number],
22514
+ default: ""
22515
+ },
22516
+ isOpcacity: {
22517
+ type: Boolean,
22518
+ default: true
22519
+ },
22520
+ lang: {
22521
+ type: String,
22522
+ default: "zh-HK"
22523
+ }
22524
+ },
22525
+ data() {
22526
+ return {
22527
+ configData: {},
22528
+ messFold: true,
22529
+ // 默认配置数据
22530
+ defaultConfig: {
22531
+ layoutType: "100",
22532
+ heightType: "auto",
22533
+ widthType: "auto",
22534
+ mobileLayout: "vertical",
22535
+ fixedHeight: 300,
22536
+ borderWidth: 0,
22537
+ borderStyle: "solid",
22538
+ borderColor: "",
22539
+ backgroundColor: "#FFF",
22540
+ backgroundImage: "",
22541
+ boxShadow: "",
22542
+ borderRadius: 0,
22543
+ columnGap: 0,
22544
+ rowGap: 0,
22545
+ title: "",
22546
+ description: "",
22547
+ input1: "",
22548
+ showTitle: true,
22549
+ showDescription: true,
22550
+ animationDuration: 300,
22551
+ responsiveBreakpoint: 768
22552
+ }
22553
+ };
22554
+ },
22555
+ mounted() {},
22556
+ watch: {
22557
+ configData: {
22558
+ handler() {
22559
+ this.updateStyles();
22560
+ },
22561
+ immediate: true,
22562
+ deep: true
22563
+ }
22564
+ },
22565
+ computed: {
22566
+ isConfigPage() {
22567
+ return this.$EventBus && this.isOpcacity;
22568
+ },
22569
+ // 容器样式
22570
+ containerStyle() {
22571
+ return {
22572
+ backgroundColor: this.configData.backgroundColor || this.defaultConfig.backgroundColor,
22573
+ backgroundImage: this.configData.backgroundImage ? `url(${this.configData.backgroundImage})` : "",
22574
+ backgroundSize: "cover",
22575
+ backgroundRepeat: "no-repeat",
22576
+ backgroundPosition: "center center",
22577
+ boxShadow: this.configData.boxShadow || this.defaultConfig.boxShadow,
22578
+ borderRadius: `${this.configData.borderRadius || this.defaultConfig.borderRadius}px`,
22579
+ minHeight: this.configData.heightType === "fixed" ? `${this.configData.fixedHeight}px` : "auto"
22580
+ };
22581
+ },
22582
+ // 分栏容器样式
22583
+ columnStyle() {
22584
+ // const gap = this.configData.rowGap || this.defaultConfig.rowGap;
22585
+ return {
22586
+ // gap: `${gap}px`,
22587
+ border: this.configData.borderWidth ? `${this.configData.borderWidth}px ${this.configData.borderStyle} ${this.configData.borderColor}` : "none"
22588
+ };
22589
+ }
22590
+ },
22591
+ methods: {
22592
+ // 获取配置数据
22593
+ getConfigData(configData) {
22594
+ this.configData = configData;
22595
+ this.updateStyles();
22596
+ },
22597
+ // 更新样式
22598
+ updateStyles() {
22599
+ this.$nextTick(() => {
22600
+ // 触发样式更新
22601
+ this.$forceUpdate();
22602
+ });
22603
+ },
22604
+ // 获取分栏项的类名
22605
+ getColumnItemClass(index) {
22606
+ const layoutType = this.configData.layoutType || this.defaultConfig.layoutType;
22607
+ return ["column-item", `column-item-${index}`, `layout-${layoutType}`, {
22608
+ "min-h": this.$EventBus && this.isOpcacity,
22609
+ "first-item": index === 0,
22610
+ "last-item": index === this.data.childList.length - 1
22611
+ }];
22612
+ },
22613
+ // 获取分栏项的样式
22614
+ getColumnItemStyle(index) {
22615
+ const layoutType = this.configData.layoutType || this.defaultConfig.layoutType;
22616
+ const gap = this.configData.rowGap || this.defaultConfig.rowGap;
22617
+ let flexBasis = "100%";
22618
+ let marginRight = "0";
22619
+
22620
+ // 根据布局类型设置宽度
22621
+ switch (layoutType) {
22622
+ case "50-50":
22623
+ flexBasis = `calc(50% - ${gap / 2}px)`;
22624
+ marginRight = index % 2 === 0 ? `${gap}px` : "0";
22625
+ break;
22626
+ case "33-66":
22627
+ flexBasis = index === 0 ? `calc(33.33% - ${gap / 2}px)` : `calc(66.67% - ${gap / 2}px)`;
22628
+ marginRight = index === 0 ? `${gap}px` : "0";
22629
+ break;
22630
+ case "66-33":
22631
+ flexBasis = index === 0 ? `calc(66.67% - ${gap / 2}px)` : `calc(33.33% - ${gap / 2}px)`;
22632
+ marginRight = index === 0 ? `${gap}px` : "0";
22633
+ break;
22634
+ case "33-33-33":
22635
+ flexBasis = `calc(33.33% - ${gap * 2 / 3}px)`;
22636
+ marginRight = index < 2 ? `${gap}px` : "0";
22637
+ break;
22638
+ case "25-50-25":
22639
+ if (index === 0 || index === 2) {
22640
+ flexBasis = `calc(25% - ${gap * 2 / 3}px)`;
22641
+ } else {
22642
+ flexBasis = `calc(50% - ${gap * 2 / 3}px)`;
22643
+ }
22644
+ marginRight = index < 2 ? `${gap}px` : "0";
22645
+ break;
22646
+ default:
22647
+ flexBasis = "100%";
22648
+ }
22649
+ return {
22650
+ flexBasis,
22651
+ marginRight,
22652
+ marginBottom: `${this.configData.columnGap || this.defaultConfig.columnGap}px`
22653
+ };
22654
+ },
22655
+ // 折叠/展开文本
22656
+ foldMessText() {
22657
+ this.messFold = !this.messFold;
22658
+ },
22659
+ // 处理跳转链接
22660
+ decodeJumpUrl(url) {
22661
+ if (!url) return;
22662
+ top.location.href = url;
22663
+ }
22664
+ }
22665
+ });
22666
+ ;// ./package/cms-column/View.vue?vue&type=script&lang=js
22667
+ /* harmony default export */ var cms_column_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
22668
+ ;// ./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
22669
+ // extracted by mini-css-extract-plugin
22670
+
22671
+ ;// ./package/cms-column/View.vue?vue&type=style&index=0&id=f2ba72e8&prod&lang=scss&scoped=true
22672
+
22673
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
22674
+ var componentNormalizer = __webpack_require__(1656);
22675
+ ;// ./package/cms-column/View.vue
22676
+
22677
+
22678
+
22679
+ ;
22680
+
22681
+
22682
+ /* normalize component */
22683
+
22684
+ var component = (0,componentNormalizer/* default */.A)(
22685
+ cms_column_Viewvue_type_script_lang_js,
22686
+ render,
22687
+ staticRenderFns,
22688
+ false,
22689
+ null,
22690
+ "f2ba72e8",
22691
+ null
22692
+
22693
+ )
22694
+
22695
+ /* harmony default export */ var View = (component.exports);
22696
+
22309
22697
  /***/ }),
22310
22698
 
22311
22699
  /***/ 2179:
@@ -23967,6 +24355,315 @@ var userAgent = navigator && navigator.userAgent;
23967
24355
  module.exports = userAgent ? String(userAgent) : '';
23968
24356
 
23969
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
+
23970
24667
  /***/ }),
23971
24668
 
23972
24669
  /***/ 2946:
@@ -24306,7 +25003,7 @@ module.exports = Math.min;
24306
25003
  __webpack_require__.r(__webpack_exports__);
24307
25004
  /* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
24308
25005
 
24309
- const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 348));
25006
+ const View = () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 2171));
24310
25007
  const langData = {
24311
25008
  // 布局配置
24312
25009
  layoutType: "100",
@@ -34540,6 +35237,14 @@ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
34540
35237
  });
34541
35238
 
34542
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
+
34543
35248
  /***/ }),
34544
35249
 
34545
35250
  /***/ 4117:
@@ -36840,6 +37545,14 @@ module.exports = function mergeConfig(config1, config2) {
36840
37545
 
36841
37546
  /***/ }),
36842
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
+
36843
37556
  /***/ 4889:
36844
37557
  /***/ (function(module) {
36845
37558
 
@@ -37526,7 +38239,7 @@ var map = {
37526
38239
  "./cms-button/View.vue": 1163,
37527
38240
  "./cms-cells/View.vue": 983,
37528
38241
  "./cms-column-card/View.vue": 688,
37529
- "./cms-column/View.vue": 348,
38242
+ "./cms-column/View.vue": 2171,
37530
38243
  "./cms-description/View.vue": 6296,
37531
38244
  "./cms-dynamic-comp/View.vue": 7298,
37532
38245
  "./cms-iconFour/View.vue": 2946,
@@ -37537,13 +38250,14 @@ var map = {
37537
38250
  "./cms-lineFour/View.vue": 8067,
37538
38251
  "./cms-lineThree/View.vue": 7865,
37539
38252
  "./cms-lineTwo/View.vue": 1183,
37540
- "./cms-proCard/View.vue": 5910,
38253
+ "./cms-proCard/View.vue": 8945,
37541
38254
  "./cms-prodCustomization/View.vue": 1662,
37542
38255
  "./cms-productDetails/View.vue": 7793,
37543
38256
  "./cms-question/View.vue": 6287,
37544
38257
  "./cms-richText/View.vue": 5713,
37545
38258
  "./cms-servePlan-tab/View.vue": 330,
37546
38259
  "./cms-servePlan-text/View.vue": 4726,
38260
+ "./cms-stored-value-card/View.vue": 1675,
37547
38261
  "./cms-termsAndConditions/View.vue": 7060,
37548
38262
  "./cms-text/View.vue": 7326,
37549
38263
  "./cms-threeScroll/View.vue": 8687,
@@ -37577,6 +38291,14 @@ webpackContext.id = 5184;
37577
38291
 
37578
38292
  /***/ }),
37579
38293
 
38294
+ /***/ 5335:
38295
+ /***/ (function(module) {
38296
+
38297
+ "use strict";
38298
+ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAEQCAYAAADmsCy1AAAAAXNSR0IArs4c6QAAGABJREFUeF7tnVtyFceWhtcqYfAx7jAnohEmwg/SiyW1HyxGYDECwwiAEYBGIGkEiBEgRmAxAnaPAPnhtAQvbEecCCzREeyOMG4bs2t110bSEaBLXbIqV1V9ejonyMuf38r9OyuzaqUKfxCAAAQgUIqAlqpFJQhAAAIQEAyUSQABCECgJAEMtCQ4qkEAAhDAQJkDEIAABEoSwEBLgqMaBCAAAQyUOQABCECgJAEMtCQ4qkEAAhDAQJkDEIAABEoSwEBLgqMaBCAAAQyUOQABCECgJAEMtCQ4qkEAAhAIaqAvXtilt1/Ikmm6pJJ8JSKLJnJJxGZADQEIQKBZAjoUkaGajFJJf04k2Tr/uwxmZ3UUSkdlA91+aUvJOflBTG6Y2GIoYbQDAQhAoA4CKrplkv6njZP1hasTky39V9pAt/fstorcErGl0r1TEQIQgEBUAjowGT9amD63UUZGYQPdN84VHsvL4KYOBCDglMDQJF0raqS5DfT5ni2mIvdZcToNP7IgAIEQBIY21ut5H+1zGejzPbubiq2HUEcbEIAABLwTUNXVucu6dpbOUw00O1X/86L8xKrzLIz8OwQg0DUCqrp5/je5c9qp/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ZAAba5uihHQIQiErg/wB1YYsak+UHWwAAAABJRU5ErkJggg==";
38299
+
38300
+ /***/ }),
38301
+
37580
38302
  /***/ 5342:
37581
38303
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
37582
38304
 
@@ -38831,504 +39553,6 @@ $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
38831
39553
  });
38832
39554
 
38833
39555
 
38834
- /***/ }),
38835
-
38836
- /***/ 5910:
38837
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
38838
-
38839
- "use strict";
38840
- // ESM COMPAT FLAG
38841
- __webpack_require__.r(__webpack_exports__);
38842
-
38843
- // EXPORTS
38844
- __webpack_require__.d(__webpack_exports__, {
38845
- "default": function() { return /* binding */ View; }
38846
- });
38847
-
38848
- ;// ./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
38849
- var render = function render() {
38850
- var _vm = this,
38851
- _c = _vm._self._c;
38852
- return _c('BaseComp', _vm._b({
38853
- attrs: {
38854
- "data": _vm.data,
38855
- "nowCompId": _vm.nowCompId,
38856
- "isOpcacity": _vm.isOpcacity,
38857
- "lang": _vm.lang
38858
- },
38859
- on: {
38860
- "getConfigData": _vm.getConfigData
38861
- }
38862
- }, 'BaseComp', _vm.$attrs, false), [_c('div', {
38863
- staticClass: "employeePurchase"
38864
- }, [_c('div', {
38865
- staticClass: "cmhk-home_main"
38866
- }, [_c('div', {
38867
- staticClass: "cardList"
38868
- }, [_c('div', {
38869
- staticClass: "card first-type-card"
38870
- }, [_c('div', {
38871
- staticClass: "card-item-div"
38872
- }, _vm._l(_vm.configList, function (item, index) {
38873
- return _c('div', {
38874
- key: `${index}${item === null || item === void 0 ? void 0 : item.id}`,
38875
- staticClass: "card-item"
38876
- }, [_c('img', {
38877
- staticClass: "childImg",
38878
- attrs: {
38879
- "src": item.ImageUrl,
38880
- "alt": "图片"
38881
- }
38882
- }), _c('div', {
38883
- staticClass: "color"
38884
- }, [item.colorBody && item.colorBody.length ? [_vm._l(item.colorBody, function (colorItem, idx) {
38885
- return [!!colorItem.color ? _c('div', {
38886
- key: `color${idx}`,
38887
- staticClass: "circle",
38888
- style: {
38889
- 'background-color': colorItem.color
38890
- }
38891
- }) : _vm._e()];
38892
- })] : [_c('div', {
38893
- staticClass: "circle",
38894
- staticStyle: {
38895
- "background-color": "rgb(178, 179, 181)"
38896
- }
38897
- }), _c('span', {
38898
- staticClass: "colorName"
38899
- })]], 2), _c('div', {
38900
- staticClass: "childName"
38901
- }, [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.title))]), _c('div', {
38902
- staticClass: "topPriceDesc"
38903
- }, [_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', {
38904
- staticClass: "topPrice"
38905
- }, [_vm._v("HK$" + _vm._s(item === null || item === void 0 ? void 0 : item.input2))]), _c('div', {
38906
- staticClass: "purchaseBtn",
38907
- on: {
38908
- "click": function ($event) {
38909
- return _vm.decodeJumpUrl(item === null || item === void 0 ? void 0 : item.jumpUrl);
38910
- }
38911
- }
38912
- }, [_c('span', [_vm._v(_vm._s(item === null || item === void 0 ? void 0 : item.button))]), _c('i', {
38913
- staticClass: "el-icon-arrow-right"
38914
- })])]);
38915
- }), 0)])])])])]);
38916
- };
38917
- var staticRenderFns = [];
38918
-
38919
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
38920
- var es_iterator_constructor = __webpack_require__(8111);
38921
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
38922
- var es_iterator_filter = __webpack_require__(2489);
38923
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
38924
- var es_iterator_map = __webpack_require__(1701);
38925
- // EXTERNAL MODULE: ./src/utils/request.js + 2 modules
38926
- var utils_request = __webpack_require__(9688);
38927
- ;// ./src/api/index.js
38928
-
38929
-
38930
- // 页面配置保存接口
38931
- function saveInstance(data) {
38932
- return request({
38933
- method: "post",
38934
- url: "/omni-channel-service-console/rest/channelCmsCompInstance/saveInstance",
38935
- data
38936
- });
38937
- }
38938
-
38939
- // 页面组件配置信息查询接口
38940
- function queryInstanceConfig(data) {
38941
- return request({
38942
- method: "post",
38943
- url: "/omni-channel-service-console/rest/channelCmsCompInstance/queryInstanceConfig",
38944
- data
38945
- });
38946
- }
38947
- //B端25查询卡片组件下拉框
38948
- function queryCategoryInfo(data) {
38949
- return request({
38950
- method: "post",
38951
- url: "/ecosp-console/commodityCategory/queryCategoryList",
38952
- data
38953
- });
38954
- }
38955
- //B端25查询卡片
38956
- function queryCommodityList(data) {
38957
- return request({
38958
- method: "post",
38959
- url: "/ecosp-console/item/queryCommodityList",
38960
- data
38961
- });
38962
- }
38963
- //cmhk接口
38964
- function queryV1(data, language) {
38965
- return (0,utils_request/* default */.A)({
38966
- method: "post",
38967
- url: "/api/ecosp-emall/itemRest/commodity/queryV1",
38968
- data,
38969
- headers: {
38970
- "Accept-Language": language || ""
38971
- }
38972
- });
38973
- }
38974
- //查询menuList
38975
- function queryMenuList(data) {
38976
- return request({
38977
- method: "post",
38978
- url: "/api/omni-channel-service-portal/rest/overAllMenuConfig/queryMenuListNew",
38979
- data
38980
- });
38981
- }
38982
- function uploadImage(data) {
38983
- return request({
38984
- method: "post",
38985
- url: "/omni-channel-service-console/rest/commonFile/image",
38986
- data
38987
- });
38988
- }
38989
- function uploadVideo(data) {
38990
- return request({
38991
- method: "post",
38992
- url: "/omni-channel-service-console/rest/commonFile/video",
38993
- data
38994
- });
38995
- }
38996
- /**
38997
- * 查询部门列表
38998
- * @returns {Promise}
38999
- */
39000
- function queryDeptList(data) {
39001
- return request({
39002
- method: "post",
39003
- url: "/omni-channel-service-console/rest/workBench/queryDeptList",
39004
- data
39005
- });
39006
- }
39007
-
39008
- /**
39009
- * 查询面包屑列表
39010
- * @returns {Promise}
39011
- */
39012
- function queryBreadCrumbsList(data) {
39013
- return request({
39014
- method: "post",
39015
- url: "/omni-channel-service-console/rest/workBench/queryBreadCrumbsList",
39016
- data
39017
- });
39018
- }
39019
-
39020
- /**
39021
- * 查询页头页脚列表
39022
- * @returns {Promise}
39023
- */
39024
- function queryPageHfList(data) {
39025
- return request({
39026
- method: "post",
39027
- url: "/omni-channel-service-console/rest/workBench/queryPageHfList",
39028
- data
39029
- });
39030
- }
39031
-
39032
- /**
39033
- * 查询URL接口
39034
- * @returns {Promise}
39035
- */
39036
- function queryUrl(data) {
39037
- return request({
39038
- method: "post",
39039
- url: "/omni-channel-service-console/rest/workBench/queryUrl",
39040
- data
39041
- });
39042
- }
39043
-
39044
- /**
39045
- * 创建页面
39046
- * @param {Object} pageData 页面数据
39047
- * @returns {Promise}
39048
- */
39049
- function createPage(data) {
39050
- return request({
39051
- method: "post",
39052
- url: "/omni-channel-service-console/rest/workBench/createPage",
39053
- data
39054
- });
39055
- }
39056
- /**
39057
- * 查询页面信息
39058
- * @returns {Promise}
39059
- */
39060
- function queryPageInfo(data) {
39061
- return request({
39062
- method: "post",
39063
- url: "/omni-channel-service-console/rest/workBench/queryPageInfo",
39064
- data
39065
- });
39066
- }
39067
-
39068
- /**
39069
- * 查询页面信息
39070
- * @returns {Promise}
39071
- */
39072
- function editPage(data) {
39073
- return request({
39074
- method: "post",
39075
- url: "/omni-channel-service-console/rest/workBench/editPage",
39076
- data
39077
- });
39078
- }
39079
- /**
39080
- * 字典值
39081
- * @returns {Promise}
39082
- */
39083
- function getPreDictonaryList(data) {
39084
- return request({
39085
- method: "post",
39086
- url: "/omni-channel-service-console/rest/Dictionary/queryDictionaryList",
39087
- data
39088
- });
39089
- }
39090
-
39091
- /**
39092
- * 无痕浏览
39093
- * @returns {Promise}
39094
- */
39095
- function saveTemporaryInfo(data) {
39096
- return request({
39097
- method: "post",
39098
- url: "/omni-channel-service-console/rest/workBench/saveTempJson",
39099
- data
39100
- });
39101
- }
39102
- /**
39103
- * 无痕浏览
39104
- * @returns {Promise}
39105
- */
39106
- function getTemporaryInfo(data) {
39107
- return request({
39108
- method: "post",
39109
- url: "/omni-channel-service-console/rest/workBench/queryTempJson",
39110
- data
39111
- });
39112
- }
39113
- /**
39114
- * 查询操作记录
39115
- * @returns {Promise}
39116
- */
39117
- function queryApproveList(data) {
39118
- return request({
39119
- method: "post",
39120
- url: "/omni-channel-service-console/rest/workBench/queryApproveList",
39121
- data
39122
- });
39123
- }
39124
- /**
39125
- * 通过栏目查询组件列表
39126
- */
39127
- function queryComponentByColumn(data) {
39128
- return request({
39129
- method: "post",
39130
- url: "/omni-channel-service-console/rest/component/queryComponentByColumn",
39131
- data
39132
- });
39133
- }
39134
- /**
39135
- * 查询收藏组件列表
39136
- */
39137
- function queryCollections(data) {
39138
- return request({
39139
- method: "post",
39140
- url: "/omni-channel-service-console/rest/component/queryCollections",
39141
- data
39142
- });
39143
- }
39144
- /**
39145
- * 收藏组件
39146
- */
39147
- function collectionComponent(data) {
39148
- return request({
39149
- method: "post",
39150
- url: "/omni-channel-service-console/rest/component/collectionComponent",
39151
- data
39152
- });
39153
- }
39154
- /**
39155
- * 保存/删除/修改组件配置
39156
- */
39157
- function syncComponentConfigure(data) {
39158
- return request({
39159
- method: "post",
39160
- url: "/omni-channel-service-console/rest/component/syncComponentConfigure",
39161
- data
39162
- });
39163
- }
39164
- /**
39165
- * 查询已保存组件列表
39166
- */
39167
- function queryComponentConfigure(data) {
39168
- return request({
39169
- method: "post",
39170
- url: "/omni-channel-service-console/rest/component/queryComponentConfigure",
39171
- data
39172
- });
39173
- }
39174
- function queryOperateList(data) {
39175
- return request({
39176
- method: "post",
39177
- url: "/omni-channel-service-console/rest/workBench/queryOperateList",
39178
- data
39179
- });
39180
- }
39181
- function updateDefaultConfig(data) {
39182
- return request({
39183
- method: "post",
39184
- url: "/omni-channel-service-console/rest/workBench/updateDefaultConfig",
39185
- data
39186
- });
39187
- }
39188
- function omniHeartbeat(data) {
39189
- return request({
39190
- method: "post",
39191
- url: "/omni-channel-service-console/rest/workBench/keepAlive",
39192
- data
39193
- });
39194
- }
39195
- function emallHeartbeat(data) {
39196
- return request({
39197
- method: "post",
39198
- url: "/ecosp-console/workbench/keepAlive",
39199
- data
39200
- });
39201
- }
39202
- function qryBtList(data) {
39203
- return request({
39204
- method: "post",
39205
- url: "/omni-channel-service-console/rest/component/qryBtList",
39206
- data
39207
- });
39208
- }
39209
- // EXTERNAL MODULE: ./node_modules/qs/lib/index.js
39210
- var lib = __webpack_require__(7087);
39211
- var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
39212
- // EXTERNAL MODULE: ./package/baseComp.vue + 5 modules
39213
- var baseComp = __webpack_require__(7135);
39214
- ;// ./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
39215
-
39216
-
39217
-
39218
-
39219
-
39220
-
39221
-
39222
-
39223
-
39224
-
39225
- /* harmony default export */ var Viewvue_type_script_lang_js = ({
39226
- name: "cms-proCard",
39227
- components: {
39228
- BaseComp: baseComp["default"]
39229
- },
39230
- props: {
39231
- data: {
39232
- type: Object,
39233
- default: () => {
39234
- return {};
39235
- }
39236
- },
39237
- nowCompId: {
39238
- type: [String, Number],
39239
- default: ""
39240
- },
39241
- isOpcacity: {
39242
- type: Boolean,
39243
- default: true
39244
- },
39245
- lang: {
39246
- type: String,
39247
- default: "zh-HK"
39248
- }
39249
- },
39250
- data() {
39251
- return {
39252
- configList: []
39253
- };
39254
- },
39255
- methods: {
39256
- getConfigData(configData) {
39257
- this.configList = configData.configList;
39258
- this.getValue();
39259
- },
39260
- async getValue() {
39261
- if (!this.isOpcacity && !this.$EventBus) {
39262
- await Promise.all(this.configList.map(async (item, index) => {
39263
- await this.getCommodityInfo(item, index);
39264
- }));
39265
- }
39266
- },
39267
- async getCommodityInfo(info, index) {
39268
- let req = {
39269
- busInfo: JSON.stringify({
39270
- commodityId: info.commodityId,
39271
- isPre: "N",
39272
- channelId: "WWW"
39273
- })
39274
- };
39275
- req = lib_default().stringify(req);
39276
- const res = await queryV1(req);
39277
- let result = {};
39278
- 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";
39279
- if (res.resCode == "000000") {
39280
- const commodityInfo = res.busiResp.busiDataResp[0];
39281
- const {
39282
- malltCommodityPrice = []
39283
- } = commodityInfo;
39284
- const priceNode = malltCommodityPrice.filter(item => item.isDefault == "1");
39285
- const [currentSku = {}] = priceNode.length ? priceNode : malltCommodityPrice;
39286
- const pictureUrl = currentSku !== null && currentSku !== void 0 && currentSku.commodityPricePictureVos.length ? currentSku === null || currentSku === void 0 ? void 0 : currentSku.commodityPricePictureVos[0].malltPictureVos[0].pictureUrl : defaultPic;
39287
- result = {
39288
- ...info,
39289
- commodityId: commodityInfo.commodityId,
39290
- ImageUrl: pictureUrl,
39291
- title: commodityInfo.commodityTitle,
39292
- input4: `${(currentSku === null || currentSku === void 0 ? void 0 : currentSku.refPrice) / 100}`
39293
- };
39294
- } else {
39295
- result = {
39296
- ...info
39297
- };
39298
- }
39299
- this.configList.splice(index, 1, result);
39300
- },
39301
- decodeJumpUrl(url) {
39302
- if (!url) return;
39303
- top.location.href = url;
39304
- }
39305
- }
39306
- });
39307
- ;// ./package/cms-proCard/View.vue?vue&type=script&lang=js
39308
- /* harmony default export */ var cms_proCard_Viewvue_type_script_lang_js = (Viewvue_type_script_lang_js);
39309
- // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
39310
- var componentNormalizer = __webpack_require__(1656);
39311
- ;// ./package/cms-proCard/View.vue
39312
-
39313
-
39314
-
39315
-
39316
-
39317
- /* normalize component */
39318
- ;
39319
- var component = (0,componentNormalizer/* default */.A)(
39320
- cms_proCard_Viewvue_type_script_lang_js,
39321
- render,
39322
- staticRenderFns,
39323
- false,
39324
- null,
39325
- "4c7f21b1",
39326
- null
39327
-
39328
- )
39329
-
39330
- /* harmony default export */ var View = (component.exports);
39331
-
39332
39556
  /***/ }),
39333
39557
 
39334
39558
  /***/ 5917:
@@ -44452,7 +44676,7 @@ module.exports = function (bitmap, value) {
44452
44676
  __webpack_require__.r(__webpack_exports__);
44453
44677
  /* harmony import */ var _baseConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2128);
44454
44678
 
44455
- 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));
44456
44680
  const langData = {
44457
44681
  configList: [{
44458
44682
  id: Math.random().toString(),
@@ -50054,6 +50278,222 @@ module.exports = URIError;
50054
50278
 
50055
50279
  /***/ }),
50056
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
+
50057
50497
  /***/ 8981:
50058
50498
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
50059
50499
 
@@ -53080,6 +53520,84 @@ $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
53080
53520
  });
53081
53521
 
53082
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
+
53083
53601
  /***/ }),
53084
53602
 
53085
53603
  /***/ 9348:
@@ -53732,6 +54250,14 @@ module.exports = {
53732
54250
  };
53733
54251
 
53734
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
+
53735
54261
  /***/ }),
53736
54262
 
53737
54263
  /***/ 9688:
@@ -55927,9 +56453,9 @@ service.interceptors.request.use(config => {
55927
56453
  const env_prod = window.location.origin.includes(".22:");
55928
56454
  if (is_development) {
55929
56455
  if (config.url.includes("/ecosp-console")) {
55930
- document.cookie = "JSESSIONID=node017nm2falxdfe8c1parzfv9ilr29.node0";
56456
+ document.cookie = "JSESSIONID=31C253D4AB7D622317BE567A074A8D9F";
55931
56457
  } else if (config.url.includes("omni-channel-service-console")) {
55932
- document.cookie = "JSESSIONID=CA4058E3A195113C85AE1F926814CF89";
56458
+ document.cookie = "JSESSIONID=330793238C3780C658EA1FB6D4EECA59";
55933
56459
  }
55934
56460
  } else {
55935
56461
  if (config.url.includes("/api/") && is_cmsComp) {