@fonixtree/magic-design 1.0.69 → 1.0.71

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 (53) hide show
  1. package/es/composite-comp/bol/components/Banner/mobile/index.less +78 -52
  2. package/es/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
  3. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
  4. package/es/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
  5. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
  6. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
  7. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
  8. package/es/composite-comp/bol/components/Video/mobile/index.less +3 -2
  9. package/es/composite-comp/bol/components/Wallet/mobile/index.less +130 -103
  10. package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +20 -19
  11. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +111 -81
  12. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +35 -27
  13. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
  14. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -32
  15. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +4 -4
  16. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
  17. package/es/composite-comp/dito/components/Orders/mobile/index.less +92 -81
  18. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +155 -131
  19. package/es/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
  20. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
  21. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
  22. package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -2
  23. package/es/utils/commonUtil.js +3 -12
  24. package/es/utils/coreUtil.js +2 -45
  25. package/lib/composite-comp/bol/components/Banner/mobile/index.less +78 -52
  26. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
  27. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
  28. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
  29. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
  30. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
  31. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
  32. package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -2
  33. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +130 -103
  34. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +20 -19
  35. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +111 -81
  36. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +35 -27
  37. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
  38. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -32
  39. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +4 -4
  40. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
  41. package/lib/composite-comp/dito/components/Orders/mobile/index.less +92 -81
  42. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +155 -131
  43. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
  44. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
  45. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
  46. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -2
  47. package/lib/utils/commonUtil.js +3 -12
  48. package/lib/utils/coreUtil.js +2 -45
  49. package/package.json +1 -1
  50. package/es/assets/fonts/.DS_Store +0 -0
  51. package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
  52. package/lib/assets/fonts/.DS_Store +0 -0
  53. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
