This commit is contained in:
朱子楚\zhuzi
2023-08-07 21:46:54 +08:00
parent e4fb9989d0
commit f8340bdf59
5 changed files with 186 additions and 89 deletions

View File

@ -27,6 +27,7 @@ CustomWindow {
Component.onCompleted: {
FluTools.setQuitOnLastWindowClosed(false)
tour.open()
}
SystemTrayIcon {
@ -175,7 +176,8 @@ CustomWindow {
title:"FluentUI"
onLogoClicked:{
clickCount += 1
if(clickCount === 1){
showSuccess("点击%1次".arg(clickCount))
if(clickCount === 5){
loader.reload()
flipable.flipped = true
clickCount = 0
@ -259,4 +261,12 @@ CustomWindow {
}
}
FluTour{
id:tour
steps:[
{title:"夜间模式",description: "这里可以切换夜间模式.",target:()=>app_bar_front.darkButton()},
{title:"隐藏彩蛋",description: "多点几下试试!!",target:()=>nav_view.logoButton()}
]
}
}