dever il y a 5 ans
Parent
commit
a7afc86fe7
1 fichiers modifiés avec 14 ajouts et 4 suppressions
  1. 14 4
      app/content/database/dialogue.php

+ 14 - 4
app/content/database/dialogue.php

@@ -62,13 +62,23 @@ return array
         'pic'     => array
         (
             'type'      => 'varchar-150',
-            'name'      => '置顶图片-图片尺寸750*1386px或等比尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式。为空则不显示',
+            'name'      => '置顶图片-图片尺寸750*422px或等比尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式。为空则不显示',
             'default'   => '',
             'desc'      => '图片',
             'match'     => 'option',
             'update'    => 'image',
             'key'       => '1',
-            'place'     => '750*1386',   
+            'place'     => '750*422',   
+        ),
+
+        'num'        => array
+        (
+            'type'      => 'int-11',
+            'name'      => '默认显示多少条',
+            'default'   => '4',
+            'desc'      => '默认显示多少条',
+            'match'     => 'is_numeric',
+            'update'    => 'text',
         ),
 
         'text'       => array
@@ -117,7 +127,7 @@ return array
 
                 array
                 (
-                    'col'       => 'text',
+                    'col'       => 'words',
                     'name'      => '文字内容-为空则不显示',
                     'default'   => '',
                     'desc'      => '文字内容',
@@ -129,7 +139,7 @@ return array
                 array
                 (
                     'col'       => 'pic',
-                    'name'      => '图片-图片尺寸750*1386px或等比尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式,可以上传GIF格式。为空则不显示',
+                    'name'      => '图片-图片尺寸750*1386px或不限尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式,可以上传GIF格式。为空则不显示',
                     'default'   => '',
                     'desc'      => '图片',
                     'match'     => 'option',