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")
}.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%")