feat: 适配5.x后端,重构前端架构

主要变更:
1. 重构API目录结构,采用模块化设计,适配5.x后端接口规范
2. 优化布局组件,提升用户界面体验
3. 增强国际化支持,完善多语言配置
4. 新增权限控制功能,支持前端路由权限管理
5. 优化认证流程,支持JWT认证机制
6. 新增中间件和插件,提升系统扩展性
7. 优化状态管理,采用更清晰的模块化设计
8. 新增搜索框、广告等组件,丰富页面功能
9. 更改包管理工具从npm到pnpm,提升依赖管理效率
10. 完善配置系统,支持多环境配置

适配5.x后端特性:
- 采用新的API接口规范
- 支持JWT认证机制
- 适配后端权限控制体系
- 支持后端国际化接口
- 优化数据交互方式
This commit is contained in:
Mr.April
2026-04-07 11:01:11 +08:00
parent 1b83f1890b
commit d84d972e73
127 changed files with 103052 additions and 14661 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"page_title": "Balance Record",
"current_balance": "Current Balance",
"total_transaction": "Total Transaction",
"record_id": "Record ID",
"type": "Type",
"type_income": "Income",
"type_expense": "Expense",
"amount": "Amount",
"description": "Description",
"time": "Time",
"loading": "Loading",
"no_data": "No Data",
"recharge": "Recharge",
"withdraw": "Withdraw"
}
+21
View File
@@ -0,0 +1,21 @@
{
"page_title": "Change Password",
"current_password": "Current Password",
"current_password_placeholder": "Please enter current password",
"new_password": "New Password",
"new_password_placeholder": "Please enter new password",
"confirm_password": "Confirm New Password",
"confirm_password_placeholder": "Please confirm new password",
"password_error": "Passwords do not match",
"submit_button": "Submit",
"reset_button": "Reset",
"success": "Password changed successfully",
"failed": "Password change failed",
"validation": {
"current_password_required": "Please enter current password",
"new_password_required": "Please enter new password",
"new_password_min_length": "Password must be at least 6 characters",
"confirm_password_required": "Please confirm new password",
"confirm_password_mismatch": "Passwords do not match"
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"page_title": "Points Record",
"current_points": "Current Points",
"monthly_points": "This Month Earned",
"total_points": "Total Earned",
"record_id": "Record ID",
"type": "Type",
"type_earn": "Earned",
"type_deduct": "Deducted",
"points": "Points",
"reason": "Reason",
"time": "Time",
"loading": "Loading",
"no_data": "No Data"
}
+27
View File
@@ -0,0 +1,27 @@
{
"page_title": "Profile",
"username": "Username",
"email": "Email",
"email_placeholder": "Please enter email",
"phone": "Mobile Number",
"nickname": "Nickname",
"nickname_placeholder": "Please enter nickname",
"gender": "Gender",
"gender_male": "Male",
"gender_female": "Female",
"gender_other": "Other",
"birthday": "Birthday",
"birthday_placeholder": "Please select birthday",
"bio": "Bio",
"bio_placeholder": "Please enter bio",
"save_button": "Save",
"reset_button": "Reset",
"avatar": "Avatar",
"upload_avatar": "Upload Avatar",
"update_success": "Profile saved successfully",
"update_failed": "Save failed",
"validation": {
"nickname_required": "Please enter nickname",
"email_format": "Please enter correct email address"
}
}
+72
View File
@@ -0,0 +1,72 @@
{
"page_title": "User Settings",
"account_info": "Account Information",
"login_phone": "Login Mobile",
"change_phone": "Change Number",
"email": "Email",
"change_email": "Change Email",
"login_password": "Login Password",
"change_password": "Change Password",
"third_party_bind": "Third Party Account Binding",
"bind": "Bind",
"bind_time": "Bind Time",
"status": "Status",
"options": "Options",
"unbind": "Unbind",
"bind_success": "Binding successful",
"unbind_success": "Unbinding successful",
"bind_failed": "Binding failed",
"unbind_failed": "Unbinding failed",
"confirm_unbind": "Are you sure you want to unbind {name}?",
"wechat": "WeChat",
"qq": "QQ",
"weibo": "Weibo",
"douyin": "Douyin",
"using": "Using",
"not_bound": "Not Bound",
"phone_bind": "Mobile Number Binding",
"phone_bind_dialog": "Change Mobile Number",
"old_phone": "Old Mobile Number",
"old_phone_placeholder": "Please enter old mobile number",
"new_phone": "New Mobile Number",
"new_phone_placeholder": "Please enter new mobile number",
"verification_code": "Verification Code",
"verification_code_placeholder": "Please enter verification code",
"get_code": "Get Code",
"confirm": "Confirm",
"cancel": "Cancel",
"email_bind": "Email Binding",
"email_bind_dialog": "Change Email",
"new_email": "New Email",
"new_email_placeholder": "Please enter new email",
"qr_bind_title": "Bind {name}",
"qr_generating": "Generating QR code...",
"qr_expired": "QR code expired",
"qr_regenerate": "Regenerate",
"qr_success": "Binding successful!",
"qr_tip": "Please scan QR code with {name} to bind",
"phone_update_success": "Mobile number updated successfully",
"phone_update_failed": "Mobile number update failed",
"email_update_success": "Email updated successfully",
"email_update_failed": "Email update failed",
"code_send_success": "Verification code sent successfully",
"code_send_failed": "Verification code send failed",
"please_enter_phone": "Please enter new mobile number",
"please_enter_email": "Please enter email",
"please_enter_old_phone": "Please enter old mobile number",
"please_enter_code": "Please enter verification code",
"confirm_unbind_title": "Confirm",
"cancel_unbind": "Unbinding cancelled",
"opening_app": "Opening {name}...",
"open_app_failed": "Failed to open {name}, please ensure {name} client is installed",
"please_bind": "Please click to bind {name}",
"qr_generate_failed": "Failed to generate QR code",
"validation": {
"old_phone_required": "Please enter old mobile number",
"new_phone_required": "Please enter new mobile number",
"code_required": "Please enter verification code",
"email_required": "Please enter email",
"new_email_required": "Please enter new email",
"new_email_code_required": "Please enter verification code"
}
}
+14
View File
@@ -0,0 +1,14 @@
{
"page_title": "Daily Check-in",
"sign_rules": "Check-in Rules",
"sign_button": "Check in",
"signed": "Already Checked in",
"consecutive_days": "Consecutive Check-in",
"days": "days",
"tomorrow_points": "Continue check-in tomorrow to get {points} points~",
"sign_success": "Check-in successful! Got {points} points",
"sign_failed": "Check-in failed",
"get_sign_status_failed": "Failed to get check-in status",
"get_sign_calendar_failed": "Failed to get check-in calendar",
"rules_content": "Check-in Rules:\n1. Daily check-in can get 1-5 points\n2. The more consecutive check-in days, the more points you get\n3. Consecutive check-in for 7 days can get extra rewards"
}