service.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <view class="service-main">
  3. <map class="my_app" id="myMap" :longitude="myLocation.longitude" :latitude="myLocation.latitude" :scale="14"
  4. show-location enable-3D show-compass enable-overlooking
  5. :enable-satellite="false" :enable-traffic="false"
  6. style="width: 100%;height:calc(50vh - 0rpx);">
  7. </map>
  8. <view class="store-cabinet-block">
  9. <view class="block-p"></view>
  10. <view class="flex-row flex-between" style="margin-bottom: 40rpx;">
  11. <view class="check-type flex-row">
  12. <view class="store-type store-type-s">门店</view>
  13. <view class="cabinet-type cabinet-type-i">换电柜</view>
  14. </view>
  15. <view class="config-view flex-row">
  16. <view class="seach-img"><img src="https://qiniu.bms16.com/FiWnFuZm5vWQ_Si3CEYLGJnVhSal" alt=""></view>
  17. <view class="screen-img"><img src="https://qiniu.bms16.com/FpElQHM5NbxHDjz1LrwaHYN668LR" alt=""></view>
  18. </view>
  19. </view>
  20. <CarRentalList/>
  21. </view>
  22. <leaseType/>
  23. </view>
  24. </template>
  25. <script>
  26. import LeaseType from './components/leaseType/leaseType'
  27. import CarRentalList from './components/carRentalList/carRentalList'
  28. export default {
  29. data() {
  30. return {
  31. myLocation:{
  32. latitude: 23.099994,
  33. longitude: 113.324004,
  34. }
  35. };
  36. },
  37. components: {
  38. LeaseType,
  39. CarRentalList
  40. },
  41. /**
  42. * 生命周期函数--监听页面加载
  43. */
  44. onLoad: function(options) {
  45. },
  46. methods: {
  47. }
  48. };
  49. </script>
  50. <style>
  51. @import './service.css';
  52. </style>