@fonixtree/magic-design 2.0.33 → 2.0.35

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 (63) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/common/AffiliateProductModal/index.js +582 -0
  3. package/es/common/AffiliateProductModal/index.less +146 -0
  4. package/es/common/ProductModal/index.js +1 -2
  5. package/es/common/ProductSource/index.js +42 -10
  6. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  7. package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  8. package/es/composite-comp/common/components/AffiliateProductItem/index.js +175 -0
  9. package/es/composite-comp/common/components/AffiliateProductItem/index.less +107 -0
  10. package/es/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  11. package/es/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  12. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +656 -0
  13. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +76 -0
  14. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.js +725 -0
  15. package/es/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  16. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  17. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  18. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +145 -0
  19. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  20. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  21. package/es/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  22. package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +10 -9
  23. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  24. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  25. package/es/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  26. package/es/constants/component-types.js +9 -3
  27. package/es/constants/index.js +4 -0
  28. package/es/core/Designer/ConfigPanel/index.js +7 -2
  29. package/es/core/Renderer/index.js +18 -11
  30. package/es/meta-comp/components/Text/index.js +16 -0
  31. package/es/utils/businessUtil.js +6 -1
  32. package/lib/assets/fonts/.DS_Store +0 -0
  33. package/lib/common/AffiliateProductModal/index.js +582 -0
  34. package/lib/common/AffiliateProductModal/index.less +146 -0
  35. package/lib/common/ProductModal/index.js +1 -2
  36. package/lib/common/ProductSource/index.js +42 -10
  37. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Balance2.svg +9 -0
  38. package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-Koin.svg +40 -0
  39. package/lib/composite-comp/common/components/AffiliateProductItem/index.js +175 -0
  40. package/lib/composite-comp/common/components/AffiliateProductItem/index.less +107 -0
  41. package/lib/composite-comp/dito/components/AffiliateRecommend/defaultJSON.js +243 -0
  42. package/lib/composite-comp/dito/components/AffiliateRecommend/index.js +90 -0
  43. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.js +656 -0
  44. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +76 -0
  45. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.js +725 -0
  46. package/lib/composite-comp/dito/components/AffiliateRecommend/pc/index.less +124 -0
  47. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +102 -0
  48. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
  49. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +145 -0
  50. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +16 -0
  51. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
  52. package/lib/composite-comp/dito/config-panels/AffiliateRecommendConfig/index.js +141 -0
  53. package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +10 -9
  54. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +431 -0
  55. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.js +214 -0
  56. package/lib/composite-comp/dito/second-config-panels/AffiliateRecommendSecondConfig/index.less +15 -0
  57. package/lib/constants/component-types.js +9 -3
  58. package/lib/constants/index.js +4 -0
  59. package/lib/core/Designer/ConfigPanel/index.js +7 -2
  60. package/lib/core/Renderer/index.js +18 -11
  61. package/lib/meta-comp/components/Text/index.js +16 -0
  62. package/lib/utils/businessUtil.js +6 -1
  63. 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
+ }