@@ -1,86 +1,100 @@
1
1
  .m-flash-deal-mobile {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- padding: 0.32rem 0.32rem 0.56rem 0.32rem;
5
- }
6
- .m-flash-deal-mobile .flash-deal-title {
7
- display: flex;
8
- justify-content: space-between;
9
- align-items: center;
10
- }
11
- .m-flash-deal-mobile .flash-deal-title .left {
12
- display: flex;
13
- align-items: center;
14
- }
15
- .m-flash-deal-mobile .flash-deal-title .left .icon {
16
- height: 0.36rem;
17
- margin-right: 0.2rem;
18
- }
19
- .m-flash-deal-mobile .flash-deal-title .left .title {
20
- font-family: 'Montserrat';
21
- font-style: normal;
22
- font-weight: 600;
23
- font-size: 0.28rem;
24
- line-height: 0.36rem;
25
- color: #2C2C2C;
26
- margin-right: 0.2rem;
27
- }
28
- .m-flash-deal-mobile .flash-deal-title .left .sub-title {
29
- font-family: 'Montserrat';
30
- font-style: normal;
31
- font-weight: 600;
32
- font-size: 0.2rem;
33
- line-height: 0.36rem;
34
- color: #2C2C2C;
35
- margin-right: 0.12rem;
36
- align-self: end;
37
- }
38
- .m-flash-deal-mobile .flash-deal-title .right {
39
- display: flex;
40
- align-items: center;
41
- }
42
- .m-flash-deal-mobile .flash-deal-title .right .text {
43
- font-family: 'Montserrat';
44
- font-style: normal;
45
- font-weight: 600;
46
- font-size: 0.24rem;
47
- line-height: 0.3rem;
48
- color: #0038A8;
49
- margin-right: 0.1rem;
50
- }
51
- .m-flash-deal-mobile .flash-deal-title .right .btn {
52
- white-space: nowrap;
53
- }
54
- .m-flash-deal-mobile .flash-deal-list {
55
- margin-top: 0.32rem;
56
- overflow-x: auto;
57
- overflow-y: hidden;
58
- white-space: nowrap;
59
- display: flex;
60
- align-items: flex-start;
61
- justify-content: flex-start;
62
- position: relative;
63
- }
64
- .m-flash-deal-mobile .flash-deal-list .loading-wrap {
65
- display: flex;
66
- align-items: center;
67
- justify-content: center;
68
- padding: 0.6rem;
69
- position: absolute;
70
- top: 0;
71
- bottom: 0;
72
- left: 0;
73
- right: 0;
74
- margin: auto;
75
- }
76
- .m-flash-deal-mobile .flash-deal-list .m-product-item-wrap {
77
- width: 2.84rem;
78
- margin-right: 0.16rem;
79
- }
80
- .m-flash-deal-mobile .flash-deal-list .m-product-item-wrap .product-img {
81
- height: 2.8rem;
82
- width: 2.8rem;
83
- }
84
- .m-flash-deal-mobile .flash-deal-list .m-product-item-wrap .product-name {
85
- height: 0.72rem;
86
- }
4
+ padding: 16px 16px 28px 16px;
5
+
6
+ .flash-deal-title {
7
+ display: flex;
8
+ justify-content: space-between;
9
+ align-items: center;
10
+
11
+ .left {
12
+ display: flex;
13
+ align-items: center;
14
+
15
+ .icon {
16
+ height: 18px;
17
+ margin-right: 10px;
18
+ }
19
+
20
+ .title {
21
+ font-family: 'Montserrat';
22
+ font-style: normal;
23
+ font-weight: 600;
24
+ font-size: 14px;
25
+ line-height: 18px;
26
+ color: #2C2C2C;
27
+ margin-right: 10px;
28
+ }
29
+
30
+ .sub-title {
31
+ font-family: 'Montserrat';
32
+ font-style: normal;
33
+ font-weight: 600;
34
+ font-size: 10px;
35
+ line-height: 18px;
36
+ color: #2C2C2C;
37
+ margin-right: 6px;
38
+ align-self: end;
39
+ }
40
+ }
41
+
42
+ .right {
43
+ display: flex;
44
+ align-items: center;
45
+
46
+ .text {
47
+ font-family: 'Montserrat';
48
+ font-style: normal;
49
+ font-weight: 600;
50
+ font-size: 12px;
51
+ line-height: 15px;
52
+ color: #0038A8;
53
+ margin-right: 5px;
54
+ }
55
+
56
+ .btn {
57
+ white-space: nowrap;
58
+ }
59
+ }
60
+ }
61
+
62
+ .flash-deal-list {
63
+ margin-top: 16px;
64
+ overflow-x: auto;
65
+ overflow-y: hidden;
66
+ white-space: nowrap;
67
+ display: flex;
68
+ align-items: flex-start;
69
+ justify-content: flex-start;
70
+ position: relative;
71
+
72
+ .loading-wrap {
73
+ display: flex;
74
+ align-items: center;
75
+ justify-content: center;
76
+ padding: 30px;
77
+ position: absolute;
78
+ top: 0;
79
+ bottom: 0;
80
+ left: 0;
81
+ right: 0;
82
+ margin: auto;
83
+ }
84
+
85
+ // 秒杀特有样式
86
+ .m-product-item-wrap {
87
+ width: 142px;
88
+ margin-right: 8px;
89
+
90
+ .product-img {
91
+ height: 140px;
92
+ width: 140px;
93
+ }
94
+
95
+ .product-name {
96
+ height: 36px;
97
+ }
98
+ }
99
+ }
100
+ }
@@ -1,34 +1,36 @@
1
1
  .m-head-navigation {
2
2
  width: 100%;
3
- }
4
- .m-head-navigation .head-wrap {
5
- padding: 0.3rem;
6
- display: flex;
7
- align-items: center;
8
- justify-content: space-between;
9
- border-bottom: 0.02rem solid #E6EAF0;
10
- }
11
- .m-head-navigation .head-wrap .head-title {
12
- font-family: Open Sans;
13
- font-size: 0.28rem;
14
- font-weight: 400;
15
- line-height: 0.44rem;
16
- color: #000;
17
- }
18
- .m-head-navigation .head-wrap .icon-wrap {
19
- transition: all 0.1s;
20
- }
21
- .m-head-navigation .head-wrap .rotate {
22
- transform: rotate(90deg);
23
- }
24
- .m-head-navigation .content-wrap {
25
- display: flex;
26
- flex-wrap: wrap;
27
- }
28
- .m-head-navigation .content-wrap .head-item {
29
- margin-bottom: 0.16rem;
30
- margin-left: 0.14rem;
31
- }
32
- .m-head-navigation .item-padding-top {
33
- padding-top: 0.16rem;
34
- }
3
+
4
+ .head-wrap {
5
+ padding: 15px;
6
+ display: flex;
7
+ align-items: center;
8
+ justify-content: space-between;
9
+ border-bottom: 1px solid #E6EAF0;
10
+
11
+ .head-title {
12
+ font-family: Open Sans;
13
+ font-size: 14px;
14
+ font-weight: 400;
15
+ line-height: 22px;
16
+ color: #000;
17
+ }
18
+ .icon-wrap {
19
+ transition: all 0.1s;
20
+ }
21
+ .rotate {
22
+ transform: rotate(90deg);
23
+ }
24
+ }
25
+ .content-wrap {
26
+ display: flex;
27
+ flex-wrap: wrap;
28
+ .head-item {
29
+ margin-bottom: 8px;
30
+ margin-left: 7px;
31
+ }
32
+ }
33
+ .item-padding-top {
34
+ padding-top: 8px;
35
+ }
36
+ }
@@ -2,7 +2,7 @@
2
2
  width: 100%;
