소스 검색

feat: 首页广告位全屏支持关闭

zhangyuhan 1 년 전
부모
커밋
ec9eabdb36
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/web/staticres/css/pc/index.css
  2. 2 0
      src/web/templates/pc/template/index/activity-dialog.html

+ 2 - 0
src/web/staticres/css/pc/index.css

@@ -1307,6 +1307,8 @@ cursor: pointer;
   min-width: 1200px;
 }
 .pc_tc_master.support-full .f-img {
+  width: 100%;
+  min-width: 100%;
   max-width: 100%;
   height: auto;
   max-height: 800px;

+ 2 - 0
src/web/templates/pc/template/index/activity-dialog.html

@@ -132,6 +132,8 @@
       if (dataUrl!=""){
         localStorage.setItem("tc", day)
         window.location.href = dataUrl;
+      } else {
+        $("#close2x").trigger('click')
       }
     })
     {{end}}