|
|
@ -2,7 +2,7 @@ import React from 'react' |
|
|
|
import { Box, AutoRollComponent } from '$components'; |
|
|
|
import moment from 'moment' |
|
|
|
import { getName, getPhone } from '$utils'; |
|
|
|
import TimeComponent from './time'; |
|
|
|
import TimeComponent, { formatSeconds } from './time'; |
|
|
|
import { typeParam_data } from '../constants/index' |
|
|
|
import './style.less' |
|
|
|
function BasicInfo(props) { |
|
|
@ -75,7 +75,7 @@ function BasicInfo(props) { |
|
|
|
<div className='left_third_bg' style={{ height: 160, paddingTop: 20 }}> |
|
|
|
<div className='left_item_left3' /> |
|
|
|
<div className='left_item_right1' style={{ textAlign: 'left' }}> |
|
|
|
<div><span style={{ marginRight: 30, marginBottom: 15 }}>路线规划</span></div> |
|
|
|
<div><span style={{ marginRight: 30, marginBottom: 15 }}>路线规划 {alarmInfo?.routes?.time && `(${formatSeconds(alarmInfo?.routes?.time, true)})`}</span></div> |
|
|
|
<AutoRollComponent |
|
|
|
key={alarmInfo?.id} |
|
|
|
canScroll={alarmInfo?.routes?.steps?.length > 3} |
|
|
|