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 { registrationDeviceNo } from '../api/checkCar'
|
||||||
import deviceManager from '@ohos.distributedHardware.deviceManager'
|
import deviceManager from '@ohos.distributedHardware.deviceManager'
|
||||||
|
|
||||||
@ -8,6 +7,7 @@ import dayTs from '../utils/Date'
|
|||||||
import FileUtils from '../utils/FileUtils'
|
import FileUtils from '../utils/FileUtils'
|
||||||
import Prompt from '@system.prompt'
|
import Prompt from '@system.prompt'
|
||||||
import { dConsole } from '../utils/LogWorker'
|
import { dConsole } from '../utils/LogWorker'
|
||||||
|
import HeaderComponent from './compontents/Header'
|
||||||
|
|
||||||
@Entry
|
@Entry
|
||||||
@Component
|
@Component
|
||||||
@ -43,7 +43,10 @@ struct RegisterPage {
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
Column() {
|
Column() {
|
||||||
TopLogo({ outFlag: $outFlag })
|
HeaderComponent({
|
||||||
|
shortLogo: true,
|
||||||
|
shouBackArea: true
|
||||||
|
})
|
||||||
Column() {
|
Column() {
|
||||||
Row() {
|
Row() {
|
||||||
Row() {
|
Row() {
|
||||||
|
|||||||
@ -23,6 +23,7 @@ struct TerminalInfoPage {
|
|||||||
this.config = JSON.parse(data)
|
this.config = JSON.parse(data)
|
||||||
AppStorage.setOrCreate<EnvironmentConfigurationType>("EnvironmentConfiguration", this.config)
|
AppStorage.setOrCreate<EnvironmentConfigurationType>("EnvironmentConfiguration", this.config)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -37,6 +38,7 @@ struct TerminalInfoPage {
|
|||||||
})
|
})
|
||||||
Column() {
|
Column() {
|
||||||
Column() {
|
Column() {
|
||||||
|
Button().opacity(1).width(0).height(0)
|
||||||
Flex({
|
Flex({
|
||||||
wrap: FlexWrap.Wrap,
|
wrap: FlexWrap.Wrap,
|
||||||
}) {
|
}) {
|
||||||
@ -326,6 +328,9 @@ struct blockComponent {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
aboutToAppear(): void {
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
Row() {
|
Row() {
|
||||||
Row() {
|
Row() {
|
||||||
@ -340,6 +345,7 @@ struct blockComponent {
|
|||||||
TextInput({
|
TextInput({
|
||||||
text: this.value,
|
text: this.value,
|
||||||
})
|
})
|
||||||
|
.defaultFocus(false)
|
||||||
.type(InputType.Normal)
|
.type(InputType.Normal)
|
||||||
.borderRadius(0)
|
.borderRadius(0)
|
||||||
.fontSize(20)
|
.fontSize(20)
|
||||||
@ -371,7 +377,6 @@ struct blockComponent {
|
|||||||
Text(item.label).fontSize(20).fontColor('#FFF')
|
Text(item.label).fontSize(20).fontColor('#FFF')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}.width("65%").padding({
|
}.width("65%").padding({
|
||||||
right: 15
|
right: 15
|
||||||
})
|
})
|
||||||
|
|||||||
@ -35,6 +35,7 @@ export default struct VideoConfigComponent {
|
|||||||
}).height(60)
|
}).height(60)
|
||||||
|
|
||||||
Column() {
|
Column() {
|
||||||
|
Button().opacity(1).width(0).height(0)
|
||||||
// 第一行
|
// 第一行
|
||||||
Row() {
|
Row() {
|
||||||
LabelComponent({
|
LabelComponent({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user