@fonixtree/magic-design 1.0.4 → 2.0.2

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 (237) 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/index.js +6 -0
  14. package/es/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
  15. package/es/composite-comp/bol/components/Banner/index.js +15 -1
  16. package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -4
  17. package/es/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  18. package/es/composite-comp/bol/components/Banner/pc/index.js +1 -4
  19. package/es/composite-comp/bol/components/Button/index.js +3 -4
  20. package/es/composite-comp/bol/components/Carousel/mobile/index.js +1 -4
  21. package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  22. package/es/composite-comp/bol/components/Carousel/pc/index.js +1 -4
  23. package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -4
  24. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  25. package/es/composite-comp/bol/components/ImageGallery/pc/index.js +3 -4
  26. package/es/composite-comp/bol/components/ImageText/defaultJSON.js +11 -2
  27. package/es/composite-comp/bol/components/ImageText/mobile/index.js +1 -4
  28. package/es/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  29. package/es/composite-comp/bol/components/ImageText/pc/index.js +3 -4
  30. package/es/composite-comp/bol/components/Newsletter/index.js +1 -4
  31. package/es/composite-comp/bol/components/Tag/index.js +3 -4
  32. package/es/composite-comp/bol/components/Text/index.js +3 -4
  33. package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +49 -10
  34. package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +5 -5
  35. package/es/composite-comp/bol/components/Video/defaultJSON.js +10 -0
  36. package/es/composite-comp/bol/components/Video/index.js +23 -1
  37. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +9 -12
  38. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
  39. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -11
  40. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
  41. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +9 -11
  42. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -50
  43. package/es/composite-comp/bol/components/Video/mobile/index.js +8 -49
  44. package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
  45. package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -12
  46. package/es/composite-comp/bol/components/Video/pc/Layout1/index.less +2 -2
  47. package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +15 -16
  48. package/es/composite-comp/bol/components/Video/pc/Layout2/index.less +4 -4
  49. package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +8 -11
  50. package/es/composite-comp/bol/components/Video/pc/Layout3/index.less +2 -2
  51. package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -12
  52. package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +5 -4
  53. package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -12
  54. package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +12 -10
  55. package/es/composite-comp/bol/components/Wallet/mobile/index.js +1 -4
  56. package/es/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  57. package/es/composite-comp/bol/components/Wallet/pc/index.js +1 -4
  58. package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +4 -0
  59. package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
  60. package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
  61. package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +12 -2
  62. package/es/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
  63. package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +10 -1
  64. package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +12 -2
  65. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
  66. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  67. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  68. package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  69. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  70. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +76 -80
  71. package/es/constants/index.js +4 -2
  72. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  73. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  74. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  75. package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  76. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  77. package/es/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  78. package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  79. package/es/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  80. package/es/core/Designer/AiImageGenerator/History/index.js +141 -0
  81. package/es/core/Designer/AiImageGenerator/History/index.less +69 -0
  82. package/es/core/Designer/AiImageGenerator/UploadReference/index.js +45 -0
  83. package/es/core/Designer/AiImageGenerator/UploadReference/index.less +39 -0
  84. package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  85. package/es/core/Designer/AiImageGenerator/index.js +711 -0
  86. package/es/core/Designer/AiImageGenerator/index.less +140 -0
  87. package/es/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  88. package/es/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  89. package/es/core/Designer/ChatRobot/index.js +321 -0
  90. package/es/core/Designer/ChatRobot/index.less +130 -0
  91. package/es/core/Designer/ChatRobot/markdown.less +1 -0
  92. package/es/core/Designer/FonixtreeGpt/index.js +160 -0
  93. package/es/core/Designer/index.js +27 -8
  94. package/es/decorator/metaDecorator.js +1 -1
  95. package/es/locale/en/en.json +5 -0
  96. package/es/locale/es/es.json +5 -0
  97. package/es/locale/id/id.json +5 -0
  98. package/es/meta-comp/config-panels/ImageConfig/index.js +32 -11
  99. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  100. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  101. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  102. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  103. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  104. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  105. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  106. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  107. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  108. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  109. package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  110. package/es/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  111. package/es/meta-comp/config-panels/PlayIconConfig/index.less +37 -2
  112. package/es/meta-comp/config-panels/TextConfig/index.js +5 -1
  113. package/es/mobx/Store.js +3 -0
  114. package/es/utils/androidUtil.js +2 -1
  115. package/es/utils/businessUtil.js +13 -0
  116. package/es/utils/commonUtil.js +142 -34
  117. package/es/utils/coreUtil.js +3 -4
  118. package/lib/assets/fonts/magic-box-iconfont.css +47 -3
  119. package/lib/assets/fonts/magic-box-iconfont.css.bak +47 -3
  120. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  121. package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
  122. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  123. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  124. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  125. package/lib/assets/less/slider.less +49 -1
  126. package/lib/common/ImageModal/index.js +35 -2
  127. package/lib/common/ImagePicker/index.js +69 -9
  128. package/lib/common/ImagePicker/index.less +1 -0
  129. package/lib/common/LinkModal/AffiliateProductTable/index.js +348 -0
  130. package/lib/common/LinkModal/index.js +6 -0
  131. package/lib/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
  132. package/lib/composite-comp/bol/components/Banner/index.js +15 -1
  133. package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -4
  134. package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  135. package/lib/composite-comp/bol/components/Banner/pc/index.js +1 -4
  136. package/lib/composite-comp/bol/components/Button/index.js +3 -4
  137. package/lib/composite-comp/bol/components/Carousel/mobile/index.js +1 -4
  138. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  139. package/lib/composite-comp/bol/components/Carousel/pc/index.js +1 -4
  140. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -4
  141. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  142. package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +3 -4
  143. package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +11 -2
  144. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +1 -4
  145. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  146. package/lib/composite-comp/bol/components/ImageText/pc/index.js +3 -4
  147. package/lib/composite-comp/bol/components/Newsletter/index.js +1 -4
  148. package/lib/composite-comp/bol/components/Tag/index.js +3 -4
  149. package/lib/composite-comp/bol/components/Text/index.js +3 -4
  150. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +49 -10
  151. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +5 -5
  152. package/lib/composite-comp/bol/components/Video/defaultJSON.js +10 -0
  153. package/lib/composite-comp/bol/components/Video/index.js +23 -1
  154. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +9 -12
  155. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
  156. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -11
  157. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
  158. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +9 -11
  159. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -50
  160. package/lib/composite-comp/bol/components/Video/mobile/index.js +8 -49
  161. package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
  162. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -12
  163. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +2 -2
  164. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +15 -16
  165. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +4 -4
  166. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +8 -11
  167. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +2 -2
  168. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -12
  169. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +5 -4
  170. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -12
  171. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +12 -10
  172. package/lib/composite-comp/bol/components/Wallet/mobile/index.js +1 -4
  173. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
  174. package/lib/composite-comp/bol/components/Wallet/pc/index.js +1 -4
  175. package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +4 -0
  176. package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
  177. package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
  178. package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +12 -2
  179. package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
  180. package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +10 -1
  181. package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +12 -2
  182. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
  183. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  184. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  185. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  186. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  187. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +76 -80
  188. package/lib/constants/index.js +4 -2
  189. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
  190. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
  191. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
  192. package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
  193. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
  194. package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
  195. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
  196. package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
  197. package/lib/core/Designer/AiImageGenerator/History/index.js +141 -0
  198. package/lib/core/Designer/AiImageGenerator/History/index.less +69 -0
  199. package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +45 -0
  200. package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +39 -0
  201. package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
  202. package/lib/core/Designer/AiImageGenerator/index.js +711 -0
  203. package/lib/core/Designer/AiImageGenerator/index.less +140 -0
  204. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
  205. package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
  206. package/lib/core/Designer/ChatRobot/index.js +321 -0
  207. package/lib/core/Designer/ChatRobot/index.less +130 -0
  208. package/lib/core/Designer/ChatRobot/markdown.less +1 -0
  209. package/lib/core/Designer/FonixtreeGpt/index.js +160 -0
  210. package/lib/core/Designer/index.js +27 -8
  211. package/lib/decorator/metaDecorator.js +1 -1
  212. package/lib/locale/en/en.json +5 -0
  213. package/lib/locale/es/es.json +5 -0
  214. package/lib/locale/id/id.json +5 -0
  215. package/lib/meta-comp/config-panels/ImageConfig/index.js +32 -11
  216. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
  217. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
  218. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
  219. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
  220. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
  221. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
  222. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
  223. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
  224. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
  225. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
  226. package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
  227. package/lib/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
  228. package/lib/meta-comp/config-panels/PlayIconConfig/index.less +37 -2
  229. package/lib/meta-comp/config-panels/TextConfig/index.js +5 -1
  230. package/lib/mobx/Store.js +3 -0
  231. package/lib/utils/androidUtil.js +2 -1
  232. package/lib/utils/businessUtil.js +13 -0
  233. package/lib/utils/commonUtil.js +142 -34
  234. package/lib/utils/coreUtil.js +3 -4
  235. package/package.json +2 -1
  236. package/es/assets/fonts/.DS_Store +0 -0
  237. package/lib/assets/fonts/.DS_Store +0 -0
