降低ios安装的优先级
This commit is contained in:
parent
6b177c8ed9
commit
daef0c1f39
34
app/page.jsx
34
app/page.jsx
|
@ -190,10 +190,26 @@ export default function Home() {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col items-center gap-2">
|
<div className="flex flex-col items-center gap-2">
|
||||||
|
{deviceType === "ios" && (
|
||||||
|
<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 inviter = getCookie("inviter");
|
||||||
|
const url = `https://app.tiefen.fun?inviter=${inviter}`;
|
||||||
|
window.location.href = url;
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
【推荐】手机网页版
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
{(deviceType === "Android" ||
|
{(deviceType === "Android" ||
|
||||||
(deviceType === "ios" && isIosInstallButtonVisible)) && (
|
(deviceType === "ios" && isIosInstallButtonVisible)) && (
|
||||||
<div
|
<div
|
||||||
className="btn bg-gradient-to-r from-[#FF668B] to-[#FF66F0] rounded-full text-white text-lg font-medium w-64 h-14"
|
className={`btn ${
|
||||||
|
deviceType === "ios"
|
||||||
|
? "bg-[#FFFFFF1A]"
|
||||||
|
: "bg-gradient-to-r from-[#FF668B] to-[#FF66F0]"
|
||||||
|
} rounded-full text-white text-lg font-medium w-64 h-14`}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (deviceType === "ios") setIsIosInstallStepModalVisible(true);
|
if (deviceType === "ios") setIsIosInstallStepModalVisible(true);
|
||||||
const url =
|
const url =
|
||||||
|
@ -209,22 +225,6 @@ export default function Home() {
|
||||||
安装
|
安装
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{deviceType === "ios" && (
|
|
||||||
<div
|
|
||||||
className={`btn ${
|
|
||||||
deviceType === "ios" &&
|
|
||||||
!isIosInstallButtonVisible &&
|
|
||||||
"bg-gradient-to-r from-[#FF668B] to-[#FF66F0]"
|
|
||||||
} bg-[#FFFFFF1A] rounded-full text-white text-lg font-medium w-64 h-14`}
|
|
||||||
onClick={() => {
|
|
||||||
const inviter = getCookie("inviter");
|
|
||||||
const url = `https://app.tiefen.fun?inviter=${inviter}`;
|
|
||||||
window.location.href = url;
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
手机网页版
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<IosInstallStepModal
|
<IosInstallStepModal
|
||||||
|
|
Loading…
Reference in New Issue