From 760c0df3854a6d90d71bc44f7a727c6c2caaa2eb Mon Sep 17 00:00:00 2001 From: XiaoMo Date: Thu, 6 Apr 2023 10:40:10 +0800 Subject: [PATCH] =?UTF-8?q?a1300399510@qq.com=20=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E4=BA=8E=202023/04/06=20-10:40:01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 5 +++++ src/views/detail/detailIndex.vue | 6 ++++-- src/views/index/allSections/AllSections.vue | 24 +++++++++++++++------ 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/src/App.vue b/src/App.vue index 4534b35..6c0479c 100755 --- a/src/App.vue +++ b/src/App.vue @@ -30,6 +30,11 @@ export default { overflow: hidden; } +a { + -webkit-tap-highlight-color: rgba(255, 255, 255, 0); + text-decoration: none; +} + .container { // padding: 0 0.35rem; background-color: rgba(246, 246, 246, 1); diff --git a/src/views/detail/detailIndex.vue b/src/views/detail/detailIndex.vue index e88397a..a6487e6 100755 --- a/src/views/detail/detailIndex.vue +++ b/src/views/detail/detailIndex.vue @@ -385,8 +385,10 @@ export default { // 获取offer详情 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 => { let data = res.data let offerinfo = data.offerinfo diff --git a/src/views/index/allSections/AllSections.vue b/src/views/index/allSections/AllSections.vue index c7f715b..e905174 100755 --- a/src/views/index/allSections/AllSections.vue +++ b/src/views/index/allSections/AllSections.vue @@ -6,8 +6,8 @@ @click="allClick(index)">{{ item.name }}
-
+
{{ i.name }}
@@ -23,7 +23,7 @@
- +
@@ -53,6 +53,12 @@ export default { invitationLimit: 10, invitationPage: 1, // invitationCount: 1, // + plate: { + stairname: "",// 一级版块名称 + subsectionsname: "",// 子版块名称 + }, + + } }, @@ -99,8 +105,6 @@ export default { this.$http.post("/api/home/allForum").then((res) => { if (res.code != 200) return; this.list = res.data - console.log("res.data", res.data); - }).catch(err => { this.$message.error(err.message) }); @@ -108,8 +112,16 @@ export default { // 点击选中板块 并获取列表 - pitchPlate(fid) { + pitchPlate(fid, subsectionsname) { + console.log(fid); + this.fid = fid + console.log(subsectionsname, "subsectionsname"); + this.plate = { + stairname: this.list[this.allActive].name, + subsectionsname, + } + this.getInvitationList() },