更改footer脚本为PartialView,完善返回顶端按钮,适配全屏与各种屏幕大小不同滚动条点击响应
This commit is contained in:
parent
ea5229cfbe
commit
7350a11a6c
|
@ -235,6 +235,7 @@
|
|||
<Content Include="Views\Shared\GroupConfig.cshtml" />
|
||||
<Content Include="Views\Shared\Content.cshtml" />
|
||||
<Content Include="Views\Admin\Profiles.cshtml" />
|
||||
<Content Include="Views\Shared\Footer.cshtml" />
|
||||
<None Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
|
|
|
@ -140,13 +140,12 @@
|
|||
bottom: 40px;
|
||||
right: 0;
|
||||
top: 94px;
|
||||
overflow: hidden;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.content-body iframe {
|
||||
width: 100%;
|
||||
border: none;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -175,9 +175,15 @@ $(function () {
|
|||
}, "请填写正确的IP地址");
|
||||
}
|
||||
|
||||
// tool tips
|
||||
$('.tooltips').tooltip();
|
||||
|
||||
// popovers
|
||||
$('.popovers').popover();
|
||||
|
||||
$(".go-top").click(function (e) {
|
||||
e.preventDefault();
|
||||
$('#main-content').animate({
|
||||
$('#main-content, .content-body, body').animate({
|
||||
scrollTop: 0
|
||||
}, 200);
|
||||
});
|
||||
|
|
|
@ -71,10 +71,4 @@ $(function () {
|
|||
//$("html").niceScroll({styler:"fb",cursorcolor:"#e8403f", cursorwidth: '6', cursorborderradius: '10px', background: '#404040', spacebarenabled:false, cursorborder: '', zindex: '1000', scrollspeed: 100, mousescrollstep: 60});
|
||||
|
||||
//$(".table-responsive").niceScroll({ styler: "fb", cursorcolor: "#e8403f", cursorwidth: '6', cursorborderradius: '10px', background: '#404040', spacebarenabled: false, cursorborder: '', zindex: '1000', horizrailenabled: true });
|
||||
|
||||
// tool tips
|
||||
$('.tooltips').tooltip();
|
||||
|
||||
// popovers
|
||||
$('.popovers').popover();
|
||||
})(jQuery);
|
|
@ -0,0 +1,10 @@
|
|||
<!--footer start-->
|
||||
<footer class="site-footer">
|
||||
<div class="text-center">
|
||||
<span>2016 © 通用后台管理系统</span>
|
||||
<a href="#" class="go-top tooltips" data-placement="left" data-original-title="返回顶部">
|
||||
<i class="fa fa-angle-up"></i>
|
||||
</a>
|
||||
</div>
|
||||
</footer>
|
||||
<!--footer end-->
|
|
@ -9,6 +9,3 @@
|
|||
|
||||
|
||||
-------> _Normal.cshtml
|
||||
/Home/Terminals
|
||||
--------------> _Fix.cshtml
|
||||
/Home/Rules
|
|
@ -31,16 +31,6 @@
|
|||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<!--footer start-->
|
||||
<footer class="site-footer">
|
||||
<div class="text-center">
|
||||
2016 © 红云红河集团.
|
||||
<a href="#" class="go-top tooltips" data-placement="left" data-original-title="返回顶部">
|
||||
<i class="fa fa-angle-up"></i>
|
||||
</a>
|
||||
</div>
|
||||
</footer>
|
||||
<!--footer end-->
|
||||
@Html.Partial("Footer")
|
||||
</section>
|
||||
@RenderSection("modal", false)
|
|
@ -24,16 +24,6 @@
|
|||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<!--footer start-->
|
||||
<footer class="site-footer">
|
||||
<div class="text-center">
|
||||
2016 © 红云红河集团.
|
||||
<a href="#" class="go-top">
|
||||
<i class="fa fa-angle-up"></i>
|
||||
</a>
|
||||
</div>
|
||||
</footer>
|
||||
<!--footer end-->
|
||||
@Html.Partial("Footer")
|
||||
</section>
|
||||
@RenderSection("modal", false)
|
Loading…
Reference in New Issue