Refactor code structure for improved readability and maintainability
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,34 +1,34 @@
|
||||
import type { AppVersion, DownloadStats } from '~/types'
|
||||
import type { AppVersion, DownloadStats } from "~/types";
|
||||
|
||||
// 当前版本信息
|
||||
export const currentVersion: AppVersion = {
|
||||
version: '1.0.0',
|
||||
buildNumber: '100',
|
||||
releaseDate: '2025-12-30',
|
||||
version: "1.0.0",
|
||||
buildNumber: "100",
|
||||
releaseDate: "2025-12-30",
|
||||
releaseNotes: {
|
||||
'zh-CN': [
|
||||
'🎉 首次发布',
|
||||
'✨ 全新的用户界面设计',
|
||||
'🔐 增强的安全特性',
|
||||
'⚡ 性能优化,响应速度提升 30%',
|
||||
'🌍 支持多语言切换',
|
||||
'🌙 深色模式支持',
|
||||
"zh-CN": [
|
||||
"🎉 首次发布",
|
||||
"✨ 全新的用户界面设计",
|
||||
"🔐 增强的安全特性",
|
||||
"⚡ 性能优化,响应速度提升 30%",
|
||||
"🌍 支持多语言切换",
|
||||
"🌙 深色模式支持",
|
||||
],
|
||||
'en-US': [
|
||||
'🎉 Initial Release',
|
||||
'✨ Brand new user interface',
|
||||
'🔐 Enhanced security features',
|
||||
'⚡ Performance optimization, 30% faster response',
|
||||
'🌍 Multi-language support',
|
||||
'🌙 Dark mode support',
|
||||
"en-US": [
|
||||
"🎉 Initial Release",
|
||||
"✨ Brand new user interface",
|
||||
"🔐 Enhanced security features",
|
||||
"⚡ Performance optimization, 30% faster response",
|
||||
"🌍 Multi-language support",
|
||||
"🌙 Dark mode support",
|
||||
],
|
||||
},
|
||||
downloads: {
|
||||
ios: 'https://example.com/riwa-ios-1.0.0.ipa',
|
||||
android: 'https://example.com/riwa-android-1.0.0.apk',
|
||||
h5: 'http://localhost:5173',
|
||||
ios: "https://example.com/riwa-ios-1.0.0.ipa",
|
||||
android: "https://example.com/riwa-android-1.0.0.apk",
|
||||
h5: "http://localhost:5173",
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
// 模拟下载统计数据
|
||||
export const mockDownloadStats: DownloadStats = {
|
||||
@@ -36,4 +36,4 @@ export const mockDownloadStats: DownloadStats = {
|
||||
today: 156,
|
||||
ios: 7234,
|
||||
android: 5346,
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user