From 5f8f1600da795dbfe75f1c4e405c72f4674cbbee Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Thu, 16 May 2019 01:25:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=B3=A8=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/Slide.php | 2 +- application/index/controller/User.php | 1 + .../index/view/default/user/reg_info.html | 116 ++++++++++++++---- .../static/index/default/css/user.reginfo.css | 76 ++++++++++-- .../default/js/{user.js => user.reginfo.js} | 5 + 5 files changed, 166 insertions(+), 34 deletions(-) rename public/static/index/default/js/{user.js => user.reginfo.js} (94%) diff --git a/application/admin/controller/Slide.php b/application/admin/controller/Slide.php index d13f04ead..b87c112cc 100755 --- a/application/admin/controller/Slide.php +++ b/application/admin/controller/Slide.php @@ -53,7 +53,7 @@ class Slide extends Common $params = input(); // 分页 - $number = 10; + $number = MyC('admin_page_number', 10, true); // 条件 $where = SlideService::SlideListWhere($params); diff --git a/application/index/controller/User.php b/application/index/controller/User.php index 39e4c1ddd..bd4ab32fb 100755 --- a/application/index/controller/User.php +++ b/application/index/controller/User.php @@ -190,6 +190,7 @@ class User extends Common // 浏览器名称 $this->assign('home_seo_site_title', SeoService::BrowserSeoTitle('用户注册', 1)); + $this->assign('referer_url', $this->GetrefererUrl()); return $this->fetch(); } else { $this->assign('msg', '已经登录了,如要注册新账户,请先退出当前账户'); diff --git a/application/index/view/default/user/reg_info.html b/application/index/view/default/user/reg_info.html index ba1a14de6..101ea8b28 100755 --- a/application/index/view/default/user/reg_info.html +++ b/application/index/view/default/user/reg_info.html @@ -14,14 +14,17 @@