@fonixtree/magic-design 2.0.173 → 2.0.175

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.
Files changed (57) hide show
  1. package/es/assets/fonts/magic-box-iconfont.css +10 -6
  2. package/es/assets/fonts/magic-box-iconfont.css.bak +59 -3
  3. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  4. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  5. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  6. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  7. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  8. package/es/composite-comp/common/components/MonpayProductItem/index.js +26 -8
  9. package/es/composite-comp/common/components/MonpayProductItem/index.less +17 -4
  10. package/es/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +8 -8
  11. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +14 -14
  12. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +11 -0
  13. package/es/composite-comp/public/components/Location/mobile/index.js +4 -209
  14. package/es/composite-comp/public/components/Location/mobile/index.less +0 -30
  15. package/es/composite-comp/public/components/Stores/mobile/StoreItem/index.js +22 -46
  16. package/es/composite-comp/public/components/Stores/mobile/StoreItem/index.less +1 -1
  17. package/es/composite-comp/public/components/Stores/mobile/index.js +210 -73
  18. package/es/composite-comp/public/components/Stores/mobile/index.less +0 -4
  19. package/es/composite-comp/public/config-panels/WalletConfig/index.js +2 -2
  20. package/{lib/locale/ba/ba.json → es/locale/ar/ar.json} +1 -0
  21. package/es/locale/en/en.json +1 -0
  22. package/es/locale/es/es.json +1 -0
  23. package/es/locale/index.js +3 -3
  24. package/es/locale/mn/mn.json +1 -0
  25. package/es/utils/commonUtil.js +8 -4
  26. package/lib/assets/fonts/magic-box-iconfont.css +10 -6
  27. package/lib/assets/fonts/magic-box-iconfont.css.bak +59 -3
  28. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  29. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  30. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  31. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  32. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  33. package/lib/composite-comp/common/components/MonpayProductItem/index.js +26 -8
  34. package/lib/composite-comp/common/components/MonpayProductItem/index.less +17 -4
  35. package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +8 -8
  36. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +14 -14
  37. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.less +11 -0
  38. package/lib/composite-comp/public/components/Location/mobile/index.js +4 -209
  39. package/lib/composite-comp/public/components/Location/mobile/index.less +0 -30
  40. package/lib/composite-comp/public/components/Stores/mobile/StoreItem/index.js +22 -46
  41. package/lib/composite-comp/public/components/Stores/mobile/StoreItem/index.less +1 -1
  42. package/lib/composite-comp/public/components/Stores/mobile/index.js +210 -73
  43. package/lib/composite-comp/public/components/Stores/mobile/index.less +0 -4
  44. package/lib/composite-comp/public/config-panels/WalletConfig/index.js +2 -2
  45. package/{es/locale/ba/ba.json → lib/locale/ar/ar.json} +1 -0
  46. package/lib/locale/en/en.json +1 -0
  47. package/lib/locale/es/es.json +1 -0
  48. package/lib/locale/index.js +3 -3
  49. package/lib/locale/mn/mn.json +1 -0
  50. package/lib/utils/commonUtil.js +8 -4
  51. package/package.json +1 -1
  52. package/es/assets/fonts/.DS_Store +0 -0
  53. package/lib/assets/fonts/.DS_Store +0 -0
  54. /package/es/composite-comp/public/config-panels/WalletConfig/{WalletNuriConfigImageGroup → WalletConfigImageGroup}/index.js +0 -0
  55. /package/es/composite-comp/public/config-panels/WalletConfig/{WalletNuriConfigImageGroup → WalletConfigImageGroup}/index.less +0 -0
  56. /package/lib/composite-comp/public/config-panels/WalletConfig/{WalletNuriConfigImageGroup → WalletConfigImageGroup}/index.js +0 -0
  57. /package/lib/composite-comp/public/config-panels/WalletConfig/{WalletNuriConfigImageGroup → WalletConfigImageGroup}/index.less +0 -0
