Explorar o código

fix: 修复2x图片支持

zhangyuhan %!s(int64=3) %!d(string=hai) anos
pai
achega
db587751d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/web/templates/pc/index.html

+ 1 - 1
src/web/templates/pc/index.html

@@ -938,7 +938,7 @@ if (ADList.length>0){
           player.startAnimation();
         })
       } else {
-        $("#index_tc").css("background", "url('"+adv_img+"')")
+        $("#index_tc").css("background-image", "url('"+adv_img+"')")
       }
       $(".tans").css({"opacity":adv_background_opacity});//遮罩层透明度
       break;