|
|
@ -1,20 +1,10 @@ |
|
|
import React, { useState, useEffect } from "react"; |
|
|
|
|
|
|
|
|
import React from "react"; |
|
|
import "./NavBottom.scss"; |
|
|
import "./NavBottom.scss"; |
|
|
import followDirection from "./followDirection.png"; |
|
|
|
|
|
import notFollowDirection from "./notFollowDirection.png"; |
|
|
|
|
|
import play from "./play.png"; |
|
|
|
|
|
import pause from "./pause.png"; |
|
|
|
|
|
import closeButton from "./close.png"; |
|
|
import closeButton from "./close.png"; |
|
|
import left from "./left.png"; |
|
|
import left from "./left.png"; |
|
|
import right from "./right.png"; |
|
|
import right from "./right.png"; |
|
|
import straight from "./straight.png"; |
|
|
import straight from "./straight.png"; |
|
|
import back from "./back.png"; |
|
|
import back from "./back.png"; |
|
|
import bubble from "./bubble.png"; |
|
|
|
|
|
import arpng from "./ar.png"; |
|
|
|
|
|
import nav from "./nav.png"; |
|
|
|
|
|
import navActive from "./nav_active.png"; |
|
|
|
|
|
import des from "./des.png"; |
|
|
|
|
|
import desActive from "./des_active.png"; |
|
|
|
|
|
|
|
|
|
|
|
const getImgByRouteSearchText = (txt) => |
|
|
const getImgByRouteSearchText = (txt) => |
|
|
txt.includes("左前") |
|
|
txt.includes("左前") |
|
|
@ -81,7 +71,9 @@ const NavBottom = ({ |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div className="destination"> |
|
|
<div className="destination"> |
|
|
{end.logoPath && <img className="avatar" src={end.logoPath} />} |
|
|
|
|
|
|
|
|
{end.logoPath && ( |
|
|
|
|
|
<img alt="图标" className="avatar" src={end.logoPath} /> |
|
|
|
|
|
)} |
|
|
<img |
|
|
<img |
|
|
alt="关闭" |
|
|
alt="关闭" |
|
|
className="close-icon" |
|
|
className="close-icon" |
|
|
|