@extends('admin.layouts') @section('css') @endsection @section('content')

用户列表

添加用户
重 置
@foreach ($userList as $user) @endforeach
# 用户名 余额 端口 订阅码 流量使用 最后使用 有效期 状态 代理 操作
{{$user->id}} {{$user->email}} {{$user->credit}} {!!$user->port? : ' 未分配 '!!} {{$user->subscribe->code}} {{flowAutoShow($user->usedTraffic())}} / {{$user->transfer_enable_formatted}} {{$user->t? date('Y-m-d H:i', $user->t): '未使用'}} @if ($user->expired_at < date('Y-m-d')) {{$user->expired_at}} @elseif ($user->expired_at === date('Y-m-d')) {{$user->expired_at}} @elseif ($user->expired_at <= date('Y-m-d', strtotime('+30 days'))) {{$user->expired_at}} @else {{$user->expired_at}} @endif @if ($user->status > 0) @elseif ($user->status < 0) @else @endif
@endsection @section('javascript') @endsection