优化下载页面样式
This commit is contained in:
parent
c659442856
commit
b65cd93602
|
|
@ -67,7 +67,7 @@ const UpdateModal = forwardRef((props: any, ref: any) => {
|
||||||
>立即更新</Button>
|
>立即更新</Button>
|
||||||
<div className={styles.button2} onClick={() => setIsUpdateModal(false)}>暂不更新</div>
|
<div className={styles.button2} onClick={() => setIsUpdateModal(false)}>暂不更新</div>
|
||||||
</div> : progress < 100 ?
|
</div> : progress < 100 ?
|
||||||
<div style={{ marginTop: '20px' }}>
|
<div style={{ margin: '20px 0' }}>
|
||||||
下载进度:{progress}%
|
下载进度:{progress}%
|
||||||
<Flex gap="small" vertical>
|
<Flex gap="small" vertical>
|
||||||
<Progress percent={progress} showInfo={false} />
|
<Progress percent={progress} showInfo={false} />
|
||||||
|
|
@ -75,7 +75,7 @@ const UpdateModal = forwardRef((props: any, ref: any) => {
|
||||||
</div> :
|
</div> :
|
||||||
<Button type="primary"
|
<Button type="primary"
|
||||||
onClick={() => window.electron.onDownload('2')}
|
onClick={() => window.electron.onDownload('2')}
|
||||||
style={{ width: '100%', height: '40px', marginTop: '20px' }}
|
style={{ width: '100%', height: '40px', margin: '20px 0' }}
|
||||||
className={`m-ant-btn`}
|
className={`m-ant-btn`}
|
||||||
>下载完成,点击安装</Button>
|
>下载完成,点击安装</Button>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue