feat: 完成管理员密码登录修复和项目清理

- 修复BCryptPasswordEncoder密码验证问题
- 实现密码设置提示弹窗功能(仅对无密码用户显示一次)
- 优化修改密码逻辑和验证流程
- 更新Welcome页面背景样式
- 清理临时SQL文件和测试代码
- 移动数据库备份文件到database/backups目录
- 删除不必要的MD文档和临时文件
This commit is contained in:
AIGC Developer
2025-11-21 16:10:00 +08:00
parent 2961d2b0d0
commit dbd06435cb
384 changed files with 8064 additions and 5080 deletions

View File

@@ -22,8 +22,8 @@
<style scoped>
.footer {
height: 60px;
background-color: #f5f5f5;
border-top: 1px solid #e4e7ed;
background-color: transparent;
border-top: none;
}
.footer-content {
@@ -37,7 +37,7 @@
}
.footer-info {
color: #606266;
color: #e5e7ff;
font-size: 14px;
}
@@ -52,14 +52,14 @@
}
.footer-link {
color: #606266;
color: #e5e7ff;
text-decoration: none;
font-size: 14px;
transition: color 0.3s;
}
.footer-link:hover {
color: #409EFF;
color: #ffffff;
}
@media (max-width: 768px) {

View File

@@ -22,7 +22,7 @@
<span>{{ $t('common.welcome') }}</span>
</el-menu-item>
<el-menu-item index="/home">
<el-menu-item index="/admin/dashboard">
<span>{{ $t('common.home') }}</span>
</el-menu-item>
@@ -30,7 +30,7 @@
<span>{{ $t('common.profile') }}</span>
</el-menu-item>
<el-menu-item v-if="userStore.isAuthenticated" index="/orders">
<el-menu-item v-if="userStore.isAuthenticated" index="/admin/orders">
<span>{{ $t('common.orders') }}</span>
</el-menu-item>
@@ -38,12 +38,8 @@
<span>{{ $t('common.payments') }}</span>
</el-menu-item>
<el-menu-item v-if="userStore.isAdmin" index="/admin/orders">
<span>{{ $t('common.adminPanel') }}</span>
</el-menu-item>
<el-menu-item v-if="userStore.isAdmin" index="/admin/dashboard">
<span>{{ $t('dashboard.title') }}</span>
<span>{{ $t('common.adminPanel') }}</span>
</el-menu-item>
</el-menu>