@fonixtree/magic-design 0.1.17 → 0.1.18

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 (33) hide show
  1. package/es/common/ImageModal/index.js +12 -6
  2. package/es/common/ImageModal/utils.js +77 -6
  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/Video/mobile/Layout1/index.js +1 -1
  8. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +23 -27
  9. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +38 -45
  10. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +41 -50
  11. package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
  12. package/es/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  13. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  14. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  15. package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  16. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +43 -49
  17. package/lib/common/ImageModal/index.js +12 -6
  18. package/lib/common/ImageModal/utils.js +77 -6
  19. package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  20. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  21. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  22. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  23. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +1 -1
  24. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +23 -27
  25. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +38 -45
  26. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +41 -50
  27. package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
  28. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  29. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  30. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  31. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  32. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +43 -49
  33. package/package.json +1 -1
@@ -1,55 +1,49 @@
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
- }
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
- .logo {
51
- img {
52
- width: auto;
53
- }
54
- }
55
- }
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
+ }
26
+ .m-search-bar .right .message-wrap {
27
+ position: relative;
28
+ margin-left: 0.2rem;
29
+ }
30
+ .m-search-bar .right .message-wrap .num {
31
+ position: absolute;
32
+ top: -0.12rem;
33
+ right: -0.12rem;
34
+ display: inline-block;
35
+ padding: 0.02rem 0.04rem;
36
+ min-width: 0.34rem;
37
+ text-align: center;
38
+ background-color: #CE1126;
39
+ border: 0.02rem solid #fff;
40
+ border-radius: 0.16rem;
41
+ font-family: 'Montserrat';
42
+ font-style: normal;
43
+ font-weight: 600;
44
+ font-size: 0.16rem;
45
+ color: #FFFFFF;
46
+ }
47
+ .m-search-bar .logo img {
48
+ width: auto;
49
+ }
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.17",
4
+ "version": "0.1.18",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",