提升在uc浏览器的兼容性

This commit is contained in:
jueweijue 2024-05-29 23:07:00 +08:00
parent ff33900fcc
commit a470ad980e
1 changed files with 10 additions and 10 deletions

View File

@ -132,18 +132,18 @@ export default function Home() {
</div>
<div className="flex flex-col items-center">
{deviceType !== "pc" && (
<>
<a
<div
className="btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14"
href={
onClick={() => {
const url =
deviceType === "ios"
? "itms-services://?action=download-manifest&url=https://filecdn01.tiefen.fun/appdownload/ironfans.plist"
: "https://filecdn01.tiefen.fun/appdownload/ironfans1.4.5.apk"
}
: "https://filecdn01.tiefen.fun/appdownload/ironfans1.4.5.apk";
window.location.href = url;
}}
>
安装
</a>
</>
</div>
)}
{deviceType !== "Android" && (
<p className="mt-3 text-white text-sm font-normal">