config.php 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?php
  2. declare(strict_types=1);
  3. return [
  4. [
  5. 'type' => 'switch',
  6. 'field' => 'is_cache',
  7. 'title' => '缓存开关',
  8. 'info' => '是否开启缓存',
  9. '$required' => false,
  10. 'props' => [
  11. 'activeValue' => true,
  12. 'inactiveValue' => false
  13. ],
  14. '_fc_id' => 'id_Fjzbmcdo513lahc',
  15. 'name' => 'ref_Fzt4mcdo513laic',
  16. 'display' => true,
  17. 'hidden' => false,
  18. '_fc_drag_tag' => 'switch'
  19. ],
  20. [
  21. 'type' => 'group',
  22. 'field' => 'category',
  23. 'value' => [
  24. [
  25. 'text' => '核心扩展',
  26. 'code' => 'core'
  27. ],
  28. [
  29. 'text' => '支付',
  30. 'code' => 'pay'
  31. ],
  32. [
  33. 'text' => '定制',
  34. 'code' => 'custom'
  35. ],
  36. [
  37. 'text' => '其他扩展',
  38. 'code' => 'other'
  39. ],
  40. ],
  41. 'title' => '分类',
  42. 'info' => '',
  43. '$required' => false,
  44. 'props' => [
  45. 'expand' => 1,
  46. 'rule' => [
  47. [
  48. 'type' => 'fcRow',
  49. 'children' => [
  50. [
  51. 'type' => 'col',
  52. 'props' => [
  53. 'span' => 12
  54. ],
  55. 'children' => [
  56. [
  57. 'type' => 'input',
  58. 'field' => 'text',
  59. 'title' => '分类名',
  60. 'info' => '',
  61. '$required' => false,
  62. '_fc_id' => 'id_Ffmvmclvt0mfauc',
  63. 'name' => 'ref_Fwifmclvt0mfavc',
  64. 'display' => true,
  65. 'hidden' => false,
  66. '_fc_drag_tag' => 'input'
  67. ],
  68. [
  69. 'type' => 'input',
  70. 'field' => 'code',
  71. 'title' => '分类编码',
  72. 'info' => '',
  73. '$required' => false,
  74. '_fc_id' => 'id_F217mclvt3a5axc',
  75. 'name' => 'ref_Flwvmclvt3a5ayc',
  76. 'display' => true,
  77. 'hidden' => false,
  78. '_fc_drag_tag' => 'input'
  79. ]
  80. ]
  81. ]
  82. ]
  83. ]
  84. ]
  85. ]
  86. ]
  87. ];