forked from M-Labs/web2019
chore(build): Updates shop min.js
This commit is contained in:
parent
653280b5bb
commit
26dd05f353
|
@ -230,6 +230,7 @@ function (_React$PureComponent2) {
|
||||||
id: PropTypes.string.isRequired,
|
id: PropTypes.string.isRequired,
|
||||||
index: PropTypes.number.isRequired,
|
index: PropTypes.number.isRequired,
|
||||||
name: PropTypes.string.isRequired,
|
name: PropTypes.string.isRequired,
|
||||||
|
name_codename: PropTypes.string,
|
||||||
price: PropTypes.number.isRequired,
|
price: PropTypes.number.isRequired,
|
||||||
currency: PropTypes.string.isRequired,
|
currency: PropTypes.string.isRequired,
|
||||||
image: PropTypes.string.isRequired,
|
image: PropTypes.string.isRequired,
|
||||||
|
@ -265,6 +266,7 @@ function (_React$PureComponent2) {
|
||||||
id = _this$props2.id,
|
id = _this$props2.id,
|
||||||
index = _this$props2.index,
|
index = _this$props2.index,
|
||||||
name = _this$props2.name,
|
name = _this$props2.name,
|
||||||
|
name_codename = _this$props2.name_codename,
|
||||||
price = _this$props2.price,
|
price = _this$props2.price,
|
||||||
currency = _this$props2.currency,
|
currency = _this$props2.currency,
|
||||||
image = _this$props2.image,
|
image = _this$props2.image,
|
||||||
|
@ -278,7 +280,11 @@ function (_React$PureComponent2) {
|
||||||
className: "productItem"
|
className: "productItem"
|
||||||
}, React.createElement("div", {
|
}, React.createElement("div", {
|
||||||
className: "content"
|
className: "content"
|
||||||
}, React.createElement("h3", null, name), React.createElement("div", {
|
}, React.createElement("h3", {
|
||||||
|
style: {
|
||||||
|
'margin-bottom': name_codename ? '5px' : '20px'
|
||||||
|
}
|
||||||
|
}, name), name_codename ? React.createElement("p", null, name_codename) : null, React.createElement("div", {
|
||||||
className: "price"
|
className: "price"
|
||||||
}, "".concat(currency, " ").concat(formatMoney(price))), render_specs), React.createElement("div", {
|
}, "".concat(currency, " ").concat(formatMoney(price))), render_specs), React.createElement("div", {
|
||||||
className: "content"
|
className: "content"
|
||||||
|
@ -501,9 +507,9 @@ function (_React$PureComponent3) {
|
||||||
className: "k-popup-warning"
|
className: "k-popup-warning"
|
||||||
}, React.createElement("p", {
|
}, React.createElement("p", {
|
||||||
className: "rule warning"
|
className: "rule warning"
|
||||||
}, React.createElement("i", null, warning.message)))), React.createElement("h6", null, model.name), React.createElement("div", {
|
}, React.createElement("i", null, warning.message)))), React.createElement("h6", null, model.name_number), React.createElement("div", {
|
||||||
style: {
|
style: {
|
||||||
'height': '250px'
|
'height': '350px'
|
||||||
},
|
},
|
||||||
onMouseEnter: _this3.handleOnMouseEnterRemoveItem.bind(_this3, index)
|
onMouseEnter: _this3.handleOnMouseEnterRemoveItem.bind(_this3, index)
|
||||||
}, React.createElement("img", {
|
}, React.createElement("img", {
|
||||||
|
@ -1083,7 +1089,7 @@ function (_React$PureComponent10) {
|
||||||
onMouseLeave: _this8.handleOnMouseLeaveItem
|
onMouseLeave: _this8.handleOnMouseLeaveItem
|
||||||
}, React.createElement("td", {
|
}, React.createElement("td", {
|
||||||
className: "item-card-name"
|
className: "item-card-name"
|
||||||
}, React.createElement("div", null, item.name)), React.createElement("td", {
|
}, React.createElement("div", null, "".concat(item.name_number, " ").concat(item.name, " ").concat(item.name_codename))), React.createElement("td", {
|
||||||
className: "price"
|
className: "price"
|
||||||
}, React.createElement("div", null, "".concat(currency, " ").concat(formatMoney(item.price)), React.createElement("button", {
|
}, React.createElement("div", null, "".concat(currency, " ").concat(formatMoney(item.price)), React.createElement("button", {
|
||||||
onClick: _this8.handleOnDeleteItem.bind(_this8, index)
|
onClick: _this8.handleOnDeleteItem.bind(_this8, index)
|
||||||
|
@ -1160,7 +1166,8 @@ function (_React$PureComponent11) {
|
||||||
key: item.id,
|
key: item.id,
|
||||||
id: item.id,
|
id: item.id,
|
||||||
index: index,
|
index: index,
|
||||||
name: item.name,
|
name: "".concat(item.name_number, " ").concat(item.name),
|
||||||
|
name_codename: item.name_codename,
|
||||||
price: item.price,
|
price: item.price,
|
||||||
currency: currency,
|
currency: currency,
|
||||||
image: "/images/".concat(item.image),
|
image: "/images/".concat(item.image),
|
||||||
|
|
Loading…
Reference in New Issue