import React, { Component } from 'react' import { Timeline } from 'antd'; import isEmpty from 'lodash/isEmpty'; import {observer} from 'mobx-react' import {toJS} from 'mobx' import {Icon} from 'antd' import Map from '../../coms/Map'; import { WeaLocaleProvider, WeaDialog } from 'ecCom'; import { carousel } from '../../util/index' import {addContentPath} from '../../util/index.js' const getLabel = WeaLocaleProvider.getLabel; @observer export default class TimeView extends Component { componentDidMount () { const {newOutSide} = this.props; const {getData,init,temp} = newOutSide; getData(); } handlerPosition(item) { const { newOutSide } = this.props; newOutSide.updatePosition(item); newOutSide.updateVisible(true); } render() { const {newOutSide} = this.props; const {timeData,visible,positionObj} = newOutSide; let themeFontSize = 12; try{ themeFontSize = parseInt(JSON.parse(localStorage['theme-themeInfo']).themeFontSize); }catch(e){ } return (