@extends('base.base')
@section('base')
    <!-- 内容区域 -->
    <div class="main-panel">
        <div class="content-wrapper">
            <div class="page-header">
                <h3 class="page-title">
                     <span class="page-title-icon bg-gradient-primary text-white mr-2">
                <i class="mdi mdi-wrench"></i>
              </span>
                    {{ __('auto.查询验证码') }}
                </h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="#">{{ __('auto.用户管理') }}</a></li>
                        <li class="breadcrumb-item active" aria-current="page">{{ __('auto.查询验证码') }}</li>
                    </ol>
                </nav>
            </div>
            <div class="row">
                <div class="col-lg-12 grid-margin stretch-card">
                    <div class="card">
                        <div class="card-body">
                            <h4 class="card-title">{{ __('auto.查询验证码') }}</h4>

                            <form class="well form-inline margin-top-20" method="get" action='/admin/code/query'>

                                <spen style="padding-left: 10px" >{{ __('auto.手机号：') }}</spen>
                                <input class="form-control" type="number" name="PhoneNum" id="PhoneNum" style="width: 10%; " value="{{$PhoneNum}}" >

                                <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.搜索') }}" />&nbsp;&nbsp;
                            </form>
                            <table class="table table-bordered">
                                <thead>
                                <tr>
                                    <th>{{ __('auto.手机号') }}</th>
                                    <th>{{ __('auto.验证码') }}</th>
                                    <th>{{ __('auto.绑定时间') }}</th>

                                </tr>
                                </thead>
                                <tbody>

                                <tr>

                                    <td>{{ $PhoneNum }}</td>
                                    <td>{{ $query->Code  ?? '' }}</td>
                                    <td>{{ $BindDate }}</td>

                                </tr>

                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script>

    </script>
@endsection
