style(css): 优化播放按钮和标签的样式设计
简化播放按钮的样式实现,移除冗余的伪元素,改用box-shadow实现边框效果 统一标签的圆角半径和背景色,移除注释掉的代码 调整播放按钮点击逻辑,当playurl不存在时自动获取播放链接
This commit is contained in:
@@ -489,6 +489,11 @@ const search = createApp({
|
||||
id = item.id;
|
||||
}
|
||||
|
||||
if (area == "custom") {
|
||||
const item = customList.value[index];
|
||||
id = item.id;
|
||||
}
|
||||
|
||||
ajax("https://pujianchaoyin.com/api/getMusicDetail", {
|
||||
id,
|
||||
}).then((res) => {
|
||||
@@ -497,7 +502,11 @@ const search = createApp({
|
||||
if (area == "student") {
|
||||
zeroOrderStudents.value = { ...data, ...zeroOrderStudents.value };
|
||||
manageAudio(data.playurl, area);
|
||||
console.log(zeroOrderStudents.value, "zeroOrderStudents");
|
||||
}
|
||||
|
||||
if (area == "custom") {
|
||||
customList.value[index] = { ...data, ...customList.value[index] };
|
||||
manageAudio(data.playurl, area);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user