config.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?php
  2. return [
  3. [
  4. 'name' => 'asteriskposition',
  5. 'title' => '*号位置',
  6. 'type' => 'radio',
  7. 'group' => '',
  8. 'visible' => '',
  9. 'content' => [
  10. 'before' => '位于文本前',
  11. 'after' => '位于文本后',
  12. ],
  13. 'value' => 'before',
  14. 'rule' => 'required',
  15. 'msg' => '',
  16. 'tip' => '',
  17. 'ok' => '',
  18. 'extend' => '',
  19. ],
  20. [
  21. 'name' => 'offset',
  22. 'title' => '弹窗位置',
  23. 'type' => 'radio',
  24. 'content' => [
  25. 'auto' => '居中',
  26. 't' => '顶部',
  27. 'b' => '底部',
  28. 'l' => '左部',
  29. 'r' => '右部',
  30. ],
  31. 'value' => 'r',
  32. 'rule' => 'required',
  33. 'msg' => '',
  34. 'tip' => '',
  35. 'ok' => '',
  36. 'extend' => '',
  37. ],
  38. [
  39. 'name' => 'anim',
  40. 'title' => '打开动画',
  41. 'type' => 'select',
  42. 'content' => [
  43. '平滑放大',
  44. '从上掉落',
  45. '从最底部往上滑入',
  46. '从左滑入',
  47. '从左翻滚',
  48. '渐显',
  49. '抖动',
  50. 'slideDown' => '从上边缘往下',
  51. 'slideLeft' => '从右边缘往左',
  52. 'slideUp' => '从下边缘往上',
  53. 'slideRight' => '从左边缘往右',
  54. ],
  55. 'value' => 'slideLeft',
  56. 'rule' => 'required',
  57. 'msg' => '',
  58. 'tip' => '',
  59. 'ok' => '',
  60. 'extend' => '',
  61. ],
  62. [
  63. 'name' => 'area',
  64. 'title' => '弹窗宽高',
  65. 'type' => 'string',
  66. 'content' => [],
  67. 'value' => '["60%", "100%"]',
  68. 'rule' => 'required',
  69. 'msg' => '',
  70. 'tip' => '',
  71. 'ok' => '',
  72. 'extend' => '',
  73. ],
  74. [
  75. 'name' => 'shade',
  76. 'title' => '阴影透明度',
  77. 'type' => 'number',
  78. 'content' => [],
  79. 'value' => '0.3',
  80. 'rule' => 'required',
  81. 'msg' => '',
  82. 'tip' => '',
  83. 'ok' => '',
  84. 'extend' => '',
  85. ],
  86. [
  87. 'name' => 'shadeClose',
  88. 'title' => '点击阴影关闭弹窗',
  89. 'type' => 'bool',
  90. 'content' => [
  91. 1 => '开启',
  92. 0 => '关闭',
  93. ],
  94. 'value' => '1',
  95. 'rule' => 'required',
  96. 'msg' => '',
  97. 'tip' => '',
  98. 'ok' => '',
  99. 'extend' => '',
  100. ],
  101. ];