a1300399510@qq.com 提交于 2023/04/06 -18:20:02
This commit is contained in:
parent
7c79f44ace
commit
0a7d45e2e5
@ -23,7 +23,10 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div v-else style="margin:.64rem 0;">
|
<div v-else style="margin:.64rem 0;">
|
||||||
<plate-navigation :stairname="plate.stairname" :subsectionsname="plate.subsectionsname"></plate-navigation>
|
<div @click.stop="backAll()">
|
||||||
|
<plate-navigation :stairname="plate.stairname" :subsectionsname="plate.subsectionsname"></plate-navigation>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div style="margin:.4rem 0.35rem">
|
<div style="margin:.4rem 0.35rem">
|
||||||
<index-list :list="invitationList"></index-list>
|
<index-list :list="invitationList"></index-list>
|
||||||
</div>
|
</div>
|
||||||
@ -47,7 +50,6 @@ export default {
|
|||||||
allActive: 0,
|
allActive: 0,
|
||||||
list: [{}],
|
list: [{}],
|
||||||
postCollectionState: false, // 收藏的请求的状态
|
postCollectionState: false, // 收藏的请求的状态
|
||||||
|
|
||||||
fid: 0, // 是否有选中的板块id
|
fid: 0, // 是否有选中的板块id
|
||||||
invitationList: [], // 选中板块帖子的列表
|
invitationList: [], // 选中板块帖子的列表
|
||||||
invitationLimit: 10,
|
invitationLimit: 10,
|
||||||
@ -63,6 +65,10 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
backAll() {
|
||||||
|
this.fid = 0
|
||||||
|
},
|
||||||
|
|
||||||
allClick(index) {
|
allClick(index) {
|
||||||
this.allActive = index
|
this.allActive = index
|
||||||
},
|
},
|
||||||
@ -110,13 +116,9 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
// 点击选中板块 并获取列表
|
// 点击选中板块 并获取列表
|
||||||
pitchPlate(fid, subsectionsname) {
|
pitchPlate(fid, subsectionsname) {
|
||||||
console.log(fid);
|
|
||||||
|
|
||||||
this.fid = fid
|
this.fid = fid
|
||||||
console.log(subsectionsname, "subsectionsname");
|
|
||||||
this.plate = {
|
this.plate = {
|
||||||
stairname: this.list[this.allActive].name,
|
stairname: this.list[this.allActive].name,
|
||||||
subsectionsname,
|
subsectionsname,
|
||||||
@ -132,7 +134,6 @@ export default {
|
|||||||
limit: this.invitationLimit,
|
limit: this.invitationLimit,
|
||||||
fid: this.fid
|
fid: this.fid
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res, "res");
|
|
||||||
let data = res.data
|
let data = res.data
|
||||||
this.invitationList = data.data
|
this.invitationList = data.data
|
||||||
this.invitationCount = data.count
|
this.invitationCount = data.count
|
||||||
|
@ -39,6 +39,7 @@ export default {
|
|||||||
let data = res.data
|
let data = res.data
|
||||||
this.favorite = data.favorite
|
this.favorite = data.favorite
|
||||||
this.recommend = data.recommend
|
this.recommend = data.recommend
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user