From 183b5ab63baf860e926fc04324fe0fafdaacc101 Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 26 Jun 2019 01:01:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=BD=B1=E5=93=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=93=8D=E4=BD=9C=E7=9A=84=E5=A4=9A=E4=BD=99css?= =?UTF-8?q?=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 软件中心的卡片, 在鼠标 mouseover / mouseout 会添加 animate.css 的 翻转 css 动画, 极大影响用户体验 跟浪费用户时间, 用户在鼠标移动上去之后还要等这个css动画, 一两个可以, 多了就非常恶心, 强烈建议删除掉, 谋求更好的视觉效果. 例如:hover / :active 之后 box-shadow 高光都行. 然后...大哥, 多学学 vue 或者 react , less / sass 都行啊...页面写得非常糟糕 --- softcenter/softcenter/webs/soft-center.asp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/softcenter/softcenter/webs/soft-center.asp b/softcenter/softcenter/webs/soft-center.asp index a6d25f78..f139dd7d 100644 --- a/softcenter/softcenter/webs/soft-center.asp +++ b/softcenter/softcenter/webs/soft-center.asp @@ -280,9 +280,9 @@ function change1(obj){ } if(anmstatus != obj){ anmstatus = obj; - $(obj).stop().removeClass('animated flipInY').addClass('animated flipInY').one('animationend webkitAnimationEnd oAnimationEnd', function(){ - $(obj).removeClass('animated flipInY'); - }); + // $(obj).stop().removeClass('animated flipInY').addClass('animated flipInY').one('animationend webkitAnimationEnd oAnimationEnd', function(){ + // $(obj).removeClass('animated flipInY'); + // }); } $(obj).find('.appDesc').show(); $(obj).find('.app-name').width('130px');