From 67ee2495294abf6f930bd0f9c89fa65693e05439 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Fri, 4 Nov 2022 15:58:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/my/follow.vue | 10 ++++++++-- static/images/icon/follow-stop.png | Bin 0 -> 552 bytes 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 static/images/icon/follow-stop.png diff --git a/pages/my/follow.vue b/pages/my/follow.vue index f775415..070ffc2 100644 --- a/pages/my/follow.vue +++ b/pages/my/follow.vue @@ -45,6 +45,7 @@ + 停止关注 {{cancelData.userFollow.authorInfo.name}} @@ -132,9 +133,9 @@ if(this.cancelIdx == 1) { $this.followMe.list[this.cancelIndex].has = false; } else { - $this.follow.list.splice(this.cancelIdx,1); + $this.follow.list.splice(this.cancelIndex,1); } - this.$refs.messager.show({message:'停止关注成功',type:'success'}); + this.$refs.messager.show({message:'停止关注成功',type:'info'}); } }) }, @@ -235,6 +236,11 @@ line-height: 88upx; box-shadow: 0 4upx 14upx 2upx rgba(104,102,102,0.08); text-align: center; + overflow: hidden; + text-overflow: ellipsis; + -webkit-box-orient: vertical; + display: -webkit-box;-webkit-line-clamp: 1; + word-break:break-all; } .btn2{ margin-top: 22upx; diff --git a/static/images/icon/follow-stop.png b/static/images/icon/follow-stop.png new file mode 100644 index 0000000000000000000000000000000000000000..fda73c00876d21141e8e69e29f28b6cb1f00fd6e GIT binary patch literal 552 zcmV+@0@wYCP)Px$;z>k7R5(wKlD}(HQ546&-}|CSI+da(#i3&bso>(Tr6@RvL;nCp4CdYYg6R-9 zMR|fk9dzq^?(z${5WpU<~Coz7zb z3nXv*zVEu)h*5x50Q=K4ovl%+)dN zquFdu^m@G`p69KUN~LcDzzYELB+nRQo{s{AVYs_kEV}$8fPG4-TLZuc0Ehbh{#>