定位遮挡

This commit is contained in:
shijingjing
2022-02-23 11:19:16 +08:00
parent 93694f9f47
commit 9eaf78aae2
2 changed files with 17 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ export default {
current: 1,
topic: '',
topicType: '',
data: {},
data: [],
list:[]
}
},
@@ -71,13 +71,27 @@ export default {
this.data = [],
this.getList()
},
confirmTypeSelect(e) {
this.topic = e[0].value,
this.topicType = e[0].label
this.current = 1,
this.data = [],
this.getList()
},
getList() {
var villagerCircleInfo = {
topic: this.topic,
}
this.$http.post('/app/appvillagercirclecomment/list?current=1&size=10',null,{
params: {
current: 1,
size: 10,
auditType: this.tabIndex==0? '': this.tabIndex==1? 0 : 1
villagerCircleInfo: villagerCircleInfo,
content: this.content,
auditType: this.tabIndex==0? '': this.tabIndex==1? 0 : 1,
}
}).then(res=>{
if(res?.data) {
@@ -86,14 +100,6 @@ export default {
})
},
confirmTypeSelect(e) {
this.topic = e[0].value,
this.topicType = e[0].label
this.current = 1,
this.villagerList = [],
this.getList()
},
toDetail(item) {
uni.navigateTo({url: `./commentDetail?id=${item.id}`})
}

View File

@@ -61,7 +61,7 @@
</div>
</div>
<div style="height: 70px;"></div>
<div style="height: 100px;"></div>
<div class="btn" v-if="data.status == 0">
<div class="reject" @click="toReject">驳回发布</div>