|  |  | 
 |  |  |         onShow() { | 
 |  |  |             this.baseUrl = uni.getStorageSync('baseUrl'); | 
 |  |  |             this.token = uni.getStorageSync('token'); | 
 |  |  |             this.showTag(1) | 
 |  |  |             this.showMat(1) | 
 |  |  |         }, | 
 |  |  |         methods: { | 
 |  |  |             search() { | 
 |  |  | 
 |  |  |                         that.matList = [] | 
 |  |  |                         var res = result.data | 
 |  |  |                         if (res.code === 200) { | 
 |  |  |                             if (res.data != null && res.data.length > 0) { | 
 |  |  |                                 that.tagList = res.data | 
 |  |  |                             if (res.records != null && res.records.length > 0) { | 
 |  |  |                                 that.tagList = res.data.records | 
 |  |  |                             } else { | 
 |  |  |                                 that.tagList = [] | 
 |  |  |                                 that.showMat(parentId) | 
 |  |  | 
 |  |  |                         that.tagList = null | 
 |  |  |                         var res = result.data | 
 |  |  |                         if (res.code === 200) { | 
 |  |  |                             if (res.data != null && res.data.length > 0) { | 
 |  |  |                                 let list = res.data | 
 |  |  |                             if (res.data.records != null && res.data.records.length > 0) { | 
 |  |  |                                 let list = res.data.records								 | 
 |  |  |                                 that.matList = that.reload ? list : that.matList.concat(list); | 
 |  |  |                                 that.curr = that.curr + 1 | 
 |  |  |                             } | 
 |  |  |                             if (res.data.length == 0) { | 
 |  |  |                             if (res.data.records.length == 0) { | 
 |  |  |                                 that.status = 'noMore' | 
 |  |  |                             } | 
 |  |  |                             that.baColor = "background-color: #1cbbb4;" |