{{csrf_field()}}
<div class="layui-form-item">
    <label for="" class="layui-form-label">平台名</label>
    <div class="layui-input-inline">
        <input type="text" name="appname" value="{{ $app->appname ?? old('appname') }}" lay-verify="required" placeholder="请输入平台名" class="layui-input" >
    </div>
</div>
<div class="layui-form-item">
    <label for="" class="layui-form-label">额&nbsp;&nbsp;&nbsp;度</label>
    <div class="layui-input-inline">
        <input type="text" name="balance" value="{{$app->balance ?? old('balance')}}" required="" lay-verify="required" placeholder="余额" autocomplete="off" class="layui-input" >
    </div>
</div>

<div class="layui-form-item">
    <label for="" class="layui-form-label">联系电话</label>
    <div class="layui-input-inline">
        <input type="text" name="phone" value="{{$app->phone ?? old('phone') ?? ''}}" required="phone" lay-verify="phone" placeholder="请输入联系电话" class="layui-input">
    </div>
</div>



<div class="layui-form-item">
    <div class="layui-input-block">
        <button type="submit" class="layui-btn" lay-submit="" lay-filter="formDemo">确 认</button>
        <a  class="layui-btn" href="{{route('admin.app')}}" >返 回</a>
    </div>
</div>