@@ -85,8 +85,18 @@ function (_super) {
85
85
  },
86
86
  value: data.color
87
87
  }) : /*#__PURE__*/_react["default"].createElement(_common.ImagePicker, {
88
- onChange: function onChange(v) {
89
- data.image = v.url;
88
+ imageSelectedWay: data.imageSelectedWay || {
89
+ pc: '',
90
+ mobile: ''
91
+ },
92
+ onChange: function onChange(v, way) {
93
+ if (v) {
94
+ data.image = v.url;
95
+ }
96
+
97
+ if (way) {
98
+ data.imageSelectedWay = way;
99
+ }
90
100
 
91
101
  _this.selfRender();
92
102
  },
@@ -199,7 +199,8 @@ function (_super) {
199
199
  isHideAlign = _a.isHideAlign,
200
200
  layoutSource = _a.layoutSource,
201
201
  selectedLayoutFun = _a.selectedLayoutFun,
202
- showVertical = _a.showVertical;
202
+ showVertical = _a.showVertical,
203
+ defaultVertical = _a.defaultVertical;
203
204
  var showRowNum = this.state.showRowNum;
204
205
  var layoutVal = data.layout;
205
206
 
@@ -246,7 +247,7 @@ function (_super) {
246
247
 
247
248
  _this.selfRender();
248
249
  },
249
- value: (data === null || data === void 0 ? void 0 : data.vertical) || 'top'
250
+ value: (data === null || data === void 0 ? void 0 : data.vertical) || defaultVertical
250
251
  }))), _showRowNum && /*#__PURE__*/_react["default"].createElement("div", {
251
252
  className: "selectWrap"
252
253
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
@@ -278,7 +279,8 @@ function (_super) {
278
279
  isHideAlign: false,
279
280
  layoutObj: null,
280
281
  component: '',
281
- showVertical: false
282
+ showVertical: false,
283
+ defaultVertical: 'top'
282
284
  };
283
285
  CustomizeConfig = __decorate([(0, _mobxReact.inject)('store'), _mobxReact.observer], CustomizeConfig);
284
286
  return CustomizeConfig;
@@ -1,100 +1,86 @@
1
1
  .m-flash-deal-mobile {
2
2
  display: flex;
3
3
  flex-direction: column;
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
- }
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
+ }
@@ -1,38 +1,21 @@
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
-
1
+ .mobile-navigation-mobile .group-wrap {
2
+ padding: 0 0.4rem;
3
+ display: flex;
18
4
  }
19
-
20
- .newline {
21
- .group-wrap {
22
- flex-wrap: wrap;
23
- }
5
+ .mobile-navigation-mobile .group-wrap .one-card .card-image-wrap {
6
+ margin-bottom: 0.08rem;
7
+ width: 100%;
24
8
  }
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
- }
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;
38
21
  }
