= [
{
+ id: 'apple',
platform: 'APP Store',
iconUrl: '/img/download/logo_apple.svg',
- qrCode: '',
+ qrCode: '/img/download/qrcode_apple.svg',
},
{
+ id: 'android',
platform: 'Android',
iconUrl: '/img/download/logo_android.svg',
qrCode: '/img/download/qrcode_android.svg',
@@ -31,14 +31,14 @@ export default function Download() {
height={20}
src="/img/download/slogan_line2.svg"
alt="/"
- />{' '}
+ />
{/* APP二维码 */}
- {qrCodeList.map(({ platform, iconUrl, qrCode }) => (
-
+ {qrCodeList.map((item: DownloadQrcodeCard) => (
+
))}
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index c5fa461..af79e59 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,3 +1,5 @@
+import Script from 'next/script';
+
import { Header, Footer, PlayerBar } from '@/components';
import type { Metadata, Viewport } from 'next';
@@ -29,6 +31,8 @@ export default function RootLayout({ children }: Readonly<{ children: React.Reac
{/* */}