- 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.
@@ -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>