From 6ecd1057fb73e16f442de5d6bd0d3a91e24125a6 Mon Sep 17 00:00:00 2001 From: wangzhongjie Date: Thu, 12 Jun 2025 14:21:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=87=8D=E6=9E=84=E8=BD=A8=E8=BF=B9?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ets/pages/compontents/SignalDisplay.ets | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) 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%")