🎨 优化部分逻辑

This commit is contained in:
xujiang 2021-09-24 12:02:56 +08:00
parent bad14c342d
commit ee376b651c
3 changed files with 18 additions and 5 deletions

View File

@ -28,9 +28,11 @@
width: 100%;
}
}
p {
.goPro {
position: absolute;
color: #888;
left: 20px;
bottom: -18px;
display: inline-block;
font-size: 12px;
transform: scale(0.9) translate(88px, -15px);
}

View File

@ -119,7 +119,7 @@ const HeaderComponent = memo((props: HeaderComponentProps) => {
const useTemplate = () => {
Modal.info({
title: '该功能属于企业版功能,可以关注下方公众号获取线上版登录码体验',
title: '该功能属于企业版功能,可以关注下方公众号回复【登录码】体验',
content: (
<div style={{ textAlign: 'center' }}>
<img
@ -234,7 +234,9 @@ const HeaderComponent = memo((props: HeaderComponentProps) => {
<img src="http://cdn.dooring.cn/dr/logo.ff7fc6bb.png" alt="Dooring-强大的h5编辑器" />
</a>
</div>
<p>🚪!</p>
<a href="http://h5.dooring.cn/h5_plus" target="_blank" className={styles.goPro}>
</a>
</div>
<div className={styles.controlArea}>
<Button type="primary" style={{ marginRight: '9px' }} onClick={useTemplate}>

View File

@ -35,7 +35,16 @@ const Home = () => {
}
key="1"
>
...
<div style={{ textAlign: 'center', display: 'flex', marginTop: '120px' }}>
<div>
<img width="146" src="http://cdn.dooring.cn/dr/lowcode.jpeg" alt="" />
<div></div>
</div>
<div>
<img width="146" src="http://cdn.dooring.cn/dr/qtqd_code.png" alt="" />
<div>dooring技术分享</div>
</div>
</div>
</TabPane>
<TabPane
tab={