@fonixtree/magic-design 1.0.5 → 2.0.3

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 (245) hide show
  1. package/es/assets/fonts/magic-box-iconfont.css +47 -3
  2. package/es/assets/fonts/magic-box-iconfont.css.bak +47 -3
  3. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  4. package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
  5. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  6. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  7. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  8. package/es/assets/less/slider.less +49 -1
  9. package/es/common/ImageModal/index.js +35 -2
  10. package/es/common/ImagePicker/index.js +69 -9
  11. package/es/common/ImagePicker/index.less +1 -0
  12. package/es/common/LinkModal/AffiliateProductTable/index.js +348 -0
  13. package/es/common/LinkModal/CatgTable/index.js +6 -3
  14. package/es/common/LinkModal/FilteredProductModal/index.js +2 -2
  15. package/es/common/LinkModal/ProductDetailPage/index.js +1 -1
  16. package/es/common/LinkModal/index.js +6 -0
  17. package/es/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
  18. package/es/composite-comp/bol/components/Banner/index.js +15 -1
  19. package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -4
  20. package/es/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  21. package/es/composite-comp/bol/components/Banner/pc/index.js +1 -4
  22. package/es/composite-comp/bol/components/Button/index.js +3 -4
  23. package/es/composite-comp/bol/components/Carousel/mobile/index.js +1 -4
  24. package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  25. package/es/composite-comp/bol/components/Carousel/pc/index.js +1 -4
  26. package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -4
  27. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  28. package/es/composite-comp/bol/components/ImageGallery/pc/index.js +3 -4
  29. package/es/composite-comp/bol/components/ImageText/defaultJSON.js +11 -2
  30. package/es/composite-comp/bol/components/ImageText/mobile/index.js +1 -4
  31. package/es/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  32. package/es/composite-comp/bol/components/ImageText/pc/index.js +3 -4
  33. package/es/composite-comp/bol/components/Newsletter/index.js +1 -4
  34. package/es/composite-comp/bol/components/Tag/index.js +3 -4
  35. package/es/composite-comp/bol/components/Text/index.js +3 -4
  36. package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +49 -10
  37. package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +5 -5
  38. package/es/composite-comp/bol/components/Video/defaultJSON.js +10 -0
  39. package/es/composite-comp/bol/components/Video/index.js +23 -1
  40. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +9 -12
  41. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
  42. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -11
  43. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
  44. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +9 -11
  45. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -50
  46. package/es/composite-comp/bol/components/Video/mobile/index.js +8 -49
  47. package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
  48. package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -12
  49. package/es/composite-comp/bol/components/Video/pc/Layout1/index.less +2 -2
  50. package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +15 -16
  51. package/es/composite-comp/bol/components/Video/pc/Layout2/index.less +4 -4
  52. package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +8 -11
  53. package/es/composite-comp/bol/components/Video/pc/Layout3/index.less +2 -2
  54. package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -12
  55. package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +5 -4
  56. package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -12
  57. package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +12 -10
  58. package/es/composite-comp/bol/components/Wallet/mobile/index.js +1 -4
  59. package/es/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  60. package/es/composite-comp/bol/components/Wallet/pc/index.js +1 -4
  61. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +4 -0
  62. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
  63. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
  64. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +12 -2
  65. package/es/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
  66. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +10 -1
  67. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +12 -2
  68. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
  69. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  70. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  71. package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  72. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  73. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +76 -80
  74. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
  75. package/es/constants/index.js +4 -2
  76. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  77. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  78. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  79. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  80. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  81. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  82. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  83. package/es/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  84. package/es/core/Designer/AiImageGenerator/History/index.js +141 -0
  85. package/es/core/Designer/AiImageGenerator/History/index.less +69 -0
  86. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +45 -0
  87. package/es/core/Designer/AiImageGenerator/UploadReference/index.less +39 -0
  88. package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  89. package/es/core/Designer/AiImageGenerator/index.js +711 -0
  90. package/es/core/Designer/AiImageGenerator/index.less +144 -0
  91. package/es/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  92. package/es/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  93. package/es/core/Designer/ChatRobot/index.js +321 -0
  94. package/es/core/Designer/ChatRobot/index.less +135 -0
  95. package/es/core/Designer/ChatRobot/markdown.less +1 -0
  96. package/es/core/Designer/FonixtreeGpt/index.js +160 -0
  97. package/es/core/Designer/index.js +27 -8
  98. package/es/decorator/metaDecorator.js +1 -1
  99. package/es/locale/en/en.json +5 -0
  100. package/es/locale/es/es.json +5 -0
  101. package/es/locale/id/id.json +5 -0
  102. package/es/meta-comp/config-panels/ImageConfig/index.js +32 -11
  103. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  104. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  105. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  106. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  107. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  108. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  109. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  110. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  111. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  112. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  113. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  114. package/es/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  115. package/es/meta-comp/config-panels/PlayIconConfig/index.less +37 -2
  116. package/es/meta-comp/config-panels/TextConfig/index.js +5 -1
  117. package/es/mobx/Store.js +3 -0
  118. package/es/utils/androidUtil.js +2 -1
  119. package/es/utils/businessUtil.js +13 -0
  120. package/es/utils/commonUtil.js +142 -34
  121. package/es/utils/coreUtil.js +3 -4
  122. package/lib/assets/fonts/magic-box-iconfont.css +47 -3
  123. package/lib/assets/fonts/magic-box-iconfont.css.bak +47 -3
  124. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  125. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  126. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  127. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  128. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  129. package/lib/assets/less/slider.less +49 -1
  130. package/lib/common/ImageModal/index.js +35 -2
  131. package/lib/common/ImagePicker/index.js +69 -9
  132. package/lib/common/ImagePicker/index.less +1 -0
  133. package/lib/common/LinkModal/AffiliateProductTable/index.js +348 -0
  134. package/lib/common/LinkModal/CatgTable/index.js +6 -3
  135. package/lib/common/LinkModal/FilteredProductModal/index.js +2 -2
  136. package/lib/common/LinkModal/ProductDetailPage/index.js +1 -1
  137. package/lib/common/LinkModal/index.js +6 -0
  138. package/lib/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
  139. package/lib/composite-comp/bol/components/Banner/index.js +15 -1
  140. package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -4
  141. package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  142. package/lib/composite-comp/bol/components/Banner/pc/index.js +1 -4
  143. package/lib/composite-comp/bol/components/Button/index.js +3 -4
  144. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +1 -4
  145. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  146. package/lib/composite-comp/bol/components/Carousel/pc/index.js +1 -4
  147. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -4
  148. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  149. package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +3 -4
  150. package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +11 -2
  151. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +1 -4
  152. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  153. package/lib/composite-comp/bol/components/ImageText/pc/index.js +3 -4
  154. package/lib/composite-comp/bol/components/Newsletter/index.js +1 -4
  155. package/lib/composite-comp/bol/components/Tag/index.js +3 -4
  156. package/lib/composite-comp/bol/components/Text/index.js +3 -4
  157. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +49 -10
  158. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +5 -5
  159. package/lib/composite-comp/bol/components/Video/defaultJSON.js +10 -0
  160. package/lib/composite-comp/bol/components/Video/index.js +23 -1
  161. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +9 -12
  162. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
  163. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -11
  164. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
  165. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +9 -11
  166. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -50
  167. package/lib/composite-comp/bol/components/Video/mobile/index.js +8 -49
  168. package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
  169. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -12
  170. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +2 -2
  171. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +15 -16
  172. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +4 -4
  173. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +8 -11
  174. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +2 -2
  175. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -12
  176. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +5 -4
  177. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -12
  178. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +12 -10
  179. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +1 -4
  180. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  181. package/lib/composite-comp/bol/components/Wallet/pc/index.js +1 -4
  182. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +4 -0
  183. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
  184. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
  185. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +12 -2
  186. package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
  187. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +10 -1
  188. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +12 -2
  189. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
  190. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  191. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  192. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  193. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  194. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +76 -80
  195. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
  196. package/lib/constants/index.js +4 -2
  197. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  198. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  199. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  200. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  201. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  202. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  203. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  204. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  205. package/lib/core/Designer/AiImageGenerator/History/index.js +141 -0
  206. package/lib/core/Designer/AiImageGenerator/History/index.less +69 -0
  207. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +45 -0
  208. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +39 -0
  209. package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  210. package/lib/core/Designer/AiImageGenerator/index.js +711 -0
  211. package/lib/core/Designer/AiImageGenerator/index.less +144 -0
  212. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  213. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  214. package/lib/core/Designer/ChatRobot/index.js +321 -0
  215. package/lib/core/Designer/ChatRobot/index.less +135 -0
  216. package/lib/core/Designer/ChatRobot/markdown.less +1 -0
  217. package/lib/core/Designer/FonixtreeGpt/index.js +160 -0
  218. package/lib/core/Designer/index.js +27 -8
  219. package/lib/decorator/metaDecorator.js +1 -1
  220. package/lib/locale/en/en.json +5 -0
  221. package/lib/locale/es/es.json +5 -0
  222. package/lib/locale/id/id.json +5 -0
  223. package/lib/meta-comp/config-panels/ImageConfig/index.js +32 -11
  224. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  225. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  226. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  227. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  228. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  229. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  230. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  231. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  232. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  233. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  234. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  235. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  236. package/lib/meta-comp/config-panels/PlayIconConfig/index.less +37 -2
  237. package/lib/meta-comp/config-panels/TextConfig/index.js +5 -1
  238. package/lib/mobx/Store.js +3 -0
  239. package/lib/utils/androidUtil.js +2 -1
  240. package/lib/utils/businessUtil.js +13 -0
  241. package/lib/utils/commonUtil.js +142 -34
  242. package/lib/utils/coreUtil.js +3 -4
  243. package/package.json +2 -1
  244. package/es/assets/fonts/.DS_Store +0 -0
  245. package/lib/assets/fonts/.DS_Store +0 -0
