+ Add color picker when create a story.

This commit is contained in:
tianshujie
2023-11-03 13:19:10 +08:00
parent 1eccf3e141
commit f71dcb4dcd
2 changed files with 20 additions and 1 deletions
+19 -1
View File
@@ -310,7 +310,25 @@ formPanel
set::width('3/5'),
set::label($lang->story->title),
set::required($fields['title']['required']),
input(set::name('title'), set::value($fields['title']['default'])),
inputControl
(
setClass('titleBox'),
input
(
set::name('title'),
set::value($fields['title']['default']),
),
to::suffix
(
colorPicker
(
set::heading($lang->story->colorTag),
set::name('color'),
set::value(''),
set::syncColor('#title')
),
),
),
),
formGroup
(