|
@@ -1,6 +1,8 @@
|
|
|
const getHeight = require("../../utils/getRheRemainingHeight");
|
|
|
const _Http = getApp().globalData.http;
|
|
|
const MFT = require("../../utils/matchingFeilType");
|
|
|
+let dowmCount = null;
|
|
|
+
|
|
|
Page({
|
|
|
|
|
|
/**
|
|
@@ -91,10 +93,13 @@ Page({
|
|
|
searchInput({
|
|
|
detail
|
|
|
}) {
|
|
|
+ clearTimeout(dowmCount);
|
|
|
this.setData({
|
|
|
['content.where.condition']: detail.trim()
|
|
|
})
|
|
|
- this.getList(true)
|
|
|
+ dowmCount = setTimeout(() => {
|
|
|
+ this.getList(true)
|
|
|
+ }, 500);
|
|
|
},
|
|
|
/* 开关切换 */
|
|
|
changeSwitch({
|