Compare commits

..

No commits in common. "1301334230e2cdddb4341e81e39b22656eabc74e" and "b6ea810892445248a48c5ae4e07edef4131e00e9" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View File

@ -185,6 +185,7 @@ export default class TcpClient {
globalThis.tcpUdpError = true;
}, 2000)
},3000)
// callback(value.message)
});
}
@ -192,7 +193,6 @@ export default class TcpClient {
offTcp(callback) {
console.log(TAG, 'tcpofff')
this.tcp.off('testTagofmessg', callback);
}

View File

@ -743,7 +743,7 @@ struct UserInfo {
.backgroundImage(item.sfzmhm != this.currentUser.sfzmhm ? $r('app.media.userbox2') : $r('app.media.userboxbg'))
.backgroundImageSize({ width: '100%', height: '100%' })
.onClick(() => {
if (this.isExamStart&&!globalThis.singlePlay) {
if (this.isExamStart) {
return
}
this.currentUser = item
@ -997,9 +997,9 @@ struct LabelBlock {
build() {
Row() {
Text(this.label).fontSize(20 * this.ratio).fontColor('#99948A')
Text(this.label).fontSize(16 * this.ratio).fontColor('#99948A')
Row() {
Text(decodeURIComponent(this.value)).fontColor('#fff').textAlign(TextAlign.Center).width('100%').fontSize(18 * this.ratio)
Text(decodeURIComponent(this.value)).fontColor('#fff').textAlign(TextAlign.Center).width('100%')
}
.commLabelStyle()
}.margin({ bottom: 10 * this.ratio })