123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- 'use strict';
-
- Object.defineProperty(exports, '__esModule', { value: true });
-
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
-
- var inherits = require('../inherits-c86d64c1.js');
- var React = require('react');
- var React__default = _interopDefault(React);
- var styleInject_es = require('../style-inject.es-dcee06b6.js');
- var defineProperty = require('../defineProperty-ba7cd53d.js');
- require('../_commonjsHelpers-72d386ba.js');
- var index = require('../index-44e17595.js');
- var antd = require('antd');
-
- var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAACeCAMAAACVQ2ELAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABEZVhJZk1NACoAAAAIAAGHaQAEAAAAAQAAABoAAAAAAAOgAQADAAAAAQABAACgAgAEAAAAAQAAAKqgAwAEAAAAAQAAAJ4AAAAAi9HANwAAAHVQTFRFR3BM8cxv6ZkU+cND97w78a8t87Y0879D8M11/fDX658b76km8Mtt+9hj8cxt78pu46BA9blO7KQg5ZIM8Mtr8Mpt/s9b4p8/6KJN+MZW/95p6aVD7q9K6qpA7rVI8b9S66w/99GJ+MhN+9dh+uO16KAw+9VhDAjuxQAAACd0Uk5TABDc3Nzc3NwH3NzcQdwkGtzc3NwuN9zc3Nzc3NykZE9/3LqZ3LpykugjDgAAD+NJREFUeNrMm4d2skoUhYOUIRQJBDQo3fL+j3inN2YQFdf9zyAtGr7s00Y0X19PmlP1w9Anmf0ZoZNlztf/bsnw99fA8ffXDlVoeELWtVMOwDQNiY4bZmXfdQOyrt9/mrTHlMSav7bTtU0uwHVdAFy0mTpH8kXX3v7In0n/1C78KGorSAntIKtTtZiTGYLFOGEy3P4a9aUINvsc6H5oQK5eEsKyC2YDkDgpbFvCkLj9zTDxa9uP6ZoAolmuKYv9HHaTDopZQWvmxJZ8iNQR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yy1kAjgCV+fUGqlm4NqX2+z7b4LtqkTmH2BBsta8rnaDYX/EHyKRIFJByO8sperd8+58CJuxXgJ4wETV5QG6vDcPqxkiOuVDJxUo8c4+bwTtHmVm95dkEumvNzjVH/dWrpxXarpa4WJXZDKofPNEM+HhpqHMCQXNbJWnKm911BlgHJ65wC7xxLONaBtx82VP74cSrXTndMGYGeOQH/Lk/KdWMmKBtzXg5+HBnrSPt4DC/ormFwd6sEkL4ZDGRCCIbkhABEsyk55BBkab85Z5V9IJr4Byy84tMiq0nX1Wb4DSKgnpFUb+at/eGS1hMG5fczDuJswYxC864C8AObbJRYQMspEW8UeMXeIL+n0yZMNF2xTNJae6SlY20yHFL4GM2IMrEmUHZwU1WjlkLWDLPTgF7QiBmwozbaiy/8JErAjhcuhAt4CXAADzAe+38DYkYIAFl3v9jeN/6ECxHyiZYggvc97hdkbGkJ+NoZ/XcBSyYFvCyK7XXzFc43JQSjfyTzcr21SvQCygt0Rdh0xNqGJKhF+Fgdp+8KOgp7lPkOiKm9M5ZubDi/OVLnFwf0uIN0CzQ+LkSvrWMEzkT6dsfaoFygwPEbbaEWKHk74x6E7ajoAmYsyMWQxGraAmmx7cwAW3pDLzyBzB6sObzu3z7oc9cwp7bPcGsK9fC7FDV/MMfFAUiQ8ffsg6O+XsT/hwsT+lCdwIyX++HWju/ZkQSXi7Jkb/DG475r/sPlJV8EeQMWS2OIjNHav6J8ZoXcyBv9SLEP4LtGiVauTr/LWMjMnS/54n/AKQJQkF7QcnvAAAAAElFTkSuQmCC";
-
- var css = ".WantedPublishView_wrapper__3lkb6 .WantedPublishView_wanted_middle__1UdIU {\n color: #E1AD28;\n font-size: 17px;\n margin-top: 21px;\n}\n.WantedPublishView_wrapper__3lkb6 .WantedPublishView_wanted_middle__1UdIU .WantedPublishView_wanted_cover__30Gn1 {\n width: 95px;\n}\n.WantedPublishView_wrapper__3lkb6 .WantedPublishView_wanted_bottom__3EIE0 .WantedPublishView_wanted_bottom_title__2LAKy {\n color: #565656;\n font-size: 14px;\n}\n.WantedPublishView_wrapper__3lkb6 .WantedPublishView_wanted_bottom__3EIE0 .WantedPublishView_wanted_input_number__2Afkg {\n margin: 11px auto;\n width: 266px;\n height: 36px;\n}\n.WantedPublishView_wrapper__3lkb6 .WantedPublishView_wanted_bottom__3EIE0 .WantedPublishView_wanted_input_number__2Afkg .ant-input {\n color: #FB4B56;\n font-size: 16px;\n text-align: center;\n}\n.WantedPublishView_wrapper__3lkb6 .WantedPublishView_wanted_bottom__3EIE0 .WantedPublishView_wanted_input_number__2Afkg .ant-input:focus,\n.WantedPublishView_wrapper__3lkb6 .WantedPublishView_wanted_bottom__3EIE0 .WantedPublishView_wanted_input_number__2Afkg .ant-input:hover {\n outline: none;\n box-shadow: none;\n border-color: #FB4B56;\n}\n.WantedPublishView_wrapper__3lkb6 .WantedPublishView_wanted_bottom__3EIE0 .WantedPublishView_wanted_bottom_tips__19Je0 {\n color: #9B9B9B;\n font-size: 12px;\n}\n.WantedPublishView_wrapper__3lkb6 footer {\n margin-top: 40px;\n}\n.WantedPublishView_wrapper__3lkb6 footer .WantedPublishView_wanted_confirm_button__1JBhv {\n font-size: 16px;\n color: white;\n background-color: #71C135;\n}\n.WantedPublishView_wrapper__3lkb6 footer .WantedPublishView_wanted_confirm_button__1JBhv:hover,\n.WantedPublishView_wrapper__3lkb6 footer .WantedPublishView_wanted_confirm_button__1JBhv:focus {\n color: white;\n outline: none;\n box-shadow: none;\n background-color: #8cd158;\n border-color: #fafdf8;\n}\n.WantedPublishView_wrapper__3lkb6 footer .WantedPublishView_wanted_cancel_button__CosmE {\n margin-top: 12px;\n color: #787F8C;\n font-size: 12px;\n cursor: pointer;\n}\n.WantedPublishView_wrapper__3lkb6 footer .WantedPublishView_wanted_cancel_button__CosmE:hover,\n.WantedPublishView_wrapper__3lkb6 footer .WantedPublishView_wanted_cancel_button__CosmE:focus {\n color: #787F8C;\n text-shadow: #565656;\n}\n";
- var styles = {
- "wrapper": "WantedPublishView_wrapper__3lkb6",
- "wanted_middle": "WantedPublishView_wanted_middle__1UdIU",
- "wanted_cover": "WantedPublishView_wanted_cover__30Gn1",
- "wanted_bottom": "WantedPublishView_wanted_bottom__3EIE0",
- "wanted_bottom_title": "WantedPublishView_wanted_bottom_title__2LAKy",
- "wanted_input_number": "WantedPublishView_wanted_input_number__2Afkg",
- "wanted_bottom_tips": "WantedPublishView_wanted_bottom_tips__19Je0",
- "wanted_confirm_button": "WantedPublishView_wanted_confirm_button__1JBhv",
- "wanted_cancel_button": "WantedPublishView_wanted_cancel_button__CosmE",
- "wantedMiddle": "WantedPublishView_wanted_middle__1UdIU",
- "wantedCover": "WantedPublishView_wanted_cover__30Gn1",
- "wantedBottom": "WantedPublishView_wanted_bottom__3EIE0",
- "wantedBottomTitle": "WantedPublishView_wanted_bottom_title__2LAKy",
- "wantedInputNumber": "WantedPublishView_wanted_input_number__2Afkg",
- "wantedBottomTips": "WantedPublishView_wanted_bottom_tips__19Je0",
- "wantedConfirmButton": "WantedPublishView_wanted_confirm_button__1JBhv",
- "wantedCancelButton": "WantedPublishView_wanted_cancel_button__CosmE"
- };
- styleInject_es.styleInject(css);
-
- var WantedPublishView =
- /*#__PURE__*/
- function (_React$Component) {
- inherits._inherits(WantedPublishView, _React$Component);
-
- function WantedPublishView(props) {
- var _this;
-
- inherits._classCallCheck(this, WantedPublishView);
-
- _this = inherits._possibleConstructorReturn(this, inherits._getPrototypeOf(WantedPublishView).call(this, props));
- _this.state = {};
- return _this;
- }
-
- inherits._createClass(WantedPublishView, [{
- key: "render",
- value: function render() {
- var _this2 = this;
-
- var _this$props = this.props,
- current_wanted = _this$props.current_wanted,
- wrapperClass = _this$props.wrapperClass;
- return React__default.createElement("div", {
- className: index.classnames(styles.wrapper, defineProperty._defineProperty({}, wrapperClass ? wrapperClass : '', true))
- }, React__default.createElement("header", null, "\u8BBE\u7F6E\u60AC\u8D4F\u91D1\u989D"), React__default.createElement("section", {
- className: styles.wanted_middle
- }, React__default.createElement("img", {
- className: styles.wanted_cover,
- src: img,
- alt: "wanted_image"
- }), React__default.createElement("div", null, "\u60AC\u8D4F\u63D0\u95EE")), React__default.createElement(antd.Divider, {
- style: {
- minWidth: 'auto',
- marginLeft: 'auto',
- marginRight: 'auto',
- width: '266px'
- }
- }), React__default.createElement("section", {
- className: styles.wanted_bottom
- }, React__default.createElement("div", {
- className: styles.wanted_bottom_title
- }, "\u8BBE\u7F6E\u60AC\u8D4F\u91D1\u989D\u8303\u56F4\xA55.00\uFF5E\xA510000"), React__default.createElement(antd.Input, {
- className: styles.wanted_input_number,
- suffix: "\u5143",
- value: current_wanted || '',
- onChange: function onChange(v) {
- if (!/^[.0-9]*$/g.test(v.target.value)) return;
-
- _this2.props.InputWantedValueChange(v.target.value);
- },
- onPressEnter: function onPressEnter() {
- _this2.props.InputWantedPressEnter(current_wanted);
- },
- onBlur: function onBlur() {
- _this2.props.InputWantedOnBlur(current_wanted);
- },
- autoFocus: true
- }), React__default.createElement("div", {
- className: styles.wanted_bottom_tips
- }, "\u82E55\u5929\u5185\u6CA1\u4EBA\u56DE\u7B54\u8BE5\u95EE\u9898, \u6240\u652F\u4ED8\u7684\u91D1\u989D\u5C06\u9000\u8FD8\u81F3\u60A8\u7684\u94B1\u5305")), React__default.createElement("footer", null, React__default.createElement(antd.Button, {
- className: styles.wanted_confirm_button,
- onClick: function onClick() {
- return _this2.props.CloseFunction();
- }
- }, "\u786E\u5B9A"), React__default.createElement("div", {
- role: "button",
- tabIndex: -1,
- onClick: function onClick() {
- return _this2.props.InputWantedClear();
- },
- className: styles.wanted_cancel_button
- }, "\u53D6\u6D88\u60AC\u8D4F")));
- }
- }]);
-
- return WantedPublishView;
- }(React__default.Component);
-
- exports.default = WantedPublishView;
- //# sourceMappingURL=index.js.map
|