提升在uc浏览器的兼容性
This commit is contained in:
parent
ff33900fcc
commit
a470ad980e
20
app/page.jsx
20
app/page.jsx
|
@ -132,18 +132,18 @@ export default function Home() {
|
|||
</div>
|
||||
<div className="flex flex-col items-center">
|
||||
{deviceType !== "pc" && (
|
||||
<>
|
||||
<a
|
||||
className="btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14"
|
||||
href={
|
||||
<div
|
||||
className="btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14"
|
||||
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"
|
||||
}
|
||||
>
|
||||
安装
|
||||
</a>
|
||||
</>
|
||||
: "https://filecdn01.tiefen.fun/appdownload/ironfans1.4.5.apk";
|
||||
window.location.href = url;
|
||||
}}
|
||||
>
|
||||
安装
|
||||
</div>
|
||||
)}
|
||||
{deviceType !== "Android" && (
|
||||
<p className="mt-3 text-white text-sm font-normal">
|
||||
|
|
Loading…
Reference in New Issue