a1300399510@qq.com 提交于 2023/04/06 -10:40:01
This commit is contained in:
parent
4e0504cadc
commit
760c0df385
@ -30,6 +30,11 @@ export default {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
// padding: 0 0.35rem;
|
// padding: 0 0.35rem;
|
||||||
background-color: rgba(246, 246, 246, 1);
|
background-color: rgba(246, 246, 246, 1);
|
||||||
|
@ -385,8 +385,10 @@ export default {
|
|||||||
|
|
||||||
// 获取offer详情
|
// 获取offer详情
|
||||||
getOfferDetail() {
|
getOfferDetail() {
|
||||||
this.$http.get("/api/forum/detail", {
|
|
||||||
id: this.token
|
// https://offer.gter.net/api/forum/threadlist
|
||||||
|
this.$http.get("/api/forum/threadlist", {
|
||||||
|
token: this.token
|
||||||
}, 'offer').then(res => {
|
}, 'offer').then(res => {
|
||||||
let data = res.data
|
let data = res.data
|
||||||
let offerinfo = data.offerinfo
|
let offerinfo = data.offerinfo
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
@click="allClick(index)">{{ item.name }}</span>
|
@click="allClick(index)">{{ item.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="allSections-right">
|
<div class="allSections-right">
|
||||||
<div class="allSections-right-item" @click="pitchPlate(i.fid)" v-for="(i, k) in list[allActive].data"
|
<div class="allSections-right-item" @click="pitchPlate(i.fid, i.name)"
|
||||||
:key="k">
|
v-for="(i, k) in list[allActive].data" :key="k">
|
||||||
<div class="item-content">
|
<div class="item-content">
|
||||||
<div class="item-title">{{ i.name }}</div>
|
<div class="item-title">{{ i.name }}</div>
|
||||||
<div v-if="i.description" class="item-text" v-html="i.description.replace(/<[^>]+>/g, '')"></div>
|
<div v-if="i.description" class="item-text" v-html="i.description.replace(/<[^>]+>/g, '')"></div>
|
||||||
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div v-else style="margin:.64rem 0;">
|
<div v-else style="margin:.64rem 0;">
|
||||||
<plate-navigation stairname="寄托学术类备" subsectionsname="SAT、AP考试、海外本科申…"></plate-navigation>
|
<plate-navigation :stairname="plate.stairname" :subsectionsname="plate.subsectionsname"></plate-navigation>
|
||||||
<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>
|
||||||
@ -53,6 +53,12 @@ export default {
|
|||||||
invitationLimit: 10,
|
invitationLimit: 10,
|
||||||
invitationPage: 1, //
|
invitationPage: 1, //
|
||||||
invitationCount: 1, //
|
invitationCount: 1, //
|
||||||
|
plate: {
|
||||||
|
stairname: "",// 一级版块名称
|
||||||
|
subsectionsname: "",// 子版块名称
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -99,8 +105,6 @@ export default {
|
|||||||
this.$http.post("/api/home/allForum").then((res) => {
|
this.$http.post("/api/home/allForum").then((res) => {
|
||||||
if (res.code != 200) return;
|
if (res.code != 200) return;
|
||||||
this.list = res.data
|
this.list = res.data
|
||||||
console.log("res.data", res.data);
|
|
||||||
|
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$message.error(err.message)
|
this.$message.error(err.message)
|
||||||
});
|
});
|
||||||
@ -108,8 +112,16 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
// 点击选中板块 并获取列表
|
// 点击选中板块 并获取列表
|
||||||
pitchPlate(fid) {
|
pitchPlate(fid, subsectionsname) {
|
||||||
|
console.log(fid);
|
||||||
|
|
||||||
this.fid = fid
|
this.fid = fid
|
||||||
|
console.log(subsectionsname, "subsectionsname");
|
||||||
|
this.plate = {
|
||||||
|
stairname: this.list[this.allActive].name,
|
||||||
|
subsectionsname,
|
||||||
|
}
|
||||||
|
|
||||||
this.getInvitationList()
|
this.getInvitationList()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user