首页改版

This commit is contained in:
hdm 2022-06-14 14:57:03 +08:00
parent 7245ccab5b
commit 70a936aa10
3 changed files with 4 additions and 9 deletions

View File

@ -5,8 +5,6 @@
- 项目会不定时进行更新,**建议⭐star⭐和👁watch👁一份**。
- 演示地址https://www.gougucms.com
- 文档地址:[https://blog.gougucms.com/home/book/detail/bid/1.html](https://blog.gougucms.com/home/book/detail/bid/1.html)
- 后台体验地址:[https://www.gougucms.com/admin/index/index.html](https://www.gougucms.com/admin/index/index.html)
- 后台体验账号gougucms 密码gougucms
- 开发交流QQ群24641076
### ⭕ 开源项目

View File

@ -56,16 +56,13 @@ class Admin extends BaseController
// 验证失败 输出错误信息
return to_assign(1, $e->getError());
}
if (!empty($param['pwd'])) {
if (!empty($param['edit_pwd'])) {
//重置密码
if (empty($param['pwd_confirm']) or $param['pwd_confirm'] !== $param['pwd']) {
if (empty($param['edit_pwd_confirm']) or $param['edit_pwd_confirm'] !== $param['edit_pwd']) {
return to_assign(1, '两次密码不一致');
}
$param['salt'] = set_salt(20);
$param['pwd'] = set_password($param['pwd'], $param['salt']);
} else {
unset($param['pwd']);
unset($param['salt']);
$param['pwd'] = set_password($param['edit_pwd'], $param['salt']);
}
// 启动事务

View File

@ -30,7 +30,7 @@
.banner .intro-img img{width: 100%;}
.advantage {background:#ffffff; width: 100%; text-align: center; padding: 80px 0; font-weight: 100;}
.advantage {background:#ffffff; width: 100%; text-align: center; padding: 60px 0 80px; font-weight: 100;}
.feature {display: block;background: #fff; padding: 36px 20px 20px;text-align: center;font-size: 16px; line-height: 1.5; word-wrap: break-word; box-shadow: 0px 0 30px rgb(1 41 112 / 10%); height: 100%; background-color: #fff; text-align: center; transition: 0.3s; border-radius: 6px;}
.feature:hover { background-color: #4385F5; background: linear-gradient(to left, #4385F5, #00aaff); color: #fff; }
.feature .part-icon {display: inline-block;border-radius: 100%;background: #f5f5f5; padding: 25px;width: 60px; height: 60px;}