首页导航条修改

This commit is contained in:
syruan 2026-01-04 17:02:46 +08:00 committed by syruan
parent 5d90547613
commit 38a49ad0a8
4 changed files with 27 additions and 9 deletions

View File

@ -5,10 +5,7 @@
<ul class="nav ace-nav">
<li class="userperLi">
<a data-toggle="dropdown" href="#" class="dropdown-toggle">
<img id="mainHeadpic" class="nav-user-photo" src="<c:choose>
<c:when test="${!empty currentAccount.picUrl}">${bonuspath}/static/css/sys/images/user/hpic0.jpg</c:when>
<c:otherwise><c:url value="/static/css/sys/images/user/hpic0.jpg" /></c:otherwise>
</c:choose>" />
<i class="icon-user nav-user-icon"></i>
<span class="user-info">
<small>欢迎光临,</small>
<span id="user-info-name ">

View File

@ -34,7 +34,7 @@
<div class="navbar-header pull-left">
<a href="#" class="navbar-brand">
<small>
<i class="icon-leaf"></i>
<i class="icon-gears"></i>
<span>贵送机具管理系统</span>
<%-- <img src="${bonuspath}/static/img/icon.png">--%>
</small>

View File

@ -7368,7 +7368,7 @@ th, td, .table-bordered {
}
.table thead tr {
color: #707070;
color: #4b4b4b;
font-weight: normal;
background: #f2f2f2;
background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8),

View File

@ -184,6 +184,27 @@ button, input, select, textarea {margin: 1px;}
border: none;
color: #666;
}
/* 导航条用户头像图标 */
.nav-user-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
margin-right: 8px;
font-size: 20px;
color: #fff;
background-color: #428bca;
border-radius: 50%;
border: 2px solid #fff;
transition: all 0.3s ease;
}
.nav-user-icon:hover {
background-color: #3276b1;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.aBtnNoTD{cursor:pointer;text-decoration:none;}
.aBtnNoTD:hover{cursor: pointer;text-decoration:none;}
.aBtnNoTD:focus{cursor: pointer;text-decoration:none;}