Skip to content

Commit

Permalink
style: 调整进度条样式
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed May 11, 2023
1 parent bf13128 commit ffbe622
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 4 additions & 0 deletions src/components/Player/PlayerCover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,10 @@ const routerJump = (url, query) => {
.vue-slider-dot {
width: 12px !important;
height: 12px !important;
box-shadow: none;
}
.vue-slider-dot-handle-focus {
box-shadow: none;
}
}
}
Expand Down
11 changes: 3 additions & 8 deletions src/components/Player/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
>
<div class="slider">
<span>{{ music.getPlaySongTime.songTimePlayed }}</span>
<!-- <n-slider
v-model:value="music.getPlaySongTime.barMoveDistance"
class="progress"
:step="0.01"
:tooltip="false"
@update:value="songTimeSliderUpdate"
@click.stop
/> -->
<vue-slider
v-model="music.getPlaySongTime.barMoveDistance"
@drag-start="music.setPlayState(false)"
Expand Down Expand Up @@ -520,6 +512,9 @@ watch(
width: 12px !important;
height: 12px !important;
}
.vue-slider-dot-handle-focus {
box-shadow: 0px 0px 1px 2px var(--main-color);
}
}
}
}
Expand Down

0 comments on commit ffbe622

Please sign in to comment.