From 2a8f8f65de9ea28833c2b7d7684dd4ac2e0da7bf Mon Sep 17 00:00:00 2001 From: wangzhongjie Date: Thu, 12 Jun 2025 16:14:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E4=BA=86=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/Index/BottomMessage.ets | 2 +- entry/src/main/ets/pages/TerminalInfos.ets | 3 ++- entry/src/main/ets/pages/compontents/Header.ets | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/entry/src/main/ets/pages/Index/BottomMessage.ets b/entry/src/main/ets/pages/Index/BottomMessage.ets index a2ebe73..4ac0f0c 100644 --- a/entry/src/main/ets/pages/Index/BottomMessage.ets +++ b/entry/src/main/ets/pages/Index/BottomMessage.ets @@ -24,7 +24,7 @@ export default struct BottomMessageComponent { this.versionClick && this.versionClick() }) ) - ) + ).alignItems(HorizontalAlign.Start) Text("考车号: " + this.examCarNumber).textCommonStyle() }.width("100%") diff --git a/entry/src/main/ets/pages/TerminalInfos.ets b/entry/src/main/ets/pages/TerminalInfos.ets index 3f843cb..e1b7265 100644 --- a/entry/src/main/ets/pages/TerminalInfos.ets +++ b/entry/src/main/ets/pages/TerminalInfos.ets @@ -40,13 +40,14 @@ struct Index { .fontColor('#E5CBA1') .padding({ 'left': '35px' }) .fontSize(this.inputFontSize * this.ratio) - TextInput({ 'text': this.inputTextList1[index] ? this.inputTextList1[index] : '' }) + TextInput({ text: this.inputTextList1[index] ? this.inputTextList1[index] : '' }) .width('50%') .height('60%') .fontColor('#fff') .borderColor('#E6E0D8') .borderRadius('10px') .borderWidth('2px') + .defaultFocus(false) .fontSize(this.inputFontSize * this.ratio) .padding({ top: 0, bottom: 0 }) .linearGradient({ diff --git a/entry/src/main/ets/pages/compontents/Header.ets b/entry/src/main/ets/pages/compontents/Header.ets index 7f15142..3f7a107 100644 --- a/entry/src/main/ets/pages/compontents/Header.ets +++ b/entry/src/main/ets/pages/compontents/Header.ets @@ -152,7 +152,7 @@ struct BtnComponent { .justifyContent(FlexAlign.Center) .alignItems(VerticalAlign.Center) .margin({ - left: 20 + left: 80 }) } } \ No newline at end of file