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>
+3 -3
View File
@@ -49,7 +49,7 @@
<view class="btns">
<view class="flex">
<image :src="webUrl + '/20230803152147141807.png'" class="icon" />
<text class="seeNum-txt">{{ item.pv }}</text>
<text class="seeNum-txt">{{ $formatCount(item.pv) }}</text>
</view>
<view class="flex">
<image
@@ -68,12 +68,12 @@
v-show="item.zan > 0"
:class="item.zanVo ? 'on' : ''"
class="seeNum-txt"
>{{ item.zan }}</text
>{{ $formatCount(item.zan) }}</text
>
</view>
<view class="flex">
<u-icon name="chat" size="24"></u-icon>
<text class="seeNum-txt">{{ item.replyCount || comments.length }}</text>
<text class="seeNum-txt">{{ $formatCount(item.replyCount || comments.length) }}</text>
</view>
</view>
</view>
+2 -2
View File
@@ -227,7 +227,7 @@
:src="webUrl + '/20230803152147141807.png'"
class="icon"
/>
<text class="seeNum-txt">{{ item.pv }}</text>
<text class="seeNum-txt">{{ $formatCount(item.pv) }}</text>
</view>
<view class="flex">
<image
@@ -246,7 +246,7 @@
v-show="item.zan > 0"
:class="item.zanVo ? 'on' : ''"
class="seeNum-txt"
>{{ item.zan }}</text>
>{{ $formatCount(item.zan) }}</text>
</view>
</view>
</view>
+2 -2
View File
@@ -173,7 +173,7 @@
:src="webUrl + '/20230803152147141807.png'"
class="icon"
/>
<text class="seeNum-txt">{{ item.pv }}</text>
<text class="seeNum-txt">{{ $formatCount(item.pv) }}</text>
</view>
<view class="flex">
<image
@@ -192,7 +192,7 @@
v-show="item.zan > 0"
:class="item.zanVo ? 'on' : ''"
class="seeNum-txt"
>{{ item.zan }}</text>
>{{ $formatCount(item.zan) }}</text>
</view>
</view>
</view>