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

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

我这样画但是不行

《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
最佳答案

参见

$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年前

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