提升在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>
<div className="flex flex-col items-center"> <div className="flex flex-col items-center">
{deviceType !== "pc" && ( {deviceType !== "pc" && (
<> <div
<a className="btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14"
className="btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14" onClick={() => {
href={ const url =
deviceType === "ios" deviceType === "ios"
? "itms-services://?action=download-manifest&url=https://filecdn01.tiefen.fun/appdownload/ironfans.plist" ? "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" && ( {deviceType !== "Android" && (
<p className="mt-3 text-white text-sm font-normal"> <p className="mt-3 text-white text-sm font-normal">