mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-24 13:14:16 +08:00
fix: 解决冲突
This commit is contained in:
commit
604213d825
@ -43,9 +43,9 @@ class FootItem extends Component {
|
||||
render () {
|
||||
return (
|
||||
<div className = 'footItem'>
|
||||
<h4><Icon type= { this.props.iconType } style={{ fontSize: 16 }} /> { this.props.title } </h4>
|
||||
<h4><Icon type= { this.props.iconType } style={{ fontSize: 16 }} /> { this.props.title } </h4>
|
||||
{ this.props.linkList.map(function(item,i){
|
||||
return (<div key = {i}><a href = { item.itemLink }><span>{ item.itemTitle }</span></a></div>);
|
||||
return (<div key = {i}> <a href = { item.itemLink }><span>{ item.itemTitle }</span></a></div>);
|
||||
}) }
|
||||
</div>
|
||||
);
|
||||
|
@ -48,7 +48,7 @@
|
||||
}
|
||||
a{
|
||||
font-weight: 200;
|
||||
color: #108ee9;
|
||||
color: #b3bdc1;
|
||||
&:hover{
|
||||
color: white;
|
||||
}
|
||||
|
@ -146,15 +146,16 @@ export default class HeaderCom extends Component {
|
||||
}
|
||||
render () {
|
||||
const { login, user, msg, uid, curKey } = this.props;
|
||||
const headerStyle = {
|
||||
const headerImgStyle = login?{}:{
|
||||
'background': 'url(./image/header-bg-img.jpg) no-repeat',
|
||||
'backgroundSize':'100% 100%'
|
||||
}
|
||||
};
|
||||
const headerShadeStyle = login?{}:{
|
||||
'background': 'linear-gradient(to bottom,rgba(0,0,0,0.6),rgba(0,0,0,0.5))'
|
||||
};
|
||||
return (
|
||||
<acticle className={`header-box`} style={headerStyle}>
|
||||
<Header style={{
|
||||
background: "linear-gradient(to bottom,rgba(0,0,0,0.6),rgba(0,0,0,0.5))"
|
||||
}}>
|
||||
<acticle className={`header-box`} style={headerImgStyle}>
|
||||
<Header style={headerShadeStyle}>
|
||||
<div className="content">
|
||||
<div className="logo">
|
||||
<Link to="/" onClick={this.relieveLink}>YAPI</Link>
|
||||
|
@ -7,15 +7,6 @@ $color-blue-deeper: #34495E;
|
||||
$color-grey-deep : #929aac;
|
||||
$color-black-light : #404040;
|
||||
/* .header-box.css */
|
||||
|
||||
//.light{
|
||||
// background-color: #f7fafc;
|
||||
// color: $color-blue;
|
||||
//}
|
||||
//.dark {
|
||||
// background-color: $color-black-light;
|
||||
// color: $color-white;
|
||||
//}
|
||||
.header-box {
|
||||
display: block;
|
||||
font-size: 0.14rem;
|
||||
|
@ -45,6 +45,7 @@
|
||||
margin-right: 6px;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
}
|
||||
.group-list {
|
||||
max-height: 650px;
|
||||
|
Loading…
Reference in New Issue
Block a user