@@ -130,9 +130,8 @@ function (_super) {
130
130
  layout = _j.layout,
131
131
  imgHeight = _j.imgHeight,
132
132
  imgWidth = _j.imgWidth,
133
- showDiscountTag = _j.showDiscountTag,
134
133
  isWill = _j.isWill,
135
- rest = __rest(_j, ["data", "panelProps", "onItemClick", "showProName", "showProgress", "intelligentType", "fixHeight", "layout", "imgHeight", "imgWidth", "showDiscountTag", "isWill"]);
134
+ rest = __rest(_j, ["data", "panelProps", "onItemClick", "showProName", "showProgress", "intelligentType", "fixHeight", "layout", "imgHeight", "imgWidth", "isWill"]);
136
135
 
137
136
  var price = (0, _currencyUtil.formatCurrencyWithSymbol)(data.salesPrice);
138
137
  var oldPrice = null;
@@ -146,7 +145,16 @@ function (_super) {
146
145
  var imgStyle = {};
147
146
  if (imgWidth) imgStyle.width = imgWidth;
148
147
  if (imgHeight) imgStyle.height = imgHeight;
149
- var soldNumber = data.salesCnt > 250 ? data.salesCnt - data.salesCnt % 250 + "+" : data.salesCnt || 0;
148
+ var soldNumber = data.salesCnt > 250 ? "" + (data.salesCnt - data.salesCnt % 250) : data.salesCnt || 0;
149
+ var isGift = false;
150
+
151
+ if (data.promotType && data.promotType !== '[]') {
152
+ // 赠品
153
+ if (data.promotType.includes('G')) {
154
+ isGift = true;
155
+ }
156
+ }
157
+
150
158
  return /*#__PURE__*/_react["default"].createElement("div", _extends({
151
159
  className: (0, _classnames["default"])('monpay-product-item-wrap', {
152
160
  fixHeight: fixHeight,
@@ -165,9 +173,19 @@ function (_super) {
165
173
  lazy: true,
166
174
  src: (0, _commonUtil.convertImageUrl)(data.productImg || data.imgUrlContent || data.productImageUrlContent),
167
175
  style: imgStyle
168
- }), (((_a = panelProps.discount) === null || _a === void 0 ? void 0 : _a.open) || showDiscountTag) && data.discountPercent && /*#__PURE__*/_react["default"].createElement("div", {
169
- className: "discount-tag"
170
- }, isWill ? (0, _locale.i18n)('COMING_SOON') : data.discountPercent + "% " + (0, _locale.i18n)('OFF'))), /*#__PURE__*/_react["default"].createElement("div", {
176
+ }), isGift && /*#__PURE__*/_react["default"].createElement("div", {
177
+ className: "discount-tag giftL-tag"
178
+ }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
179
+ className: "icon",
180
+ color: "#fff",
181
+ size: 18,
182
+ type: "icon-a-EssentionalUI"
183
+ }), /*#__PURE__*/_react["default"].createElement("span", null, (0, _locale.i18n)('GIFT'))), ((_a = panelProps.label) === null || _a === void 0 ? void 0 : _a.open) && data.discountPercent && !isGift && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
184
+ className: "discount-tag",
185
+ data: __assign(__assign({}, panelProps.label), {
186
+ text: isWill ? (0, _locale.i18n)('COMING_SOON') : data.discountPercent + "% " + (0, _locale.i18n)('OFF')
187
+ })
188
+ })), /*#__PURE__*/_react["default"].createElement("div", {
171
189
  className: "content-wrap"
172
190
  }, showProName && panelProps.productName.open && /*#__PURE__*/_react["default"].createElement("div", {
173
191
  className: "product-name-wrap"
@@ -216,10 +234,10 @@ function (_super) {
216
234
  })), ((_c = panelProps.evaluationScore) === null || _c === void 0 ? void 0 : _c.open) && ((_d = panelProps.sold) === null || _d === void 0 ? void 0 : _d.open) && /*#__PURE__*/_react["default"].createElement("div", {
217
235
  className: "line"
218
236
  }), ((_e = panelProps.sold) === null || _e === void 0 ? void 0 : _e.open) && /*#__PURE__*/_react["default"].createElement("div", {
219
- className: "sold"
237
+ className: "sold no-reversed"
220
238
  }, /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
221
239
  data: __assign(__assign({}, panelProps.sold), {
222
- text: (0, _locale.i18n)('SOLD') + " " + soldNumber
240
+ text: (0, _commonUtil.reverseStrArr)([(0, _locale.i18n)('SOLD'), soldNumber, '+'])
223
241
  }),
224
242
  readonly: true
225
243
  }))), intelligentType === 'Coupon' && data.coupons && data.coupons.length > 0 && /*#__PURE__*/_react["default"].createElement("div", {
@@ -20,15 +20,28 @@
20
20
  }
21
21
 
22
22
  .discount-tag {
23
+ // font-size: 12px;
24
+ // font-weight: 700;
25
+ // color: #fff;
26
+ // background-color: #ff8650;
27
+ // padding: 5px;
28
+ // border-radius: 0 5px 5px 0;
29
+ position: absolute;
30
+ top: 15px;
31
+ left: 0;
32
+ }
33
+ .giftL-tag {
23
34
  font-size: 12px;
24
35
  font-weight: 700;
25
36
  color: #fff;
26
- background-color: #ff8650;
37
+ background-color: #FA7373;
27
38
  padding: 5px;
28
39
  border-radius: 0 5px 5px 0;
29
- position: absolute;
30
- top: 15px;
31
- left: 0;
40
+ display: flex;
41
+ align-items: center;
42
+ .icon {
43
+ margin-right: 4px;
44
+ }
32
45
  }
33
46
  }
