Эх сурвалжийг харах

fix: remove conditional rendering for red packet button in share component

- Simplified the rendering logic for the red packet floating button by removing the condition that checks for the share list length, ensuring the button is always displayed.
ylong 1 долоо хоног өмнө
parent
commit
f9f49c699b

+ 1 - 1
pages-sell/components/sell-container/index.vue

@@ -168,7 +168,7 @@
 
 		<!-- 分享红包悬浮按钮 -->
 		<FloatingDrag :width="126" :height="140" :initial-position="redPacketPosition"
-			@position-change="handleRedPacketPositionChange" v-if="shareList.length > 0">
+			@position-change="handleRedPacketPositionChange">
 			<button class="red-packet-btn" @click="navigateToRedPacket">
 				<image src="/packet/static/index/btn_share.png" mode="widthFix" style="width: 126rpx; height: 140rpx">
 				</image>