村民圈

This commit is contained in:
shijingjing
2022-02-17 21:10:48 +08:00
parent 3417ac5786
commit 7c295176fa
3 changed files with 23 additions and 16 deletions

View File

@@ -6,7 +6,7 @@
</div>
<!-- 全部 -->
<div v-if="tabIndex == 0">
<div>
<div class="search-box" v-if="tabIndex==0">
<div class="integral-types" @click="showType = true">{{ topicType? topicType:'话题类型' }}<u-icon name="arrow-down"></u-icon></div>
<u-search placeholder="请输入关键字" v-model="content" :show-action="false" @search="getList()" @clear="getList()"></u-search>
@@ -58,13 +58,16 @@ export default {
methods: {
tabClick(index) {
this.tabIndex = index
this.current = 1,
this.villagerList = [],
this.getList()
},
getList() {
this.$http.post('app/appvillagercircleinfo/list',null,{
params: {
current: 1,
size: 10,
status: this.tabIndex==0? '':this.tabIndex==1?'0': this.tabIndex==2?'1|2':'',
auditType: this.tabIndex == 0 ? '': this.tabIndex == 1 ? 0 : 1,
topic: this.topic,
content: this.content
}