34
47
 
@@ -195,31 +195,31 @@ var getDefaultJSON = function getDefaultJSON() {
195
195
  text: 'Button',
196
196
  content: {
197
197
  url: '',
198
- backgroundColor: '#CE1126'
198
+ backgroundColor: '#ff8650'
199
199
  },
200
200
  buttonText: {
201
201
  sizeType: 'Customize font styles',
202
202
  fontFamily: defaultFontFamily,
203
- fontWeight: 600,
204
- fontSize: 8,
203
+ fontWeight: 700,
204
+ fontSize: 12,
205
205
  fontStyle: 'normal',
206
206
  color: '#fff'
207
207
  },
208
208
  buttonBorder: {
209
209
  open: true,
210
210
  borderColor: '',
211
- borderRadius: 0
211
+ borderRadius: '0 5px 5px 0'
212
212
  },
213
213
  spacing: {
214
214
  pc: {
215
- paddingTop: 0,
216
- paddingBottom: 0,
215
+ paddingTop: 3,
216
+ paddingBottom: 3,
217
217
  paddingLeft: 5,
218
218
  paddingRight: 5
219
219
  },
220
220
  mobile: {
221
- paddingTop: 0,
222
- paddingBottom: 0,
221
+ paddingTop: 3,
222
+ paddingBottom: 3,
223
223
  paddingLeft: 5,
224
224
  paddingRight: 5
225
225
  }
@@ -724,20 +724,22 @@ function (_super) {
724
724
  };
725
725
 
726
726
  RecommendMobile.prototype.render = function () {
727
+ var _a;
728
+
727
729
  var _this = this;
728
730
 
729
- var _a;
731
+ var _b;
730
732
 
731
733
  var panelProps = this.props.panelProps;
732
- var _b = this.state,
733
- tabIndex = _b.tabIndex,
734
- tabLeft = _b.tabLeft,
735
- tabWidth = _b.tabWidth,
736
- groupSource = _b.groupSource,
737
- hideTabs = _b.hideTabs,
738
- contentWidth = _b.contentWidth,
739
- filterObj = _b.filterObj,
740
- searchParams = _b.searchParams;
734
+ var _c = this.state,
735
+ tabIndex = _c.tabIndex,
736
+ tabLeft = _c.tabLeft,
737
+ tabWidth = _c.tabWidth,
738
+ groupSource = _c.groupSource,
739
+ hideTabs = _c.hideTabs,
740
+ contentWidth = _c.contentWidth,
741
+ filterObj = _c.filterObj,
742
+ searchParams = _c.searchParams;
741
743
  var products = this.state["products" + tabIndex] || [];
742
744
 
743
745
  var _products = products.length === 0 && (0, _coreUtil.isDesignMode)() ? defaultData : products;
@@ -762,7 +764,7 @@ function (_super) {
762
764
  if (_layout === 'layout1-2' && contentWidth) imgHeight = (contentWidth - 12) / 2;
763
765
  if (_layout === 'layout1-3' && contentWidth) imgHeight = (contentWidth - 12 * 2) / 3;
764
766
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, (groupSource.length === 1 && _products.length > 0 || groupSource.length > 1) && /*#__PURE__*/_react["default"].createElement("div", {
765
- className: "monpay-recommend-mobile recommend_" + panelProps.id
767
+ className: (0, _classnames["default"])("monpay-recommend-mobile recommend_" + panelProps.id, (_a = {}, _a['reversed-layout'] = (0, _commonUtil.needReverse)(), _a))
766
768
  }, panelProps.title.headerImage.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
767
769
  className: "headerImg",
768
770
  data: panelProps.title.headerImage,
@@ -804,7 +806,7 @@ function (_super) {
804
806
  transform: "translateX(" + tabLeft + "px)",
805
807
  background: this.getTabBarActiveColor(panelProps)
806
808
  }
807
- })), ((_a = panelProps.content.filter) === null || _a === void 0 ? void 0 : _a.open) && /*#__PURE__*/_react["default"].createElement(_SearchCondition["default"], {
809
+ })), ((_b = panelProps.content.filter) === null || _b === void 0 ? void 0 : _b.open) && /*#__PURE__*/_react["default"].createElement(_SearchCondition["default"], {
808
810
  filterObj: filterObj,
809
811
  onChange: this.onSearchCondChange,
810
812
  value: searchParams
@@ -834,7 +836,6 @@ function (_super) {
834
836
  (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
835
837
  },
836
838
  panelProps: panelProps.content,
837
- showDiscountTag: true,
838
839
  showProgress: false
839
840
  });
840
841
  })), _seeAll.open && _products.length > 0 && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
