'上左', 2 => '上中', 3 => '上右', 4 => '中左', 5 => '正中', 6 => '中右', 7 => '下左', 8 => '下中', 9 => '下右', //10 => '自定义', ); return array ( # 表名 'name' => 'content_text', # 显示给用户看的名称 'lang' => '内页管理的文字设置', 'menu' => false, 'location' => $location, # 数据结构 'struct' => array ( 'id' => array ( 'type' => 'int-11', 'name' => 'ID', 'default' => '', 'desc' => '', 'match' => 'is_numeric', 'search' => 'order', 'update' => 'hidden', 'value' => Dever::input('where_id') //'list' => true, ), 'info_id' => array ( 'type' => 'int-11', 'name' => '小刊', 'default' => '', 'desc' => '小刊', 'match' => 'is_numeric', 'update' => 'hidden', 'value' => Dever::input('search_option_info_id') ), 'content_id' => array ( 'type' => 'int-11', 'name' => '小刊内页', 'default' => '', 'desc' => '小刊内页', 'match' => 'is_numeric', 'update' => 'hidden', 'value' => Dever::input('search_option_content_id') ), 'name' => array ( 'type' => 'varchar-800', 'name' => '文字内容', 'default' => '', 'desc' => '文字内容', 'match' => 'is_string', 'update' => 'textarea', 'list' => true, ), 'location' => array ( 'type' => 'int-11', 'name' => '文字显示位置', 'default' => '1', 'desc' => '显示位置', 'match' => 'is_numeric', 'update' => 'hidden', 'option' => $location, 'value' => Dever::input('search_option_location'), ), 'color' => array ( 'type' => 'varchar-10', 'name' => '文字颜色', 'default' => '#000000', 'desc' => '文字颜色', 'match' => 'is_string', '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', 'name' => '状态', 'default' => '1', 'desc' => '请选择状态', 'match' => 'is_numeric', ), 'cdate' => array ( 'type' => 'int-11', 'name' => '创建时间', 'match' => array('is_numeric', time()), 'desc' => '', # 只有insert时才生效 'insert' => true, 'search' => 'date', //'list' => 'date("Y-m-d H:i:s", {cdate})', ), ), 'manage' => array ( ), );