laravel-admin form组件

2018122821261745.png

$form->url('profile.homepage');
$form->ip('profile.last_login_ip');
$form->datetime('profile.last_login_at');
$form->color('profile.color')->default('#c48c20');
$form->mobile('profile.mobile')->default(13524120142);
$form->date('profile.birthday');
$form->slider('profile.age', 'Age')->options(['max' => 50, 'min' => 20, 'step' => 1, 'postfix' => 'years old']);
 $form->datetimeRange('profile.created_at', 'profile.updated_at', 'Time line');

如您有新项目的需求,加微信索取更多相关案例介绍!