mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-08 02:16:46 +08:00
提交
This commit is contained in:
@@ -25,10 +25,6 @@
|
||||
<view class="interact-bar-icon" v-else><image style="width:40upx;height: 40upx;" src="/static/images/icon/artice-praise.png" alt="" ></view>
|
||||
<!-- <view class="interact-bar-txt">{{data.praises}}</view> -->
|
||||
</view>
|
||||
<view v-if="shares" @click="addShare" class="interact-bar-item">
|
||||
<view class="interact-bar-icon"><image style="width:40upx;height: 40upx;" src="/static/images/icon/share.png" alt=""></view>
|
||||
<!-- <view class="interact-bar-txt">分享</view> -->
|
||||
</view>
|
||||
<view v-if="favorites" @click="addFavorite()" class="interact-bar-item">
|
||||
<view class="interact-bar-icon" v-if="isFavorite"><image style="width:40upx;height: 40upx;" src="/static/images/icon/favorite-active.png" alt="" ></view>
|
||||
<view class="interact-bar-icon" v-else><image style="width:40upx;height: 40upx;" src="/static/images/icon/favorite.png" alt="" ></view>
|
||||
@@ -36,6 +32,10 @@
|
||||
<!-- <view class="interact-bar-txt">{{data.favorites}}</view> -->
|
||||
<!-- 这里需要一个是否已经收藏的变量来控制,已收藏就显示收藏数 -->
|
||||
</view>
|
||||
<view v-if="shares" @click="addShare" class="interact-bar-item">
|
||||
<view class="interact-bar-icon"><image style="width:40upx;height: 40upx;" src="/static/images/icon/share.png" alt=""></view>
|
||||
<!-- <view class="interact-bar-txt">分享</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user