@fonixtree/magic-design 1.0.69 → 1.0.70

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 (51) 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/lib/composite-comp/bol/components/Banner/mobile/index.less +78 -52
  25. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
  26. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
  27. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
  28. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
  29. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
  30. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
  31. package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -2
  32. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +130 -103
  33. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +20 -19
  34. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +111 -81
  35. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +35 -27
  36. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
  37. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -32
  38. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +4 -4
  39. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
  40. package/lib/composite-comp/dito/components/Orders/mobile/index.less +92 -81
  41. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +155 -131
  42. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
  43. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
  44. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
  45. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -2
  46. package/lib/utils/commonUtil.js +3 -12
  47. package/package.json +1 -1
  48. package/es/assets/fonts/.DS_Store +0 -0
  49. package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
  50. package/lib/assets/fonts/.DS_Store +0 -0
  51. package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
@@ -1,64 +1,68 @@
1
1
  .m-sign-board-bar {
2
2
  width: 100%;
3
- }
4
- .m-sign-board-bar .search {
5
- width: 100%;
6
- background: #EEEEEE;
7
- border-radius: 0.16rem;
8
- padding: 0.16rem 0.24rem;
9
- height: 0.72rem;
10
- display: flex;
11
- justify-content: space-between;
12
- align-items: center;
13
- margin-bottom: 0.08rem;
14
- }
15
- .m-sign-board-bar .search .search-input {
16
- height: 0.4rem;
17
- font-weight: 400;
18
- font-size: 0.32rem;
19
- line-height: 0.4rem;
20
- padding: 0;
21
- background-color: transparent;
22
- border: none;
23
- }
24
- .m-sign-board-bar .store-info-wrap {
25
- display: flex;
26
- align-items: center;
27
- margin-top: 0.4rem;
28
- }
29
- .m-sign-board-bar .store-info-wrap .number {
30
- font-family: 'Montserrat';
31
- font-weight: 400;
32
- font-size: 0.24rem;
33
- line-height: 0.32rem;
34
- color: #696973;
35
- display: flex;
36
- align-items: center;
37
- }
38
- .m-sign-board-bar .store-info-wrap .number > img {
39
- width: 0.28rem;
40
- }
41
- .m-sign-board-bar .store-info-wrap .number > span {
42
- font-weight: 700;
43
- font-size: 0.28rem;
44
- line-height: 0.36rem;
45
- color: #333333;
46
- margin: 0 0.08rem;
47
- }
48
- .m-sign-board-bar .store-info-wrap .number:nth-child(2) {
49
- margin-left: 0.48rem;
50
- flex: 1;
51
- }
52
- .m-sign-board-bar .store-info-wrap .chat-btn {
53
- padding: 0.1rem 0.24rem;
54
- background: #FFFFFF;
55
- border: 0.02rem solid #333333;
56
- border-radius: 0.08rem;
57
- width: fit-content;
58
- font-family: 'Montserrat';
59
- font-weight: 400;
60
- font-size: 0.24rem;
61
- line-height: 0.32rem;
62
- text-transform: uppercase;
63
- color: #333333;
64
- }
3
+
4
+ .search {
5
+ width: 100%;
6
+ background: #EEEEEE;
7
+ border-radius: 8px;
8
+ padding: 8px 12px;
9
+ height: 36px;
10
+ display: flex;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ margin-bottom: 4px;
14
+ .search-input {
15
+ height: 20px;
16
+ font-weight: 400;
17
+ font-size: 16px;
18
+ line-height: 20px;
19
+ padding: 0;
20
+ background-color: transparent;
21
+ border: none;
22
+ }
23
+ }
24
+
25
+ .store-info-wrap {
26
+ display: flex;
27
+ align-items: center;
28
+ margin-top: 20px;
29
+ .number {
30
+ font-family: 'Montserrat';
31
+ font-weight: 400;
32
+ font-size: 12px;
33
+ line-height: 16px;
34
+ color: #696973;
35
+ display: flex;
36
+ align-items: center;
37
+ &> img {
38
+ width: 14px;
39
+ }
40
+ &> span {
41
+ font-weight: 700;
42
+ font-size: 14px;
43
+ line-height: 18px;
44
+ color: #333333;
45
+ margin: 0 4px;
46
+ }
47
+ &:nth-child(2) {
48
+ margin-left: 24px;
49
+ flex: 1;
50
+ }
51
+ }
52
+ .chat-btn {
53
+ padding: 5px 12px;
54
+ // height: 26px;
55
+ background: #FFFFFF;
56
+ border: 1px solid #333333;
57
+ border-radius: 4px;
58
+ width: fit-content;
59
+ font-family: 'Montserrat';
60
+ font-weight: 400;
61
+ font-size: 12px;
62
+ line-height: 16px;
63
+ text-transform: uppercase;
64
+ color: #333333;
65
+ }
66
+ }
67
+
68
+ }
@@ -17,8 +17,6 @@ var _coreUtil = require("../../../../utils/coreUtil");
17
17
 
18
18
  var _locale = require("../../../../locale");
19
19
 
20
- require("./index.less");
21
-
22
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
21
 
24
22
  var __extends = void 0 && (void 0).__extends || function () {
@@ -296,29 +296,20 @@ function commonFetch(url, data, method) {
296
296
  });
297
297
  }
298
298
 
299
- var navigateTo = function navigateTo(url, state) {
300
- console.log(url);
301
-
299
+ var navigateTo = function navigateTo(url) {
302
300
  if (!url) {
303
301
  return;
304
302
  }
305
303
 
306
304
  var _a = url.split(';'),
307
305
  h5Url = _a[0],
308
- appUrl = _a[1];
309
-
310
- if (appUrl && (0, _androidUtil.browserVersion)().isApp) {
311
- window.location.href = appUrl;
312
- } // 未配置App路径并且h5绝对路径时直接跳转,其他情况让业务层处理
306
+ appUrl = _a[1]; // 未配置App路径并且h5绝对路径时直接跳转,其他情况让业务层处理
313
307
 
314
308
 
315
309
  if (!appUrl && !h5Url.startsWith('/')) {
316
310
  window.location.href = h5Url;
317
311
  } else if (window.magicDesign.history) {
318
- window.magicDesign.history.push({
319
- pathname: h5Url,
320
- state: state
321
- });
312
+ window.magicDesign.history.push(url);
322
313
  } else if (window.magicDesign.navigatePreUrl) {
323
314
  // 预览模式跳转
324
315
  if (h5Url.startsWith('/')) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.69",
4
+ "version": "1.0.70",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",
Binary file
Binary file