From b7142f320c404bc28108c4dabb1876bc9c3ef934 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Mon, 24 Oct 2022 15:40:28 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E6=8E=92=E8=A1=8C?= =?UTF-8?q?=E6=A6=9C=E8=A6=81=E6=98=BE=E7=A4=BA=E4=B8=80=E8=87=B4=EF=BC=9A?= =?UTF-8?q?=E5=A6=82=E6=9E=9C=E4=B8=8D=E6=98=AF=E5=89=8D=E4=BA=94=20=20?= =?UTF-8?q?=E8=A6=81=E6=98=BE=E7=A4=BA=E5=89=8D=E4=BA=94=20=20=C2=B7=C2=B7?= =?UTF-8?q?=C2=B7=E6=88=91=E7=9A=84=E6=8E=92=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ucurrency/Index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/ucurrency/Index.vue b/src/views/ucurrency/Index.vue index f1a9c42d..c59e3c6c 100644 --- a/src/views/ucurrency/Index.vue +++ b/src/views/ucurrency/Index.vue @@ -328,7 +328,7 @@ aid: this.userInfo.aid, // #用户id statType: 20, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数 field: this.cycle, // #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计 - num: 4, // #显示的条数 + num: 5, // #显示的条数 } apiStat.getRanking(data).then(res => { if (res.status == 200) { From ae51e624eca5ca09ee0c0f75467549e892be18b3 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Mon, 24 Oct 2022 16:19:32 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=9B=9E=E7=AD=94=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5+=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/qa/Index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/portal/qa/Index.vue b/src/views/portal/qa/Index.vue index 64372a46..96a90ecf 100644 --- a/src/views/portal/qa/Index.vue +++ b/src/views/portal/qa/Index.vue @@ -254,7 +254,7 @@ export default { } else { this.loading = false; this.$message({ - message: res.message, + message: "回答发布失败:"+ res.message, type: 'error' }); } From 3f1488e93c87e8767fca58a69c2f90901a36cb2d Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Mon, 24 Oct 2022 16:52:58 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HomePage/followList.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/components/HomePage/followList.vue b/src/components/HomePage/followList.vue index 7caedea0..f6f5f53c 100644 --- a/src/components/HomePage/followList.vue +++ b/src/components/HomePage/followList.vue @@ -66,9 +66,9 @@

{{maPage.userFollow.authorInfo.sign}}

-
+
已关注 - 关注他 + 关注他
@@ -147,6 +147,16 @@ import apiUser from "@/api/system/user.js"; }) }, methods:{ + toFollow(item) { + apiFollow.save(item.userFollow.aid).then(res=>{ + if(res.status == 200) { + // this.$message.success("关注成功"); + this.getMyPage(); + } else { + this.$message.error(res.message); + } + }) + }, resetActive(){ this.active=1; this.follow={list:[],count:0,pageIndex:1,pageSize:10}, @@ -157,7 +167,8 @@ import apiUser from "@/api/system/user.js"; let $this=this; apiFollow.remove(item.followId).then(res=>{ if(res.status == 200) { - $this.follow.list.splice(idx,1); + this.getPage(); + // $this.follow.list.splice(idx,1); } }) },//展示全部