Commit b99c0c7c authored by yangpeng's avatar yangpeng

tupian

parent c3cc1001
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<link rel="stylesheet" href="__CDN__/static/css/style.css"> <link rel="stylesheet" href="__CDN__/static/css/style.css">
<link rel="stylesheet" href="__CDN__/static/css/animate/animate.min.css"> <link rel="stylesheet" href="__CDN__/static/css/animate/animate.min.css">
<script src="__CDN__/static/js/swiper/swiper.min.js"></script> <script src="__CDN__/static/js/swiper/swiper.min.js"></script>
<script src="__CDN__/static/js/jquery-3.3.1.min.js"></script>
</head> </head>
<body> <body>
......
<!--
* @Author: your name
* @Date: 2021-04-22 14:09:22
* @LastEditTime: 2021-04-22 15:25:06
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \108\application\index\view\index\newsdataile.html
-->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-cn"> <html lang="zh-cn">
<!-- 完美兼容所有屏幕 基于 bootstrap4.1 --> <!-- 完美兼容所有屏幕 基于 bootstrap4.1 -->
......
<!--
* @Author: your name
* @Date: 2021-04-22 14:09:22
* @LastEditTime: 2021-04-22 14:29:08
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \108\application\index\view\layout\topnav.html
-->
<!-- nav start --> <!-- nav start -->
<div class="Maskss " id="Maskss"></div> <div class="Maskss " id="Maskss"></div>
<div class="homenavs_main"> <div class="homenavs_main">
...@@ -55,4 +63,17 @@ ...@@ -55,4 +63,17 @@
</nav> </nav>
</div> </div>
</div> </div>
<script>
$(function () {
$(window).scroll(function () {
// console.log($(window).scrollTop())
// console.log($(".homenavs_main").height()) // 120
if($(window).scrollTop()>=0){
$(".homenavs_main").addClass("fixed");
} else {
$(".homenavs_main").removeClass("fixed");
}
});
})
</script>
<!-- nav end --> <!-- nav end -->
\ No newline at end of file
location / { location / {
if (!-e $request_filename){ index index.html index.htm index.php;
rewrite ^(.*)$ /index.php?s=$1 last; break; #autoindex on;
}
} if (!-e $request_filename) {
\ No newline at end of file rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}
\ No newline at end of file
...@@ -69,6 +69,13 @@ word-break:break-all; ...@@ -69,6 +69,13 @@ word-break:break-all;
.homenavs .nav-link.dropdown-toggle::after{ .homenavs .nav-link.dropdown-toggle::after{
display: none; display: none;
} }
.fixed {
position: fixed;
left: 0;
top: 0;
right: 0;
z-index: 99;
}
.homenavs_main{ .homenavs_main{
background-color: #fff; background-color: #fff;
height: 5rem; height: 5rem;
...@@ -1391,6 +1398,7 @@ transform: scale(1); ...@@ -1391,6 +1398,7 @@ transform: scale(1);
} }
.newsinfodetaile_body img{ .newsinfodetaile_body img{
/* width: 100%; */ /* width: 100%; */
display: block;
} }
.detatileinfo .breadcrumb a{ .detatileinfo .breadcrumb a{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment