@fonixtree/magic-design 0.0.139 → 0.0.141
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.
- package/es/composite-comp/common/components/ImageLabel/index.less +3 -2
- package/es/composite-comp/common/components/ProductItem/index.js +3 -2
- package/es/composite-comp/common/components/ProductItem/index.less +4 -9
- package/lib/composite-comp/common/components/ImageLabel/index.less +3 -2
- package/lib/composite-comp/common/components/ProductItem/index.js +3 -2
- package/lib/composite-comp/common/components/ProductItem/index.less +4 -9
- package/package.json +1 -1
|
@@ -186,16 +186,17 @@ function (_super) {
|
|
|
186
186
|
});
|
|
187
187
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
188
188
|
className: "product-name-wrap"
|
|
189
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
190
|
+
className: "box"
|
|
189
191
|
}, prodLabels.length > 0 && /*#__PURE__*/_react["default"].createElement(_ImageLabel["default"], {
|
|
190
192
|
labels: prodLabels,
|
|
191
193
|
small: true
|
|
192
194
|
}), showProName && panelProps.productName.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
193
|
-
className: "product-name",
|
|
194
195
|
data: __assign(__assign({}, panelProps.productName), {
|
|
195
196
|
text: data.offerName
|
|
196
197
|
}),
|
|
197
198
|
readonly: true
|
|
198
|
-
})), panelProps.activityPrice.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
199
|
+
}))), panelProps.activityPrice.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
199
200
|
className: "price",
|
|
200
201
|
data: __assign(__assign({}, panelProps.activityPrice), {
|
|
201
202
|
text: _price
|
|
@@ -34,18 +34,13 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.product-name-wrap {
|
|
37
|
-
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
text-overflow: ellipsis;
|
|
38
39
|
display: -webkit-box;
|
|
39
|
-
-webkit-line-clamp: 2;
|
|
40
40
|
-webkit-box-orient: vertical;
|
|
41
|
-
|
|
42
|
-
clear: both;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.product-name {
|
|
41
|
+
-webkit-line-clamp: 2;
|
|
46
42
|
line-height: 18px;
|
|
47
|
-
|
|
48
|
-
white-space: normal;
|
|
43
|
+
max-height: 40px;
|
|
49
44
|
}
|
|
50
45
|
|
|
51
46
|
.price {
|
|
@@ -186,16 +186,17 @@ function (_super) {
|
|
|
186
186
|
});
|
|
187
187
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
188
188
|
className: "product-name-wrap"
|
|
189
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
190
|
+
className: "box"
|
|
189
191
|
}, prodLabels.length > 0 && /*#__PURE__*/_react["default"].createElement(_ImageLabel["default"], {
|
|
190
192
|
labels: prodLabels,
|
|
191
193
|
small: true
|
|
192
194
|
}), showProName && panelProps.productName.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
193
|
-
className: "product-name",
|
|
194
195
|
data: __assign(__assign({}, panelProps.productName), {
|
|
195
196
|
text: data.offerName
|
|
196
197
|
}),
|
|
197
198
|
readonly: true
|
|
198
|
-
})), panelProps.activityPrice.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
199
|
+
}))), panelProps.activityPrice.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
199
200
|
className: "price",
|
|
200
201
|
data: __assign(__assign({}, panelProps.activityPrice), {
|
|
201
202
|
text: _price
|
|
@@ -34,18 +34,13 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.product-name-wrap {
|
|
37
|
-
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
text-overflow: ellipsis;
|
|
38
39
|
display: -webkit-box;
|
|
39
|
-
-webkit-line-clamp: 2;
|
|
40
40
|
-webkit-box-orient: vertical;
|
|
41
|
-
|
|
42
|
-
clear: both;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.product-name {
|
|
41
|
+
-webkit-line-clamp: 2;
|
|
46
42
|
line-height: 18px;
|
|
47
|
-
|
|
48
|
-
white-space: normal;
|
|
43
|
+
max-height: 40px;
|
|
49
44
|
}
|
|
50
45
|
|
|
51
46
|
.price {
|