@fonixtree/magic-design 0.1.40 → 0.1.43

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 (45) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/common/ImageModal/index.js +1 -5
  3. package/es/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  4. package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  5. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  6. package/es/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  7. package/es/composite-comp/bol/components/Text/index.js +2 -5
  8. package/es/composite-comp/bol/components/Text/index.less +0 -2
  9. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +23 -27
  10. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +38 -45
  11. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +41 -50
  12. package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
  13. package/es/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  14. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  15. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  16. package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  17. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  18. package/es/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
  19. package/es/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
  20. package/es/composite-comp/dito/components/SignBoard/mobile/index.js +3 -3
  21. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +70 -74
  22. package/es/composite-comp/dito/components/SignBoard/pc/index.js +3 -3
  23. package/lib/assets/fonts/.DS_Store +0 -0
  24. package/lib/common/ImageModal/index.js +1 -5
  25. package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  26. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  27. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  28. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  29. package/lib/composite-comp/bol/components/Text/index.js +2 -5
  30. package/lib/composite-comp/bol/components/Text/index.less +0 -2
  31. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +23 -27
  32. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +38 -45
  33. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +41 -50
  34. package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
  35. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  36. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  37. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  38. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  39. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  40. package/lib/composite-comp/dito/components/SignBoard/imgs/logo.png +0 -0
  41. package/lib/composite-comp/dito/components/SignBoard/imgs/storeLogo.png +0 -0
  42. package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +3 -3
  43. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +70 -74
  44. package/lib/composite-comp/dito/components/SignBoard/pc/index.js +3 -3
  45. package/package.json +1 -1
@@ -1,58 +1,51 @@
1
1
  .m-search-bar {
2
- height: 48px;
3
- padding: 8px 0;
2
+ height: 0.96rem;
3
+ padding: 0.16rem 0;
4
4
  display: flex;
5
5
  flex-direction: row-reverse;
6
6
  align-items: center;
7
7
  justify-content: space-between;
8
8
  width: 100%;
9
-
10
- .right {
11
- display: flex;
12
- flex: 1;
13
- margin-left: 15px;
14
- align-items: center;
15
- justify-content: space-between;
16
-
17
- .search-input-wrap {
18
- flex: 1;
19
- background: #fff;
20
- border-radius: 4px;
21
- border: 1px solid #D2D9E5;
22
- padding: 4px 12px;
23
- height: 32px;
24
- text-align: right;
25
- display: flex;
26
- justify-content: flex-end;
27
- }
28
-
29
- .message-wrap {
30
- position: relative;
31
- margin-left: 10px;
32
-
33
- .num {
34
- position: absolute;
35
- top: -6px;
36
- right: -6px;
37
- display: inline-block;
38
- padding: 1px 2px;
39
- min-width: 17px;
40
- text-align: center;
41
- background-color: #CE1126;
42
- border: 1px solid #fff;
43
- border-radius: 8px;
44
- font-family: 'Montserrat';
45
- font-style: normal;
46
- font-weight: 600;
47
- font-size: 8px;
48
- color: #FFFFFF;
49
- }
50
- }
51
- }
52
-
53
- .logo {
54
- img {
55
- width: auto;
56
- }
57
- }
58
- }
9
+ }
10
+ .m-search-bar .right {
11
+ display: flex;
12
+ flex: 1;
13
+ margin-left: 0.3rem;
14
+ align-items: center;
15
+ justify-content: space-between;
16
+ }
17
+ .m-search-bar .right .search-input-wrap {
18
+ flex: 1;
19
+ background: #fff;
20
+ border-radius: 0.08rem;
21
+ border: 0.02rem solid #D2D9E5;
22
+ padding: 0.08rem 0.24rem;
23
+ height: 0.64rem;
24
+ text-align: right;
25
+ display: flex;
26
+ justify-content: flex-end;
27
+ }
28
+ .m-search-bar .right .message-wrap {
29
+ position: relative;
30
+ margin-left: 0.2rem;
31
+ }
32
+ .m-search-bar .right .message-wrap .num {
33
+ position: absolute;
34
+ top: -0.12rem;
35
+ right: -0.12rem;
36
+ display: inline-block;
37
+ padding: 0.02rem 0.04rem;
38
+ min-width: 0.34rem;
39
+ text-align: center;
40
+ background-color: #CE1126;
41
+ border: 0.02rem solid #fff;
42
+ border-radius: 0.16rem;
43
+ font-family: 'Montserrat';
44
+ font-style: normal;
45
+ font-weight: 600;
46
+ font-size: 0.16rem;
47
+ color: #FFFFFF;
48
+ }
49
+ .m-search-bar .logo img {
50
+ width: auto;
51
+ }
@@ -13,7 +13,7 @@ var _antd = require("antd");
13
13
 
