diff --git a/entry/src/main/ets/pages/Register.ets b/entry/src/main/ets/pages/Register.ets index bff7885..aa168b6 100644 --- a/entry/src/main/ets/pages/Register.ets +++ b/entry/src/main/ets/pages/Register.ets @@ -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() { diff --git a/entry/src/main/ets/pages/TerminalInfo.ets b/entry/src/main/ets/pages/TerminalInfo.ets index c3cc959..277cdbc 100644 --- a/entry/src/main/ets/pages/TerminalInfo.ets +++ b/entry/src/main/ets/pages/TerminalInfo.ets @@ -23,6 +23,7 @@ struct TerminalInfoPage { this.config = JSON.parse(data) AppStorage.setOrCreate("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 }) diff --git a/entry/src/main/ets/pages/VideoConfig/Config.ets b/entry/src/main/ets/pages/VideoConfig/Config.ets index 9426d3e..5cb93ab 100644 --- a/entry/src/main/ets/pages/VideoConfig/Config.ets +++ b/entry/src/main/ets/pages/VideoConfig/Config.ets @@ -35,6 +35,7 @@ export default struct VideoConfigComponent { }).height(60) Column() { + Button().opacity(1).width(0).height(0) // 第一行 Row() { LabelComponent({