|
|
|
@ -132,6 +132,13 @@ export class DoorConfigModal extends React.Component<{ store?: DoorDrawerStore;
|
|
|
|
|
option.isLockBottomOffset = true;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
private handleTBOffsetBlur = (e) =>
|
|
|
|
|
{
|
|
|
|
|
const store = this.props.store as DrawerStore;
|
|
|
|
|
const option = store.m_Option;
|
|
|
|
|
this.uiOption.topOffset = option.topOffset.toString();
|
|
|
|
|
this.uiOption.bottomOffset = option.bottomOffset.toString();
|
|
|
|
|
};
|
|
|
|
|
private toggleLockLiuKong = (isTop: boolean) =>
|
|
|
|
|
{
|
|
|
|
|
const store = this.props.store as DrawerStore;
|
|
|
|
@ -227,6 +234,7 @@ export class DoorConfigModal extends React.Component<{ store?: DoorDrawerStore;
|
|
|
|
|
uiOption={this.uiOption}
|
|
|
|
|
onChange={this.handleTBOffset}
|
|
|
|
|
title="上留空"
|
|
|
|
|
onBlur={this.handleTBOffsetBlur}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
store instanceof DrawerStore &&
|
|
|
|
@ -246,6 +254,7 @@ export class DoorConfigModal extends React.Component<{ store?: DoorDrawerStore;
|
|
|
|
|
uiOption={this.uiOption}
|
|
|
|
|
onChange={this.handleTBOffset}
|
|
|
|
|
title="下留空"
|
|
|
|
|
onBlur={this.handleTBOffsetBlur}
|
|
|
|
|
>
|
|
|
|
|
{
|
|
|
|
|
store instanceof DrawerStore &&
|
|
|
|
|