调整野蛮

This commit is contained in:
2021-04-07 13:18:18 +08:00
parent 96793afeec
commit ae95c5540b
14 changed files with 2170 additions and 808 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
body {
min-width: 1200px;
background: #d6e8f4;
/*background: #d6e8f4;*/
}
.header {
@@ -151,7 +151,7 @@ body {
#navul li.navmoon a,
#navul li.active a {
color: #ffba64;
color: #fff;
}
#navul li.navhome a:hover {
@@ -160,13 +160,17 @@ body {
#navul li.navmoon ul {
display: block;
background-color: rgb(63, 155, 11);
border-top: 1px solid #f7f7f7;
}
#navul li.navmoon ul li {
background: rgb(63, 155, 11);
/*background: rgb(63, 155, 11);*/
height: 40px;
line-height: 40px;
border-top: 1px solid rgb(63, 155, 11);
width: 100%;
text-align: left;
border-top: solid 1px rgba(255,155,255,0.2);
}
#navul li.navmoon ul a {
@@ -175,7 +179,7 @@ body {
line-height: 40px;
font-size: 12px;
color: #fff;
width: 64px;
text-align: left;
}
#navul li.navmoon ul a:hover {
@@ -339,7 +343,7 @@ body {
.newslist {
display: block;
padding: 10px 12px;
margin: 12px 12px 0 12px;
}
.hotnews {
@@ -385,6 +389,9 @@ body {
padding: 0 80px 0 14px;
background: url(../images/jiantou.png) 2px 15px no-repeat;
}
.newslist li:hover a{
color: rgba(72,144,26,1);
}
.newslist li:last-child {
border: none;
@@ -520,12 +527,29 @@ body {
.news-txt.col-3 {
width: 388px;
height: 280px;
/*height: 280px;*/
overflow: hidden;
float: left;
margin-right: 15px;
}
.worker_title{
/*position: absolute;*/
/*top: 140px;*/
z-index: 100;
padding-bottom: 10px;
padding:10px 10px;
/* color: #353535;*/
text-align: center;
overflow: hidden;
width: 100%;
display: inline-block;
/*font-weight: bold;*/
font-size: 16px;
}
.worker_title span{
font-size: 12px;
color: #999;
}
.news-txt.col-3.last {
margin-right: 0;
}
@@ -861,8 +885,9 @@ body {
}
.linkcon {
height: 54px;
margin: 10px;
/*height: 54px;*/
/*margin: 10px;*/
padding:10px;
overflow: auto;
}
@@ -877,7 +902,7 @@ body {
}
.ft-menu {
height: 230px;
/*height: 230px;*/
width: 100%;
background: linear-gradient(rgb(63, 155, 11), #3e8a1a);
overflow: hidden;
@@ -886,7 +911,7 @@ body {
.menu {
width: 1000px;
float: left;
margin-top: 40px;
margin-top: 20px;
padding-left: 20px;
box-sizing: border-box;
}
@@ -940,7 +965,7 @@ body {
text-align: center;
line-height: 30px;
margin-right: 70px;
margin-top: 80px;
margin-top: 12px;
color: #fff;
}
@@ -952,6 +977,7 @@ body {
line-height: 50px;
background: #1c5302;
padding-left: 20px;
text-align: center;
}
.mg-t-b {
@@ -1235,16 +1261,17 @@ body {
.words11_zzgz_xfgz_content {
width: 100%;
height: 270px;
overflow: hidden;
/*height: 270px;*/
/*overflow: hidden;*/
margin: 10px 0px;
}
.words11_zzgz_xfgz_content .box {
width: 100%;
overflow: hidden;
overflow:hidden;
height: 314px;
}
/* 这是针对缺省样式 (必须的) */
.words11_zzgz_xfgz_content .box .focus {
width: 100%;
overflow: hidden;
@@ -1313,25 +1340,25 @@ body {
.news_list_content .sanjiao {
width: 0;
height: 0;
border-width: 10px;
border-width: 20px;
border-style: solid;
border-color: transparent transparent rgb(63, 155, 11) transparent;
bottom: 0;
position: absolute;
left: 50%;
margin-left: -10px;
margin-left: -20px;
}
.news_list_content .sanjiao2 {
width: 0;
height: 0;
border-width: 10px;
border-width: 20px;
border-style: solid;
border-color: rgb(63, 155, 11) transparent transparent transparent;
top: 0;
position: absolute;
left: 50%;
margin-left: -10px;
margin-left: -20px;
}
.news_list_content .img {
@@ -1374,6 +1401,7 @@ body {
.news_list_item:hover .txt .overflow4 {
overflow: hidden;
opacity: 1;
}
@@ -1449,11 +1477,77 @@ body {
}
.tem ul {
width: calc(50% - 10px);
/*width: calc(50% - 10px);*/
float: left;
margin: 0 5px;
}
.banner_title{
display: inline-block;
width: 100%;
background-color: rgba(255,255,255,0.5);
color: #353535;
font-size: 30px;
text-align: center;
position: absolute;
bottom: 0;
padding:10px 0;
}
.lt_adverts_c{
height: 64.7px;
width: 100%;
line-height: 64.7px;
text-align: center;
background-position: center;
background-repeat: no-repeat;
color: #fff;
font-size: 30px;
background-size: 100% 100%;
box-shadow: 0 0 10px rgba(2,2,2,0.5);
text-shadow: #fff 1px 0 0, #fff 0 1px 0, #fff -1px 0 0, #fff 0 -1px 0;
}
.news_list_content1{
width: 100%;
/*height: 400px;*/
background-color: #fff;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-item:center;
box-sizing:border-box;
margin-top: 10px;
}
.news_list_item1{
flex:1;
width: 25%;
text-align: center;
/*background-color: pink;*/
border:solid 1px #f9f8f7;
font-size: 14px;
cursor:pointer;
/* padding:10px;*/
/*color: #353535;*/
}
.news_list_item1>div{
background-position: center;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 140px;
/*background-color: green;*/
}
.news_list_item1:hover{
border:solid 1px rgba(72,144,26,0.2);
}
.news_list_item1:hover span{
color: rgba(72,144,26,1)
}
.news_list_item1>span{
overflow: hidden;
width: 100%;
display: inline-block;
padding-top: 10px;
text-decoration: ellipsis;
}
/*2020-10-15*/
.naturalCont{display:table; height: 120px; text-align: center;}

View File

@@ -4,4 +4,4 @@ $('[data-href]').on('click', function (event) {
return;
}
location.href = $(this).data('href');
});
});

View File

@@ -1,59 +1,57 @@
/*
*author:Null
*DATE:2013.5.24
*/
$(function(){
//头页登录
$("#navul > li").not(".navhome").hover(function(){
$(this).addClass("navmoon")
},function(){
$(this).removeClass("navmoon")
});
});
(function($){
$.fn.capacityFixed = function(options) {
var opts = $.extend({},$.fn.capacityFixed.deflunt,options);
var FixedFun = function(element) {
var top = opts.top;
element.css({
"top":top
});
$(window).scroll(function() {
var scrolls = $(this).scrollTop();
if (scrolls > top) {
if (window.XMLHttpRequest) {
element.css({
position: "fixed",
top: 0
});
} else {
element.css({
top: scrolls
});
}
}else {
element.css({
position: "absolute",
top: top
});
}
});
element.find(".close-ico").click(function(event){
element.remove();
event.preventDefault();
})
};
return $(this).each(function() {
FixedFun($(this));
});
};
$.fn.capacityFixed.deflunt={
right : 0,//相对于页面宽度的右边定位
top:0
};
})(jQuery);
/*
*author:Null
*DATE:2013.5.24
*/
$(function(){
//头页登录
$("#navul > li").not(".navhome").hover(function(){
$(this).addClass("navmoon")
},function(){
$(this).removeClass("navmoon")
});
});
(function($){
$.fn.capacityFixed = function(options) {
var opts = $.extend({},$.fn.capacityFixed.deflunt,options);
var FixedFun = function(element) {
var top = opts.top;
element.css({
"top":top
});
$(window).scroll(function() {
var scrolls = $(this).scrollTop();
if (scrolls > top) {
if (window.XMLHttpRequest) {
element.css({
position: "fixed",
top: 0
});
} else {
element.css({
top: scrolls
});
}
}else {
element.css({
position: "absolute",
top: top
});
}
});
element.find(".close-ico").click(function(event){
element.remove();
event.preventDefault();
})
};
return $(this).each(function() {
FixedFun($(this));
});
};
$.fn.capacityFixed.deflunt={
right : 0,//相对于页面宽度的右边定位
top:0
};
})(jQuery);