shish преди 11 месеца
родител
ревизия
92688e995c
променени са 2 файла, в които са добавени 89 реда и са изтрити 89 реда
  1. 43 43
      hdPad/src/pages/home/components/birthdayEdit.vue
  2. 46 46
      hdPad/src/pages/home/components/recharge.vue

+ 43 - 43
hdPad/src/pages/home/components/birthdayEdit.vue

@@ -45,7 +45,7 @@
                         enhanced="true"
                         show-scrollbar="false"
                         always-bounce-vertical="true"
-                        :style="{ height: '200px' }"
+                        :style="{ height: '200upx' }"
                     >
                         <div class="date-buttons">
                             <button 
@@ -141,33 +141,33 @@ export default {
     background-color: #fff;
     width: 100%;
     height: 100%;
-    padding: 10px;
+    padding: 10upx;
     box-sizing: border-box;
     overflow-x: hidden;
     overflow-y: auto;
 }
 
 .birthday-section {
-    margin-bottom: 15px;
+    margin-bottom: 15upx;
 }
 
 .section-title {
-    font-size:15px;
+    font-size: 15upx;
     font-weight: bold;
-    margin-bottom: 6px;
+    margin-bottom: 6upx;
     color: #333;
 }
 
 .type-buttons {
     display: flex;
-    gap: 8px;
+    gap: 8upx;
     justify-content: space-around;
     .birthday-type-btn {
-        min-width: 50px;
-        height: 30px;
-        font-size: 12px;
-        border-radius: 4px;
-        border: 1px solid #dddddd;
+        min-width: 50upx;
+        height: 30upx;
+        font-size: 12upx;
+        border-radius: 4upx;
+        border: 1upx solid #dddddd;
         background-color: #F5F5F5;
         color: #333;
         display: flex;
@@ -190,19 +190,19 @@ export default {
 .month-buttons {
     display: flex;
     flex-wrap: wrap;
-    gap: 3px;
+    gap: 3upx;
 }
 
 .month-button {
-    width: 30px;
-    height: 30px;
+    width: 30upx;
+    height: 30upx;
     border-radius: 50%;
-    border: 1px solid #ddd;
+    border: 1upx solid #ddd;
     background-color: #fff;
     display: flex;
     align-items: center;
     justify-content: center;
-    font-size: 12px;
+    font-size: 12upx;
     transition: all 0.2s;
     
     &.active {
@@ -210,7 +210,7 @@ export default {
         color: white;
         border-color: #0076FF;
         transform: scale(1.1);
-        box-shadow: 0 2px 4px rgba(0, 118, 255, 0.2);
+        box-shadow: 0 2upx 4upx rgba(0, 118, 255, 0.2);
     }
     
     &:active {
@@ -223,11 +223,11 @@ export default {
 }
 
 .date-buttons-wrapper {
-    height: 120px;
+    height: 120upx;
     position: relative;
     overflow: hidden;
-    border: 1px solid #e0e0e0;
-    border-radius: 6px;
+    border: 1upx solid #e0e0e0;
+    border-radius: 6upx;
     background-color: #f8f9fa;
 }
 
@@ -235,7 +235,7 @@ export default {
     height: 100%;
     width: 100%;
     overflow: auto;
-    padding: 5px 0;
+    padding: 5upx 0;
     -webkit-overflow-scrolling: touch; /* 平滑滚动 */
 }
 
@@ -244,7 +244,7 @@ export default {
     position: absolute;
     left: 0;
     right: 0;
-    height: 20px;
+    height: 20upx;
     pointer-events: none;
     z-index: 2;
 }
@@ -262,11 +262,11 @@ export default {
 /* 右侧滚动条指示 */
 .scroll-bar-indicator {
     position: absolute;
-    top: 10px;
-    bottom: 10px;
-    right: 2px;
-    width: 3px;
-    border-radius: 3px;
+    top: 10upx;
+    bottom: 10upx;
+    right: 2upx;
+    width: 3upx;
+    border-radius: 3upx;
     background-color: rgba(0, 118, 255, 0.2);
     pointer-events: none;
 }
@@ -275,22 +275,22 @@ export default {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
-    padding: 5px;
+    padding: 5upx;
     /* 确保内容足够高,显示滚动效果 */
-    min-height: 140px;
+    min-height: 140upx;
 }
 
 .date-button {
-    width: 30px;
-    height: 30px;
+    width: 30upx;
+    height: 30upx;
     border-radius: 50%;
-    border: 1px solid #ddd;
+    border: 1upx solid #ddd;
     background-color: #fff;
     display: flex;
     align-items: center;
     justify-content: center;
-    font-size: 12px;
-    margin: 2px;
+    font-size: 12upx;
+    margin: 2upx;
     transition: all 0.2s;
     
     &.active {
@@ -298,7 +298,7 @@ export default {
         color: white;
         border-color: #0076FF;
         transform: scale(1.1);
-        box-shadow: 0 2px 4px rgba(0, 118, 255, 0.2);
+        box-shadow: 0 2upx 4upx rgba(0, 118, 255, 0.2);
     }
     
     &:active {
@@ -309,19 +309,19 @@ export default {
 .birthday-actions {
     display: flex;
     justify-content: space-around;
-    gap: 8px;
-    margin-top: 10px;
+    gap: 8upx;
+    margin-top: 10upx;
     
     .birthday-action-btn {
-        min-width: 60px;
-        height: 28px;
-        font-size: 12px;
-        border-radius: 4px;
+        min-width: 60upx;
+        height: 28upx;
+        font-size: 12upx;
+        border-radius: 4upx;
         text-align: center;
         line-height: 1;
-        padding: 8px;
+        padding: 8upx;
         margin: 0;
-        border: 1px solid;
+        border: 1upx solid;
         
         &.save-btn {
             background-color: #0076FF;

+ 46 - 46
hdPad/src/pages/home/components/recharge.vue

@@ -245,26 +245,26 @@ export default {
 
 .recharge-scroll {
   flex: 1;
-  height: calc(100% - 46px);
+  height: calc(100% - 46upx);
   width: 100%;
 }
 
 .recharge-container {
   background: #fff;
-  border-radius: 4px;
+  border-radius: 4upx;
   width: 100%;
-  padding: 10px;
+  padding: 10upx;
   box-sizing: border-box;
 }
 
 .input-section {
-  margin-bottom: 10px;
+  margin-bottom: 10upx;
 }
 
 .input-label {
-  font-size: 13px;
+  font-size: 13upx;
   color: #333;
-  margin-bottom: 4px;
+  margin-bottom: 4upx;
   font-weight: 500;
 }
 
@@ -274,11 +274,11 @@ export default {
 
 .amount-input, .remark-input {
   width: 100%;
-  height: 32px;
-  padding: 0 8px;
-  border: 1px solid #e9ecef;
-  border-radius: 4px;
-  font-size: 13px;
+  height: 32upx;
+  padding: 0 8upx;
+  border: 1upx solid #e9ecef;
+  border-radius: 4upx;
+  font-size: 13upx;
   text-align: center;
   background: #fff;
   box-sizing: border-box;
@@ -292,34 +292,34 @@ export default {
 .payment-buttons {
   display: flex;
   flex-wrap: wrap;
-  gap: 6px;
+  gap: 6upx;
   
   button {
     flex: 1;
-    min-width: 60px;
+    min-width: 60upx;
   }
 }
 
 .recharge-options {
-  margin-top: 8px;
+  margin-top: 8upx;
 }
 
 .options-title {
-  font-size: 12px;
+  font-size: 12upx;
   color: #666;
-  margin-bottom: 6px;
+  margin-bottom: 6upx;
 }
 
 .option-item {
-  margin-bottom: 8px;
+  margin-bottom: 8upx;
 }
 
 .recharge-option-btn {
   width: 100%;
-  padding: 6px 8px;
+  padding: 6upx 8upx;
   background: #f8f9fa;
-  border: 1px solid #e9ecef;
-  border-radius: 4px;
+  border: 1upx solid #e9ecef;
+  border-radius: 4upx;
   text-align: left;
   transition: all 0.3s;
 }
@@ -339,44 +339,44 @@ export default {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
-  gap: 5px;
+  gap: 5upx;
 }
 
 .recharge-amount {
   font-weight: 500;
-  font-size: 13px;
+  font-size: 13upx;
   color: #333;
 }
 
 .upgrade-info {
-  font-size: 12px;
+  font-size: 12upx;
   color: #666;
 }
 
 .discount-info, .give-info {
-  font-size: 12px;
+  font-size: 12upx;
   color: #ff6b35;
   font-weight: bold;
 }
 
 .option-right {
   color: #3385FF;
-  font-size: 12px;
+  font-size: 12upx;
   font-weight: bold;
 }
 
 .footer-buttons {
   display: flex;
-  padding: 5px;
+  padding: 5upx;
   background: #fff;
-  border-top: 1px solid #eee;
+  border-top: 1upx solid #eee;
   width: 100%;
   box-sizing: border-box;
-  gap: 10px;
+  gap: 10upx;
   
   button {
     flex: 1;
-    height: 36px;
+    height: 36upx;
     display: flex;
     align-items: center;
     justify-content: center;
@@ -388,14 +388,14 @@ export default {
   display: flex;
   align-items: center;
   justify-content: center;
-  border-radius: 4px;
-  font-size: 13px;
+  border-radius: 4upx;
+  font-size: 13upx;
   border: none;
-  padding: 0 12px;
+  padding: 0 12upx;
   
   &.middle {
-    height: 32px;
-    font-size: 13px;
+    height: 32upx;
+    font-size: 13upx;
   }
   
   &.blue {
@@ -439,40 +439,40 @@ export default {
 
 .confirm-dialog {
   position: absolute;
-  right: 10px;
-  bottom: 60px;
-  width: 240px;
+  right: 10upx;
+  bottom: 60upx;
+  width: 240upx;
   background-color: #fff;
-  border-radius: 8px;
+  border-radius: 8upx;
   overflow: hidden;
-  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
+  box-shadow: 0 2upx 10upx rgba(0, 0, 0, 0.2);
   pointer-events: auto;
 }
 
 .confirm-content {
-  padding: 15px;
+  padding: 15upx;
   text-align: left;
-  font-size: 14px;
+  font-size: 14upx;
   color: #333;
 }
 
 .confirm-buttons {
   display: flex;
-  border-top: 1px solid #eee;
+  border-top: 1upx solid #eee;
 }
 
 .confirm-btn {
   flex: 1;
-  height: 36px;
-  line-height: 36px;
+  height: 36upx;
+  line-height: 36upx;
   text-align: center;
-  font-size: 13px;
+  font-size: 13upx;
   background: transparent;
   border: none;
   
   &.cancel {
     color: #666;
-    border-right: 1px solid #eee;
+    border-right: 1upx solid #eee;
   }
   
   &.confirm {