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

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

我这样画但是不行

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
最佳答案

参见

$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/...

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

5个月前 评论
念一世夕阳 (楼主) 5个月前
伽蓝幻梦 (作者) 5个月前

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