<template>
  <view class="mapBox">
    <div>fdfdfd</div>
    <map id="myMap"></map>
    <button  text="确定"></button>
  </view>
</template>
<script>
export default {
  data () {
    return {
      lng: 120.12345,
      lat: 30.6789,
      scale: 16
    }
  }
}
</script>

<style lang="scss" scoped>
.mapBox {
  width: 100%;
  height: 100%;
  padding: 10px;
}
#id {
  height: 300px;
  background-color: pink;
}
</style>
