diff --git a/app/components/Songs/RequestForm.vue b/app/components/Songs/RequestForm.vue
index cadb028..d28fc42 100644
--- a/app/components/Songs/RequestForm.vue
+++ b/app/components/Songs/RequestForm.vue
@@ -849,9 +849,7 @@ import Icon from '../UI/Icon.vue'
import { convertToHttps, validateUrl } from '~/utils/url'
import ImportSongsModal from './ImportSongsModal.vue'
-import PlaylistSelectionModal from './PlaylistSelectionModal.vue'
import UserSearchModal from '../Common/UserSearchModal.vue'
-import NeteaseUploadDialog from './NeteaseUploadDialog.vue'
const props = defineProps({
loading: {
diff --git a/app/components/UI/AudioPlayer.vue b/app/components/UI/AudioPlayer.vue
index cbfc967..1f4c7e6 100644
--- a/app/components/UI/AudioPlayer.vue
+++ b/app/components/UI/AudioPlayer.vue
@@ -26,13 +26,7 @@
-
-
-
-
+
@@ -210,16 +196,6 @@
-
-
-
-
-
{
const playUrl = normalizeHttpUrl(song.playUrl)
if (playUrl) return playUrl
- if (false) {
- const bilibiliUrl = getBilibiliUrl(song)
- if (bilibiliUrl && bilibiliUrl !== '#') {
- return bilibiliUrl
- }
- }
-
return null
}
@@ -962,23 +928,6 @@ const toggleLyrics = () => {
showFullscreenLyrics.value = true
}
-const openBilibiliVideo = () => {
- const song = activeSong.value
- if (!song) return
-
- // 如果播放器有错误,显示 iframe 预览
- if (control.hasError.value) {
- showBilibiliIframe.value = true
- return
- }
-
- // 否则在新窗口打开
- const url = getBilibiliUrl(song)
- if (url && url !== '#') {
- window.open(url, '_blank')
- }
-}
-
const handleLyricSeek = async (time) => {
// 如果当前处于暂停状态,先开始播放
if (!control.isPlaying.value) {
@@ -1152,11 +1101,7 @@ const checkMobile = () => {
// 移动端点击播放条处理
const handlePlayerClick = () => {
if (isMobile.value) {
- if (activeSong.value?.musicPlatform === 'bilibili') {
- openBilibiliVideo()
- } else {
- toggleLyrics()
- }
+ toggleLyrics()
}
}