diff --git a/pagesInn/inn/innHome.vue b/pagesInn/inn/innHome.vue index 487edd8..e2a988e 100644 --- a/pagesInn/inn/innHome.vue +++ b/pagesInn/inn/innHome.vue @@ -260,21 +260,21 @@ - + {{ item.zan }} { const { success } = res if (success) { this.$dialog.toast({ mes: '操作成功!' }) - this.$set(this.infoArray[index], 'zanVo', value) - // this.fetchInnInfoList() + this.$set(this.infoArray[index], 'zan', value) + this.$set(this.infoArray[index], 'zanVo', voValue) } }) } @@ -1388,13 +1388,18 @@ export default { margin: 0 8rpx 0 0; } .zan-off-icon { - width: 138rpx; + width: 40rpx; height: 40rpx; } .zan-on-icon { - width: 80rpx; + width: 40rpx; height: 40rpx; } + .seeNum-txt { + &.on { + color: #D81E06; + } + } .more-btn { position: relative; .more-wrapper {