@@ -870,7 +871,6 @@ function (_super) {
870
871
  (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
871
872
  },
872
873
  panelProps: panelProps.content,
873
- showDiscountTag: true,
874
874
  showProgress: false
875
875
  });
876
876
  })), _seeAll.open && _products.length > 0 && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
@@ -82,3 +82,14 @@
82
82
  display: block;
83
83
  margin: 0.6rem auto;
84
84
  }
85
+ .monpay-recommend-mobile.reversed-layout .monpay-product-item-wrap .discount-tag {
86
+ left: unset !important;
87
+ right: 0;
88
+ }
89
+ .monpay-recommend-mobile.reversed-layout .monpay-product-item-wrap.horizontal .img-wrap {
90
+ margin-right: 0;
91
+ margin-left: 0.16rem;
92
+ }
93
+ .monpay-recommend-mobile.reversed-layout .monpay-product-item-wrap.horizontal .img-wrap .product-img {
94
+ border-radius: 0 0.16rem 0.16rem 0;
95
+ }
@@ -11,18 +11,12 @@ var _classnames = _interopRequireDefault(require("classnames"));
11
11
 
12
12
  require("./index.less");
13
13
 
14
- var _coreUtil = require("../../../../../utils/coreUtil");
15
-
16
14
  var _components = require("../../../../../meta-comp/components");
17
15
 
18
16
  var _commonUtil = require("../../../../../utils/commonUtil");
19
17
 
20
- var _storeUtil = require("../../../../../utils/storeUtil");
21
-
22
18
  var _common = require("../../../../../common");
23
19
 
24
- var _constants = require("../../../../../constants");
25
-
26
20
  var _locale = require("../../../../../locale");
27
21
 
28
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -69,149 +63,6 @@ var __assign = void 0 && (void 0).__assign || function () {
69
63
  return __assign.apply(this, arguments);
70
64
  };
71
65
 
