Browse Source

feat:计时套餐、特权套餐、退出增加二次确认按钮

leo 1 year ago
parent
commit
49915c34e7
2 changed files with 10 additions and 2 deletions
  1. 1 1
      static/webRtcYJ/css/WXtrialInterface.css
  2. 9 1
      static/webRtcYJ/timer.js

+ 1 - 1
static/webRtcYJ/css/WXtrialInterface.css

@@ -184,7 +184,7 @@ html {
   top: 0;
   opacity: 0.8;
   bottom: 50px;
-  z-index: 2;
+  z-index: 1500;
   transition: all 0.2s ease-in;
   display: flex;
   flex-direction: column;

+ 9 - 1
static/webRtcYJ/timer.js

@@ -27,7 +27,15 @@ function handleQuit(action = "quit") {
     case 'quit':
       return exit();
     case 'dormant':
-      return downline();
+      $.confirm({
+        title: '提示',
+        text: '确定退出云手机并下机',
+        onOK: function () {
+          //点击确认
+          downline();
+        },
+      });
+    // return 
   }
 }