Commit 2381606f authored by 任建锋's avatar 任建锋

优化样式

parent 3f85eebb
...@@ -57,10 +57,13 @@ ...@@ -57,10 +57,13 @@
.defaultIcon{ .defaultIcon{
width: 100%; width: 100%;
height: 100%; height: 100%;
font-size: 30px; font-size: 40px;
font-weight: bold; font-weight: bold;
line-height: 65px; line-height: 65px;
text-align: center; text-align: center;
background: linear-gradient(21deg, #00b881 1%, #26d6ca);
color: #fffafa;
border-radius: 10px;
} }
img{ img{
...@@ -89,7 +92,7 @@ ...@@ -89,7 +92,7 @@
// border-top: 2px solid #344857; // border-top: 2px solid #344857;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
padding-top: 3px; padding-top: 3px;
margin-top: 3px; margin-top: 7px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; /* 将对象作为弹性伸缩盒子模型显示 */ display: -webkit-box; /* 将对象作为弹性伸缩盒子模型显示 */
......
...@@ -19,14 +19,14 @@ function Index() { ...@@ -19,14 +19,14 @@ function Index() {
<div className="welcome-top"> <div className="welcome-top">
<span>欢迎您! <span>欢迎您!
<span className="welcome-uname">王天宇</span> <span className="welcome-uname">王天宇</span>
<a>退出登录</a> <a className="login-btn">退出登录</a>
</span> </span>
</div> </div>
<div className="nav"> <div className="nav">
<div className="nav-title"> <div className="nav-title">
<img src={logo} alt=""/> <img src={logo} alt=""/>
</div> </div>
<div className="nav-weather"><iframe width="500" height="40" frameborder="0" scrolling="no" hspace="0" src="https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"></iframe></div> <div className="nav-weather"><iframe width="360" height="40" frameborder="0" scrolling="no" hspace="0" src="https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"></iframe></div>
</div> </div>
<div className="tool-nav"> <div className="tool-nav">
<ToolType/> <ToolType/>
...@@ -38,7 +38,9 @@ function Index() { ...@@ -38,7 +38,9 @@ function Index() {
pop pop
} }
<div className="index-footer"> <div className="index-footer">
杭州兑吧网络科技游戏公司版权所有 兑吧研发中心·杭州兑吧网络科技游戏公司版权所有
<br/>
浙ICP备14017299号-1
</div> </div>
</div> </div>
</PopContext.Provider> </PopContext.Provider>
......
...@@ -13,14 +13,22 @@ body { ...@@ -13,14 +13,22 @@ body {
background-color: #444; background-color: #444;
color: #fff; color: #fff;
text-align: right; text-align: right;
padding: 4px 10px; padding: 7px 10px;
font-size: 13px;
.welcome-uname{ .welcome-uname{
padding: 0px 4px; padding: 0px 4px;
font-weight: bold; font-weight: bold;
} }
.login-btn{
cursor: pointer;
text-decoration: underline;
}
} }
.index-footer{ .index-footer{
text-align: center; text-align: center;
color: #b3b3b3;
line-height: 26px;
margin-top: 12px;
} }
.nav-weather{ .nav-weather{
float: right; float: right;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment