From d2826e7bf0200fdd9a1af4afdde349922f7c8906 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Thu, 28 May 2020 17:46:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=90=BD=E5=9C=B0=E9=A1=B5?= =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E5=9B=BE=E6=A0=87=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/View/default/Game/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Home/View/default/Game/index.html b/Application/Home/View/default/Game/index.html index be1bee641..b8e233bc4 100644 --- a/Application/Home/View/default/Game/index.html +++ b/Application/Home/View/default/Game/index.html @@ -199,7 +199,7 @@
  • - +
    @@ -594,7 +594,7 @@ function isImg(src) { var img = new Image(); img.src = src; - if (img.fileSize > 0) { + if (img.width > 0 && img.height>0) { return true } return false @@ -602,7 +602,7 @@ function getGameLogo(obj) { var logo = null; - var logoSrc = $(obj).parents('.game-li').eq(0).find('.img-box').children('img').attr('src'); + var logoSrc = $(obj).parents('.game-li').eq(0).find('.img-box').children('img').attr('src') if (isImg(logoSrc)) { logo = $(obj).parents('.game-li').eq(0).find('.img-box').children('img')[0] } else {