更新打包配置

This commit is contained in:
2025-12-16 09:13:50 +08:00
parent bd84809d02
commit 0bc7e24de6
542 changed files with 80435 additions and 80435 deletions
+21 -21
View File
@@ -1,21 +1,21 @@
//取手机设置
const systemInfo = uni.getSystemInfoSync();
export const uniPlatform = systemInfo.uniPlatform;
//屏幕长高 顶部 底部安全区 型号 是否为ios 以ios11模拟器开发暂取5个 安卓和其它ios机型有需要以后在说
export const screen = {
width:systemInfo.safeArea.width,
height:systemInfo.safeArea.height,
top:systemInfo.statusBarHeight ? systemInfo.statusBarHeight : systemInfo.safeAreaInsets.top,
bottom:Math.abs(systemInfo.safeAreaInsets.bottom),
platform:systemInfo.platform,
isIos:systemInfo.platform === 'ios' ? true : false
};
//网络状态 当前网络状态 是否有网 是否支持下载 4 5g wifi 支持
export const network = {
curNet:'',
isNone:'',
isDownload:''
};
export const s3 = 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/';
//取手机设置
const systemInfo = uni.getSystemInfoSync();
export const uniPlatform = systemInfo.uniPlatform;
//屏幕长高 顶部 底部安全区 型号 是否为ios 以ios11模拟器开发暂取5个 安卓和其它ios机型有需要以后在说
export const screen = {
width:systemInfo.safeArea.width,
height:systemInfo.safeArea.height,
top:systemInfo.statusBarHeight ? systemInfo.statusBarHeight : systemInfo.safeAreaInsets.top,
bottom:Math.abs(systemInfo.safeAreaInsets.bottom),
platform:systemInfo.platform,
isIos:systemInfo.platform === 'ios' ? true : false
};
//网络状态 当前网络状态 是否有网 是否支持下载 4 5g wifi 支持
export const network = {
curNet:'',
isNone:'',
isDownload:''
};
export const s3 = 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/';