14
14
  var _common = require("../../../../../common");
15
15
 
16
- var _defaultImg = _interopRequireDefault(require("../../../../../common/GroupList/defaultImg.png"));
16
+ var _storeLogo = _interopRequireDefault(require("../imgs/storeLogo.png"));
17
17
 
18
18
  var _coreUtil = require("../../../../../utils/coreUtil");
19
19
 
@@ -363,10 +363,10 @@ function (_super) {
363
363
  className: "store-info-wrap"
364
364
  }, /*#__PURE__*/_react["default"].createElement("img", {
365
365
  className: "store-logo",
366
- src: (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeLogoUrl) || _defaultImg["default"]
366
+ src: (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeLogoUrl) || _storeLogo["default"]
367
367
  }), /*#__PURE__*/_react["default"].createElement("div", {
368
368
  className: "store-name"
369
- }, (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeName) || 'Whale Store'), /*#__PURE__*/_react["default"].createElement("div", {
369
+ }, (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeName) || 'Compraqui'), /*#__PURE__*/_react["default"].createElement("div", {
370
370
  onClick: this.clickCollect
371
371
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
372
372
  color: isFollow ? '#F1600F' : '#333333',
@@ -1,76 +1,72 @@
1
1
  .m-sign-board-bar {
2
2
  width: 100%;
3
-
4
- .search {
5
- width: 100%;
6
- background: #EEEEEE;
7
- border-radius: 8px;
8
- padding: 8px 12px;
9
- height: 36px;
10
- display: flex;
11
- justify-content: space-between;
12
- align-items: center;
13
- margin-bottom: 4px;
14
- .search-input {
15
- height: 20px;
16
- font-weight: 400;
17
- font-size: 16px;
18
- line-height: 20px;
19
- padding: 0;
20
- background-color: transparent;
21
- border: none;
22
- }
23
- }
24
-
25
- .store-info-wrap {
26
- display: flex;
27
- align-items: center;
28
- margin-top: 20px;
29
- .number {
30
- font-family: 'Montserrat';
31
- font-weight: 400;
32
- font-size: 12px;
33
- line-height: 16px;
34
- color: #696973;
35
- &> span {
36
- font-weight: 700;
37
- font-size: 14px;
38
- line-height: 18px;
39
- color: #333333;
40
- }
41
- &:nth-child(2) {
42
- margin-left: 24px;
43
- flex: 1;
44
- }
45
- }
46
- .chat-btn {
47
- padding: 5px 12px;
48
- // height: 26px;
49
- background: #FFFFFF;
50
- border: 1px solid #333333;
51
- border-radius: 4px;
52
- width: fit-content;
53
- font-family: 'Montserrat';
54
- font-weight: 400;
55
- font-size: 12px;
56
- line-height: 16px;
57
- text-transform: uppercase;
58
- color: #333333;
59
- }
60
- .store-logo {
61
- width: 44px;
62
- height: 44px;
63
- border-radius: 50%;
64
- }
65
- .store-name {
66
- flex: 1;
67
- margin-left: 12px;
68
- font-weight: 500;
69
- font-size: 16px;
70
- line-height: 20px;
71
- color: #070707;
72
- font-family: 'Montserrat';
73
- }
74
- }
75
-
76
- }
3
+ }
4
+ .m-sign-board-bar .search {
5
+ width: 100%;
6
+ background: #EEEEEE;
7
+ border-radius: 0.16rem;
8
+ padding: 0.16rem 0.24rem;
9
+ height: 0.72rem;
10
+ display: flex;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ margin-bottom: 0.08rem;
14
+ }
15
+ .m-sign-board-bar .search .search-input {
16
+ height: 0.4rem;
17
+ font-weight: 400;
18
+ font-size: 0.32rem;
19
+ line-height: 0.4rem;
20
+ padding: 0;
21
+ background-color: transparent;
22
+ border: none;
23
+ }
24
+ .m-sign-board-bar .store-info-wrap {
25
+ display: flex;
26
+ align-items: center;
27
+ margin-top: 0.4rem;
28
+ }
29
+ .m-sign-board-bar .store-info-wrap .number {
30
+ font-family: 'Montserrat';
31
+ font-weight: 400;
32
+ font-size: 0.24rem;
33
+ line-height: 0.32rem;
34
+ color: #696973;
35
+ }
36
+ .m-sign-board-bar .store-info-wrap .number > span {
37
+ font-weight: 700;
38
+ font-size: 0.28rem;
39
+ line-height: 0.36rem;
40
+ color: #333333;
41
+ }
42
+ .m-sign-board-bar .store-info-wrap .number:nth-child(2) {
43
+ margin-left: 0.48rem;
44
+ flex: 1;
45
+ }
46
+ .m-sign-board-bar .store-info-wrap .chat-btn {
47
+ padding: 0.1rem 0.24rem;
48
+ background: #FFFFFF;
49
+ border: 0.02rem solid #333333;
50
+ border-radius: 0.08rem;
51
+ width: fit-content;
52
+ font-family: 'Montserrat';
53
+ font-weight: 400;
54
+ font-size: 0.24rem;
55
+ line-height: 0.32rem;
56
+ text-transform: uppercase;
57
+ color: #333333;
58
+ }
59
+ .m-sign-board-bar .store-info-wrap .store-logo {
60
+ width: 0.88rem;
61
+ height: 0.88rem;
62
+ border-radius: 50%;
63
+ }
64
+ .m-sign-board-bar .store-info-wrap .store-name {
65
+ flex: 1;
66
+ margin-left: 0.24rem;
67
+ font-weight: 500;
68
+ font-size: 0.32rem;
69
+ line-height: 0.4rem;
70
+ color: #070707;
71
+ font-family: 'Montserrat';
72
+ }
@@ -17,7 +17,7 @@ var _common = require("../../../../../common");
17
17
 
18
18
  var _coreUtil = require("../../../../../utils/coreUtil");
19
19
 
20
- var _defaultImg = _interopRequireDefault(require("../../../../../common/GroupList/defaultImg.png"));
20
+ var _storeLogo = _interopRequireDefault(require("../imgs/storeLogo.png"));
21
21
 
22
22
  var _logo = _interopRequireDefault(require("../imgs/logo.png"));
23
23
 
@@ -375,12 +375,12 @@ function (_super) {
375
375
  }, /*#__PURE__*/_react["default"].createElement("img", {
376
376
  alt: "logo",
377
377
  className: "store-logo",
378
- src: (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeLogoUrl) || _defaultImg["default"]
378
+ src: (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeLogoUrl) || _storeLogo["default"]
379
379
  }), /*#__PURE__*/_react["default"].createElement("div", {
380
380
  className: "info"
381
381
  }, /*#__PURE__*/_react["default"].createElement("div", {
382
382
  className: "store-name"
383
- }, (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeName) || 'Whale Store'), /*#__PURE__*/_react["default"].createElement("div", {
383
+ }, (storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeName) || 'Compraqui'), /*#__PURE__*/_react["default"].createElement("div", {
384
384
  className: "store-number"
385
385
  }, /*#__PURE__*/_react["default"].createElement("div", {
386
386
  className: "store-number-item"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.1.40",
4
+ "version": "0.1.43",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",