调整基地详情弹窗样式
parent
fb22e5f045
commit
ff572e40de
|
|
@ -85,9 +85,11 @@ class CustomRegionController extends AdminController
|
|||
\amisMake()->SwitchControl()->static(true)->label('显示')->value(!!$region->is_enable),
|
||||
]),
|
||||
amisMake()->Panel()->title('基础介绍')
|
||||
->body([
|
||||
amisMake()->Tpl()->tpl($region?->description ?? '')
|
||||
])
|
||||
->body([
|
||||
amisMake()->Wrapper()->className('overflow-x-auto')->size('none')->body(
|
||||
amis('html')->html($region?->description ?? '')
|
||||
),
|
||||
])
|
||||
]),
|
||||
amisMake()->Wrapper()->sm(8)->body([
|
||||
amisMake()->Panel()->title('种植记录')
|
||||
|
|
@ -95,7 +97,7 @@ class CustomRegionController extends AdminController
|
|||
DialogAction::make()->className('absolute top-1 right-4')->label(__('admin.create'))->dialog(
|
||||
Dialog::make()->title('新增种植记录')->body($this->plantCreateForm($region))
|
||||
),
|
||||
\amisMake()->CRUDTable()
|
||||
\amisMake()->CRUDTable()->affixHeader(false)
|
||||
->title('')
|
||||
->api(admin_url('crop-plants').'?_action=getData®ion_id='.$region->id)
|
||||
->columns([
|
||||
|
|
|
|||
Loading…
Reference in New Issue