This commit is contained in:
zhaofang
2022-11-04 15:58:25 +08:00
parent d0be281c0a
commit 67ee249529
2 changed files with 8 additions and 2 deletions

View File

@@ -45,6 +45,7 @@
<u-popup :show="show"> <u-popup :show="show">
<view class="cancel-pop"> <view class="cancel-pop">
<view class="btn" @click="cancel()"> <view class="btn" @click="cancel()">
<image style="width:32upx;height:32upx;vertical-align: middle;margin-right: 20upx;" src="../../static/images/icon/follow-stop.png" mode=""></image>
停止关注 {{cancelData.userFollow.authorInfo.name}} 停止关注 {{cancelData.userFollow.authorInfo.name}}
</view> </view>
<view class="btn btn2" @click="show = false"> <view class="btn btn2" @click="show = false">
@@ -132,9 +133,9 @@
if(this.cancelIdx == 1) { if(this.cancelIdx == 1) {
$this.followMe.list[this.cancelIndex].has = false; $this.followMe.list[this.cancelIndex].has = false;
} else { } 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; line-height: 88upx;
box-shadow: 0 4upx 14upx 2upx rgba(104,102,102,0.08); box-shadow: 0 4upx 14upx 2upx rgba(104,102,102,0.08);
text-align: center; text-align: center;
overflow: hidden;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
display: -webkit-box;-webkit-line-clamp: 1;
word-break:break-all;
} }
.btn2{ .btn2{
margin-top: 22upx; margin-top: 22upx;

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B