فهرست منبع

工商查询优化

xiaohaizhao 2 سال پیش
والد
کامیت
cfb95225e4
2فایلهای تغییر یافته به همراه7 افزوده شده و 4 حذف شده
  1. 6 2
      packageA/setclient/modules/information/index.js
  2. 1 2
      packageA/setclient/modules/information/index.wxml

+ 6 - 2
packageA/setclient/modules/information/index.js

@@ -1,7 +1,8 @@
 let _Http = getApp().globalData.http;
 Component({
     properties: {
-        callback: Function
+        callback: Function,
+        queryClient: Function
     },
     data: {
         queryShow: false,
@@ -23,7 +24,7 @@ Component({
                             queryList: null
                         })
                         that.triggerEvent("callback", item)
-                        
+
                     }
                 }
             })
@@ -50,6 +51,9 @@ Component({
                 })
             })
         },
+        openQuery() {
+            this.triggerEvent("queryClient")
+        },
         onClose() {
             this.setData({
                 queryShow: false

+ 1 - 2
packageA/setclient/modules/information/index.wxml

@@ -1,5 +1,4 @@
-<view class="info">工</view>
-
+<view class="info" catchtap="openQuery">工</view>
 
 <!-- 工商查询 -->
 <van-popup show="{{ queryShow }}" custom-class='popup' round position="bottom" custom-style="height: 100%;" bind:close="onClose">