fix: 优化了一些小问题

This commit is contained in:
wangzhongjie 2025-06-12 16:14:48 +08:00
parent 20c91c90a9
commit 2a8f8f65de
3 changed files with 4 additions and 3 deletions

View File

@ -24,7 +24,7 @@ export default struct BottomMessageComponent {
this.versionClick && this.versionClick()
})
)
)
).alignItems(HorizontalAlign.Start)
Text("考车号: " + this.examCarNumber).textCommonStyle()
}.width("100%")

View File

@ -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({

View File

@ -152,7 +152,7 @@ struct BtnComponent {
.justifyContent(FlexAlign.Center)
.alignItems(VerticalAlign.Center)
.margin({
left: 20
left: 80
})
}
}