mirror of
https://github.com/YMFE/yapi.git
synced 2025-02-17 13:49:43 +08:00
opti: 优化布局
This commit is contained in:
parent
5ff16d551f
commit
650a4ae093
@ -112,7 +112,7 @@ class InterfaceList extends Component {
|
||||
},
|
||||
sortOrder: sortedInfo.columnKey === 'title' && sortedInfo.order,
|
||||
render: (text, item)=>{
|
||||
return <Link to={"/project/" + item.project_id + "/interface/api/" + item._id} >{text}</Link>
|
||||
return <Link to={"/project/" + item.project_id + "/interface/api/" + item._id} ><span className="path">{text}</span></Link>
|
||||
}
|
||||
}, {
|
||||
title: '接口路径',
|
||||
|
@ -46,7 +46,7 @@ class User extends Component {
|
||||
default={'个人资料'}
|
||||
data={navData}/>
|
||||
<div className="g-doc">
|
||||
<Row gutter={16} className="user-box">
|
||||
<Row className="user-box">
|
||||
<Route path={this.props.match.path + '/list'} component={List} />
|
||||
<Route path={this.props.match.path + '/profile/:uid'} component={Profile} />
|
||||
</Row>
|
||||
|
@ -43,9 +43,7 @@
|
||||
.user-table {
|
||||
-webkit-box-flex: 1;
|
||||
padding: 24px;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
|
||||
background: #FFF;
|
||||
background: #fff;
|
||||
min-height: 5rem;
|
||||
.ant-table-wrapper table {
|
||||
// font-size: .14rem;
|
||||
@ -59,9 +57,7 @@
|
||||
|
||||
.user-profile {
|
||||
-webkit-box-flex: 1;
|
||||
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
|
||||
background: #FFF;
|
||||
border-radius: .04rem;
|
||||
background: #fff;
|
||||
min-height: 5rem;
|
||||
position: relative;
|
||||
.bacToPer{
|
||||
@ -105,7 +101,7 @@
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
padding: 8px 0px;
|
||||
|
||||
|
||||
.maoboli{
|
||||
// background-color: rgba(225,225,225,0.16);
|
||||
position: absolute;
|
||||
@ -114,7 +110,7 @@
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -206,9 +202,9 @@
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
.avatar-uploader-trigger {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
|
Loading…
Reference in New Issue
Block a user