laravel7 手机号验证码登陆

1”设置路由:

//展示手机登录页面
Route::get('admin','admin\AdminController@admin');

2:html页面




    "utf-8">
    "renderer" content="webkit|ie-comp|ie-stand">
    "X-UA-Compatible" content="IE=edge,chrome=1">
    "viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    "Cache-Control" content="no-siteapp"/>
    
    "/static/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css"/>
    "/static/static/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css"/>
    "/static/static/h-ui.admin/css/style.css" rel="stylesheet" type="text/css"/>
    "/static/lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css"/>
    
    后台登录 - H-ui.admin v3.<span style="color: rgba(128, 0, 128, 1)">1</span>
    "keywords" content="H-ui.admin v3.1,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载">
    "stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.0/css/bootstrap.min.css">
    "description" content="H-ui.admin v3.1,是一款由国人开发的轻量级扁平化网站后台模板,完全免费开源的网站后台管理系统模版,适合中小型CMS后台系统。">


"hidden" id="TenantId" name="TenantId" value=""/>
class="header">
class="loginWraper">
"loginform" class="loginBox">
class="form form-horizontal">
class="row cl">
class="formControls col-xs-8"> "phone" name="" type="text" value="18303550213" class="input-text size-L" style="width: 200px">
class="row cl">
class="formControls col-xs-8"> "test_code" name="" type="password" value="3898" placeholder="验证码" class="input-text size-L" style="width: 200px">
class="row cl">
class="formControls col-xs-8 col-xs-offset-3"> "" id="phoneLogin" type="button" class="btn btn-success radius size-L" value=" 登    录 "> "" type="reset" class="btn btn-default radius size-L" value=" 取    消 ">
>

你可能感兴趣的:(laravel7 手机号验证码登陆)