liujiaxin 1 tuần trước cách đây
mục cha
commit
d3b48c18e5
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      pages_course/living.vue

+ 2 - 2
pages_course/living.vue

@@ -222,8 +222,8 @@
 
 						<view class="justify-between  align-center" v-if="!isFocus">
 							<view :class="[liveItem.showType === 1 ? 'horizontal' : 'vertical','icon-bg','ml20']"
-								style="position: relative;">
-								<LikeButton style="z-index: 99999;" :initialCount="100" :heartsPerClick="5" @like="onLike" />
+								style="position: relative;" @click="onLike">
+								<LikeButton  :initialCount="100" :heartsPerClick="5" @like="onLike" />
 								<view class="num">{{liveViewData && liveViewData.like||0}}</view>
 							</view>
 						</view>