shish преди 11 месеца
родител
ревизия
9c79b3c0c7

+ 22 - 17
hdPad/src/pages/home/components/birthdayEdit.vue

@@ -141,10 +141,10 @@ export default {
     gap: 8upx;
     justify-content: space-around;
     .birthday-type-btn {
-        min-width: 50upx;
-        height: 30upx;
-        font-size: 12upx;
-        border-radius: 4upx;
+        min-width: 35upx;
+        height: 20upx;
+        font-size: 10upx;
+        border-radius: 3upx;
         border: 1upx solid #dddddd;
         background-color: #F5F5F5;
         color: #333;
@@ -152,6 +152,7 @@ export default {
         align-items: center;
         justify-content: center;
         margin: 0;
+        padding: 3upx;
         
         &.active {
             background-color: #0076FF;
@@ -168,20 +169,22 @@ export default {
 .month-buttons {
     display: flex;
     flex-wrap: wrap;
-    gap: 3upx;
+    gap: 5upx;
+    justify-content: center;
 }
 
 .month-button {
-    width: 30upx;
-    height: 30upx;
+    width: 20upx;
+    height: 20upx;
     border-radius: 50%;
     border: 1upx solid #ddd;
     background-color: #fff;
     display: flex;
     align-items: center;
     justify-content: center;
-    font-size: 12upx;
+    font-size: 10upx;
     transition: all 0.2s;
+    padding: 0;
     
     &.active {
         background-color: #0076FF;
@@ -201,21 +204,23 @@ export default {
 .date-buttons {
     display: flex;
     flex-wrap: wrap;
-    gap: 3upx;
+    gap: 5upx;
+    justify-content: center;
 }
 
 .date-button {
-    width: 30upx;
-    height: 30upx;
+    width: 20upx;
+    height: 20upx;
     border-radius: 50%;
     border: 1upx solid #ddd;
     background-color: #fff;
     display: flex;
     align-items: center;
     justify-content: center;
-    font-size: 12upx;
+    font-size: 10upx;
     margin: 2upx;
     transition: all 0.2s;
+    padding: 0;
     
     &.active {
         background-color: #0076FF;
@@ -237,13 +242,13 @@ export default {
     margin-top: 10upx;
     
     .birthday-action-btn {
-        min-width: 60upx;
-        height: 28upx;
-        font-size: 12upx;
-        border-radius: 4upx;
+        min-width: 40upx;
+        height: 20upx;
+        font-size: 10upx;
+        border-radius: 3upx;
         text-align: center;
         line-height: 1;
-        padding: 8upx;
+        padding: 5upx;
         margin: 0;
         border: 1upx solid;
         

+ 2 - 0
hdPad/src/pages/home/components/customInfo.vue

@@ -135,6 +135,7 @@ export default {
 	},
   methods:{
     changeBirthday() {
+      this.$util.hitVoice()
       this.$emit('changeBirthday',this.customInfo)
     },
     getCustomDetail(id){
@@ -151,6 +152,7 @@ export default {
 
     },
     goBalance(){
+      this.$util.hitVoice()
       this.$emit('goBalance')
     },
     goRecharge(){

+ 2 - 1
hdPad/src/pages/home/components/customList.vue

@@ -137,6 +137,7 @@ export default {
             this.getCustomData()
         },
         appendNumber(num) {
+            this.$util.hitVoice()
             this.searchKeyword += num.toString()
             // 清除之前的定时器
             if (this.searchTimer) {
@@ -145,7 +146,7 @@ export default {
             // 设置新的定时器
             this.searchTimer = setTimeout(() => {
                 this.handleSearch()
-            }, 900)
+            }, 700)
         },
         reachBottom() {
             if (!this.list.finished) {

+ 3 - 0
hdPad/src/pages/home/components/recharge.vue

@@ -170,15 +170,18 @@ export default {
       })
     },
     getRecharge(amount) {
+      this.$util.hitVoice()
       this.rForm.rechargeAmount = amount
     },
     onRechargeInputBlur() {
       this.rechargeInputFocus = false
     },
     cancelRecharge() {
+      this.$util.hitVoice()
       this.$emit('cancel')
     },
     confirmRecharge() {
+      this.$util.hitVoice()
       if (this.$util.isEmpty(this.rForm.rechargeAmount)) {
         this.$msg('请填写充值金额')
         return false

+ 4 - 0
hdPad/src/pages/home/custom.vue

@@ -87,9 +87,11 @@ export default {
             this.$refs.customInforRef.getCustomDetail(this.selectCustomId)
         },
         goRecharge() {
+            this.$util.hitVoice()
             this.showIndex = 3
         },
         handleReduceBalance() {
+            this.$util.hitVoice()
             if (!this.selectCustomId) {
                 uni.showToast({
                     title: '请先选择客户',
@@ -99,6 +101,7 @@ export default {
             }
         },
         handleUpgradeDowngrade() {
+            this.$util.hitVoice()
             if (!this.selectCustomId) {
                 uni.showToast({
                     title: '请先选择客户',
@@ -108,6 +111,7 @@ export default {
             }
         },
         handleCreateOrder() {
+            this.$util.hitVoice()
             if (!this.selectCustomId) {
                 uni.showToast({
                     title: '请先选择客户',