소스 검색

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

leo 1 년 전
부모
커밋
49915c34e7
2개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  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 
   }
 }