From f1fc2f9c8f40f8def2b8563b37af56b074dc01e2 Mon Sep 17 00:00:00 2001 From: wangzhongjie Date: Fri, 27 Jun 2025 17:29:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=9C=89=E8=BE=93=E5=85=A5=E6=B3=95=E4=BC=9A=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=BC=B9=E5=87=BA=E8=87=AA=E5=8A=A8=E8=81=9A=E7=84=A6=E5=BD=B1?= =?UTF-8?q?=E5=93=8D=E4=BD=93=E9=AA=8C=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/Register.ets | 7 +++++-- entry/src/main/ets/pages/TerminalInfo.ets | 7 ++++++- entry/src/main/ets/pages/VideoConfig/Config.ets | 1 + 3 files changed, 12 insertions(+), 3 deletions(-) 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({