@@ -1,89 +1,76 @@
1
1
  .m-recommend-mobile {
2
2
  display: flex;
3
3
  flex-direction: column;
4
-
5
- .cylon-tabs-nav-operations {
6
- display: none !important;
7
- }
8
-
9
- ::-webkit-scrollbar {
10
- width: 0;
11
- height: 0;
12
- display: none;
13
- }
14
-
15
-
16
- .tab-select-wrap {
17
- display: flex;
18
- align-items: center;
19
- height: 50px;
20
- background: rgb(255 255 255);
21
- overflow: auto;
22
- position: relative;
23
- margin-bottom: 15px;
24
-
25
- .tabTitle {
26
- display: flex;
27
- align-items: center;
28
- text-align: center;
29
- padding: 0 16px;
30
- width: fit-content;
31
- height: 100%;
32
- justify-content: center;
33
- white-space: nowrap;
34
- flex-direction: column;
35
-
36
- img {
37
- height: 20px;
38
- width: 20px;
39
- margin-bottom: 2px;
40
- }
41
- }
42
-
43
- .active-line {
44
- position: absolute;
45
- bottom: 0;
46
- width: 200px;
47
- height: 3px;
48
- background-color: #fff;
49
- transition: .2s all linear;
50
- border-radius: 1.5px;
51
- }
52
- }
53
-
54
- .macyContainer {
55
- display: flex;
56
- margin: 0 16px;
57
- }
58
-
59
- .scrollContainer {
60
- display: flex;
61
- flex-direction: row;
62
- align-items: center;
63
- margin: 0 16px;
64
- overflow-x: auto;
65
- padding-bottom: 15px;
66
-
67
- &.pl_100 {
68
- padding-left: 100px;
69
- }
70
-
71
- .scrollProductList {
72
- display: flex;
73
- flex-direction: row;
74
- align-items: flex-start;
75
-
76
- .productCard {
77
- margin-right: 12px;
78
- }
79
- }
80
- }
81
-
82
- .btnSeeAll {
83
- display: block;
84
- width: fit-content;
85
- min-width: 80px;
86
- margin: 0 auto;
87
- flex: none;
88
- }
89
- }
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
+ }
@@ -1,58 +1,51 @@
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
- display: flex;
26
- justify-content: flex-end;
27
- }
28
-
29
- .message-wrap {
30
- position: relative;
31
- margin-left: 10px;
32
-
33
- .num {
34
- position: absolute;
35
- top: -6px;
36
- right: -6px;
37
- display: inline-block;
38
- padding: 1px 2px;
39
- min-width: 17px;
40
- text-align: center;
41
- background-color: #CE1126;
42
- border: 1px solid #fff;
43
- border-radius: 8px;
44
- font-family: 'Montserrat';
45
- font-style: normal;
46
- font-weight: 600;
47
- font-size: 8px;
48
- color: #FFFFFF;
49
- }
50
- }
51
- }
52
-
53
- .logo {
54
- img {
55
- width: auto;
56
- }
57
- }
58
- }
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
+ display: flex;
26
+ justify-content: flex-end;
27
+ }
28
+ .m-search-bar .right .message-wrap {
29
+ position: relative;
30
+ margin-left: 0.2rem;
31
+ }
32
+ .m-search-bar .right .message-wrap .num {
33
+ position: absolute;
34
+ top: -0.12rem;
35
+ right: -0.12rem;
36
+ display: inline-block;
37
+ padding: 0.02rem 0.04rem;
38
+ min-width: 0.34rem;
39
+ text-align: center;
40
+ background-color: #CE1126;
41
+ border: 0.02rem solid #fff;
42
+ border-radius: 0.16rem;
43
+ font-family: 'Montserrat';
44
+ font-style: normal;
45
+ font-weight: 600;
46
+ font-size: 0.16rem;
47
+ color: #FFFFFF;
48
+ }
49
+ .m-search-bar .logo img {
50
+ width: auto;
51
+ }