|
|
@@ -708,16 +708,7 @@ const showSuccess = (message: string) => {
|
|
|
behavior: "smooth",
|
|
|
});
|
|
|
}
|
|
|
- }, 100);
|
|
|
- }
|
|
|
- // 其他夸克浏览器自动滚动到底部
|
|
|
- else if (isQuarkBrowser()) {
|
|
|
- setTimeout(() => {
|
|
|
- window.scrollTo({
|
|
|
- top: document.documentElement.scrollHeight,
|
|
|
- behavior: "smooth",
|
|
|
- });
|
|
|
- }, 100);
|
|
|
+ });
|
|
|
}
|
|
|
};
|
|
|
|
|
|
@@ -745,7 +736,7 @@ const showError = (message: string) => {
|
|
|
behavior: "smooth",
|
|
|
});
|
|
|
}
|
|
|
- }, 100);
|
|
|
+ });
|
|
|
}
|
|
|
};
|
|
|
|
|
|
@@ -951,9 +942,6 @@ const handleMembershipClick = () => {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- // 已登录,显示购买弹窗
|
|
|
- showMembershipPurchaseModal.value = true;
|
|
|
-
|
|
|
// iOS夸克浏览器特殊处理:滚动到播放器下方
|
|
|
if (isIOSQuarkBrowser()) {
|
|
|
setTimeout(() => {
|
|
|
@@ -974,8 +962,11 @@ const handleMembershipClick = () => {
|
|
|
behavior: "smooth",
|
|
|
});
|
|
|
}
|
|
|
- }, 100);
|
|
|
+ });
|
|
|
}
|
|
|
+
|
|
|
+ // 已登录,显示购买弹窗
|
|
|
+ showMembershipPurchaseModal.value = true;
|
|
|
};
|
|
|
|
|
|
// 处理顶部单片购买按钮点击
|
|
|
@@ -1010,7 +1001,7 @@ const handleSinglePurchaseClick = () => {
|
|
|
behavior: "smooth",
|
|
|
});
|
|
|
}
|
|
|
- }, 100);
|
|
|
+ });
|
|
|
}
|
|
|
};
|
|
|
|
|
|
@@ -1026,8 +1017,6 @@ const purchaseMembership = () => {
|
|
|
|
|
|
// 关闭试看结束弹窗
|
|
|
showTrialEndModal.value = false;
|
|
|
- // 打开会员购买弹窗
|
|
|
- showMembershipPurchaseModal.value = true;
|
|
|
|
|
|
// iOS夸克浏览器特殊处理:滚动到播放器下方
|
|
|
if (isIOSQuarkBrowser()) {
|
|
|
@@ -1049,8 +1038,11 @@ const purchaseMembership = () => {
|
|
|
behavior: "smooth",
|
|
|
});
|
|
|
}
|
|
|
- }, 100);
|
|
|
+ });
|
|
|
}
|
|
|
+
|
|
|
+ // 打开会员购买弹窗
|
|
|
+ showMembershipPurchaseModal.value = true;
|
|
|
};
|
|
|
|
|
|
// 处理会员购买
|
|
|
@@ -1181,7 +1173,7 @@ const purchaseVideo = async () => {
|
|
|
behavior: "smooth",
|
|
|
});
|
|
|
}
|
|
|
- }, 100);
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
try {
|