定位遮挡

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, current: 1,
topic: '', topic: '',
topicType: '', topicType: '',
data: {}, data: [],
list:[] list:[]
} }
}, },
@@ -72,12 +72,26 @@ export default {
this.getList() this.getList()
}, },
confirmTypeSelect(e) {
this.topic = e[0].value,
this.topicType = e[0].label
this.current = 1,
this.data = [],
this.getList()
},
getList() { getList() {
var villagerCircleInfo = {
topic: this.topic,
}
this.$http.post('/app/appvillagercirclecomment/list?current=1&size=10',null,{ this.$http.post('/app/appvillagercirclecomment/list?current=1&size=10',null,{
params: { params: {
current: 1, current: 1,
size: 10, 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=>{ }).then(res=>{
if(res?.data) { 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) { toDetail(item) {
uni.navigateTo({url: `./commentDetail?id=${item.id}`}) uni.navigateTo({url: `./commentDetail?id=${item.id}`})
} }

View File

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