dever 6 年之前
父节点
当前提交
410b3757db
共有 1 个文件被更改,包括 23 次插入0 次删除
  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