Browse Source

首页鼠标移入效果

luyanan 7 years ago
parent
commit
867f806d99
2 changed files with 6 additions and 3 deletions
  1. 1 1
      css/index.css
  2. 5 2
      js/index.js

+ 1 - 1
css/index.css

@ -55,7 +55,7 @@ input{ outline:none;}
55 55
.con-ulList>li .h3Font{font-size: 15px;line-height: 22px;margin-top:6px;}
56 56
.con-ulList>li .qiyego{display: inline-block;max-width: 86%;line-height: 20px;}
57 57
.con-ulList>li .authiconNew{top:-2px}
58
.con-ulList>li .madiaHead{width:164px;height:110px;margin:16px auto;background-position:center;background-size:cover;}
58
.con-ulList>li .madiaHead{width:164px;height:110px;margin:16px auto;background-position:center;background-size:cover;overflow: hidden;}
59 59
.con-ulList>li .madiaHead .boxBlock{width:164px;height:110px;}
60 60
.con-ulList>li .madiaHead .boxBlock .boxBlockimg{transition: all 0.6s;}
61 61


+ 5 - 2
js/index.js

@ -131,6 +131,8 @@ $(function(){
131 131
		});
132 132
	}
133 133
	
134
	
135
	mouseIn()
134 136
	ruZhuCmp()
135 137
	resShare()
136 138
	hotArea()
@ -447,7 +449,7 @@ $(function(){
447 449
		});
448 450
	}
449 451
	//资源mouseIn效果
450
	(functionmouseIn($){
452
	function mouseInmouseIn(){
451 453
		$.fn.extend({
452 454
			showOn : function(div){
453 455
				var w = this.width(),
@ -512,6 +514,7 @@ $(function(){
512 514
				}
513 515
			}
514 516
		});
515
	})(jQuery)
517
	}
518
	
516 519
})
517 520