修改附件大小,清理不必要的内存

This commit is contained in:
@fawn-nine
2024-05-22 10:42:16 +08:00
parent edf80bea28
commit 49d42b6442
24 changed files with 258 additions and 254 deletions

View File

@@ -1,52 +1,54 @@
{ {
"name": "疯子读书", "name" : "疯子读书",
"appid": "__UNI__9788EB5", "appid" : "__UNI__9788EB5",
"description": "疯子读书", "description" : "疯子读书",
"networkTimeout": { "networkTimeout" : {
"request": 3000 "request" : 3000
}, },
"transformPx": false, "transformPx" : false,
"icons": [{ "icons" : [
"sizes": "分辨率192x192", {
"src": "图片路径" "sizes" : "分辨率192x192",
}], "src" : "图片路径"
"versionName": "1.2.43", }
"versionCode": 1243, ],
"app-plus": { "versionName" : "1.2.44",
"compatible": { "versionCode" : 1244,
"ignoreVersion": true "app-plus" : {
"compatible" : {
"ignoreVersion" : true
}, },
"privacy": { "privacy" : {
"prompt": "template", "prompt" : "template",
"template": { "template" : {
"title": "用户协议和隐私政策", "title" : "用户协议和隐私政策",
"message": "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href='https://main.nuttyreading.com/agreement.html'>《用户协议》</a>和<a href='https://main.nuttyreading.com/privacy.html'>《隐私协议》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", "message" : "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href='https://main.nuttyreading.com/agreement.html'>《用户协议》</a>和<a href='https://main.nuttyreading.com/privacy.html'>《隐私协议》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept": "同意", "buttonAccept" : "同意",
"buttonRefuse": "暂不同意" "buttonRefuse" : "暂不同意"
} }
}, },
"modules": { "modules" : {
"Payment": {}, "Payment" : {},
"Share": {}, "Share" : {},
"Camera": {}, "Camera" : {},
"VideoPlayer": {}, "VideoPlayer" : {},
"OAuth": {} "OAuth" : {}
}, },
"distribute": { "distribute" : {
"apple": { "apple" : {
"devices": "universal" "devices" : "universal"
}, },
// "UIBackgroundModes" : [ "audio" ] // "UIBackgroundModes" : [ "audio" ]
"android": { "android" : {
"permissionPhoneState": { "permissionPhoneState" : {
"request": "none", "request" : "none",
"prompt": "为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。" "prompt" : "为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。"
}, },
"permissionExternalStorage": { "permissionExternalStorage" : {
"request": "none", "request" : "none",
"prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。" "prompt" : "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
}, },
"permissions": [ "permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>", "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
@@ -73,182 +75,184 @@
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>", "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
], ],
"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"], "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
"minSdkVersion": 21, "minSdkVersion" : 21,
"targetSdkVersion": 30, "targetSdkVersion" : 30,
"schemes": "nuttyreading" "schemes" : "nuttyreading"
}, },
"sdkConfigs": { "sdkConfigs" : {
"ad": {}, "ad" : {},
"maps": {}, "maps" : {},
"share": { "share" : {
"weixin": { "weixin" : {
"appid": "wx47134a8f15083734", "appid" : "wx47134a8f15083734",
"UniversalLinks": "https://verification.nuttyreading.com/uni-universallinks/__UNI__9788EB5/" "UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__9788EB5/"
} }
}, },
"payment": { "payment" : {
"alipay": { "alipay" : {
"__platform__": ["ios", "android"] "__platform__" : [ "ios", "android" ]
}, },
"appleiap": {}, "appleiap" : {},
"weixin": { "weixin" : {
"__platform__": ["ios", "android"], "__platform__" : [ "ios", "android" ],
"appid": "wx47134a8f15083734", "appid" : "wx47134a8f15083734",
"UniversalLinks": "https://verification.nuttyreading.com/uni-universallinks/__UNI__9788EB5/" "UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__9788EB5/"
} }
}, },
"oauth": {} "oauth" : {},
"push" : {}
}, },
"splashscreen": { "splashscreen" : {
"iosStyle": "common", "iosStyle" : "common",
"androidStyle": "default", "androidStyle" : "default",
"useOriginalMsgbox": true "useOriginalMsgbox" : true
}, },
"ios": { "ios" : {
"dSYMs": false, "dSYMs" : false,
// "UIBackgroundModes" : [ "audio" ], // 背景播放音乐 // "UIBackgroundModes" : [ "audio" ], // 背景播放音乐
"capabilities": { "capabilities" : {
"entitlements": { "entitlements" : {
"com.apple.developer.associated-domains": ["applinks:verification.nuttyreading.com"] "com.apple.developer.associated-domains" : [ "applinks:verification.nuttyreading.com" ]
} }
}, },
"idfa": false, "idfa" : false,
"urltypes": "nuttyreading", "urltypes" : "nuttyreading",
"urlschemewhitelist": "everhealth", "urlschemewhitelist" : "everhealth",
"privacyDescription": { "privacyDescription" : {
"NSPhotoLibraryUsageDescription": "为了给您提供修改头像的功能", "NSPhotoLibraryUsageDescription" : "为了给您提供修改头像的功能",
"NSCameraUsageDescription": "为了给您提供修改头像的功能" "NSCameraUsageDescription" : "为了给您提供修改头像的功能"
} }
}, },
"icons": { "icons" : {
"android": { "android" : {
"hdpi": "unpackage/res/icons/72x72.png", "hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi": "unpackage/res/icons/96x96.png", "xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi": "unpackage/res/icons/144x144.png", "xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi": "unpackage/res/icons/192x192.png" "xxxhdpi" : "unpackage/res/icons/192x192.png"
}, },
"ios": { "ios" : {
"appstore": "unpackage/res/icons/1024x1024.png", "appstore" : "unpackage/res/icons/1024x1024.png",
"ipad": { "ipad" : {
"app": "unpackage/res/icons/76x76.png", "app" : "unpackage/res/icons/76x76.png",
"app@2x": "unpackage/res/icons/152x152.png", "app@2x" : "unpackage/res/icons/152x152.png",
"notification": "unpackage/res/icons/20x20.png", "notification" : "unpackage/res/icons/20x20.png",
"notification@2x": "unpackage/res/icons/40x40.png", "notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x": "unpackage/res/icons/167x167.png", "proapp@2x" : "unpackage/res/icons/167x167.png",
"settings": "unpackage/res/icons/29x29.png", "settings" : "unpackage/res/icons/29x29.png",
"settings@2x": "unpackage/res/icons/58x58.png", "settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight": "unpackage/res/icons/40x40.png", "spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x": "unpackage/res/icons/80x80.png" "spotlight@2x" : "unpackage/res/icons/80x80.png"
}, },
"iphone": { "iphone" : {
"app@2x": "unpackage/res/icons/120x120.png", "app@2x" : "unpackage/res/icons/120x120.png",
"app@3x": "unpackage/res/icons/180x180.png", "app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x": "unpackage/res/icons/40x40.png", "notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x": "unpackage/res/icons/60x60.png", "notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x": "unpackage/res/icons/58x58.png", "settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x": "unpackage/res/icons/87x87.png", "settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x": "unpackage/res/icons/80x80.png", "spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x": "unpackage/res/icons/120x120.png" "spotlight@3x" : "unpackage/res/icons/120x120.png"
} }
} }
} }
}, },
"compilerVersion": 3, "compilerVersion" : 3,
"nvueLaunchMode": "fast", "nvueLaunchMode" : "fast",
"splashscreen": { "splashscreen" : {
"alwaysShowBeforeRender": false "alwaysShowBeforeRender" : false
}, },
"nativePlugins": {}, "nativePlugins" : {},
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
// 5+App特有相关 // 5+App特有相关
"quickapp": {}, "quickapp" : {},
// 快应用特有相关 // 快应用特有相关
"mp-weixin": { "mp-weixin" : {
"setting": { "setting" : {
"urlCheck": false, "urlCheck" : false,
"es6": true, "es6" : true,
"postcss": true, "postcss" : true,
"minified": true "minified" : true
}, },
"usingComponents": true, "usingComponents" : true,
"appid": "wxd3ba52b7661b36be", "appid" : "wxd3ba52b7661b36be",
"permission": { "permission" : {
"scope.userLocation": { "scope.userLocation" : {
"desc": "你的位置信息将用于小程序位置接口的效果展示" "desc" : "你的位置信息将用于小程序位置接口的效果展示"
} }
}, },
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
"h5": { "h5" : {
"template": "template.h5.html", "template" : "template.h5.html",
"router": { "router" : {
"mode": "hash", "mode" : "hash",
"base": "/uniappDemo/" "base" : "/uniappDemo/"
}, },
"optimization": { "optimization" : {
"treeShaking": { "treeShaking" : {
"enable": true "enable" : true
} }
}, },
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
"_spaceID": "mp-3614b80b-2d75-4462-a481-4998f8187274", "_spaceID" : "mp-3614b80b-2d75-4462-a481-4998f8187274",
"uniStatistics": { "uniStatistics" : {
"version": "2", "version" : "2",
"enable": true "enable" : true
}, },
"mp-alipay": { "mp-alipay" : {
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
"mp-baidu": { "mp-baidu" : {
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
"mp-jd": { "mp-jd" : {
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
"mp-kuaishou": { "mp-kuaishou" : {
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
"mp-lark": { "mp-lark" : {
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
"mp-qq": { "mp-qq" : {
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
"mp-toutiao": { "mp-toutiao" : {
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
"quickapp-webview-huawei": { "quickapp-webview-huawei" : {
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
}, },
"quickapp-webview-union": { "quickapp-webview-union" : {
"uniStatistics": { "uniStatistics" : {
"enable": true "enable" : true
} }
} }
} }
// 小程序特有相关 // 小程序特有相关

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 KiB

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 632 KiB

After

Width:  |  Height:  |  Size: 664 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 391 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 KiB

After

Width:  |  Height:  |  Size: 261 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 547 KiB

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 369 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 KiB

Binary file not shown.

Binary file not shown.