@fonixtree/magic-design 0.0.116 → 0.0.119

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/less/datepicker.less +4 -2
  2. package/es/assets/less/form.less +3 -2
  3. package/es/composite-comp/bol/components/Banner/defaultJSON.js +2 -2
  4. package/es/composite-comp/bol/components/Banner/mobile/index.js +7 -8
  5. package/es/composite-comp/bol/components/Banner/mobile/index.less +48 -71
  6. package/es/composite-comp/bol/components/Banner/pc/index.js +7 -8
  7. package/es/composite-comp/bol/components/Banner/pc/index.less +2 -2
  8. package/es/composite-comp/bol/components/Carousel/mobile/index.less +76 -92
  9. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  10. package/es/composite-comp/bol/components/ImageText/mobile/index.less +232 -291
  11. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +22 -26
  12. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +37 -44
  13. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +29 -36
  14. package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
  15. package/es/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  16. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +11 -26
  17. package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +7 -8
  18. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  19. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +20 -34
  20. package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  21. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +40 -44
  22. package/es/meta-comp/components/Image/index.less +1 -1
  23. package/lib/assets/less/datepicker.less +4 -2
  24. package/lib/assets/less/form.less +3 -2
  25. package/lib/composite-comp/bol/components/Banner/defaultJSON.js +2 -2
  26. package/lib/composite-comp/bol/components/Banner/mobile/index.js +7 -8
  27. package/lib/composite-comp/bol/components/Banner/mobile/index.less +48 -71
  28. package/lib/composite-comp/bol/components/Banner/pc/index.js +7 -8
  29. package/lib/composite-comp/bol/components/Banner/pc/index.less +2 -2
  30. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +76 -92
  31. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  32. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +232 -291
  33. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +22 -26
  34. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +37 -44
  35. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +29 -36
  36. package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
  37. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  38. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +11 -26
  39. package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +7 -8
  40. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  41. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +20 -34
  42. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  43. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +40 -44
  44. package/lib/meta-comp/components/Image/index.less +1 -1
  45. package/package.json +2 -1
@@ -1,50 +1,46 @@
1
1
  .m-search-bar {
2
- height: 48px;
3
- padding: 8px 0;
2
+ height: 6.4vw;
3
+ padding: 1.067vw 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
- }
26
-
27
- .message-wrap {
28
- position: relative;
29
- margin-left: 10px;
30
-
31
- .num {
32
- position: absolute;
33
- top: -6px;
34
- right: -6px;
35
- display: inline-block;
36
- padding: 1px 2px;
37
- min-width: 17px;
38
- text-align: center;
39
- background-color: #CE1126;
40
- border: 1px solid #fff;
41
- border-radius: 8px;
42
- font-family: 'Montserrat';
43
- font-style: normal;
44
- font-weight: 600;
45
- font-size: 8px;
46
- color: #FFFFFF;
47
- }
48
- }
49
- }
50
- }
9
+ }
10
+ .m-search-bar .right {
11
+ display: flex;
12
+ flex: 1;
13
+ margin-left: 2vw;
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.533vw;
21
+ border: 1px solid #D2D9E5;
22
+ padding: 0.533vw 1.6vw;
23
+ height: 4.267vw;
24
+ text-align: right;
25
+ }
26
+ .m-search-bar .right .message-wrap {
27
+ position: relative;
28
+ margin-left: 1.333vw;
29
+ }
30
+ .m-search-bar .right .message-wrap .num {
31
+ position: absolute;
32
+ top: -0.8vw;
33
+ right: -0.8vw;
34
+ display: inline-block;
35
+ padding: 1px 0.267vw;
36
+ min-width: 2.267vw;
37
+ text-align: center;
38
+ background-color: #CE1126;
39
+ border: 1px solid #fff;
40
+ border-radius: 1.067vw;
41
+ font-family: 'Montserrat';
42
+ font-style: normal;
43
+ font-weight: 600;
44
+ font-size: 1.067vw;
45
+ color: #FFFFFF;
46
+ }
@@ -17,7 +17,7 @@
17
17
 
18
18
  &.backgroundImg {
19
19
  &>img {
20
- object-fit: cover;
20
+ // object-fit: cover;
21
21
  // width: auto;
22
22
  max-width: none;
23
23
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.0.116",
4
+ "version": "0.0.119",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",
@@ -29,6 +29,7 @@
29
29
  "mobx": "6.6.1",
30
30
  "mobx-react": "7.5.2",
31
31
  "moment": "2.29.3",
32
+ "ramda": "^0.28.0",
32
33
  "react-color": "2.17.0",
33
34
  "react-router-dom": "5.3.0",
34
35
  "react-slick": "^0.29.0",