Skip to content

Commit fb2f172

Browse files
authored
Merge pull request #1061 from MoYingJi/pr/fix/mobile-mouse
fix(mobile): 修复移动端 UI 鼠标无法切换页面
2 parents f903f4d + 0383cb2 commit fb2f172

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/components/Player/FullPlayerMobile.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,11 +546,22 @@ const contentTransform = computed(() => {
546546
gap: 8px;
547547
pointer-events: none;
548548
.dot {
549+
position: relative;
549550
width: 6px;
550551
height: 6px;
551552
border-radius: 50%;
552553
background-color: rgba(255, 255, 255, 0.2);
553554
transition: all 0.3s;
555+
pointer-events: auto;
556+
cursor: pointer;
557+
&::after {
558+
content: "";
559+
position: absolute;
560+
top: -16px;
561+
bottom: -16px;
562+
left: -8px;
563+
right: -8px;
564+
}
554565
&.active {
555566
background-color: rgb(var(--main-cover-color));
556567
width: 16px;

0 commit comments

Comments
 (0)