fix: 重构轨迹查看

This commit is contained in:
wangzhongjie 2025-06-12 14:21:54 +08:00
parent 084efe2e74
commit 6ecd1057fb

View File

@ -148,26 +148,28 @@ export default struct SignalDisplayComponent {
Text(this.rawData).fontSize(20).fontColor("#fff") Text(this.rawData).fontSize(20).fontColor("#fff")
}.backgroundColor("#282828").width("100%").height("100%") }.backgroundColor("#282828").width("100%").height("100%")
} else { } else {
// 轨迹查看 if (!this.isShowBack) {
Flex() { // 轨迹查看
Column() { Flex() {
CoordinateComponent({ Column() {
isItHorizontal: false, CoordinateComponent({
heightNum: 40, isItHorizontal: false,
}) heightNum: 40,
}.width("20%") })
}.width("20%")
Column() { Column() {
LaneComponent({ LaneComponent({
laneSignal: this.laneSignal laneSignal: this.laneSignal
}) })
}.width("20%") }.width("20%")
Column() { Column() {
trajectoryComponent() trajectoryComponent()
}.height("100%").width("60%") }.height("100%").width("60%")
}.backgroundColor("#282828").width("100%").height("100%") }.backgroundColor("#282828").width("100%").height("100%")
}
} }
} }
.width("100%") .width("100%")