feat: 升级版本至1.4.0并添加外部资源备用机制

- 版本号从1.3.5升级至1.4.0
- 创建外部资源备用加载系统,解决国内访问问题
- 添加Google Fonts本地备用字体文件
- 集成Geetest验证码本地备用版本
- 实现QRCode.js本地备用功能
- 创建智能资源加载器,自动切换到本地资源
- 修改所有外部资源引用,支持自动备用机制
- 添加资源配置文件,便于管理和维护
This commit is contained in:
2026-01-11 20:03:15 +08:00
parent 31d8fde308
commit a01f161bca
14 changed files with 414 additions and 10 deletions

View File

@@ -0,0 +1,16 @@
/* Noto Serif SC Font - Local Fallback */
@font-face {
font-family: 'Noto Serif SC';
font-style: normal;
font-weight: 300;
font-display: swap;
src: local('Noto Serif SC Light'), local('NotoSerifSC-Light');
}
@font-face {
font-family: 'Noto Serif SC';
font-style: normal;
font-weight: 600;
font-display: swap;
src: local('Noto Serif SC SemiBold'), local('NotoSerifSC-SemiBold');
}

View File

@@ -0,0 +1,32 @@
/* Open Sans Font - Local Fallback */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
font-display: swap;
src: local('Open Sans Light'), local('OpenSans-Light');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Open Sans Regular'), local('OpenSans-Regular');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-display: swap;
src: local('Open Sans SemiBold'), local('OpenSans-SemiBold');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Open Sans Bold'), local('OpenSans-Bold');
}