parent
7b25cfdb85
commit
26684e836a
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* 下载 App 页面
|
||||
*/
|
||||
'use client';
|
||||
|
||||
import { download } from '@/utils/download';
|
||||
|
||||
export default function DownloadButton({ className = '' }: { className?: string }) {
|
||||
const handleDownload = () => {
|
||||
download();
|
||||
};
|
||||
|
||||
return (
|
||||
<button
|
||||
className={`w-full h-45px bg-[#C43737] text-#fff/95 text-15px leading-21px rounded-full ${className}`}
|
||||
onClick={handleDownload}
|
||||
>
|
||||
下载【雀乐】APP
|
||||
</button>
|
||||
);
|
||||
}
|
Loading…
Reference in new issue