dcat admin 表单页面布局,如何画出例如第一行3列,第二行只有2列的表单?

dcat admin 表单页面布局
怎么可以画出来像下面图片一样的表单啊?
第一样第二行都是3列
第三行和第四行都是2列
然后第5行又是3列这样的?

我这样画但是不行

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
最佳答案

参见

$show->row(function (Show\Row $show) {
    $show->width(3)->id;
    $show->width(3)->name;
    $show->width(5)->email;
});

$show->row(function (Show\Row $show) {
    $show->width(5)->email_verified_at;
    $show->created_at;
    $show->updated_at;
});

$show->row(function (Show\Row $show) {
    $show->width(3)->field('profile.first_name');
    $show->field('profile.last_name');
    $show->width(3)->field('profile.postcode');
});

这是show的,把show改成form,可以实现 cdn.chenyingliang.cn/doc/dcat/docs/...

1年前 评论
念一世夕阳 (楼主) 1年前
伽蓝幻梦 (作者) 1年前
讨论数量: 3

参见

$show->row(function (Show\Row $show) {
    $show->width(3)->id;
    $show->width(3)->name;
    $show->width(5)->email;
});

$show->row(function (Show\Row $show) {
    $show->width(5)->email_verified_at;
    $show->created_at;
    $show->updated_at;
});

$show->row(function (Show\Row $show) {
    $show->width(3)->field('profile.first_name');
    $show->field('profile.last_name');
    $show->width(3)->field('profile.postcode');
});

这是show的,把show改成form,可以实现 cdn.chenyingliang.cn/doc/dcat/docs/...

1年前 评论
念一世夕阳 (楼主) 1年前
伽蓝幻梦 (作者) 1年前

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!