mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev
This commit is contained in:
commit
50ce0e09d1
@ -21,7 +21,7 @@ YApi是高效、易用、功能强大的api管理平台,旨在为开发、产
|
||||
### 1 接口管理架构
|
||||
平台以**项目分组** -> **项目** -> **接口**的划分进行接口组织管理。
|
||||
|
||||
![](http://upload-images.jianshu.io/upload_images/842107-99be37392fd47ec5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
|
||||
![](http://upload-images.jianshu.io/upload_images/842107-305ba49a60ee1ff5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
|
||||
|
||||
#### 1.1 项目分组
|
||||
登录之后进到项目首页,左边侧边栏显示的即分组列表。
|
||||
|
@ -161,7 +161,7 @@ export default class HeaderCom extends Component {
|
||||
<Header style={headerShadeStyle}>
|
||||
<div className="content">
|
||||
<div className="logo">
|
||||
<Link to="/" onClick={this.relieveLink}>YAPI</Link>
|
||||
<Link to="/" onClick={this.relieveLink}>YAPI<span className="ui-badge"></span></Link>
|
||||
</div>
|
||||
<Menu
|
||||
mode="horizontal"
|
||||
|
@ -19,6 +19,7 @@ $color-black-light : #404040;
|
||||
overflow: hidden;
|
||||
}
|
||||
.logo {
|
||||
position: relative;
|
||||
font-size: .3rem;
|
||||
float: left;
|
||||
margin: 0 .2rem 0 0;
|
||||
@ -33,6 +34,20 @@ $color-black-light : #404040;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
.ui-badge {
|
||||
position: absolute;
|
||||
right: -20px;
|
||||
top: 10px;
|
||||
width: 30px;
|
||||
height: 21px;
|
||||
background-size: 240px 21px;
|
||||
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAw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C90ZXh0Pjx0ZXh0IHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIDEgNTEzLjk4NDQgMzUpIiBjbGFzcz0ic3QxIHN0MiBzdDMiPkFscGhhPC90ZXh0Pjx0ZXh0IHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIDEgNjEzLjk4NDQgMzUpIiBjbGFzcz0ic3QxIHN0MiBzdDMiPkFscGhhPC90ZXh0Pjx0ZXh0IHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIDEgNzEzLjk4NDQgMzUpIiBjbGFzcz0ic3QxIHN0MiBzdDMiPkFscGhhPC90ZXh0PjwvZz48L3N2Zz4=);
|
||||
animation: flag .8s steps(8) infinite;
|
||||
}
|
||||
@keyframes flag {
|
||||
from { background-position: 0px; }
|
||||
to { background-position: -240px; }
|
||||
}
|
||||
}
|
||||
|
||||
.nav-toolbar {
|
||||
|
Loading…
Reference in New Issue
Block a user