@fonixtree/magic-design 2.0.33 → 2.0.36
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.
- package/es/assets/fonts/.DS_Store +0 -0
- package/es/assets/fonts/Trueno-Light.otf +0 -0
- package/es/assets/fonts/Trueno-Regular.otf +0 -0
- package/es/assets/fonts/TruenoBd.otf +0 -0
- package/es/assets/less/font.less +22 -0
- package/es/common/AffiliateProductModal/index.js +582 -0
- package/es/common/AffiliateProductModal/index.less +146 -0
- package/es/common/ProductModal/index.js +1 -2
- package/es/common/ProductSource/index.js +42 -10
- package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
- package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
- package/es/composite-comp/common/components/AffiliateProductItem/index.js +175 -0
- package/es/composite-comp/common/components/AffiliateProductItem/index.less +107 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +656 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +76 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +725 -0
- package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +145 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +10 -9
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
- package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
- package/es/constants/component-types.js +9 -3
- package/es/constants/index.js +4 -0
- package/es/core/Designer/ConfigPanel/index.js +7 -2
- package/es/core/Renderer/index.js +18 -11
- package/es/meta-comp/components/Text/index.js +16 -0
- package/es/utils/businessUtil.js +6 -1
- package/es/utils/currencyUtil.js +9 -2
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/Trueno-Light.otf +0 -0
- package/lib/assets/fonts/Trueno-Regular.otf +0 -0
- package/lib/assets/fonts/TruenoBd.otf +0 -0
- package/lib/assets/less/font.less +22 -0
- package/lib/common/AffiliateProductModal/index.js +582 -0
- package/lib/common/AffiliateProductModal/index.less +146 -0
- package/lib/common/ProductModal/index.js +1 -2
- package/lib/common/ProductSource/index.js +42 -10
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/index.js +175 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/index.less +107 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +656 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +76 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +725 -0
- package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +145 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +10 -9
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
- package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
- package/lib/constants/component-types.js +9 -3
- package/lib/constants/index.js +4 -0
- package/lib/core/Designer/ConfigPanel/index.js +7 -2
- package/lib/core/Renderer/index.js +18 -11
- package/lib/meta-comp/components/Text/index.js +16 -0
- package/lib/utils/businessUtil.js +6 -1
- package/lib/utils/currencyUtil.js +9 -2
- package/package.json +1 -1
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.m-recommend-mobile {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
}
|
|
5
|
+
.m-recommend-mobile .cylon-tabs-nav-operations {
|
|
6
|
+
display: none !important;
|
|
7
|
+
}
|
|
8
|
+
.m-recommend-mobile ::-webkit-scrollbar {
|
|
9
|
+
width: 0;
|
|
10
|
+
height: 0;
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
.m-recommend-mobile .tab-select-wrap {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
height: 1rem;
|
|
17
|
+
background: #ffffff;
|
|
18
|
+
overflow: auto;
|
|
19
|
+
position: relative;
|
|
20
|
+
margin-bottom: 0.3rem;
|
|
21
|
+
}
|
|
22
|
+
.m-recommend-mobile .tab-select-wrap .tabTitle {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
text-align: center;
|
|
26
|
+
padding: 0 0.32rem;
|
|
27
|
+
width: fit-content;
|
|
28
|
+
height: 100%;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
white-space: nowrap;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
}
|
|
33
|
+
.m-recommend-mobile .tab-select-wrap .tabTitle img {
|
|
34
|
+
height: 0.4rem;
|
|
35
|
+
width: 0.4rem;
|
|
36
|
+
margin-bottom: 0.04rem;
|
|
37
|
+
}
|
|
38
|
+
.m-recommend-mobile .tab-select-wrap .active-line {
|
|
39
|
+
position: absolute;
|
|
40
|
+
bottom: 0;
|
|
41
|
+
width: 4rem;
|
|
42
|
+
height: 0.06rem;
|
|
43
|
+
background-color: #fff;
|
|
44
|
+
transition: 0.2s all linear;
|
|
45
|
+
border-radius: 0.03rem;
|
|
46
|
+
}
|
|
47
|
+
.m-recommend-mobile .macyContainer {
|
|
48
|
+
display: flex;
|
|
49
|
+
margin: 0 0.32rem;
|
|
50
|
+
}
|
|
51
|
+
.m-recommend-mobile .scrollContainer {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: row;
|
|
54
|
+
align-items: center;
|
|
55
|
+
margin: 0 0.32rem;
|
|
56
|
+
overflow-x: auto;
|
|
57
|
+
padding-bottom: 0.3rem;
|
|
58
|
+
}
|
|
59
|
+
.m-recommend-mobile .scrollContainer.pl_100 {
|
|
60
|
+
padding-left: 2rem;
|
|
61
|
+
}
|
|
62
|
+
.m-recommend-mobile .scrollContainer .scrollProductList {
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: row;
|
|
65
|
+
align-items: flex-start;
|
|
66
|
+
}
|
|
67
|
+
.m-recommend-mobile .scrollContainer .scrollProductList .productCard {
|
|
68
|
+
margin-right: 0.24rem;
|
|
69
|
+
}
|
|
70
|
+
.m-recommend-mobile .btnSeeAll {
|
|
71
|
+
display: block;
|
|
72
|
+
width: fit-content;
|
|
73
|
+
min-width: 1.6rem;
|
|
74
|
+
margin: 0 auto;
|
|
75
|
+
flex: none;
|
|
76
|
+
}
|