修改滑动热区

Signed-off-by: lijinfengde123 <lijinfeng26@huawei.com>
This commit is contained in:
lijinfengde123
2024-04-09 10:16:30 +08:00
parent 3a28a185cb
commit 532559fe71
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
"name": "default",
"signingConfig": "default",
"compileSdkVersion": 11,
"compatibleSdkVersion": 11
"compatibleSdkVersion": 10
}
],
"signingConfigs": [
+2 -1
View File
@@ -118,6 +118,7 @@ class IndexDispatcher {
}
}
const ZOOM_HEIGHT = 140;
@Entry
@Component
@@ -345,7 +346,7 @@ struct Index {
}
.visibility((!this.state.isShowtimeLapse && this.state.showZoomLabelValue) ? Visibility.Visible : Visibility.Hidden)
}
}.width('100%').height(302).position({ y: this.state.footBarHeight })
}.width('100%').height(302 - ZOOM_HEIGHT).position({ y: this.state.footBarHeight + ZOOM_HEIGHT })
.visibility(!this.state.isShowtimeLapse ? Visibility.Visible : Visibility.Hidden)
if (this.state.isShowPageView) {