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

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

我这样画但是不行

《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 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/...

2年前 评论
念一世夕阳 (楼主) 2年前
伽蓝幻梦 (作者) 2年前
讨论数量: 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/...

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

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