From 760c0df3854a6d90d71bc44f7a727c6c2caaa2eb Mon Sep 17 00:00:00 2001
From: XiaoMo <a1300399510@qq.com>
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 }}</span>
 			</div>
 			<div class="allSections-right">
-				<div class="allSections-right-item" @click="pitchPlate(i.fid)" v-for="(i, k) in list[allActive].data"
-					:key="k">
+				<div class="allSections-right-item" @click="pitchPlate(i.fid, i.name)"
+					v-for="(i, k) in list[allActive].data" :key="k">
 					<div class="item-content">
 						<div class="item-title">{{ i.name }}</div>
 						<div v-if="i.description" class="item-text" v-html="i.description.replace(/<[^>]+>/g, '')"></div>
@@ -23,7 +23,7 @@
 
 		</div>
 		<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">
 				<index-list :list="invitationList"></index-list>
 			</div>
@@ -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()
 		},