Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
张善主
2024-06-06 09:48:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
56bc37324d833ae8a79b9687fa8804d1c5d33b28
56bc3732
1 parent
36164485
fix(意见反馈页):顶部底部适配
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
sight_harmony/features/wdComponent/src/main/ets/components/FeedBackActivity.ets
sight_harmony/features/wdComponent/src/main/ets/components/FeedBackActivity.ets
View file @
56bc373
...
...
@@ -40,6 +40,10 @@ export struct FeedBackActivity {
@State pics: PhotoListBean[] = [this.addPic] as PhotoListBean[]
@State toastText:ResourceStr = ""
// @Provide bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0
@Provide topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0
dialogToast: CustomDialogController = new CustomDialogController({
builder: CustomToast({
bgColor:$r("app.color.color_B3000000"),
...
...
@@ -60,6 +64,7 @@ export struct FeedBackActivity {
build() {
Column() {
Blank().height(`${this.topSafeHeight}px`)
//标题栏目
CustomTitleUI({ titleName: $r('app.string.feedback') })
Stack({ alignContent: Alignment.Bottom }) {
...
...
@@ -285,7 +290,7 @@ export struct FeedBackActivity {
.height(CommonConstants.FULL_HEIGHT)
.scrollBar(BarState.Off)
.alignSelf(ItemAlign.Start)
.padding({ bottom:
4
4 })
.padding({ bottom:
64+6
4 })
Column(){
Text($r('app.string.submit'))
.textAlign(TextAlign.Center)
...
...
@@ -301,10 +306,9 @@ export struct FeedBackActivity {
}
this.reportCommit()
})
.margin({bottom:64})
.margin({bottom:64
+64
})
}
}
// .margin({bottom:64})
}
.backgroundColor($r('app.color.color_fff'))
}
...
...
Please
register
or
login
to post a comment