2024-07-02 11:39:46 +08:00
|
|
|
import { GPSData, SignalData } from '../mock';
|
|
|
|
|
import { SignalDataType } from '../model';
|
2024-06-04 11:19:22 +08:00
|
|
|
import signDisplayCom from './compontents/signDisplayCom';
|
|
|
|
|
|
2024-01-05 11:11:15 +08:00
|
|
|
@Entry
|
|
|
|
|
@Component
|
2024-06-04 11:19:22 +08:00
|
|
|
export default struct Index {
|
2024-01-05 11:11:15 +08:00
|
|
|
@State signArr: Array<any> = []
|
2024-07-02 11:39:46 +08:00
|
|
|
@State sjxhColum: Array<SignalDataType> =SignalData;
|
|
|
|
|
@State GPSColum: Array<SignalDataType> = GPSData
|
2024-01-05 11:11:15 +08:00
|
|
|
@State ratio: number = 850 / 960
|
|
|
|
|
@State gpsActive: number = 1
|
|
|
|
|
@State active: number = 0
|
|
|
|
|
@State msg: string = ''
|
|
|
|
|
@State @Watch('outClick') outFlag: boolean = false;
|
2024-06-04 11:19:22 +08:00
|
|
|
@State url: string = ''
|
|
|
|
|
|
2024-01-05 11:11:15 +08:00
|
|
|
// @State gpsList: Array<any> = []
|
|
|
|
|
build() {
|
|
|
|
|
Column() {
|
2024-01-31 14:35:16 +08:00
|
|
|
signDisplayCom({
|
2024-06-04 11:19:22 +08:00
|
|
|
showBack: true
|
2024-01-31 14:35:16 +08:00
|
|
|
})
|
2024-01-05 11:11:15 +08:00
|
|
|
}
|
|
|
|
|
.width('100%')
|
|
|
|
|
.height('100%')
|
|
|
|
|
.backgroundImage($r('app.media.bg'))
|
|
|
|
|
.backgroundImageSize({ width: '100%', height: '100%' })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
outClick() {
|
|
|
|
|
}
|
|
|
|
|
}
|