carcheck超声波
This commit is contained in:
		
							parent
							
								
									a75f8eb796
								
							
						
					
					
						commit
						d5ddd183e4
					
				| @ -107,8 +107,8 @@ export const WarnFlagTipData = { | |||||||
|   9: ['dianhuoVideo.wav', 'xihuoVideo.wav'], |   9: ['dianhuoVideo.wav', 'xihuoVideo.wav'], | ||||||
|   10: ['check31.wav'], |   10: ['check31.wav'], | ||||||
|   11: ['check30.wav'], |   11: ['check30.wav'], | ||||||
|   12: ['check28.wav'], |   12: ['check29.wav'], | ||||||
|   13: ['check29.wav'], |   13: ['check28.wav'], | ||||||
|   14: ['check11.wav'], |   14: ['check11.wav'], | ||||||
|   15: ['check12.wav'], |   15: ['check12.wav'], | ||||||
|   16: ['check13.wav'], |   16: ['check13.wav'], | ||||||
|  | |||||||
| @ -243,8 +243,10 @@ export default struct Index { | |||||||
|           this.warnFlag[26] = '2' |           this.warnFlag[26] = '2' | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
| 
 |       console.log('msgmsgmsg',msg) | ||||||
|       if (that.index == 10 || that.index == 11 || that.index == 12 || that.index == 13) { |       if (that.index == 10 || that.index == 11 || that.index == 12 || that.index == 13) { | ||||||
|  |         console.log('msgmsgmsg000',that.index,that.signArr[that.realNum[that.index]]) | ||||||
|  | 
 | ||||||
|         if (that.signArr[that.realNum[that.index]] != '1200') { |         if (that.signArr[that.realNum[that.index]] != '1200') { | ||||||
|           that.warnFlag[that.index] = '2' |           that.warnFlag[that.index] = '2' | ||||||
|         } else { |         } else { | ||||||
| @ -475,14 +477,14 @@ export default struct Index { | |||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             Row() { |             Row() { | ||||||
|               Image(this.warnFlag[12] == '1' ? $r('app.media.zh_r') : this.warnFlag[12] == '2' ? $r('app.media.zh') : '') |               Image(this.warnFlag[13] == '1' ? $r('app.media.zh_r') : this.warnFlag[13] == '2' ? $r('app.media.zh') : '') | ||||||
|                 .width(103 * this.ratio) |  | ||||||
|                 .height(118.5 * this.ratio) |  | ||||||
|                 .visibility(this.passArray[12] ? Visibility.Visible : Visibility.Hidden) |  | ||||||
|               Image(this.warnFlag[13] == '1' ? $r('app.media.yh_r') : this.warnFlag[13] == '2' ? $r('app.media.yh') : '') |  | ||||||
|                 .width(103 * this.ratio) |                 .width(103 * this.ratio) | ||||||
|                 .height(118.5 * this.ratio) |                 .height(118.5 * this.ratio) | ||||||
|                 .visibility(this.passArray[13] ? Visibility.Visible : Visibility.Hidden) |                 .visibility(this.passArray[13] ? Visibility.Visible : Visibility.Hidden) | ||||||
|  |               Image(this.warnFlag[12] == '1' ? $r('app.media.yh_r') : this.warnFlag[12] == '2' ? $r('app.media.yh') : '') | ||||||
|  |                 .width(103 * this.ratio) | ||||||
|  |                 .height(118.5 * this.ratio) | ||||||
|  |                 .visibility(this.passArray[12] ? Visibility.Visible : Visibility.Hidden) | ||||||
|             } |             } | ||||||
|           } |           } | ||||||
|           .backgroundImage($r('app.media.rc')) |           .backgroundImage($r('app.media.rc')) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user