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>
<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

View File

@ -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
}) })
}, },
} }