@fonixtree/magic-design 1.0.193 → 1.0.195

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.
@@ -29,6 +29,7 @@
29
29
  .img-wrap {
30
30
  position: relative;
31
31
  overflow: hidden;
32
+ flex-shrink: 0;
32
33
 
33
34
  .product-img {
34
35
  width: 140px;
@@ -39,6 +40,7 @@
39
40
 
40
41
  .content-wrap {
41
42
  padding: 8px;
43
+ flex: 1;
42
44
 
43
45
  .promotions-wrap {
44
46
  display: flex;
@@ -104,9 +104,6 @@
104
104
  .m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap {
105
105
  flex: 1;
106
106
  }
107
- .m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap .product-name-wrap {
108
- white-space: nowrap;
109
- }
110
107
  .m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap .price-info-wrap {
111
108
  display: flex;
112
109
  }
@@ -11,6 +11,7 @@
11
11
  overflow: hidden;
12
12
  border-radius: 16px;
13
13
  border: 1px solid #E0E0E0;
14
+ flex-shrink: 0;
14
15
 
15
16
  .product-img {
16
17
  width: 270px;
@@ -21,6 +22,7 @@
21
22
 
22
23
  .content-wrap {
23
24
  padding: 8px;
25
+ flex: 1;
24
26
 
25
27
  .product-name-wrap {
26
28
  overflow: hidden;
@@ -435,7 +435,11 @@ var clickUrl = function clickUrl(url, state) {
435
435
  }
436
436
  } else {
437
437
  if (isPc()) {
438
- window.location.href += "web" + link;
438
+ if (link.indexOf('/poster/') > -1) {
439
+ window.location.href += link;
440
+ } else {
441
+ window.location.href += "web" + link;
442
+ }
439
443
  } else {
440
444
  (0, _commonUtil.navigateTo)(link, state);
441
445
  }
@@ -29,6 +29,7 @@
29
29
  .img-wrap {
30
30
  position: relative;
31
31
  overflow: hidden;
32
+ flex-shrink: 0;
32
33
 
33
34
  .product-img {
34
35
  width: 140px;
@@ -39,6 +40,7 @@
39
40
 
40
41
  .content-wrap {
41
42
  padding: 8px;
43
+ flex: 1;
42
44
 
43
45
  .promotions-wrap {
44
46
  display: flex;
@@ -104,9 +104,6 @@
104
104
  .m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap {
105
105
  flex: 1;
106
106
  }
107
- .m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap .product-name-wrap {
108
- white-space: nowrap;
109
- }
110
107
  .m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap .price-info-wrap {
111
108
  display: flex;
112
109
  }
@@ -11,6 +11,7 @@
11
11
  overflow: hidden;
12
12
  border-radius: 16px;
13
13
  border: 1px solid #E0E0E0;
14
+ flex-shrink: 0;
14
15
 
15
16
  .product-img {
16
17
  width: 270px;
@@ -21,6 +22,7 @@
21
22
 
22
23
  .content-wrap {
23
24
  padding: 8px;
25
+ flex: 1;
24
26
 
25
27
  .product-name-wrap {
26
28
  overflow: hidden;
@@ -435,7 +435,11 @@ var clickUrl = function clickUrl(url, state) {
435
435
  }
436
436
  } else {
437
437
  if (isPc()) {
438
- window.location.href += "web" + link;
438
+ if (link.indexOf('/poster/') > -1) {
439
+ window.location.href += link;
440
+ } else {
441
+ window.location.href += "web" + link;
442
+ }
439
443
  } else {
440
444
  (0, _commonUtil.navigateTo)(link, state);
441
445
  }
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.193",
4
+ "version": "1.0.195",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",