点赞收藏量修改

master
chen 2022-06-10 11:17:40 +08:00
parent af42dc8ade
commit 760c032abb
17 changed files with 20 additions and 20 deletions

View File

@ -9,11 +9,11 @@
<view class="posia fon24 colf" style="right: 10rpx;bottom: 160rpx;z-index: 1;"> <view class="posia fon24 colf" style="right: 10rpx;bottom: 160rpx;z-index: 1;">
<view @tap.stop="praiseEv(index)" class="disjcac fc"> <view @tap.stop="praiseEv(index)" class="disjcac fc">
<image class="img-box" lazy-load :style="{width: radiu ?'40rpx':'60rpx',height: radiu ?'40rpx':'60rpx'}" :src="['/static/public/list-nlike.png','/static/public/detail-like.png'][item.is_liked]" mode="aspectFill"></image> <image class="img-box" lazy-load :style="{width: radiu ?'40rpx':'60rpx',height: radiu ?'40rpx':'60rpx'}" :src="['/static/public/list-nlike.png','/static/public/detail-like.png'][item.is_liked]" mode="aspectFill"></image>
<view>{{item.likes>100 ? '99+':item.likes}}</view> <view style="text-shadow: 0px 0px 3px #000000;">{{item.likes>1000 ? '999':item.likes}}</view>
</view> </view>
<view @tap.stop="chooseLike(index)" class="disjcac fc mar-s10"> <view @tap.stop="chooseLike(index)" class="disjcac fc mar-s10">
<image class="img-box" lazy-load :style="{width: radiu ?'40rpx':'60rpx',height: radiu ?'40rpx':'60rpx'}" :src="['/static/public/cnllection-no.png','/static/public/yconllection.png'][item.is_collected]" mode="aspectFill"></image> <image class="img-box" lazy-load :style="{width: radiu ?'40rpx':'60rpx',height: radiu ?'40rpx':'60rpx'}" :src="['/static/public/cnllection-no.png','/static/public/yconllection.png'][item.is_collected]" mode="aspectFill"></image>
<view>{{item.collects>100 ? '99+':item.collects}}</view> <view style="text-shadow: 0px 0px 3px #000000;">{{item.collects>1000 ? '999':item.collects}}</view>
</view> </view>
</view> </view>
<!-- <view class="posia list-like-box" @tap.stop="chooseLike(index)"> --> <!-- <view class="posia list-like-box" @tap.stop="chooseLike(index)"> -->
@ -51,11 +51,11 @@
<view class="posia fon24 colf" style="right: 10rpx;bottom: 160rpx;z-index: 1;"> <view class="posia fon24 colf" style="right: 10rpx;bottom: 160rpx;z-index: 1;">
<view @tap.stop="praiseEv(index)" class="disjcac fc"> <view @tap.stop="praiseEv(index)" class="disjcac fc">
<image class="img-box" lazy-load :style="{width: radiu ?'40rpx':'60rpx',height: radiu ?'40rpx':'60rpx'}" :src="['/static/public/list-nlike.png','/static/public/detail-like.png'][item.is_liked]" mode="aspectFill"></image> <image class="img-box" lazy-load :style="{width: radiu ?'40rpx':'60rpx',height: radiu ?'40rpx':'60rpx'}" :src="['/static/public/list-nlike.png','/static/public/detail-like.png'][item.is_liked]" mode="aspectFill"></image>
<view>{{item.likes>100 ? '99+':item.likes}}</view> <view style="text-shadow: 0px 0px 3px #000000;">{{item.likes>1000 ? '999':item.likes}}</view>
</view> </view>
<view @tap.stop="chooseLike(index)" class="disjcac fc mar-s10"> <view @tap.stop="chooseLike(index)" class="disjcac fc mar-s10">
<image class="img-box" lazy-load :style="{width: radiu ?'40rpx':'60rpx',height: radiu ?'40rpx':'60rpx'}" :src="['/static/public/cnllection-no.png','/static/public/yconllection.png'][item.is_collected]" mode="aspectFill"></image> <image class="img-box" lazy-load :style="{width: radiu ?'40rpx':'60rpx',height: radiu ?'40rpx':'60rpx'}" :src="['/static/public/cnllection-no.png','/static/public/yconllection.png'][item.is_collected]" mode="aspectFill"></image>
<view>{{item.collects>100 ? '99+':item.collects}}</view> <view style="text-shadow: 0px 0px 3px #000000;">{{item.collects>1000 ? '999':item.collects}}</view>
</view> </view>
</view> </view>
<!-- <view class="posia list-like-box" @tap.stop="chooseLike(index)"> --> <!-- <view class="posia list-like-box" @tap.stop="chooseLike(index)"> -->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long