Explorar o código

视频播放调整

Chente %!s(int64=5) %!d(string=hai) anos
pai
achega
cbf5bbb7d5
Modificáronse 2 ficheiros con 4 adicións e 3 borrados
  1. 2 1
      css/global.css
  2. 2 2
      js/smartcost_socus.js

+ 2 - 1
css/global.css

@@ -527,7 +527,8 @@ li.search .topSerach input[type=submit]:active{
   background:url(scIcons.png) no-repeat -24px -47px
 }
 .mainContent .contentItem{
-  margin:20px 0
+  margin:20px 0;
+  min-height: 400px  
 }
 .softList {
   margin:15px 0 200px 0

+ 2 - 2
js/smartcost_socus.js

@@ -506,10 +506,10 @@ $(window).resize(autoFlashHeight);
 //自动高度
 $(function(){
 $(".videoItem li").hover(function () {
-    $(this).children(".videoCon").animate({bottom:'25px'},"normal","swing");
+    $(this).children(".videoCon").animate({top:'0'},"normal","swing");
     },
   function () {
-    $(this).children(".videoCon").animate({bottom:'165px'},"fast");
+    $(this).children(".videoCon").animate({top:'-170px'},"fast");
     }
 );
 });