-
- YAPI
-
-
-
- {login?
-
- :""}
-
+
+
+
+
+ YAPI
-
-
+
+
+ {login?
+
+ :""}
+
+
+
)
}
diff --git a/client/components/Header/Header.scss b/client/components/Header/Header.scss
index 5a890c64..df310905 100644
--- a/client/components/Header/Header.scss
+++ b/client/components/Header/Header.scss
@@ -5,10 +5,18 @@ $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;
- color: $color-white;
z-index: 99;
// 内容宽度
.content {
@@ -17,7 +25,6 @@ $color-black-light : #404040;
zoom: 1;
overflow: hidden;
}
-
.logo {
font-size: .3rem;
float: left;
@@ -51,7 +58,7 @@ $color-black-light : #404040;
}
float: left;
margin: 0 0 0 .12rem;
- font-size: .14rem;
+ font-size: .2rem;
cursor: pointer;
color: $color-white;
&:not(:last-child){
@@ -75,11 +82,7 @@ $color-black-light : #404040;
i{
margin-right: .03rem;
}
- .dropdown-link{
- i{
- font-size: .2rem;
- }
- }
}
}
}
+
diff --git a/client/containers/Home/Home.js b/client/containers/Home/Home.js
index 56383d10..c9a479ce 100644
--- a/client/containers/Home/Home.js
+++ b/client/containers/Home/Home.js
@@ -13,34 +13,42 @@ import QueueAnim from 'rc-queue-anim';
const oneAnim = { y: '+=30', opacity: 0, type: 'from', ease: 'easeOutQuad' };
+const style = {
+ 'height':'100%',
+ 'width':'100%',
+ 'background': 'url(./image/bg-img.jpg) no-repeat center',
+ 'backgroundSize':'cover'
+}
const HomeGuest = (props) => (
-
-
-
-
-
-
YAPI
-
一个高效,易用,可部署的Api管理系统
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
YAPI
+
一个高效,易用,可部署的Api管理系统
+
+
+
+
+
+
+
+
+
+
+
+
+
+