链接加

This commit is contained in:
2020-02-16 23:43:47 +08:00
parent 753e12ab6a
commit 8d502cd202
7 changed files with 178 additions and 23 deletions
+18 -15
View File
@@ -48,10 +48,10 @@ class Header3 extends React.Component {
{childItem.children.map(getChildrenToRender)}
</a>
) : (
<div {...childItem}>
{childItem.children.map(getChildrenToRender)}
</div>
);
<div {...childItem}>
{childItem.children.map(getChildrenToRender)}
</div>
);
return (
<Item key={$item.name || ii.toString()} {...$item}>
{child}
@@ -85,7 +85,10 @@ class Header3 extends React.Component {
animation={{ x: -30, type: 'from', ease: 'easeOutQuad' }}
{...dataSource.logo}
>
<img width="100%" src={dataSource.logo.children} alt="img" />
<a href='/#/'>
<img width="100%" src={dataSource.logo.children} alt="img" />
</a>
</TweenOne>
{isMobile && (
<div
@@ -104,16 +107,16 @@ class Header3 extends React.Component {
animation={
isMobile
? {
x: 0,
height: 0,
duration: 300,
onComplete: (e) => {
if (this.state.phoneOpen) {
e.target.style.height = 'auto';
}
},
ease: 'easeInOutQuad',
}
x: 0,
height: 0,
duration: 300,
onComplete: (e) => {
if (this.state.phoneOpen) {
e.target.style.height = 'auto';
}
},
ease: 'easeInOutQuad',
}
: null
}
moment={moment}
+12 -3
View File
@@ -1737,15 +1737,24 @@ export const Content110DataSource = {
),
},
{
name: 'image~k6ly196ivdl',
name: 'image',
className: 'k6ly1aw82ke-editor_css',
children: history,
children: (
<img src={history} width="360" height="300" alt='jpg' >
</img>
),
},
{
name: 'image~k6ly6iq7hge',
className: 'k6ly6kbgb-editor_css',
children: 'https://zos.alipayobjects.com/rmsportal/HzvPfCGNCtvGrdk.png',
children: (
<img src={jingpin1} width="360" height="300" alt='jpg'>
</img>
),
},
{
name: 'title~k6n8yao5dk8',
+1 -1
View File
@@ -290,7 +290,7 @@
width: 300px;
height: 300px;
position: relative;
left: 100px;
left: 190px;
}
#Content11_0 .title-wrapper > .k6lycb5l8ia-editor_css {
height: 120px;
+1
View File
@@ -45,6 +45,7 @@
.@{content1} {
&-img {
height: 200px;
padding: 0;
text-align: center;
margin-top: 64px;