config.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?php
  2. return [
  3. [
  4. 'name' => 'maptype',
  5. 'title' => '默认地图类型',
  6. 'type' => 'radio',
  7. 'content' => [
  8. 'baidu' => '百度地图',
  9. 'amap' => '高德地图',
  10. 'tencent' => '腾讯地图',
  11. ],
  12. 'value' => 'baidu',
  13. 'rule' => 'required',
  14. 'msg' => '',
  15. 'tip' => '',
  16. 'ok' => '',
  17. 'extend' => '',
  18. ],
  19. [
  20. 'name' => 'zoom',
  21. 'title' => '默认缩放级别',
  22. 'type' => 'string',
  23. 'content' => [],
  24. 'value' => '11',
  25. 'rule' => 'required',
  26. 'msg' => '',
  27. 'tip' => '',
  28. 'ok' => '',
  29. 'extend' => '',
  30. ],
  31. [
  32. 'name' => 'lat',
  33. 'title' => '默认Lat',
  34. 'type' => 'string',
  35. 'content' => [],
  36. 'value' => '39.919990',
  37. 'rule' => 'required',
  38. 'msg' => '',
  39. 'tip' => '',
  40. 'ok' => '',
  41. 'extend' => '',
  42. ],
  43. [
  44. 'name' => 'lng',
  45. 'title' => '默认Lng',
  46. 'type' => 'string',
  47. 'content' => [],
  48. 'value' => '116.456270',
  49. 'rule' => 'required',
  50. 'msg' => '',
  51. 'tip' => '',
  52. 'ok' => '',
  53. 'extend' => '',
  54. ],
  55. [
  56. 'name' => 'baidukey',
  57. 'title' => '百度地图KEY',
  58. 'type' => 'string',
  59. 'content' => [],
  60. 'value' => '1cylidr91giazBbd0isROxctZ5HzRNFK',
  61. 'rule' => '',
  62. 'msg' => '',
  63. 'tip' => '',
  64. 'ok' => '',
  65. 'extend' => '',
  66. ],
  67. [
  68. 'name' => 'amapkey',
  69. 'title' => '高德地图KEY',
  70. 'type' => 'string',
  71. 'content' => [],
  72. 'value' => '',
  73. 'rule' => '',
  74. 'msg' => '',
  75. 'tip' => '',
  76. 'ok' => '',
  77. 'extend' => '',
  78. ],
  79. [
  80. 'name' => 'amapsecurityjscode',
  81. 'title' => '高德地图安全密钥',
  82. 'type' => 'string',
  83. 'content' => [],
  84. 'value' => '',
  85. 'rule' => '',
  86. 'msg' => '',
  87. 'tip' => '',
  88. 'ok' => '',
  89. 'extend' => '',
  90. ],
  91. [
  92. 'name' => 'tencentkey',
  93. 'title' => '腾讯地图KEY',
  94. 'type' => 'string',
  95. 'content' => [],
  96. 'value' => '',
  97. 'rule' => '',
  98. 'msg' => '',
  99. 'tip' => '',
  100. 'ok' => '',
  101. 'extend' => '',
  102. ],
  103. [
  104. 'name' => '__tips__',
  105. 'title' => '温馨提示',
  106. 'type' => '',
  107. 'content' => [],
  108. 'value' => '请先申请对应地图的Key,配置后再使用',
  109. 'rule' => '',
  110. 'msg' => '',
  111. 'tip' => '',
  112. 'ok' => '',
  113. 'extend' => 'alert-danger-light',
  114. ],
  115. ];