瀏覽代碼

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}}