@@ -1,293 +1,234 @@
1
1
  .image-text-mobile {
2
- // display: flex;
3
- // flex-direction: column;
4
- padding: 17px 0;
5
- .headline {
6
- margin-bottom: 8px;
7
- }
8
- .subtitle {
9
- margin-bottom: 36px;
10
- }
11
- .group-wrap .one-card .card-btn-wrap {
12
- .card-first-btn, .card-second-btn {
13
- width: fit-content;
14
- }
15
- }
16
-
17
- .btn-wrap {
18
- display: flex;
19
- width: 100%;
20
- justify-content: center;
21
-
22
- .first-btn {
23
- margin-top: 36px;
24
- }
25
- .second-btn {
26
- margin-top: 36px;
27
- margin-left: 12px;
28
- }
29
- }
30
- }
31
- .normal1 {
32
- .group-wrap {
33
- padding: 0 15px;
34
- width: 100%;
35
- .one-card {
36
- display: flex;
37
- align-items: stretch;
38
- padding: 18px;
39
- margin-bottom: 8px;
40
- &:last-of-type {
41
- margin-bottom: 0;
42
- }
43
- .card-image-wrap {
44
- flex-shrink: 0;
45
- margin-right: 12px;
46
- }
47
- .card-content-wrap {
48
- flex: 1;
49
- display: flex;
50
- flex-direction: column;
51
- justify-content: center;
52
- .card-title {
53
- margin-bottom: 6px;
54
- text-align: left !important;
55
- }
56
- .card-text {
57
- margin-bottom: 12px;
58
- text-align: left !important;
59
- }
60
- .card-btn-wrap {
61
- display: flex;
62
- .card-second-btn {
63
- margin-left: 12px;
64
- }
65
- }
66
- }
67
- }
68
- }
69
- }
70
-
71
- .normal2 {
72
- .group-wrap {
73
- width: 100%;
74
- padding: 0 15px;
75
- .one-card {
76
- width: 100%;
77
- padding: 20px 16px;
78
- margin-bottom: 36px;
79
- &:last-of-type {
80
- margin-bottom: 0;
81
- }
82
- .card-image-wrap {
83
- .card-image {
84
- width: fit-content;
85
- margin: 0 auto;
86
- }
87
- }
88
- .card-content-wrap {
89
- .card-title {
90
- margin-bottom: 8px;
91
- }
92
- .card-text {
93
- margin-bottom: 16px;
94
- }
95
- .card-btn-wrap {
96
- display: flex;
97
- .card-second-btn {
98
- margin-left: 12px;
99
- }
100
- }
101
- }
102
- }
103
- }
104
- }
105
- .normal3 {
106
- .group-wrap {
107
- display: flex;
108
- // margin-bottom: 36px;
109
- // margin-top: 36px;
110
- flex-wrap: wrap;
111
- width: 100%;
112
- padding: 0 15px;
113
-
114
- .one-card {
115
- display: flex;
116
- flex-direction: column;
117
- .card-image-wrap {
118
- width: 100%;
119
- padding: 8px;
120
- .card-image {
121
- // max-height: 107px;
122
- width: fit-content;
123
- margin: 0 auto;
124
- }
125
- }
126
-
127
- .card-title {
128
- margin-bottom: 4px;
129
- }
130
-
131
- .card-text {
132
- margin-bottom: 7px;
133
- }
134
- .card-btn-wrap {
135
- display: flex;
136
- flex-direction: column;
137
- }
138
-
139
- .card-first-btn, .card-second-btn {
140
- margin-bottom: 8px;
141
- }
142
- }
143
- .card-margin-bottom {
144
- margin-bottom: 10px;
145
- }
146
- }
147
- }
148
-
149
- .outsideM {
150
- .group-wrap {
151
- padding: 0 15px;
152
- width: 100%;
153
- .one-card {
154
- margin-top: 35px;
155
- position: relative;
156
- padding: 30px 10px 20px 36px;
157
- .card-image-wrap {
158
- position: absolute;
159
- left: 18px;
160
- top: 0;
161
- transform: translateY(-50%);
162
- }
163
- .card-content-wrap {
164
- .card-title {
165
- margin-bottom: 4px;
166
- text-align: left !important;
167
- }
168
- .card-text {
169
- margin-bottom: 12px;
170
- text-align: left !important;
171
- }
172
- .card-btn-wrap {
173
- display: flex;
174
- .card-second-btn {
175
- margin-left: 12px;
176
- }
177
- }
178
- }
179
- }
180
- }
181
- }
182
-
183
- .centerM {
184
- .group-wrap {
185
- position: relative;
186
- width: 100%;
187
- &::before {
188
- content: '';
189
- position: absolute;
190
- width: 1px;
191
- height: 100%;
192
- border-right: 1px dashed #D2D9E5;
193
- left: 50%;
194
- transform: translateX(-50%);
195
- }
196
- .one-card {
197
- width: calc((100% - 1px)/2);
198
- position: relative;
199
- padding: 0 14px 16px;
200
- &::before {
201
- content: '';
202
- position: absolute;
203
- border-radius: 50%;
204
- background: #2F54EB;
205
- width: 10px;
206
- height: 10px;
207
- z-index: 10;
208
- border: 2px solid #CCE3FF;
209
- }
210
- // &::before {
211
- // opacity: 0.2;
212
- // width: 10px;
213
- // height: 10px;
214
- // }
215
- &:nth-of-type(2n-1) {
216
- left: 0;
217
- &::before {
218
- right: -5px;
219
- top: 5px;
220
- }
221
- // &::after {
222
- // right: -3px;
223
- // top: 7px;
224
- // }
225
- .card-content-wrap {
226
- display: flex;
227
- flex-direction: column;
228
- align-items: flex-end;
229
- .card-title, .card-text {
230
- text-align: right !important;
231
- }
232
- .image-subtext-wrap {
233
- flex-direction: row-reverse;
234
- .card-image-wrap {
235
- margin-left: 8px;
236
- }
237
- // .card-text {
238
- // .m-meta-text {
239
- // text-align: right !important;
240
- // }
241
- // }
242
- }
243
- .card-btn-wrap {
244
- display: flex;
245
- flex-direction: column;
246
- align-items: flex-end;
247
- }
248
- }
249
- }
250
- &:nth-of-type(2n) {
251
- left: 50%;
252
- &::before {
253
- left: -5px;
254
- top: 5px;
255
- }
256
- // &::after {
257
- // left: -3px;
258
- // top: 7px;
259
- // }
260
- .card-content-wrap {
261
- .card-title, .card-text {
262
- text-align: left !important;
263
- }
264
- .image-subtext-wrap {
265
- .card-image-wrap {
266
- margin-right: 8px;
267
- }
268
- // .card-text {
269
- // .m-meta-text {
270
- // text-align: left !important;
271
- // }
272
- // }
273
- }
274
- }
275
- }
276
- .card-content-wrap {
277
- .card-title {
278
- margin-bottom: 10px;
279
- }
280
- .image-subtext-wrap {
281
- display: flex;
282
- margin-bottom: 20px;
283
- align-items: center;
284
- }
285
- .card-btn-wrap {
286
- .card-second-btn {
287
- margin-top: 12px;
288
- }
289
- }
290
- }
291
- }
292
- }
293
- }
2
+ padding: 0.34rem 0;
3
+ }
4
+ .image-text-mobile .headline {
5
+ margin-bottom: 0.16rem;
6
+ }
7
+ .image-text-mobile .subtitle {
8
+ margin-bottom: 0.72rem;
9
+ }
10
+ .image-text-mobile .group-wrap .one-card .card-btn-wrap .card-first-btn,
11
+ .image-text-mobile .group-wrap .one-card .card-btn-wrap .card-second-btn {
12
+ width: fit-content;
13
+ }
14
+ .image-text-mobile .btn-wrap {
15
+ display: flex;
16
+ width: 100%;
17
+ justify-content: center;
18
+ }
19
+ .image-text-mobile .btn-wrap .first-btn {
20
+ margin-top: 0.72rem;
21
+ }
22
+ .image-text-mobile .btn-wrap .second-btn {
23
+ margin-top: 0.72rem;
24
+ margin-left: 0.24rem;
25
+ }
26
+ .normal1 .group-wrap {
27
+ padding: 0 0.3rem;
28
+ width: 100%;
29
+ }
30
+ .normal1 .group-wrap .one-card {
31
+ display: flex;
32
+ align-items: stretch;
33
+ padding: 0.36rem;
34
+ margin-bottom: 0.16rem;
35
+ }
36
+ .normal1 .group-wrap .one-card:last-of-type {
37
+ margin-bottom: 0;
38
+ }
39
+ .normal1 .group-wrap .one-card .card-image-wrap {
40
+ flex-shrink: 0;
41
+ margin-right: 0.24rem;
42
+ }
43
+ .normal1 .group-wrap .one-card .card-content-wrap {
44
+ flex: 1;
45
+ display: flex;
46
+ flex-direction: column;
47
+ justify-content: center;
48
+ }
49
+ .normal1 .group-wrap .one-card .card-content-wrap .card-title {
50
+ margin-bottom: 0.12rem;
51
+ text-align: left !important;
52
+ }
53
+ .normal1 .group-wrap .one-card .card-content-wrap .card-text {
54
+ margin-bottom: 0.24rem;
55
+ text-align: left !important;
56
+ }
57
+ .normal1 .group-wrap .one-card .card-content-wrap .card-btn-wrap {
58
+ display: flex;
59
+ }
60
+ .normal1 .group-wrap .one-card .card-content-wrap .card-btn-wrap .card-second-btn {
61
+ margin-left: 0.24rem;
62
+ }
63
+ .normal2 .group-wrap {
64
+ width: 100%;
65
+ padding: 0 0.3rem;
66
+ }
67
+ .normal2 .group-wrap .one-card {
68
+ width: 100%;
69
+ padding: 0.4rem 0.32rem;
70
+ margin-bottom: 0.72rem;
71
+ }
72
+ .normal2 .group-wrap .one-card:last-of-type {
73
+ margin-bottom: 0;
74
+ }
75
+ .normal2 .group-wrap .one-card .card-image-wrap .card-image {
76
+ width: fit-content;
77
+ margin: 0 auto;
78
+ }
79
+ .normal2 .group-wrap .one-card .card-content-wrap .card-title {
80
+ margin-bottom: 0.16rem;
81
+ }
82
+ .normal2 .group-wrap .one-card .card-content-wrap .card-text {
83
+ margin-bottom: 0.32rem;
84
+ }
85
+ .normal2 .group-wrap .one-card .card-content-wrap .card-btn-wrap {
86
+ display: flex;
87
+ }
88
+ .normal2 .group-wrap .one-card .card-content-wrap .card-btn-wrap .card-second-btn {
89
+ margin-left: 0.24rem;
90
+ }
91
+ .normal3 .group-wrap {
92
+ display: flex;
93
+ flex-wrap: wrap;
94
+ width: 100%;
95
+ padding: 0 0.3rem;
96
+ }
97
+ .normal3 .group-wrap .one-card {
98
+ display: flex;
99
+ flex-direction: column;
100
+ }
101
+ .normal3 .group-wrap .one-card .card-image-wrap {
102
+ width: 100%;
103
+ padding: 0.16rem;
104
+ }
105
+ .normal3 .group-wrap .one-card .card-image-wrap .card-image {
106
+ width: fit-content;
107
+ margin: 0 auto;
108
+ }
109
+ .normal3 .group-wrap .one-card .card-title {
110
+ margin-bottom: 0.08rem;
111
+ }
112
+ .normal3 .group-wrap .one-card .card-text {
113
+ margin-bottom: 0.14rem;
114
+ }
115
+ .normal3 .group-wrap .one-card .card-btn-wrap {
116
+ display: flex;
117
+ flex-direction: column;
118
+ }
119
+ .normal3 .group-wrap .one-card .card-first-btn,
120
+ .normal3 .group-wrap .one-card .card-second-btn {
121
+ margin-bottom: 0.16rem;
122
+ }
123
+ .normal3 .group-wrap .card-margin-bottom {
124
+ margin-bottom: 0.2rem;
125
+ }
126
+ .outsideM .group-wrap {
127
+ padding: 0 0.3rem;
128
+ width: 100%;
129
+ }
130
+ .outsideM .group-wrap .one-card {
131
+ margin-top: 0.7rem;
132
+ position: relative;
133
+ padding: 0.6rem 0.2rem 0.4rem 0.72rem;
134
+ }
135
+ .outsideM .group-wrap .one-card .card-image-wrap {
136
+ position: absolute;
137
+ left: 0.36rem;
138
+ top: 0;
139
+ transform: translateY(-50%);
140
+ }
141
+ .outsideM .group-wrap .one-card .card-content-wrap .card-title {
142
+ margin-bottom: 0.08rem;
143
+ text-align: left !important;
144
+ }
145
+ .outsideM .group-wrap .one-card .card-content-wrap .card-text {
146
+ margin-bottom: 0.24rem;
147
+ text-align: left !important;
148
+ }
149
+ .outsideM .group-wrap .one-card .card-content-wrap .card-btn-wrap {
150
+ display: flex;
151
+ }
152
+ .outsideM .group-wrap .one-card .card-content-wrap .card-btn-wrap .card-second-btn {
153
+ margin-left: 0.24rem;
154
+ }
155
+ .centerM .group-wrap {
156
+ position: relative;
157
+ width: 100%;
158
+ }
159
+ .centerM .group-wrap::before {
160
+ content: '';
161
+ position: absolute;
162
+ width: 0.02rem;
163
+ height: 100%;
164
+ border-right: 0.02rem dashed #D2D9E5;
165
+ left: 50%;
166
+ transform: translateX(-50%);
167
+ }
168
+ .centerM .group-wrap .one-card {
169
+ width: calc((100% - 0.02rem)/2);
170
+ position: relative;
171
+ padding: 0 0.28rem 0.32rem;
172
+ }
173
+ .centerM .group-wrap .one-card::before {
174
+ content: '';
175
+ position: absolute;
176
+ border-radius: 50%;
177
+ background: #2F54EB;
178
+ width: 0.2rem;
179
+ height: 0.2rem;
180
+ z-index: 10;
181
+ border: 0.04rem solid #CCE3FF;
182
+ }
183
+ .centerM .group-wrap .one-card:nth-of-type(2n-1) {
184
+ left: 0;
185
+ }
186
+ .centerM .group-wrap .one-card:nth-of-type(2n-1)::before {
187
+ right: -0.1rem;
188
+ top: 0.1rem;
189
+ }
190
+ .centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap {
191
+ display: flex;
192
+ flex-direction: column;
193
+ align-items: flex-end;
194
+ }
195
+ .centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap .card-title,
196
+ .centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap .card-text {
197
+ text-align: right !important;
198
+ }
199
+ .centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap .image-subtext-wrap {
200
+ flex-direction: row-reverse;
201
+ }
202
+ .centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap .image-subtext-wrap .card-image-wrap {
203
+ margin-left: 0.16rem;
204
+ }
205
+ .centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap .card-btn-wrap {
206
+ display: flex;
207
+ flex-direction: column;
208
+ align-items: flex-end;
209
+ }
210
+ .centerM .group-wrap .one-card:nth-of-type(2n) {
211
+ left: 50%;
212
+ }
213
+ .centerM .group-wrap .one-card:nth-of-type(2n)::before {
214
+ left: -0.1rem;
215
+ top: 0.1rem;
216
+ }
217
+ .centerM .group-wrap .one-card:nth-of-type(2n) .card-content-wrap .card-title,
218
+ .centerM .group-wrap .one-card:nth-of-type(2n) .card-content-wrap .card-text {
219
+ text-align: left !important;
220
+ }
221
+ .centerM .group-wrap .one-card:nth-of-type(2n) .card-content-wrap .image-subtext-wrap .card-image-wrap {
222
+ margin-right: 0.16rem;
223
+ }
224
+ .centerM .group-wrap .one-card .card-content-wrap .card-title {
225
+ margin-bottom: 0.2rem;
226
+ }
227
+ .centerM .group-wrap .one-card .card-content-wrap .image-subtext-wrap {
228
+ display: flex;
229
+ margin-bottom: 0.4rem;
230
+ align-items: center;
231
+ }
232
+ .centerM .group-wrap .one-card .card-content-wrap .card-btn-wrap .card-second-btn {
233
+ margin-top: 0.24rem;
234
+ }
@@ -21,6 +21,8 @@ var _businessUtil = require("../../../../../utils/businessUtil");
21
21
 