72
- var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
73
- function adopt(value) {
74
- return value instanceof P ? value : new P(function (resolve) {
75
- resolve(value);
76
- });
77
- }
78
-
79
- return new (P || (P = Promise))(function (resolve, reject) {
80
- function fulfilled(value) {
81
- try {
82
- step(generator.next(value));
83
- } catch (e) {
84
- reject(e);
85
- }
86
- }
87
-
88
- function rejected(value) {
89
- try {
90
- step(generator["throw"](value));
91
- } catch (e) {
92
- reject(e);
93
- }
94
- }
95
-
96
- function step(result) {
97
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
98
- }
99
-
100
- step((generator = generator.apply(thisArg, _arguments || [])).next());
101
- });
102
- };
103
-
104
- var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
105
- var _ = {
106
- label: 0,
107
- sent: function sent() {
108
- if (t[0] & 1) throw t[1];
109
- return t[1];
110
- },
111
- trys: [],
112
- ops: []
113
- },
114
- f,
115
- y,
116
- t,
117
- g;
118
- return g = {
119
- next: verb(0),
120
- "throw": verb(1),
121
- "return": verb(2)
122
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
123
- return this;
124
- }), g;
125
-
126
- function verb(n) {
127
- return function (v) {
128
- return step([n, v]);
129
- };
130
- }
131
-
132
- function step(op) {
133
- if (f) throw new TypeError("Generator is already executing.");
134
-
135
- while (_) {
136
- try {
137
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
138
- if (y = 0, t) op = [op[0] & 2, t.value];
139
-
140
- switch (op[0]) {
141
- case 0:
142
- case 1:
143
- t = op;
144
- break;
145
-
146
- case 4:
147
- _.label++;
148
- return {
149
- value: op[1],
150
- done: false
151
- };
152
-
153
- case 5:
154
- _.label++;
155
- y = op[1];
156
- op = [0];
157
- continue;
158
-
159
- case 7:
160
- op = _.ops.pop();
161
-
162
- _.trys.pop();
163
-
164
- continue;
165
-
166
- default:
167
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
168
- _ = 0;
169
- continue;
170
- }
171
-
172
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
173
- _.label = op[1];
174
- break;
175
- }
176
-
177
- if (op[0] === 6 && _.label < t[1]) {
178
- _.label = t[1];
179
- t = op;
180
- break;
181
- }
182
-
183
- if (t && _.label < t[2]) {
184
- _.label = t[2];
185
-
186
- _.ops.push(op);
187
-
188
- break;
189
- }
190
-
191
- if (t[2]) _.ops.pop();
192
-
193
- _.trys.pop();
194
-
195
- continue;
196
- }
197
-
198
- op = body.call(thisArg, _);
199
- } catch (e) {
200
- op = [6, e];
201
- y = 0;
202
- } finally {
203
- f = t = 0;
204
- }
205
- }
206
-
207
- if (op[0] & 5) throw op[1];
208
- return {
209
- value: op[0] ? op[1] : void 0,
210
- done: true
211
- };
212
- }
213
- };
214
-
215
66
  var MerchantSalesMobile =
216
67
  /** @class */
