Ei kuvausta

index.js.map 12KB

1
  1. {"version":3,"file":"index.js","sources":["../../src/components/Payment/assets/cover_wanted@2x.png","../../src/components/Payment/WantedPublishView/index.tsx"],"sourcesContent":["const img = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAACeCAMAAACVQ2ELAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABEZVhJZk1NACoAAAAIAAGHaQAEAAAAAQAAABoAAAAAAAOgAQADAAAAAQABAACgAgAEAAAAAQAAAKqgAwAEAAAAAQAAAJ4AAAAAi9HANwAAAHVQTFRFR3BM8cxv6ZkU+cND97w78a8t87Y0879D8M11/fDX658b76km8Mtt+9hj8cxt78pu46BA9blO7KQg5ZIM8Mtr8Mpt/s9b4p8/6KJN+MZW/95p6aVD7q9K6qpA7rVI8b9S66w/99GJ+MhN+9dh+uO16KAw+9VhDAjuxQAAACd0Uk5TABDc3Nzc3NwH3NzcQdwkGtzc3NwuN9zc3Nzc3NykZE9/3LqZ3LpykugjDgAAD+NJREFUeNrMm4d2skoUhYOUIRQJBDQo3fL+j3inN2YQFdf9zyAtGr7s00Y0X19PmlP1w9Anmf0ZoZNlztf/bsnw99fA8ffXDlVoeELWtVMOwDQNiY4bZmXfdQOyrt9/mrTHlMSav7bTtU0uwHVdAFy0mTpH8kXX3v7In0n/1C78KGorSAntIKtTtZiTGYLFOGEy3P4a9aUINvsc6H5oQK5eEsKyC2YDkDgpbFvCkLj9zTDxa9uP6ZoAolmuKYv9HHaTDopZQWvmxJZ8iNQRLJo6t86pJtdAimFzK2kzfCqlBIuuUzMBM6j56dymD6WWhKpdvFkEtbLCl7n9x1GlGDjnYIWZQFF0dJ/Jf/XieXP+OzcNWGnNHBSxfkbVr8kF71gzA4VxU34GtXsPFTTQD3+KJ9zpQ5U1e1NWQyH7VLV6W9Y566d6QOhsLOvH/L+9rO79c/OVsN2W9ZOT1hJsyOq2H52wbhkCbvVR1A1DYCtRncs9tLTXrVi3aqr306laM2v5ByoVR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DGRCCIbkhABEsyk55BBkab85Z5V9IJr4Byy84tMiq0nX1Wb4DSKgnpFUb+at/eGS1hMG5fczDuJswYxC864C8AObbJRYQMspEW8UeMXeIL+n0yZMNF2xTNJae6SlY20yHFL4GM2IMrEmUHZwU1WjlkLWDLPTgF7QiBmwozbaiy/8JErAjhcuhAt4CXAADzAe+38DYkYIAFl3v9jeN/6ECxHyiZYggvc97hdkbGkJ+NoZ/XcBSyYFvCyK7XXzFc43JQSjfyTzcr21SvQCygt0Rdh0xNqGJKhF+Fgdp+8KOgp7lPkOiKm9M5ZubDi/OVLnFwf0uIN0CzQ+LkSvrWMEzkT6dsfaoFygwPEbbaEWKHk74x6E7ajoAmYsyMWQxGraAmmx7cwAW3pDLzyBzB6sObzu3z7oc9cwp7bPcGsK9fC7FDV/MMfFAUiQ8ffsg6O+XsT/hwsT+lCdwIyX++HWju/ZkQSXi7Jkb/DG475r/sPlJV8EeQMWS2OIjNHav6J8ZoXcyBv9SLEP4LtGiVauTr/LWMjMnS/54n/AKQJQkF7QcnvAAAAAElFTkSuQmCC\";\n export default img;","import React from 'react';\r\nimport classnames from 'classnames';\r\nimport { Divider, Input, Button } from 'antd';\r\n\r\nimport wantedCover from '../assets/cover_wanted@2x.png';\r\nimport styles from './WantedPublishView.less';\r\n\r\ninterface WantedPublishViewProps {\r\n type?: 'pop'|'modal';\r\n wrapperClass?: string;\r\n current_wanted: number|string|null;\r\n InputWantedValueChange: Function;\r\n InputWantedPressEnter: Function;\r\n InputWantedOnBlur: Function;\r\n InputWantedClear: Function;\r\n CloseFunction: Function;\r\n}\r\ninterface WantedPublishViewState {\r\n payment?: number\r\n}\r\n\r\nclass WantedPublishView extends React.Component<WantedPublishViewProps, WantedPublishViewState> {\r\n constructor(props: WantedPublishViewProps) {\r\n super(props);\r\n this.state = {};\r\n }\r\n\r\n render() {\r\n const { current_wanted, wrapperClass } = this.props; \r\n return (\r\n <div className={classnames(styles.wrapper, {\r\n [wrapperClass ? wrapperClass : '']: true\r\n })}>\r\n <header>设置悬赏金额</header>\r\n <section className={styles.wanted_middle}>\r\n <img className={styles.wanted_cover} src={wantedCover} alt=\"wanted_image\"/>\r\n <div>悬赏提问</div>\r\n </section>\r\n <Divider style={{ minWidth: 'auto', marginLeft: 'auto', marginRight: 'auto', width: '266px'}} />\r\n <section className={styles.wanted_bottom}>\r\n <div className={styles.wanted_bottom_title}>设置悬赏金额范围¥5.00~¥10000</div>\r\n <Input\r\n className={styles.wanted_input_number}\r\n suffix=\"元\"\r\n value={current_wanted || ''}\r\n onChange={v => {\r\n if (!/^[.0-9]*$/g.test(v.target.value)) return;\r\n this.props.InputWantedValueChange(v.target.value);\r\n }}\r\n onPressEnter={() => {\r\n this.props.InputWantedPressEnter(current_wanted);\r\n }}\r\n onBlur={() => {\r\n this.props.InputWantedOnBlur(current_wanted);\r\n }}\r\n autoFocus\r\n />\r\n <div className={styles.wanted_bottom_tips}>\r\n 若5天内没人回答该问题, 所支付的金额将退还至您的钱包\r\n </div>\r\n </section>\r\n <footer>\r\n <Button\r\n className={styles.wanted_confirm_button}\r\n onClick={() => this.props.CloseFunction()}\r\n >\r\n 确定\r\n </Button>\r\n <div\r\n role=\"button\"\r\n tabIndex={-1}\r\n onClick={() => this.props.InputWantedClear()}\r\n className={styles.wanted_cancel_button}\r\n >\r\n 取消悬赏\r\n </div>\r\n </footer>\r\n </div>\r\n )\r\n }\r\n}\r\n\r\nexport default WantedPublishView;"],"names":["img","WantedPublishView","props","state","current_wanted","wrapperClass","React","createElement","className","classnames","styles","wrapper","wanted_middle","wanted_cover","src","wantedCover","alt","Divider","style","minWidth","marginLeft","marginRight","width","wanted_bottom","wanted_bottom_title","Input","wanted_input_number","suffix","value","onChange","v","test","target","_this2","InputWantedValueChange","onPressEnter","InputWantedPressEnter","onBlur","InputWantedOnBlur","autoFocus","wanted_bottom_tips","Button","wanted_confirm_button","onClick","CloseFunction","role","tabIndex","InputWantedClear","wanted_cancel_button","Component"],"mappings":";;;;;;;;;;;;;;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