| | |
| | | |
| | | // 切换到手动填写 |
| | | const handleManualInput = () => { |
| | | console.log('handleManualInput'); |
| | | setIsManualInput(true); |
| | | }; |
| | | |
| | |
| | | ]; |
| | | |
| | | return ( |
| | | <> |
| | | <NavBarPage |
| | | title="纠纷发生地点" |
| | | leftContentFunc={() => history.goBack()} |
| | | rightContentFunc={handleManualInput} |
| | | rightChildren={ |
| | | <> |
| | | <WriteEditOutlined /> |
| | | 手动填写 |
| | | </> |
| | | } |
| | | /> |
| | | |
| | | <NavBarPage |
| | | title="纠纷发生地点" |
| | | rightContentFunc={handleManualInput} |
| | | rightChildren={ |
| | | <> |
| | | <WriteEditOutlined /> |
| | | 手动填写 |
| | | </> |
| | | } |
| | | > |
| | | <div className="location-picker-container"> |
| | | {!isManualInput ? ( |
| | | <div className="placeholder-container"> |
| | |
| | | </div> |
| | | )} |
| | | </div> |
| | | </> |
| | | </NavBarPage> |
| | | ); |
| | | }; |
| | | |