parkingLists.vue 800 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <view>
  3. <map style="width: 100%; height: 100vh;" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
  4. <!-- <u-empty src="/static/img/empty.png" icon-size="335" text="正在建设中" color="#878787" mode="search"></u-empty> -->
  5. </view>
  6. </template>
  7. <script>
  8. export default{
  9. data(){
  10. return{
  11. latitude: 26.605849,
  12. longitude: 106.728733,
  13. covers: [{
  14. latitude: 26.604745,
  15. longitude: 106.724332,
  16. iconPath: 'https://www.baidu.com/img/flexible/logo/pc/result.png'
  17. }, {
  18. latitude: 39.90,
  19. longitude: 116.39,
  20. // iconPath: '../../../static/location.png'
  21. }]
  22. }
  23. },
  24. onLoad(){
  25. },
  26. methods:{
  27. }
  28. }
  29. </script>
  30. <style lang="scss" scoped>
  31. .wrap{margin-top: 20vh;}
  32. @import url("./parkingLists.scss");
  33. </style>