This commit is contained in:
pushuo 2022-07-28 21:16:47 +08:00
parent e3a5043b95
commit bceae1a6b3
8 changed files with 2073 additions and 25 deletions

View File

@ -502,26 +502,29 @@ body.page-seller-product .share-link-pop .share-links-code img {
justify-content: space-between; justify-content: space-between;
flex: 1; flex: 1;
} }
.header-wrap .header-right .navbar { .header-wrap .header-right > .navbar {
margin-bottom: 0; margin-bottom: 0;
list-style: none; list-style: none;
} }
.header-wrap .header-right .navbar li { .header-wrap .header-right > .navbar > li {
padding: 0.5rem 1.3rem; padding: 0.5rem 1rem;
} }
@media (max-width: 1200px) and (min-width: 992px) { @media (max-width: 1200px) and (min-width: 992px) {
.header-wrap .header-right .navbar li { .header-wrap .header-right > .navbar > li {
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
} }
} }
.header-wrap .header-right .navbar li a { .header-wrap .header-right > .navbar > li a.nav-link {
color: #333; color: #333;
padding: 0.5rem 0; padding: 0.5rem 0;
} }
.header-wrap .header-right .navbar.navbar-right li a { .header-wrap .header-right > .navbar > li a.nav-link.show {
background-color: #eee;
}
.header-wrap .header-right .navbar.navbar-right li a.nav-link {
position: relative; position: relative;
} }
.header-wrap .header-right .navbar.navbar-right li a:after { .header-wrap .header-right .navbar.navbar-right li a.nav-link:after {
content: ""; content: "";
position: absolute; position: absolute;
left: 0; left: 0;
@ -691,7 +694,8 @@ table.table.table-striped > tbody > tr:nth-of-type(2n) {
@font-face { @font-face {
font-family: "iconfont"; font-family: "iconfont";
src: url("/vendor/iconfont/iconfont.woff") format("woff"), url("/vendor/iconfont/iconfont.ttf") format("truetype"); /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ src: url("/vendor/iconfont/iconfont.woff") format("woff"), url("/vendor/iconfont/iconfont.ttf") format("truetype");
/* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
} }
.iconfont { .iconfont {
font-family: "iconfont" !important; font-family: "iconfont" !important;

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,8 @@
@charset "UTF-8"; @charset "UTF-8";
@font-face { @font-face {
font-family: "iconfont"; font-family: "iconfont";
src: url("/vendor/iconfont/iconfont.woff") format("woff"), url("/vendor/iconfont/iconfont.ttf") format("truetype"); /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ src: url("/vendor/iconfont/iconfont.woff") format("woff"), url("/vendor/iconfont/iconfont.ttf") format("truetype");
/* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
} }
.iconfont { .iconfont {
font-family: "iconfont" !important; font-family: "iconfont" !important;

View File

@ -10,7 +10,8 @@ body.page-filemanager {
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; /* CSS3属性 */ user-select: none;
/* CSS3属性 */
} }
body.page-filemanager [class*=" el-icon-"], body.page-filemanager [class^=el-icon-] { body.page-filemanager [class*=" el-icon-"], body.page-filemanager [class^=el-icon-] {
font-weight: 600; font-weight: 600;

View File

@ -1,7 +1,8 @@
@charset "UTF-8"; @charset "UTF-8";
@font-face { @font-face {
font-family: "iconfont"; font-family: "iconfont";
src: url("/vendor/iconfont/iconfont.woff") format("woff"), url("/vendor/iconfont/iconfont.ttf") format("truetype"); /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ src: url("/vendor/iconfont/iconfont.woff") format("woff"), url("/vendor/iconfont/iconfont.ttf") format("truetype");
/* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
} }
.iconfont { .iconfont {
font-family: "iconfont"; font-family: "iconfont";
@ -1153,9 +1154,12 @@ body.page-account-address .addresses-wrap .item .address-bottom a, body.page-che
} }
.swiper.module-slideshow { .swiper.module-slideshow {
--swiper-theme-color: #ff6600; /* 设置Swiper风格 */ --swiper-theme-color: #ff6600;
--swiper-navigation-color: #ff6600; /* 单独设置按钮颜色 */ /* 设置Swiper风格 */
--swiper-navigation-size: 30px; /* 设置按钮大小 */ --swiper-navigation-color: #ff6600;
/* 单独设置按钮颜色 */
--swiper-navigation-size: 30px;
/* 设置按钮大小 */
} }
.swiper.module-slideshow .swiper-button-prev, .swiper.module-slideshow .swiper-button-next { .swiper.module-slideshow .swiper-button-prev, .swiper.module-slideshow .swiper-button-next {
display: none; display: none;

File diff suppressed because it is too large Load Diff

View File

@ -33,26 +33,29 @@
justify-content: space-between; justify-content: space-between;
flex: 1; flex: 1;
.navbar { > .navbar {
margin-bottom: 0; margin-bottom: 0;
list-style: none; list-style: none;
li { > li {
padding: 0.5rem 1.3rem; padding: 0.5rem 1rem;
@media (max-width: 1200px) and (min-width: 992px) { @media (max-width: 1200px) and (min-width: 992px) {
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
} }
a { a.nav-link {
color: #333; color: #333;
padding: 0.5rem 0; padding: 0.5rem 0;
&.show {
background-color: #eee;
}
} }
} }
} }
.navbar.navbar-right { .navbar.navbar-right {
li { li {
a { a.nav-link {
position: relative; position: relative;
&:after { &:after {

View File

@ -12,14 +12,20 @@
@endforeach @endforeach
</ul> </ul>
<ul class="navbar"> <ul class="navbar">
<li class="nav-item"><a href="{{ admin_route('logout.index') }}" class="nav-link">退出登录</a></li>
<li class="nav-item"><a target="_blank" href="{{ shop_route('home.index') }}" class="nav-link">访问前台</a></li>
<li class="nav-item"> <li class="nav-item">
<a target="_blank" href="{{ shop_route('home.index') }}" class="nav-link"><i class="bi bi-send"></i> 访问前台</a>
</li>
<li class="nav-item">
<div class="dropdown">
<a href="#" class="nav-link" data-bs-toggle="dropdown">
<img src="http://dummyimage.com/100x100" class="avatar img-fluid rounded-circle me-1">
<span class="text-dark ml-2">{{ auth()->user()->name }}</span>
</a>
<a href="" class="nav-link"> <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="dropdownMenuLink">
<img src="http://dummyimage.com/100x100" class="avatar img-fluid rounded-circle me-1"> <li><a href="{{ admin_route('logout.index') }}" class="dropdown-item"><i class="bi bi-box-arrow-left"></i> 退出登录</a></li>
<span class="text-dark ml-2">{{ auth()->user()->name }}</span> </ul>
</a> </div>
</li> </li>
</ul> </ul>
</div> </div>