liujiaxin 1 nedēļu atpakaļ
vecāks
revīzija
e2fcbd7db5
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      pages_course/living.vue

+ 2 - 1
pages_course/living.vue

@@ -223,7 +223,7 @@
 						<view class="justify-between  align-center" v-if="!isFocus">
 							<view :class="[liveItem.showType === 1 ? 'horizontal' : 'vertical','icon-bg','ml20']"
 								style="position: relative;">
-								<LikeButton :initialCount="100" :heartsPerClick="5" @like="onLike" />
+								<LikeButton style="z-index: 99999;" :initialCount="100" :heartsPerClick="5" @like="onLike" />
 								<view class="num">{{liveViewData && liveViewData.like||0}}</view>
 							</view>
 						</view>
@@ -2246,6 +2246,7 @@
 			},
 			// 点赞
 			async onLike() {
+				console.log("点到了")
 				if (!this.liveId) return;
 				try {
 					const res = await liveDataLike(this.liveId);