Commit b99c0c7c authored by yangpeng's avatar yangpeng

tupian

parent c3cc1001
......@@ -14,6 +14,7 @@
<link rel="stylesheet" href="__CDN__/static/css/style.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/jquery-3.3.1.min.js"></script>
</head>
<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>
<html lang="zh-cn">
<!-- 完美兼容所有屏幕 基于 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 -->
<div class="Maskss " id="Maskss"></div>
<div class="homenavs_main">
......@@ -55,4 +63,17 @@
</nav>
</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 -->
\ No newline at end of file
location / {
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?s=$1 last; break;
index index.html index.htm index.php;
#autoindex on;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}
\ No newline at end of file
}
\ No newline at end of file
......@@ -69,6 +69,13 @@ word-break:break-all;
.homenavs .nav-link.dropdown-toggle::after{
display: none;
}
.fixed {
position: fixed;
left: 0;
top: 0;
right: 0;
z-index: 99;
}
.homenavs_main{
background-color: #fff;
height: 5rem;
......@@ -1391,6 +1398,7 @@ transform: scale(1);
}
.newsinfodetaile_body img{
/* width: 100%; */
display: block;
}
.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