修改 未解锁也能进入详情页,详情页增加购买弹窗

This commit is contained in:
2025-09-22 11:59:38 +08:00
parent fe534cacaf
commit 0aaf5b9c08
16 changed files with 6344 additions and 2287 deletions
+1
View File
@@ -378,6 +378,7 @@ export default class Utils {
const nowSeconds = Math.floor(Date.now() / 1000);
// 差值(秒)
const diffSeconds = Math.max(0, expiryTimestamp - nowSeconds);
if (diffSeconds == 0) return null;
// 转换为天、小时、分钟
const days = Math.floor(diffSeconds / (60 * 60 * 24));
const hours = Math.floor((diffSeconds % (60 * 60 * 24)) / 3600);