[JavaScript] 纯文本查看 复制代码
{
key: "render",
value: function() {
var _ = this,
e = this.props.projectType,
t = this.state,
r = t.min,
a = t.max,
s = t.error,
l = t.submitShow;
return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("div", {
className: "s-line s-price"
}, react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("div", {
className: "sl-wrap"
}, react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("div", {
className: "sl-key"
}, react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("span", null, 2 === e ? "参考价值" : "当前/起拍价", ":")), react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("div", {
className: "sl-value"
}, react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("div", {
className: "sl-price-set"
}, react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("div", {
className: "input-wrap"
}, react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("span", null, "¥"), react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("input", {
className: "min-price",
type: "text",
name: "",
placeholder: "最低价",
value: r,
onFocus: function() {
return _.setState({
submitShow: !0
})
},
onChange: function(e) {
return _.handleMin(e)
},
clstag: "".concat(Object(_utils_index__WEBPACK_IMPORTED_MODULE_10__.b)("screenPrice_low")),
maxLength: 14
})), react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("em", null), react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("div", {
className: "input-wrap"
}, react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("span", null, "¥"), react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("input", {
className: "max-price",
type: "text",
name: "",
placeholder: "最高价",
value: a,
onFocus: function() {
return _.setState({
submitShow: !0
})
},
onChange: function(e) {
return _.handleMax(e)
},
clstag: "".concat(Object(_utils_index__WEBPACK_IMPORTED_MODULE_10__.b)("screenPrice_high")),
maxLength: 14
})), l && react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("div", {
className: "button",
onClick: function() {
return _.handleSubmit()
}
}, "确定"), s && react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("div", {
className: "error"
}, s)))))
}
},