weizhimap.vue 353 B

1234567891011121314151617181920212223242526272829
  1. <template>
  2. <view>
  3. <map class="mapbody" :latitude="latitude" :longitude="longitude" :markers="covers">
  4. </map>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. name:"weizhimap",
  10. props:{
  11. latitude:'',
  12. longitude:'',
  13. covers:''
  14. },
  15. data() {
  16. return {
  17. };
  18. }
  19. }
  20. </script>
  21. <style>
  22. .mapbody{
  23. width: 100%;
  24. height: 100%;
  25. }
  26. </style>