php注册界面模板,WeUI注册页面
注冊頁面
1. 路由配置
系統路由配置文件:resources\web.php
Route::get('/register', function () {
return view('register');
});
2. 模板規劃
基礎布局模板:resources\views\layout.blade.php
模板組件目錄:resources\component
基礎布局模板:resources\views\layout.blade.php
@yield('title')@yield('popout')@yield('mask')@yield('navigation')@yield('content')@yield('myjs')
注冊模板文件:resources\views\register.blade.php
@extends('layout')
@section('title','注冊')
@section('content')
注冊方式手機注冊
郵箱注冊
手機號碼驗證碼獲取郵箱密碼重復密碼注冊
有賬戶,去登錄
$(function(){
$('input[name=type]').on('click',function(){
$('input[name=type]').attr('checked',false);
$(this).attr('checked',true);
if($(this).val()=='phone'){
$('input[name=phone]').parent().parent().show();
$('input[name=phone_vcode]').parent().parent().show();
$('input[name=email]').parent().parent().hide();
}
if($(this).val()=='email'){
$('input[name=email]').parent().parent().show();
$('input[name=phone]').parent().parent().hide();
$('input[name=phone_vcode]').parent().parent().hide();
}
});
})
@endsection
總結
以上是生活随笔為你收集整理的php注册界面模板,WeUI注册页面的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python自由变量指的是什么
- 下一篇: php+header+跳转输出,php利