浏览代码

style: pc弹窗高度调整

cuiyalong 1 年之前
父节点
当前提交
c970f20fdb
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      src/web/staticres/public-pc/js/check-power-and-switch.js

+ 5 - 2
src/web/staticres/public-pc/js/check-power-and-switch.js

@@ -119,6 +119,9 @@ var checkPowerAndSwitchStyle = `
 
 var checkVipExpireStyle = `
 <style>
+#checkVipExpireModal {
+    overflow: unset;
+}
 .check-vip-expire-box {
     position: relative;
     margin: 0 auto;
@@ -128,7 +131,7 @@ var checkVipExpireStyle = `
 }
 .check-vip-expire-modal {
     left: 50%;
-    top: 50%;
+    top: 46%;
     transform: translate(-50%, -50%);
 }
 .check-vip-expire-container {
@@ -484,7 +487,7 @@ var checkVipExpireDialog = {
         })
     },
     rechargeNow: function() {
-        this.closeDialog()
+        this.onDialogClose()
         setTimeout(() => {
           window.open('/swordfish/page_big_pc/free/svip/buy?type=renew')
         }, 50)