This commit is contained in:
zhaofang
2022-11-25 16:04:54 +08:00
parent d08d8da4c6
commit 33d0a5e814
3 changed files with 87 additions and 16 deletions

View File

@@ -121,14 +121,14 @@
<view style="font-size: 12px;color: #999999;line-height: 50upx;" @click="openReply(ele,an)">
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-comment.png" size="24"></image>回复
</view>
<view v-if="!ele.isPraise" style="font-size: 12px;color: #999999;line-height: 50upx;margin-left: 40upx;" @click="addPraise(anidx)">
<!-- <view v-if="!ele.isPraise" style="font-size: 12px;color: #999999;line-height: 50upx;margin-left: 40upx;" @click="addPraise(anidx)">
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-praise.png" size="24"></image>
<text> {{ele.praises}}</text>
</view>
<view v-if="ele.isPraise" style="font-size: 12px;color: #999999;line-height: 50upx;margin-left: 40upx;" @click="removePraise(anidx)">
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-praise-active.png" size="24"></image>
<text style="color: #387DF7;"> {{ele.praises}}</text>
</view>
</view> -->
</view>
</view>
<view v-if="ele.answers && ele.answers.length!=0" class="comment-replys">
@@ -150,14 +150,14 @@
<view class="comment-time">
<time-show :time="row.sysCreateTime"></time-show>
</view>
<view v-if="!row.isPraise" style="font-size: 12px;color: #999999;line-height: 50upx;margin-left: 40upx;" @click="addPraise(anidx)">
<!-- <view v-if="!row.isPraise" style="font-size: 12px;color: #999999;line-height: 50upx;margin-left: 40upx;" @click="addPraise(anidx)">
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-praise.png" size="24"></image>
<text> {{row.praises}}</text>
</view>
<view v-if="row.isPraise" style="font-size: 12px;color: #999999;line-height: 50upx;margin-left: 40upx;" @click="removePraise(anidx)">
<image style="width: 32upx;height: 32upx;vertical-align: middle;margin-right: 10upx;" src="../../static/images/icon/bar-praise-active.png" size="24"></image>
<text style="color: #387DF7;"> {{row.praises}}</text>
</view>
</view> -->
</view>
</view>
</view>