feat: 为上线而修改细节

This commit is contained in:
ZhuRui
2026-09-01 15:24:09 +08:00
parent 887b2f3f07
commit 19afaa66dc
77 changed files with 1014 additions and 258 deletions
+13 -13
View File
@@ -90,25 +90,25 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.A)(AdPopupvue_type
/* harmony export */ jH: function() { return /* binding */ setScrollLock; }
/* harmony export */ });
/* unused harmony export open */
/**
* @param {string} url
* @param {string} [target]
/**
* @param {string} url
* @param {string} [target]
*/
function open(url, target) {
window.open(url, target);
}
/**
*
* @param {boolean} locked
/**
*
* @param {boolean} locked
*/
function setScrollLock(locked) {
document.body.style.overflow = locked ? "hidden" : "";
}
/**
* 检测是否为移动设备
* @returns {boolean} 如果是移动设备返回true,否则返回false
/**
* 检测是否为移动设备
* @returns {boolean} 如果是移动设备返回true,否则返回false
*/
function isMobileDevice() {
// 检测用户代理字符串
@@ -128,9 +128,9 @@ function isMobileDevice() {
return hasMobileKeyword || hasSmallScreen && hasTouchSupport;
}
/**
* 检查是否应该跳过重定向
* @returns {boolean} 如果应该跳过重定向返回true
/**
* 检查是否应该跳过重定向
* @returns {boolean} 如果应该跳过重定向返回true
*/
function shouldSkipRedirect() {
// 检查URL参数中是否有跳过重定向的标志
@@ -446,4 +446,4 @@ async function getLocalMsg() {
/***/ })
}]);
//# sourceMappingURL=common.js.map?hash=b446ba1443bc4913f472
//# sourceMappingURL=common.js.map