Map.jsx 390B

1234567891011121314151617
  1. import React from 'react';
  2. import { View } from '@tarojs/components';
  3. import Map from '@/components/map';
  4. import style from './map.module.less';
  5. export default (props) => {
  6. const { location } = props;
  7. return (
  8. <View className={style['map-box']}>
  9. <Map location={location} />
  10. <View className={style.address}>
  11. 阳光丽景小区
  12. </View>
  13. </View>
  14. )
  15. }