main
zhuzihcu 2023-06-12 17:36:36 +08:00
parent e651b731cf
commit 47b0c71f95
2 changed files with 2 additions and 6 deletions

View File

@ -26,11 +26,6 @@ FluExpander{
color:FluTheme.dark ? Qt.rgba(50/255,50/255,50/255,1) : Qt.rgba(247/255,247/255,247/255,1) color:FluTheme.dark ? Qt.rgba(50/255,50/255,50/255,1) : Qt.rgba(247/255,247/255,247/255,1)
border.color: FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1) border.color: FluTheme.dark ? Qt.rgba(45/255,45/255,45/255,1) : Qt.rgba(226/255,229/255,234/255,1)
border.width: 1 border.width: 1
Behavior on color{
ColorAnimation {
duration: 300
}
}
} }
} }

View File

@ -4,6 +4,7 @@ import QtQuick.Layouts
import FluentUI import FluentUI
Item{ Item{
id:control
enum StatusMode { enum StatusMode {
Loading, Loading,
Empty, Empty,
@ -80,7 +81,7 @@ Item{
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
text:"重新加载" text:"重新加载"
onClicked:{ onClicked:{
errorClicked.call() control.errorClicked()
} }
} }
} }