217
68
  function (_super) {
@@ -220,63 +71,18 @@ function (_super) {
220
71
  function MerchantSalesMobile() {
221
72
  var _this = _super !== null && _super.apply(this, arguments) || this;
222
73
 
223
- _this.state = {
224
- list: (0, _coreUtil.isDesignMode)() ? [] : (0, _commonUtil.ensure)(function () {
225
- return (0, _storeUtil.getMagicStore)("merchantSales_" + (window.magicDesign.pageId || '') + "_" + _this.props.panelProps.id);
226
- }, [])
227
- };
228
-
229
- _this.getData = function () {
230
- return __awaiter(_this, void 0, void 0, function () {
231
- var res, list;
232
- return __generator(this, function (_a) {
233
- switch (_a.label) {
234
- case 0:
235
- return [4
236
- /*yield*/
237
- , (0, _commonUtil.commonFetch)('/designer/v1/h5/offers', {
238
- pageIndex: 1,
239
- pageSize: 50,
240
- qryStorePage: 'Y',
241
- storeOfferCnt: 0,
242
- campaignType: '2,14'
243
- }, 'POST')];
244
-
245
- case 1:
246
- res = _a.sent();
247
- list = (0, _commonUtil.ensure)(function () {
248
- return res.storePage.list;
249
- }, []);
250
- this.setState({
251
- list: list
252
- });
253
-
254
- if (!(0, _coreUtil.isDesignMode)()) {
255
- (0, _storeUtil.setMagicStore)("merchantSales_" + (window.magicDesign.pageId || '') + "_" + this.props.panelProps.id, list);
256
- }
257
-
258
- return [2
259
- /*return*/
260
- ];
261
- }
262
- });
263
- });
264
- };
265
-
74
+ _this.state = {};
266
75
  return _this;
267
76
  }
268
77
 
269
- MerchantSalesMobile.prototype.componentDidMount = function () {
270
- this.getData();
271
- };
78
+ MerchantSalesMobile.prototype.componentDidMount = function () {};
272
79
 
273
80
  MerchantSalesMobile.prototype.render = function () {
274
81
  var _a;
275
82
 
276
83
  var panelProps = this.props.panelProps;
277
- var needReverse = ((0, _storeUtil.getStore)(_constants.STORAGE_KEY.FISHX_LOCALE) || (0, _storeUtil.getStore)(_constants.STORAGE_KEY.LOCALE)) === 'ba';
278
84
  return /*#__PURE__*/_react["default"].createElement("div", {
279
- className: (0, _classnames["default"])('m-location-mobile', (_a = {}, _a['reversed-layout'] = needReverse, _a))
85
+ className: (0, _classnames["default"])('m-location-mobile', (_a = {}, _a['reversed-layout'] = (0, _commonUtil.needReverse)(), _a))
280
86
  }, panelProps.content.logo.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
281
87
  color: panelProps.content.logo.color,
282
88
  size: 20,
@@ -329,18 +135,7 @@ function (_super) {
329
135
  color: panelProps.content.arrowIcon.color,
330
136
  size: 18,
331
137
  type: "icon-chevron-right"
332
- }))), /*#__PURE__*/_react["default"].createElement("div", {
333
- className: "list"
334
- }, [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13].slice(0, 10).map(function (item) {
335
- return /*#__PURE__*/_react["default"].createElement("div", {
336
- className: "item"
337
- }, /*#__PURE__*/_react["default"].createElement("img", {
338
- alt: "",
339
- src: ""
340
- }), /*#__PURE__*/_react["default"].createElement("span", {
341
- className: "one_row no-reversed"
342
- }, "Supermarkets"));
343
- })));
138
+ }))));
344
139
  };
345
140
 
346
141
  MerchantSalesMobile.defaultProps = {
@@ -47,36 +47,6 @@
47
47
  text-align: left;
48
48
  max-width: 80%;
49
49
  }
50
- .m-location-mobile .list {
51
- margin: 0.4rem 0.4rem 0 0.4rem;
52
- display: flex;
53
- justify-content: center;
54
- gap: 0.38rem;
55
- flex-wrap: wrap;
56
- max-height: 3.1rem;
57
- overflow: hidden;
58
- }
59
- .m-location-mobile .list .item {
60
- display: inline-block;
61
- width: 1rem;
62
- background: url('./img/img-circle.png');
63
- background-repeat: no-repeat;
64
- background-size: 100%;
65
- }
66
- .m-location-mobile .list .item > img {
67
- display: inline-block;
68
- width: 1rem;
69
- height: 1rem;
70
- border-radius: 50%;
71
- }
72
- .m-location-mobile .list .item > span {
73
- font-weight: 400;
74
- font-size: 0.16rem;
75
- color: #000;
76
- max-width: 1rem;
77
- display: block;
78
- margin-top: 0.1rem;
79
- }
80
50
  .m-location-mobile.reversed-layout .search-input {
81
51
  margin-right: 0;
82
52
  margin-left: 0.32rem;