zoomla
Version:
16年专业研发|中文alexa排名第一的CMS品牌-基于dotNET core、功能强大,集成站群、微信开发、小程序与ERP及OA办公系统,支持国际语言和多民族语言,世界五百强与大型门户专用高端网站内核CMS系统
90 lines (86 loc) • 3.59 kB
HTML
{ZL.Source id="节点栏目信息数据源"/}
<html>
<head>
<meta charset="utf-8">
<title>{SField sid="节点栏目信息数据源" FD="NodeName" page="0"/}_{$SiteName/}</title>
<meta name="Keywords" content="{SField sid="节点栏目信息数据源" FD="Meta_Keywords" page="0"/}" />
<meta name="description" content="{SField sid="节点栏目信息数据源" FD="Meta_Description" page="0"/}" />
{ZL:Boot4()/}
<script src="/js/scrolltopcontrol.js" type="text/javascript"></script>
<script type="text/javascript" src="{$CssDir/}js/server.js"></script>
<link href="{$CssDir/}global.css?Version={ZL.Label id="前端样式版本号"/}" rel="stylesheet"/>
<script src="/JS/Controls/B_User.js"></script>
<style>
.navbar-default .navbar-nav>#Menu{SField sid="节点栏目信息数据源" FD="NodeID" page="0"/}>a, .navbar-default .navbar-nav>#Menu{SField sid="节点栏目信息数据源" FD="NodeID" page="0"/}>a:hover, .navbar-default .navbar-nav>#Menu{SField sid="节点栏目信息数据源" FD="NodeID" page="0"/}>a:focus { color:#555; background-color:#e7e7e7; }
.shop_top { position:relative; z-index:111;}
.shop_top .navbar-default { background:#FFF;}
.shop_top .navbar-nav > li:nth-last-child(2) > a,.shop_top .navbar-nav > li:nth-last-child(1) > a { font-size:1em;}
#home_nav { position: relative;}
.card-header {font-size:1rem;}
.card-header a { color:#333;}
</style>
</head>
<body id="header">
{ZL.Label id="全站头部"/}
<div class="myBanner">
<div class="container"><h3><br/><br/>卓越体验</h3><br/>国产原创-从字库到web内核全生态的无边界的网络表现。</div>
</div><!--内页通栏banner广告位 -->
<mian role="main">
<div style="margin-top:1em;">
<div class="container">
<div class="photo_mySites">
<nav aria-label="breadcrumb" role="navigation" style="font-size: 0.9rem;">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">首页</a></li>
{ZL.Label id="输出多级节点导航_V4" NodeID="{SField sid="节点栏目信息数据源" FD="NodeID" page="0"/}" ShowNum="30" /}
</ol>
</nav>
</div><!--面包屑导航结束 -->
{ZL.Label id="图库节点下列表块循环v4" ParentID="{SField sid="节点栏目信息数据源" FD="NodeID" page="0"/}" ShowNum="5" TitleNum="30" Nums="10" /}
</div>
</div>
</mian>
{ZL.Label id="全站底部"/}
</body>
</html>
<script>
$(window).scroll(function(){
if($(window).scrollTop()>0){
$("#home_nav").css("position","fixed").addClass("active")
}
else{
$("#home_nav").css("position","relative").removeClass("active");
}
});
/*显示搜索框*/
function isSearch(){
$(".home_search").css("opacity","1").css("z-index","1").css("right","0").css("top","0.5rem");
$(".home_top_nav").fadeOut(200);
$(".home_search .form-control").focus();
}
/*关闭搜索框*/
function isClose(){
$(".home_search").css("opacity","0").css("z-index","-1").css("right","-1em");
$(".home_top_nav").fadeIn(1000);
}
//会员ajax登录状态需要结合JS/Controls/B_User.js引用同步生效
var buser = new B_User();
buser.IsLogged(function(data,flag){
if(flag)
{
data=JSON.parse(data);
$(".nav_user>a").html(data.UserName);
$(".nav_user .dropdown-menu li:nth-child(1) a").html("会员中心");
$(".nav_user .dropdown-menu li:nth-child(2)").remove();
}
});
function LogoutFun()
{
buser.Logout(function(){location=location;});
};
$(".shop_top .navbar-nav>li.dropdown").mouseover(function(){
$(this).addClass("open");
}).mouseout(function(){
$(this).removeClass("open");
});
</script>