32 lines
		
	
	
		
			782 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			782 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| import { GPSData, SignalData } from '../mock';
 | |
| import { SignalDataType } from '../model';
 | |
| import signDisplayCom from './compontents/SignDisplayCom';
 | |
| 
 | |
| @Entry
 | |
| @Component
 | |
| struct Index {
 | |
|   @State sjxhColum: Array<SignalDataType> = SignalData;
 | |
|   @State GPSColum: Array<SignalDataType> = GPSData
 | |
|   @State ratio: number = 850 / 960
 | |
|   @State gpsActive: number = 1
 | |
|   @State active: number = 0
 | |
|   @State msg: string = ''
 | |
|   @State @Watch('outClick') outFlag: boolean = false;
 | |
|   @State url: string = ''
 | |
| 
 | |
|   //  @State gpsList: Array<any> = []
 | |
|   build() {
 | |
|     Column() {
 | |
|       signDisplayCom({
 | |
|         showBack: true
 | |
|       })
 | |
|     }
 | |
|     .width('100%')
 | |
|     .height('100%')
 | |
|     .backgroundImage($r('app.media.bg'))
 | |
|     .backgroundImageSize({ width: '100%', height: '100%' })
 | |
|   }
 | |
| 
 | |
|   outClick() {
 | |
|   }
 | |
| } |