!816 修复:黑暗模式虚拟盒子UI

pull/816/MERGE
ZoeLeeFZ 5 years ago committed by ChenX
parent 4fddc82319
commit 9b1dcd3f25

@ -1,4 +1,4 @@
import { Button, Classes, Intent, Label } from '@blueprintjs/core'; import { Button, Classes, Intent, Label, Card } from '@blueprintjs/core';
import { observable, toJS } from 'mobx'; import { observable, toJS } from 'mobx';
import { observer } from 'mobx-react'; import { observer } from 'mobx-react';
import * as React from 'react'; import * as React from 'react';
@ -99,8 +99,8 @@ class DrawVisualSpaceBoxModal extends React.Component<{ option: IVSProps; }, {}>
render() render()
{ {
return ( return (
<div style={{ <Card
background: "#fff", style={{
padding: 20, padding: 20,
}}> }}>
<h3></h3> <h3></h3>
@ -129,7 +129,7 @@ class DrawVisualSpaceBoxModal extends React.Component<{ option: IVSProps; }, {}>
onClick={this.onCancel} onClick={this.onCancel}
/> />
</div> </div>
</div> </Card>
); );
} }
private onOk = () => private onOk = () =>

@ -1,6 +1,6 @@
import * as React from 'react'; import * as React from 'react';
import { observable, IObservableValue } from 'mobx'; import { observable, IObservableValue } from 'mobx';
import { InputGroup, Icon, Classes } from '@blueprintjs/core'; import { InputGroup, Icon, Classes, Card } from '@blueprintjs/core';
import { RequestStatus, PostJson } from '../../Common/Request'; import { RequestStatus, PostJson } from '../../Common/Request';
import { ShopUrls } from '../../Common/HostUrl'; import { ShopUrls } from '../../Common/HostUrl';
import { appCache } from '../../Common/AppCache'; import { appCache } from '../../Common/AppCache';
@ -43,7 +43,7 @@ export class GoodsList extends React.Component<IGoodsListProps> {
this.props.open.get() && this.props.open.get() &&
<> <>
<div className="search-shop" <Card className="search-shop"
tabIndex={-1} tabIndex={-1}
onKeyUp={this.handleKeyDown} onKeyUp={this.handleKeyDown}
> >
@ -106,7 +106,7 @@ export class GoodsList extends React.Component<IGoodsListProps> {
getImgListFun={this.handleSearch} getImgListFun={this.handleSearch}
/> />
} }
</div> </Card>
<div className="masking" onClick={this.handleHideSelect}></div> <div className="masking" onClick={this.handleHideSelect}></div>
</> </>
); );

@ -144,7 +144,6 @@
right: 30px; right: 30px;
z-index: 35; z-index: 35;
padding: 10px; padding: 10px;
background: #fff;
font-size: 16px; font-size: 16px;
width: 740px; width: 740px;
outline: 1px solid #ccc; outline: 1px solid #ccc;
@ -154,7 +153,7 @@
span { span {
width: 25%; width: 25%;
background: #ccc; outline: 1px solid #ccc;
padding: 5px 5px; padding: 5px 5px;
} }
} }

Loading…
Cancel
Save