Showing
2 changed files
with
6 additions
and
2 deletions
... | @@ -114,6 +114,7 @@ class VideoTempController extends AdminController | ... | @@ -114,6 +114,7 @@ class VideoTempController extends AdminController |
114 | 114 | ||
115 | $form->hasMany('components','组件', function (Form\NestedForm $form) { | 115 | $form->hasMany('components','组件', function (Form\NestedForm $form) { |
116 | $form->select('name','组件名称')->options([ | 116 | $form->select('name','组件名称')->options([ |
117 | + 'one_poem_with_annotate' => '一言带注解组件', | ||
117 | 'every_poem' => '每日一言组件', | 118 | 'every_poem' => '每日一言组件', |
118 | 'one_poem' => '一言组件', | 119 | 'one_poem' => '一言组件', |
119 | 'weather' => '天气组件', | 120 | 'weather' => '天气组件', |
... | @@ -121,6 +122,9 @@ class VideoTempController extends AdminController | ... | @@ -121,6 +122,9 @@ class VideoTempController extends AdminController |
121 | 'feel' => '临境有感组件', | 122 | 'feel' => '临境有感组件', |
122 | ]); | 123 | ]); |
123 | $form->select('position','组件位置')->options(VideoTemp::POSITION_OPTIONS); | 124 | $form->select('position','组件位置')->options(VideoTemp::POSITION_OPTIONS); |
125 | + | ||
126 | + $form->switch('fade', '淡入淡出')->help("开启淡入淡出会使背景色失效"); | ||
127 | + | ||
124 | $form->number('text_bg_box', '背景厚度')->default(0) | 128 | $form->number('text_bg_box', '背景厚度')->default(0) |
125 | ->addElementClass('text_bg_box')->help('设置背景块边缘厚度(用于在背景块边缘用背景色填充一圈),默认为0'); | 129 | ->addElementClass('text_bg_box')->help('设置背景块边缘厚度(用于在背景块边缘用背景色填充一圈),默认为0'); |
126 | $form->color('text_bg_color', '背景色')->default('#5c6bc6')->addElementClass('text_bg_color'); | 130 | $form->color('text_bg_color', '背景色')->default('#5c6bc6')->addElementClass('text_bg_color'); | ... | ... |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | } | 40 | } |
41 | 41 | ||
42 | .poem-title { | 42 | .poem-title { |
43 | - font-size: 14px; | 43 | + font-size: 26px; |
44 | font-weight: bold; | 44 | font-weight: bold; |
45 | margin: 10px; | 45 | margin: 10px; |
46 | } | 46 | } |
... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
51 | } | 51 | } |
52 | 52 | ||
53 | .poem-content { | 53 | .poem-content { |
54 | - font-size: 12px; | 54 | + font-size: 24px; |
55 | margin: 0; | 55 | margin: 0; |
56 | } | 56 | } |
57 | 57 | ... | ... |
-
Please register or login to post a comment