Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
之前的 liveGiftBox 在我的本地电脑这边显示异常,包裹的弹出窗口只能显示上半部分,下半部分会被藏住。具体是什么原因我并没有仔细地验证。而是直接重写了组件。
功能只是在网页全屏模式下看直播时,将礼物包裹按钮放到播放器的控制条中。不过其中有一个细节是,当鼠标移出播放器时,会自动关闭包裹;不会出现鼠标移回播放器,上次点出的弹出窗仍然存在的情况。
这个 PR 与我之前提交的 PR #2751 内容完全一样,只是它被我意外关闭了,因此在这里重新提交一遍。