From 33db766be0c171e2356b99cad2525b259ad7c9e4 Mon Sep 17 00:00:00 2001 From: qiqi Date: Tue, 5 Dec 2023 16:22:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(issues:I7X845):=E4=BF=AE=E5=A4=8D=E5=B7=A6?= =?UTF-8?q?=E4=BE=A7=E6=BB=9A=E5=8A=A8=E5=88=86=E5=89=B2=E7=BA=BF=E9=95=BF?= =?UTF-8?q?=E5=BA=A6=E4=B8=8D=E6=AD=A3=E7=A1=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qml/AppUI/AppList.qml | 1 + qml/AppUI/AppListView.qml | 10 ---------- qml/AppUI/AppPageContent.qml | 10 ++++++++++ 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/qml/AppUI/AppList.qml b/qml/AppUI/AppList.qml index 9f3e423..34c745c 100644 --- a/qml/AppUI/AppList.qml +++ b/qml/AppUI/AppList.qml @@ -28,6 +28,7 @@ Item { property string title: "" property string idSelect: "" property bool folderEditStatus: false + property int viewContentY: appListView.view.contentY signal labelItemClicked() signal openFolderPageSignal(string folderId, string folderName) function labelSelection(labelId) { diff --git a/qml/AppUI/AppListView.qml b/qml/AppUI/AppListView.qml index 9cb21d1..49bda09 100644 --- a/qml/AppUI/AppListView.qml +++ b/qml/AppUI/AppListView.qml @@ -33,16 +33,6 @@ MouseArea { hoverEnabled: true clip: true - AppControls2.StyleBackground { - anchors.top: parent.top - width: parent.width - height: 1 - useStyleTransparent: false - alpha: 0.15 - paletteRole: Palette.Text - visible: listView.contentY > 0 - } - RowLayout { anchors.fill: parent spacing: 0 diff --git a/qml/AppUI/AppPageContent.qml b/qml/AppUI/AppPageContent.qml index 4be3b86..0604111 100644 --- a/qml/AppUI/AppPageContent.qml +++ b/qml/AppUI/AppPageContent.qml @@ -41,6 +41,16 @@ SwipeView { Item { id: appListBase + AppControls2.StyleBackground { + anchors.top: parent.top + width: parent.width + height: 1 + useStyleTransparent: false + alpha: 0.15 + paletteRole: Palette.Text + visible: appList.viewContentY > 0 && appList.visible + } + AppList { id: appList anchors.fill: parent