调整css

pull/2369/head
QiuLiang-99 2025-05-04 01:17:58 +08:00
parent 0affe04683
commit c640dc5ec5
2 changed files with 6 additions and 6 deletions

View File

@ -43,7 +43,7 @@
</button> </button>
<template #content> <template #content>
<div :class="$style.setting"> <div :class="$style.setting">
<button :class="$style.btn" :aria-label="$t('player__play_toggle_mode_list_loop')" @click="toggleMode('listLoop')"> <button :class="$style.btn" :aria-label="$t('player__play_toggle_mode_list_loop')" @click="toggleMode('listLoop')"><!-- //todo -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" height="100%" viewBox="0 0 24 24" space="preserve"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" height="100%" viewBox="0 0 24 24" space="preserve">
<use xlink:href="#icon-list-loop" /> <use xlink:href="#icon-list-loop" />
</svg> </svg>

View File

@ -41,7 +41,7 @@ const songs = computed(() => {
const showlist = [] const showlist = []
for (const idx of currentPlaybackOrder.value) { for (const idx of currentPlaybackOrder.value) {
const info = playlist.value[idx] const info = playlist.value[idx]
if (info && info.musicInfo) { if (info?.musicInfo) {
showlist.push({ showlist.push({
title: info.musicInfo.name, title: info.musicInfo.name,
artist: info.musicInfo.singer, artist: info.musicInfo.singer,
@ -136,18 +136,18 @@ function emitClose() {
/* hover 状态稍微加深一下 */ /* hover 状态稍微加深一下 */
.song-item:hover { .song-item:hover {
background-color: #eaeaea; background-color: #eaeaea!important;
} }
/* 当前播放项高亮(深灰) */ /* 当前播放项高亮(深灰) */
.active { .active {
background-color: #555555 !important; background-color: #EBEBEB ;
color: black !important; color: black ;
} }
/* 选中(左键或右键)状态,更深的灰 */ /* 选中(左键或右键)状态,更深的灰 */
.selected { .selected {
background-color: #333333 !important; background-color: #ebebeb ;
color: black !important; color: black !important;
} }