1234567891011121314151617181920212223242526272829 |
- <?php
- namespace App\Admin\Controllers;
- use App\Models\AdminConfig;
- use Encore\Admin\Controllers\AdminController;
- use Encore\Admin\Layout\Content;
- use Encore\Admin\Show;
- use Encore\Admin\Widgets\Box;
- class AdminConfigController extends AdminController
- {
- protected $title = '管理后台配置';
- public function index(Content $content)
- {
- $box = new Box('Box标题', 'Box内容');
- $box->removable();
- $box->collapsable();
- $box->style('info');
- $box->solid();
- $box->scrollable();
- return $box;
- }
- }
|