fix: 解决页面有输入法会自动弹出自动聚焦影响体验问题
This commit is contained in:
parent
e34297a337
commit
f1fc2f9c8f
@ -1,4 +1,3 @@
|
||||
import TopLogo from './compontents/TopLogo'
|
||||
import { registrationDeviceNo } from '../api/checkCar'
|
||||
import deviceManager from '@ohos.distributedHardware.deviceManager'
|
||||
|
||||
@ -8,6 +7,7 @@ import dayTs from '../utils/Date'
|
||||
import FileUtils from '../utils/FileUtils'
|
||||
import Prompt from '@system.prompt'
|
||||
import { dConsole } from '../utils/LogWorker'
|
||||
import HeaderComponent from './compontents/Header'
|
||||
|
||||
@Entry
|
||||
@Component
|
||||
@ -43,7 +43,10 @@ struct RegisterPage {
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
TopLogo({ outFlag: $outFlag })
|
||||
HeaderComponent({
|
||||
shortLogo: true,
|
||||
shouBackArea: true
|
||||
})
|
||||
Column() {
|
||||
Row() {
|
||||
Row() {
|
||||
|
||||
@ -23,6 +23,7 @@ struct TerminalInfoPage {
|
||||
this.config = JSON.parse(data)
|
||||
AppStorage.setOrCreate<EnvironmentConfigurationType>("EnvironmentConfiguration", this.config)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
@ -37,6 +38,7 @@ struct TerminalInfoPage {
|
||||
})
|
||||
Column() {
|
||||
Column() {
|
||||
Button().opacity(1).width(0).height(0)
|
||||
Flex({
|
||||
wrap: FlexWrap.Wrap,
|
||||
}) {
|
||||
@ -326,6 +328,9 @@ struct blockComponent {
|
||||
}
|
||||
]
|
||||
|
||||
aboutToAppear(): void {
|
||||
}
|
||||
|
||||
build() {
|
||||
Row() {
|
||||
Row() {
|
||||
@ -340,6 +345,7 @@ struct blockComponent {
|
||||
TextInput({
|
||||
text: this.value,
|
||||
})
|
||||
.defaultFocus(false)
|
||||
.type(InputType.Normal)
|
||||
.borderRadius(0)
|
||||
.fontSize(20)
|
||||
@ -371,7 +377,6 @@ struct blockComponent {
|
||||
Text(item.label).fontSize(20).fontColor('#FFF')
|
||||
})
|
||||
}
|
||||
|
||||
}.width("65%").padding({
|
||||
right: 15
|
||||
})
|
||||
|
||||
@ -35,6 +35,7 @@ export default struct VideoConfigComponent {
|
||||
}).height(60)
|
||||
|
||||
Column() {
|
||||
Button().opacity(1).width(0).height(0)
|
||||
// 第一行
|
||||
Row() {
|
||||
LabelComponent({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user