a1300399510@qq.com 提交于 2023/04/06 -18:20:02

This commit is contained in:
XiaoMo 2023-04-06 18:20:11 +08:00
parent 7c79f44ace
commit 0a7d45e2e5
2 changed files with 9 additions and 7 deletions

View File

@ -23,7 +23,10 @@
</div>
<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">
<index-list :list="invitationList"></index-list>
</div>
@ -47,7 +50,6 @@ export default {
allActive: 0,
list: [{}],
postCollectionState: false, //
fid: 0, // id
invitationList: [], //
invitationLimit: 10,
@ -63,6 +65,10 @@ export default {
},
methods: {
backAll() {
this.fid = 0
},
allClick(index) {
this.allActive = index
},
@ -110,13 +116,9 @@ export default {
});
},
//
pitchPlate(fid, subsectionsname) {
console.log(fid);
this.fid = fid
console.log(subsectionsname, "subsectionsname");
this.plate = {
stairname: this.list[this.allActive].name,
subsectionsname,
@ -132,7 +134,6 @@ export default {
limit: this.invitationLimit,
fid: this.fid
}).then(res => {
console.log(res, "res");
let data = res.data
this.invitationList = data.data
this.invitationCount = data.count

View File

@ -39,6 +39,7 @@ export default {
let data = res.data
this.favorite = data.favorite
this.recommend = data.recommend
})
},
}