Former-commit-id: c3fd29328f60eb5fa66a88a874018db803fdd69f
This commit is contained in:
troyeguo
2021-02-12 13:58:53 +08:00
parent aed455635e
commit 648791356c
2 changed files with 9 additions and 7 deletions

View File

@@ -194,7 +194,7 @@ class BookCoverItem extends React.Component<BookCoverProps, BookCoverState> {
onClick={() => {
this.handleCancelLoveBook();
}}
style={{ right: "300px" }}
style={{ right: "274px", bottom: "25px" }}
></span>
) : null}
@@ -229,7 +229,7 @@ class BookCoverItem extends React.Component<BookCoverProps, BookCoverState> {
onClick={() => {
this.handleLoveBook();
}}
style={{ right: "270px", bottom: "55px" }}
style={{ right: "275px", bottom: "25px" }}
></span>
</>
) : null}

View File

@@ -50,7 +50,7 @@ class UpdateInfo extends React.Component<UpdateInfoProps, UpdateInfoState> {
this.props.handleNewDialog(true);
} else if (
OtherUtil.getReaderConfig("version") !== newVersion &&
OtherUtil.getReaderConfig("isFirst") !== "yes"
OtherUtil.getReaderConfig("isFirst")
) {
this.setState({ isUpdated: true });
this.props.handleNewDialog(true);
@@ -115,10 +115,12 @@ class UpdateInfo extends React.Component<UpdateInfoProps, UpdateInfoState> {
>
<span className="icon-close setting-close"></span>
</div>
<div className="update-info-text">
<Trans>You successfully update to</Trans>
{" " + version}
</div>
{this.state.isUpdated && (
<div className="update-info-text">
<Trans>You successfully update to</Trans>
{" " + version}
</div>
)}
<div className="update-dialog-info" style={{ height: 420 }}>
<div className="new-version-animation">
{this.state.isUpdated ? (