feat: 移除内部导航当前页面标识
This commit is contained in:
parent
bf3906df03
commit
5bb9cc25b5
|
@ -40,18 +40,11 @@
|
||||||
@await Html.PartialAsync("Navigator")
|
@await Html.PartialAsync("Navigator")
|
||||||
<section id="main-content" class="main-content">
|
<section id="main-content" class="main-content">
|
||||||
<div class="main-header">
|
<div class="main-header">
|
||||||
<div class="row">
|
<ol class="breadcrumb">
|
||||||
<div class="col-sm-6">
|
|
||||||
<span class="text-dark"></span>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6">
|
|
||||||
<ol class="breadcrumb justify-content-sm-end">
|
|
||||||
<li class="breadcrumb-item"><a href="@Url.Content("~/Admin/Index")"><i class="fa fa-home"></i>首页</a></li>
|
<li class="breadcrumb-item"><a href="@Url.Content("~/Admin/Index")"><i class="fa fa-home"></i>首页</a></li>
|
||||||
<li class="breadcrumb-item d-none"></li>
|
<li class="breadcrumb-item d-none"></li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
</section>
|
</section>
|
||||||
@section modal {
|
@section modal {
|
||||||
|
|
|
@ -146,7 +146,7 @@ $(function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
// breadcrumb
|
// breadcrumb
|
||||||
var $breadNav = $('#breadNav, .main-header .breadcrumb-item:last, .main-header .text-dark');
|
var $breadNav = $('#breadNav, .main-header .breadcrumb-item:last');
|
||||||
var arch = $sideMenu.find('a.active').last();
|
var arch = $sideMenu.find('a.active').last();
|
||||||
$breadNav.removeClass('d-none').text(arch.text() || $('title').text());
|
$breadNav.removeClass('d-none').text(arch.text() || $('title').text());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue