ct
This commit is contained in:
		@@ -1,11 +1,11 @@
 | 
				
			|||||||
<template>
 | 
					<template>
 | 
				
			||||||
  <div class="AppResidentDocument">
 | 
					  <div class="AppResidentDocument">
 | 
				
			||||||
    <u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6" inactive-color="#fff" active-color="#fff" @change="change"></u-tabs>
 | 
					    <AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="seachObj"></AiAreaPicker>
 | 
				
			||||||
 | 
					 | 
				
			||||||
    <AiAreaPicker v-model="areaId"  :areaId="user.areaId" @select="current=1,getList"></AiAreaPicker>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div class="line"></div>
 | 
					    <div class="line"></div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" @change="change"></u-tabs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div class="seachObj">
 | 
					    <div class="seachObj">
 | 
				
			||||||
      <u-search v-model="keyword" :clearabled="true" placeholder="姓名/联系方式/身份证后6位" :show-action="false" bg-color="#F5F5F5" search-icon-color="#E2E8F1" color="#666" height="58" @search="handerSearch" @clear="handerClear"></u-search>
 | 
					      <u-search v-model="keyword" :clearabled="true" placeholder="姓名/联系方式/身份证后6位" :show-action="false" bg-color="#F5F5F5" search-icon-color="#E2E8F1" color="#666" height="58" @search="handerSearch" @clear="handerClear"></u-search>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
@@ -72,7 +72,7 @@ export default {
 | 
				
			|||||||
        },
 | 
					        },
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      currentTabs: 0,
 | 
					      currentTabs: 0,
 | 
				
			||||||
      areaId: ''
 | 
					      areaId: '',
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  computed: {
 | 
					  computed: {
 | 
				
			||||||
@@ -92,6 +92,7 @@ export default {
 | 
				
			|||||||
            size: this.size,
 | 
					            size: this.size,
 | 
				
			||||||
            current: this.current,
 | 
					            current: this.current,
 | 
				
			||||||
            con: this.keyword,
 | 
					            con: this.keyword,
 | 
				
			||||||
 | 
					            areaId: this.areaId,
 | 
				
			||||||
            residentType: this.currentTabs == 0 ? '0' : '1',
 | 
					            residentType: this.currentTabs == 0 ? '0' : '1',
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
@@ -112,6 +113,12 @@ export default {
 | 
				
			|||||||
    toDetailCard(item) {
 | 
					    toDetailCard(item) {
 | 
				
			||||||
      uni.navigateTo({ url: `./DetailCard?id=${item.id}` })
 | 
					      uni.navigateTo({ url: `./DetailCard?id=${item.id}` })
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    seachObj(e) {
 | 
				
			||||||
 | 
					      this.areaId = e.id
 | 
				
			||||||
 | 
					      this.current = 1
 | 
				
			||||||
 | 
					      this.getList()
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  onReachBottom() {
 | 
					  onReachBottom() {
 | 
				
			||||||
    this.current = this.current + 1
 | 
					    this.current = this.current + 1
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user