Merge pull request 'lv_chengmai' (#62) from lv_chengmai into main
Reviewed-on: #62
This commit is contained in:
		
						commit
						1301334230
					
				| @ -185,7 +185,6 @@ export default class TcpClient { | |||||||
|           globalThis.tcpUdpError = true; |           globalThis.tcpUdpError = true; | ||||||
|         }, 2000) |         }, 2000) | ||||||
|       },3000) |       },3000) | ||||||
| 
 |  | ||||||
|       // callback(value.message)
 |       // callback(value.message)
 | ||||||
|     }); |     }); | ||||||
|   } |   } | ||||||
| @ -193,6 +192,7 @@ export default class TcpClient { | |||||||
|   offTcp(callback) { |   offTcp(callback) { | ||||||
|     console.log(TAG, 'tcpofff') |     console.log(TAG, 'tcpofff') | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|     this.tcp.off('testTagofmessg', callback); |     this.tcp.off('testTagofmessg', callback); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -743,7 +743,7 @@ struct UserInfo { | |||||||
|             .backgroundImage(item.sfzmhm != this.currentUser.sfzmhm ? $r('app.media.userbox2') : $r('app.media.userboxbg')) |             .backgroundImage(item.sfzmhm != this.currentUser.sfzmhm ? $r('app.media.userbox2') : $r('app.media.userboxbg')) | ||||||
|             .backgroundImageSize({ width: '100%', height: '100%' }) |             .backgroundImageSize({ width: '100%', height: '100%' }) | ||||||
|             .onClick(() => { |             .onClick(() => { | ||||||
|               if (this.isExamStart) { |               if (this.isExamStart&&!globalThis.singlePlay) { | ||||||
|                 return |                 return | ||||||
|               } |               } | ||||||
|               this.currentUser = item |               this.currentUser = item | ||||||
| @ -997,9 +997,9 @@ struct LabelBlock { | |||||||
| 
 | 
 | ||||||
|   build() { |   build() { | ||||||
|     Row() { |     Row() { | ||||||
|       Text(this.label).fontSize(16 * this.ratio).fontColor('#99948A') |       Text(this.label).fontSize(20 * this.ratio).fontColor('#99948A') | ||||||
|       Row() { |       Row() { | ||||||
|         Text(decodeURIComponent(this.value)).fontColor('#fff').textAlign(TextAlign.Center).width('100%') |         Text(decodeURIComponent(this.value)).fontColor('#fff').textAlign(TextAlign.Center).width('100%').fontSize(18 * this.ratio) | ||||||
|       } |       } | ||||||
|       .commLabelStyle() |       .commLabelStyle() | ||||||
|     }.margin({ bottom: 10 * this.ratio }) |     }.margin({ bottom: 10 * this.ratio }) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user