+ zin: implements modal component.

This commit is contained in:
陈涛
2023-02-22 16:38:23 +08:00
parent 652c260cc0
commit 4c941b1cf1
5 changed files with 116 additions and 14 deletions
+19
View File
@@ -139,6 +139,25 @@ page(
(
set('js-render', true),
set($pagerData)
),
modal(
'点击打开',
setId('myModal2'),
set('title', '标题'),
to
(
'body',
array('body')
),
to
(
'footer',
array
(
btn('关闭', set('data-dismiss', 'modal')),
btn('保存', setClass('primary'))
)
)
)
),
dropdown