Feat:咨询观看量,点赞数显示调整

This commit is contained in:
LinCyJang
2026-01-31 14:39:41 +08:00
parent 285224284f
commit 2682ecaecd
14 changed files with 42 additions and 29 deletions
+3 -3
View File
@@ -64,11 +64,11 @@
<view class="zan-box flex flex-0 ai-end" @click="zanInn">
<template v-if="isLike">
<image :src="webUrl + '/icon/icon-like.png'" class="img" />
<text class="on">{{ inn.zan }}</text>
<text class="on">{{ $formatCount(inn.zan) }}</text>
</template>
<template v-else>
<image :src="webUrl + '/icon/icon-like.png'" class="img" />
<text>{{ inn.zan }}</text>
<text>{{ $formatCount(inn.zan) }}</text>
</template>
</view>
<view class="flex flex-0 ai-end favorite-box" @click="doneFavorite">
@@ -84,7 +84,7 @@
mode="scaleToFill"
class="icon"
/>
<text>{{ favoriteCount }}</text>
<text>{{ $formatCount(favoriteCount) }}</text>
</view>
</view>
</view>