+
+
+ ,
- 上舰}
- >
- {/* */}
+ {spinVisible ? (
+
+
+
+ ) : (
+
+ {view}
+ {/* 默认隐藏播放器 */}
+
+
+ )}
,
- ,
]}
/>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 46f2902..098817e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -189,6 +189,7 @@ importers:
less: ^4.1.3
react: ^18.2.0
react-dom: ^18.2.0
+ react-perfect-scrollbar: 1.5.8
react-router-dom: 6.8.0
typescript: ^4.9.3
vite: ^4.1.0
@@ -202,6 +203,7 @@ importers:
less: registry.npmmirror.com/less/4.1.3
react: registry.npmmirror.com/react/18.2.0
react-dom: registry.npmmirror.com/react-dom/18.2.0_react@18.2.0
+ react-perfect-scrollbar: registry.npmmirror.com/react-perfect-scrollbar/1.5.8_biqbaboplfbrettd7655fr4n2y
react-router-dom: registry.npmmirror.com/react-router-dom/6.8.0_biqbaboplfbrettd7655fr4n2y
devDependencies:
'@types/react': registry.npmmirror.com/@types/react/18.0.27
@@ -9831,6 +9833,12 @@ packages:
engines: {node: '>=8'}
dev: true
+ registry.npmmirror.com/perfect-scrollbar/1.5.5:
+ resolution: {integrity: sha512-dzalfutyP3e/FOpdlhVryN4AJ5XDVauVWxybSkLZmakFE2sS3y3pc4JnSprw8tGmHvkaG5Edr5T7LBTZ+WWU2g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/perfect-scrollbar/-/perfect-scrollbar-1.5.5.tgz}
+ name: perfect-scrollbar
+ version: 1.5.5
+ dev: false
+
registry.npmmirror.com/performance-now/2.1.0:
resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/performance-now/-/performance-now-2.1.0.tgz}
name: performance-now
@@ -11302,6 +11310,21 @@ packages:
version: 16.13.1
dev: false
+ registry.npmmirror.com/react-perfect-scrollbar/1.5.8_biqbaboplfbrettd7655fr4n2y:
+ resolution: {integrity: sha512-bQ46m70gp/HJtiBOF3gRzBISSZn8FFGNxznTdmTG8AAwpxG1bJCyn7shrgjEvGSQ5FJEafVEiosY+ccER11OSA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/react-perfect-scrollbar/-/react-perfect-scrollbar-1.5.8.tgz}
+ id: registry.npmmirror.com/react-perfect-scrollbar/1.5.8
+ name: react-perfect-scrollbar
+ version: 1.5.8
+ peerDependencies:
+ react: '>=16.3.3'
+ react-dom: '>=16.3.3'
+ dependencies:
+ perfect-scrollbar: registry.npmmirror.com/perfect-scrollbar/1.5.5
+ prop-types: registry.npmmirror.com/prop-types/15.8.1
+ react: registry.npmmirror.com/react/18.2.0
+ react-dom: registry.npmmirror.com/react-dom/18.2.0_react@18.2.0
+ dev: false
+
registry.npmmirror.com/react-refresh/0.14.0:
resolution: {integrity: sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/react-refresh/-/react-refresh-0.14.0.tgz}
name: react-refresh