config.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. return [
  3. [
  4. 'name' => 'classname',
  5. 'title' => '渲染文本框元素',
  6. 'type' => 'string',
  7. 'content' => [],
  8. 'value' => '.editor',
  9. 'rule' => 'required',
  10. 'msg' => '',
  11. 'tip' => '用于对指定的元素渲染,一般情况下无需修改',
  12. 'ok' => '',
  13. 'extend' => '',
  14. ],
  15. [
  16. 'name' => 'baidumapkey',
  17. 'title' => '百度地图API密钥',
  18. 'type' => 'string',
  19. 'content' => [
  20. ],
  21. 'value' => '',
  22. 'rule' => '',
  23. 'msg' => '',
  24. 'tip' => '',
  25. 'ok' => '',
  26. 'extend' => ''
  27. ],
  28. [
  29. 'name' => 'baidumapcenter',
  30. 'title' => '百度地图中心点经纬度',
  31. 'type' => 'string',
  32. 'content' => [
  33. ],
  34. 'value' => '116.404413,39.903536',
  35. 'rule' => '',
  36. 'msg' => '',
  37. 'tip' => '',
  38. 'ok' => '',
  39. 'extend' => ''
  40. ],
  41. [
  42. 'name' => '__tips__',
  43. 'title' => '温馨提示',
  44. 'type' => 'string',
  45. 'content' => [
  46. ],
  47. 'value' => '百度地图API密钥申请地址:http://lbsyun.baidu.com/apiconsole/key<br>百度地图经纬度坐标获取:https://api.map.baidu.com/lbsapi/getpoint/index.html',
  48. 'rule' => '',
  49. 'msg' => '',
  50. 'tip' => '',
  51. 'ok' => '',
  52. 'extend' => ''
  53. ],
  54. ];