diff --git a/entry/src/main/ets/pages/compontents/SignalDisplay.ets b/entry/src/main/ets/pages/compontents/SignalDisplay.ets index 97c42ea..cb2e619 100644 --- a/entry/src/main/ets/pages/compontents/SignalDisplay.ets +++ b/entry/src/main/ets/pages/compontents/SignalDisplay.ets @@ -148,26 +148,28 @@ export default struct SignalDisplayComponent { Text(this.rawData).fontSize(20).fontColor("#fff") }.backgroundColor("#282828").width("100%").height("100%") } else { - // 轨迹查看 - Flex() { - Column() { - CoordinateComponent({ - isItHorizontal: false, - heightNum: 40, - }) - }.width("20%") + if (!this.isShowBack) { + // 轨迹查看 + Flex() { + Column() { + CoordinateComponent({ + isItHorizontal: false, + heightNum: 40, + }) + }.width("20%") - Column() { - LaneComponent({ - laneSignal: this.laneSignal - }) - }.width("20%") + Column() { + LaneComponent({ + laneSignal: this.laneSignal + }) + }.width("20%") - Column() { - trajectoryComponent() - }.height("100%").width("60%") + Column() { + trajectoryComponent() + }.height("100%").width("60%") - }.backgroundColor("#282828").width("100%").height("100%") + }.backgroundColor("#282828").width("100%").height("100%") + } } } .width("100%")