22
22
  var _ConfigPanel = require("../../../../../core/Designer/ConfigPanel");
23
23
 
24
+ var _commonUtil = require("../../../../../utils/commonUtil");
25
+
24
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
27
 
26
28
  var __extends = void 0 && (void 0).__extends || function () {
@@ -157,10 +159,7 @@ function (_super) {
157
159
  currentMaxWidth = _a.currentMaxWidth;
158
160
  var wrapStyle = {};
159
161
  wrapStyle.alignItems = _AlignSelector.alignItemMap[data.customize.align];
160
- var GAData = {
161
- moduleId: data.id,
162
- moduleName: data.moduleIndex + '.' + data.type
163
- };
162
+ var GAData = (0, _commonUtil.getGAData)(data);
164
163
  return /*#__PURE__*/_react["default"].createElement("div", {
165
164
  className: (0, _classnames["default"])('image-text-pc', data.customize.layout.pcLayout),
166
165
  style: wrapStyle
@@ -102,10 +102,7 @@ function (_super) {
102
102
  // wrapStyle.backgroundPosition = 'center';
103
103
  // }
104
104
 
105
- var GAData = {
106
- moduleId: nodeData.id,
107
- moduleName: nodeData.moduleIndex + '.' + nodeData.type
108
- };
105
+ var GAData = (0, _commonUtil.getGAData)(nodeData);
109
106
 
110
107
  var style = __assign({}, (0, _Text.contentStyle)(nodeData.content.inputField.content));
111
108
 
@@ -17,6 +17,8 @@ var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/
17
17
 
18
18
  var _ConfigPanel = require("../../../../core/Designer/ConfigPanel");
19
19
 
20
+ var _commonUtil = require("../../../../utils/commonUtil");
21
+
20
22
  require("./index.less");
21
23
 
22
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -92,10 +94,7 @@ function (_super) {
92
94
  var _a;
93
95
 
94
96
  var nodeData = this.props.nodeData;
95
- var GAData = {
96
- moduleId: nodeData.id,
97
- moduleName: nodeData.moduleIndex + '.' + nodeData.type
98
- };
97
+ var GAData = (0, _commonUtil.getGAData)(nodeData);
99
98
  return /*#__PURE__*/_react["default"].createElement("div", {
100
99
  className: (0, _classnames["default"])('tag-comp-wrap', (_a = {}, _a[nodeData.customize.layout] = true, _a[nodeData.customize.align] = true, _a)),
101
100
  onClick: this.onComponentClick
@@ -17,6 +17,8 @@ var _components = require("../../../../meta-comp/components");
17
17
 
18
18
  var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/compositeDecorator"));
19
19
 
20
+ var _commonUtil = require("../../../../utils/commonUtil");
21
+
20
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
23
 
22
24
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -93,10 +95,7 @@ function (_super) {
93
95
  nodeData = _b.nodeData,
94
96
  mode = _b.mode,
95
97
  outputType = _b.outputType;
96
- var GAData = {
97
- moduleId: nodeData.id,
98
- moduleName: nodeData.moduleIndex + '.' + nodeData.type
99
- };
98
+ var GAData = (0, _commonUtil.getGAData)(nodeData);
100
99
  var groupWrapContainerStyle = window.magicDesign.device === 'pc' ? 'padding: 16px 20px;' : 'padding: 12px 20px;';
101
100
  var style = ".m-text{word-break: break-word;}.m-text .title-wrap{font-weight:500;font-size:20px;}.m-text .sub-title-text{font-size:15px;color:#b7b7b7;margin-top:10px;}.m-text .group-content-wrap{width:100%;}.m-text .group-content-wrap .group-wrap-container{" + groupWrapContainerStyle + "}.m-text .group-content-wrap .group-wrap{display:flex;flex-direction:column;width:100%;}.m-text .group-content-wrap .group-wrap .group-title{font-size:14px;}.m-text .group-content-wrap.col-1 .group-wrap{width:100%;}.m-text .group-content-wrap.col-2{display:grid;grid-template-columns:50% 50%;}.m-text .group-content-wrap.col-3{display:grid;grid-template-columns:33.3% 33.3% 33.3%;}.m-text .group-content-wrap.mobile{display:block;}";
102
101
  return /*#__PURE__*/_react["default"].createElement("div", {