3
3
  display: flex;
4
4
  align-items: center;
5
- }
6
- .m-menu-navigation .menu-item {
7
- flex: 1;
8
- }
5
+ .menu-item {
6
+ flex: 1;
7
+ }
8
+ }
@@ -1,21 +1,38 @@
1
- .mobile-navigation-mobile .group-wrap {
2
- padding: 0 0.4rem;
3
- display: flex;
1
+ .mobile-navigation-mobile {
2
+ // display: flex;
3
+ // flex-direction: column;
4
+ // padding-top: 18px;
5
+ .group-wrap {
6
+ padding: 0 20px;
7
+ display: flex;
8
+ .one-card {
9
+ // display: flex;
10
+
11
+ .card-image-wrap {
12
+ margin-bottom: 4px;
13
+ width: 100%;
14
+ }
15
+ }
16
+ }
17
+
4
18
  }
5
- .mobile-navigation-mobile .group-wrap .one-card .card-image-wrap {
6
- margin-bottom: 0.08rem;
7
- width: 100%;
19
+
20
+ .newline {
21
+ .group-wrap {
22
+ flex-wrap: wrap;
23
+ }
8
24
  }
9
- .newline .group-wrap {
10
- flex-wrap: wrap;
11
- }
12
- .tile .group-wrap {
13
- overflow-x: auto;
14
- flex-wrap: nowrap;
15
- scroll-snap-type: x;
16
- padding: 0 0.3rem;
17
- }
18
- .tile .group-wrap .one-card {
19
- flex-shrink: 0;
20
- scroll-snap-align: end;
25
+
26
+ .tile {
27
+ .group-wrap {
28
+ // overflow-x: scroll;
29
+ overflow-x: auto;
30
+ flex-wrap: nowrap;
31
+ scroll-snap-type: x;
32
+ padding: 0 15px;
33
+ .one-card {
34
+ flex-shrink: 0;
35
+ scroll-snap-align: end;
36
+ }
37
+ }
21
38
  }
@@ -1,82 +1,93 @@
1
1
  .orders-mobile {
2
- padding: 0 0.32rem;
3
- }
4
- .orders-mobile .fixed-wrap {
5
- display: flex;
6
- flex-direction: column;
7
- background-color: #fff;
8
- box-shadow: 0 0.06rem 0.12rem rgba(0, 0, 0, 0.16);
9
- border-radius: 0.32rem;
10
- width: auto;
11
- padding: 0.32rem;
12
- }
13
- .orders-mobile .fixed-wrap .top {
14
- display: flex;
15
- flex-direction: row;
16
- justify-content: space-between;
17
- font-weight: 600;
18
- line-height: 0.36rem;
19
- color: var(--font-color);
20
- }
21
- .orders-mobile .fixed-wrap .top .title {
22
- font-size: 0.28rem;
23
- font-weight: 600;
24
- color: #2C2C2C;
25
- }
26
- .orders-mobile .fixed-wrap .top .btn-wrap {
27
- display: flex;
28
- flex-direction: row;
29
- justify-content: center;
30
- align-items: center;
31
- }
32
- .orders-mobile .fixed-wrap .top .btn-wrap .text {
33
- font-size: 0.28rem;
34
- color: #929292;
35
- font-weight: 400;
36
- margin-right: 0.08rem;
37
- }
38
- .orders-mobile .fixed-wrap .list {
39
- display: flex;
40
- flex-direction: row;
41
- justify-content: space-between;
42
- height: 1.32rem;
43
- margin-top: 0.48rem;
44
- margin-bottom: 0.02rem;
45
- }
46
- .orders-mobile .fixed-wrap .list .item {
47
- display: flex;
48
- flex-direction: column;
49
- justify-content: center;
50
- align-items: center;
51
- flex: 1;
52
- }
53
- .orders-mobile .fixed-wrap .list .item .img-wrap {
54
- position: relative;
55
- display: flex;
56
- margin-bottom: 0.16rem;
57
- width: 0.72rem;
58
- height: 0.72rem;
59
- }
60
- .orders-mobile .fixed-wrap .list .item .img-wrap .pot {
61
- display: inline-block;
62
- padding: 0 0.08rem;
63
- background: #ce1126;
64
- border: 0.02rem solid #ce1126;
65
- font-size: 0.16rem;
66
- text-align: center;
67
- color: #fff;
68
- position: absolute;
69
- top: -0.04rem;
70
- left: 0.4rem;
71
- min-width: 0.32rem;
72
- height: 0.32rem;
73
- border-radius: 50%;
74
- line-height: 0.3rem;
75
- }
76
- .orders-mobile .fixed-wrap .list .item .title {
77
- height: 0.44rem;
78
- font-size: 0.24rem;
79
- line-height: 0.22rem;
80
- color: #2C2C2C;
81
- text-align: center;
82
- }
2
+ padding: 0 16px;
3
+
4
+ .fixed-wrap {
5
+ display: flex;
6
+ flex-direction: column;
7
+ background-color: #fff;
8
+ box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
9
+ border-radius: 16px;
10
+ width: auto;
11
+ padding: 16px;
12
+
13
+ .top {
14
+ display: flex;
15
+ flex-direction: row;
16
+ justify-content: space-between;
17
+ font-weight: 600;
18
+ line-height: 18px;
19
+ color: var(--font-color);
20
+
21
+ .title {
22
+ font-size: 14px;
23
+ font-weight: 600;
24
+ color: #2C2C2C;
25
+ }
26
+
27
+ .btn-wrap {
28
+ display: flex;
29
+ flex-direction: row;
30
+ justify-content: center;
31
+ align-items: center;
32
+
33
+ .text {
34
+ font-size: 14px;
35
+ color: #929292;
36
+ font-weight: 400;
37
+ margin-right: 4px;
38
+ }
39
+ }
40
+ }
41
+
42
+ .list {
43
+ display: flex;
44
+ flex-direction: row;
45
+ justify-content: space-between;
46
+ height: 66px;
47
+ margin-top: 24px;
48
+ margin-bottom: 1px;
49
+
50
+ .item {
51
+ display: flex;
52
+ flex-direction: column;
53
+ justify-content: center;
54
+ align-items: center;
55
+ flex: 1;
56
+
57
+ .img-wrap {
58
+ position: relative;
59
+ display: flex;
60
+ margin-bottom: 8px;
61
+ width: 36px;
62
+ height: 36px;
63
+
64
+ .pot {
65
+ display: inline-block;
66
+ padding: 0 4px;
67
+ background: #ce1126;
68
+ border: 1px solid #ce1126;
69
+ font-size: 8px;
70
+ text-align: center;
71
+ color: #fff;
72
+ position: absolute;
73
+ top: -2px;
74
+ left: 20px;
75
+ min-width: 16px;
76
+ height: 16px;
77
+ border-radius: 50%;
78
+ line-height: 15px;
79
+ }
80
+ }
81
+
82
+ .title {
83
+ height: 22px;
84
+ font-size: 12px;
85
+ line-height: 11px;
86
+ color: #2C2C2C;
87
+ text-align: center;
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ }