dever 6 years ago
parent
commit
410b3757db
1 changed files with 23 additions and 0 deletions
  1. 23 0
      journal/database/content.php

+ 23 - 0
journal/database/content.php

@@ -181,6 +181,29 @@ return array
             'option'    => $is_button,
            // 'search'    => 'select',
             'show'      => 'type=1,2',      
+            'control'   => 'is_button',
+        ),
+
+        'button_name'     => array
+        (
+            'type'      => 'varchar-80',
+            'name'      => '保存按钮文字内容',
+            'default'   => '保存图片',
+            'desc'      => '保存按钮文字内容',
+            'match'     => 'option',
+            'update'    => 'textarea',
+            'show'      => 'is_button=1',
+        ),
+
+        'button_color'     => array
+        (
+            'type'      => 'varchar-10',
+            'name'      => '保存按钮文字颜色',
+            'default'   => '#000000',
+            'desc'      => '保存按钮文字颜色',
+            'match'     => 'option',
+            'update'    => 'color',
+            'show'      => 'is_button=1',
         ),
 
         'article_id'     => array