shish 11 months ago
parent
commit
a07eca4708
1 changed files with 13 additions and 12 deletions
  1. 13 12
      hdPad/src/pages/home/components/recharge.vue

+ 13 - 12
hdPad/src/pages/home/components/recharge.vue

@@ -422,9 +422,7 @@ export default {
   right: 0;
   bottom: 0;
   z-index: 9999;
-  display: flex;
-  align-items: center;
-  justify-content: center;
+  pointer-events: none;
 }
 
 .confirm-overlay {
@@ -433,22 +431,25 @@ export default {
   left: 0;
   right: 0;
   bottom: 0;
-  background-color: rgba(0, 0, 0, 0.5);
+  background-color: rgba(0, 0, 0, 0.3);
+  pointer-events: auto;
 }
 
 .confirm-dialog {
-  position: relative;
-  width: 80%;
-  max-width: 300px;
+  position: absolute;
+  right: 10px;
+  bottom: 60px;
+  width: 240px;
   background-color: #fff;
   border-radius: 8px;
   overflow: hidden;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
+  pointer-events: auto;
 }
 
 .confirm-content {
-  padding: 20px;
-  text-align: center;
+  padding: 15px;
+  text-align: left;
   font-size: 14px;
   color: #333;
 }
@@ -460,10 +461,10 @@ export default {
 
 .confirm-btn {
   flex: 1;
-  height: 44px;
-  line-height: 44px;
+  height: 36px;
+  line-height: 36px;
   text-align: center;
-  font-size: 14px;
+  font-size: 13px;
   background: transparent;
   border: none;