ConfigTypeEnum.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace common\enums;
  3. /**
  4. * Class ConfigTypeEnum
  5. * @package common\enums
  6. * @author jianyan74 <751393839@qq.com>
  7. */
  8. class ConfigTypeEnum extends BaseEnum
  9. {
  10. /**
  11. * @return array
  12. */
  13. public static function getMap(): array
  14. {
  15. return [
  16. 'text' => "文本框",
  17. 'password' => "密码框",
  18. 'secretKeyText' => "密钥文本框",
  19. 'textarea' => "文本域",
  20. 'date' => "日期",
  21. 'time' => "时间",
  22. 'datetime' => "日期时间",
  23. 'dropDownList' => "下拉文本框",
  24. 'multipleInput' => "Input 组",
  25. 'radioList' => "单选按钮",
  26. 'checkboxList' => "复选框",
  27. 'baiduUEditor' => "百度编辑器",
  28. 'image' => "图片上传",
  29. 'images' => "多图上传",
  30. 'file' => "文件上传",
  31. 'files' => "多文件上传",
  32. 'cropper' => "图片裁剪上传",
  33. 'latLngSelection' => "经纬度选择",
  34. ];
  35. }
  36. }
粤ICP备19079148号