list.blade.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. @extends('admin.frame_list')
  2. @section('content_btn')
  3. <a href="{{ route('user_add') }}">添加会员</a>
  4. @stop
  5. @section('table_data')
  6. <tr>
  7. <th>会员账号</th>
  8. <th>手机号码</th>
  9. <th>电子邮箱</th>
  10. <th>最近登录</th>
  11. <th>注册时间</th>
  12. <th>备注</th>
  13. <th>操作</th>
  14. </tr>
  15. @foreach ($users as $user)
  16. <tr>
  17. <td>{{ $user->name }}</td>
  18. <td>{{ $user->mobile }}</td>
  19. <td>{{ $user->email }}</td>
  20. <td>{{ $user->last_time }}</td>
  21. <td>{{ $user->created_at }}</td>
  22. <td>{{ $user->remark }}</td>
  23. <td>
  24. <a href="{{ route('user_pro', ['id' => $user->id]) }}">查看</a> |
  25. <a href="{{ route('user_updPwd', ['id' => $user->id]) }}" onclick="if(!confirm('确定要密码重置吗?')) return false;">密码重置</a> |
  26. <a href="{{ route('user_upd', ['id' => $user->id]) }}">编辑</a> |
  27. <a href="{{ route('user_del', ['id' => $user->id]) }}" onclick="if(!confirm('确定要删除吗?')) return false;">删除</a>
  28. </td>
  29. </tr>
  30. @endforeach
  31. @stop
  32. @section('render_data')
  33. {{ $users->render() }}
  34. @stop