|
@@ -1,6 +1,6 @@
|
|
|
<?php
|
|
|
|
|
|
-$type = array
|
|
|
+$location = array
|
|
|
(
|
|
|
1 => '上左',
|
|
|
2 => '上中',
|
|
@@ -59,28 +59,59 @@ return array
|
|
|
'value' => Dever::input('search_option_content_id')
|
|
|
),
|
|
|
|
|
|
- 'type' => array
|
|
|
+ 'name' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-800',
|
|
|
+ 'name' => '文字内容',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '文字内容',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'textarea',
|
|
|
+ 'list' => true,
|
|
|
+ ),
|
|
|
+
|
|
|
+
|
|
|
+ 'location' => array
|
|
|
(
|
|
|
'type' => 'int-11',
|
|
|
- 'name' => '类型',
|
|
|
+ 'name' => '文字显示位置',
|
|
|
'default' => '1',
|
|
|
- 'desc' => '类型',
|
|
|
+ 'desc' => '显示位置',
|
|
|
'match' => 'is_numeric',
|
|
|
'update' => 'radio',
|
|
|
- 'option' => $type,
|
|
|
+ 'option' => $location,
|
|
|
),
|
|
|
|
|
|
- 'name' => array
|
|
|
+ 'color' => array
|
|
|
(
|
|
|
- 'type' => 'varchar-800',
|
|
|
- 'name' => '文字标题',
|
|
|
- 'default' => '',
|
|
|
- 'desc' => '文字标题',
|
|
|
+ 'type' => 'varchar-10',
|
|
|
+ 'name' => '文字颜色',
|
|
|
+ 'default' => '#000000',
|
|
|
+ 'desc' => '文字颜色',
|
|
|
'match' => 'is_string',
|
|
|
- 'update' => 'textarea',
|
|
|
- 'list' => true,
|
|
|
+ 'update' => 'color',
|
|
|
),
|
|
|
-
|
|
|
+
|
|
|
+ 'bgcolor' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-10',
|
|
|
+ 'name' => '背景颜色',
|
|
|
+ 'default' => '#000000',
|
|
|
+ 'desc' => '背景颜色',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'color',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'size' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '文字大小-直接输入像素数字',
|
|
|
+ 'default' => '16',
|
|
|
+ 'desc' => '文字大小',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+
|
|
|
'state' => array
|
|
|
(
|
|
|
'type' => 'tinyint-1',
|