chore(build): Updates shop min.js

This commit is contained in:
sovanna 2020-03-10 17:41:54 +09:00
parent 653280b5bb
commit 26dd05f353

17
static/js/shop.min.js vendored
View File

@ -230,6 +230,7 @@ function (_React$PureComponent2) {
id: PropTypes.string.isRequired,
index: PropTypes.number.isRequired,
name: PropTypes.string.isRequired,
name_codename: PropTypes.string,
price: PropTypes.number.isRequired,
currency: PropTypes.string.isRequired,
image: PropTypes.string.isRequired,
@ -265,6 +266,7 @@ function (_React$PureComponent2) {
id = _this$props2.id,
index = _this$props2.index,
name = _this$props2.name,
name_codename = _this$props2.name_codename,
price = _this$props2.price,
currency = _this$props2.currency,
image = _this$props2.image,
@ -278,7 +280,11 @@ function (_React$PureComponent2) {
className: "productItem"
}, React.createElement("div", {
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"
}, "".concat(currency, " ").concat(formatMoney(price))), render_specs), React.createElement("div", {
className: "content"
@ -501,9 +507,9 @@ function (_React$PureComponent3) {
className: "k-popup-warning"
}, React.createElement("p", {
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: {
'height': '250px'
'height': '350px'
},
onMouseEnter: _this3.handleOnMouseEnterRemoveItem.bind(_this3, index)
}, React.createElement("img", {
@ -1083,7 +1089,7 @@ function (_React$PureComponent10) {
onMouseLeave: _this8.handleOnMouseLeaveItem
}, React.createElement("td", {
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"
}, React.createElement("div", null, "".concat(currency, " ").concat(formatMoney(item.price)), React.createElement("button", {
onClick: _this8.handleOnDeleteItem.bind(_this8, index)
@ -1160,7 +1166,8 @@ function (_React$PureComponent11) {
key: item.id,
id: item.id,
index: index,
name: item.name,
name: "".concat(item.name_number, " ").concat(item.name),
name_codename: item.name_codename,
price: item.price,
currency: currency,
image: "/images/".concat(item.image),