소스 검색

修改优化问题

shenjj 7 년 전
부모
커밋
cb96de89e5
3개의 변경된 파일9개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      pages/mobile/applyPurchase/list/businessOpportunity.vue
  2. 1 1
      pages/mobile/applyPurchase/list/index.vue
  3. 7 0
      pages/mobile/center/index.vue

+ 1 - 1
pages/mobile/applyPurchase/list/businessOpportunity.vue

@@ -112,7 +112,7 @@
       searchSeek: function () {
         this.page = 1
         this.isChange = true
-        this.blur()
+        this.$refs.searchSeekInput.blur()
         this.reloadData()
       }
     }

+ 1 - 1
pages/mobile/applyPurchase/list/index.vue

@@ -107,7 +107,7 @@
       searchSeek: function () {
         this.page = 1
         this.isChange = true
-        this.blur()
+        this.$refs.searchSeekInput.blur()
         this.reloadData()
       }
     }

+ 7 - 0
pages/mobile/center/index.vue

@@ -554,6 +554,13 @@
           this.seekPage = 1
         }
         this.reloadData()
+        if (this.$refs.searchSeekInput instanceof Array) {
+          for (let i = 0; i < this.$refs.searchSeekInput.length; i++) {
+            this.$refs.searchSeekInput[i].blur()
+          }
+        } else {
+          this.$refs.searchSeekInput.blur()
+        }
       },
       reloadData: function () {
         let type = this.seekType