diff --git a/app/Http/Controllers/Auth/ConfirmPasswordController.php b/app/Http/Controllers/Auth/ConfirmPasswordController.php new file mode 100644 index 0000000..138c1f0 --- /dev/null +++ b/app/Http/Controllers/Auth/ConfirmPasswordController.php @@ -0,0 +1,40 @@ +middleware('auth'); + } +} diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php new file mode 100644 index 0000000..465c39c --- /dev/null +++ b/app/Http/Controllers/Auth/ForgotPasswordController.php @@ -0,0 +1,22 @@ +middleware('guest')->except('logout'); + } +} diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php new file mode 100644 index 0000000..c6a6de6 --- /dev/null +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -0,0 +1,73 @@ +middleware('guest'); + } + + /** + * Get a validator for an incoming registration request. + * + * @param array $data + * @return \Illuminate\Contracts\Validation\Validator + */ + protected function validator(array $data) + { + return Validator::make($data, [ + 'name' => ['required', 'string', 'max:255'], + 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], + 'password' => ['required', 'string', 'min:8', 'confirmed'], + ]); + } + + /** + * Create a new user instance after a valid registration. + * + * @param array $data + * @return \App\User + */ + protected function create(array $data) + { + return User::create([ + 'name' => $data['name'], + 'email' => $data['email'], + 'password' => Hash::make($data['password']), + ]); + } +} diff --git a/app/Http/Controllers/Auth/ResetPasswordController.php b/app/Http/Controllers/Auth/ResetPasswordController.php new file mode 100644 index 0000000..b1726a3 --- /dev/null +++ b/app/Http/Controllers/Auth/ResetPasswordController.php @@ -0,0 +1,30 @@ +middleware('auth'); + $this->middleware('signed')->only('verify'); + $this->middleware('throttle:6,1')->only('verify', 'resend'); + } +} diff --git a/app/Models/ArticleCategoryInfo.php b/app/Models/ArticleCategoryInfo.php new file mode 100644 index 0000000..259d3de --- /dev/null +++ b/app/Models/ArticleCategoryInfo.php @@ -0,0 +1,10 @@ +li{ + text-align: center; + font-size: 17px; + } + .mobile-nav>li:active{ + background-color: #007900; + } + .mbLogo-nav{ + background-color: #449942; + margin-left: .4rem; + border-radius: .5rem; + } + .partyVideo-text{ + position: relative; + background-position: center; + background-repeat: no-repeat; + } + .briefSurvey-cont{ + width: 100%; + } + .modularTwo-list-name{ + font-size: 12px; + } + .FooterBottom{ + height: 100%; + } + .srRrends-list-name{ + font-size: 12px; + } + .srRrends-list-text{ + width: 100%; + } + .srRrends-list-time{ + white-space: nowrap; + font-size: 12px; + } + /* 二级导航 */ + .levelLeft{ + padding-bottom: 0; + margin-bottom: 20px; + } + .levelLeft-tips{ + display: none; + } + .Footer-tips-label span:nth-child(2){ + margin-left: 0; + white-space: nowrap; + } +} +/* 手机端 end */ diff --git a/public/assets/index/images/index_nav.png b/public/assets/index/images/index_nav.png new file mode 100644 index 0000000..be28b43 Binary files /dev/null and b/public/assets/index/images/index_nav.png differ diff --git a/resources/views/layouts/footer.blade.php b/resources/views/layouts/footer.blade.php index 2b59a92..6b9d36f 100644 --- a/resources/views/layouts/footer.blade.php +++ b/resources/views/layouts/footer.blade.php @@ -23,6 +23,7 @@