AicsKnowledgeBase_client/AicsKnowledgeBase/qml/global/NavItems.qml

62 lines
1.3 KiB
QML

pragma Singleton
import QtQuick
import FluentUI
FluObject {
property var navigationView
FluPaneItem {
title: "探索"
icon: FluentIcons.Home
onTap: {
navigationView.push("qrc:/AicsKnowledgeBase/qml/page/HomePage.qml")
}
}
FluPaneItem {
title: "全部"
icon: FluentIcons.FileExplorer
onTap: {
navigationView.push("qrc:/AicsKnowledgeBase/qml/page/FilePage.qml")
}
}
FluPaneItem {
title: "文档"
icon: FluentIcons.Document
onTap: {
navigationView.push("qrc:/AicsKnowledgeBase/qml/page/DocumentPage.qml")
}
}
FluPaneItem {
title: "视频"
icon: FluentIcons.Movies
onTap: {
navigationView.push("qrc:/AicsKnowledgeBase/qml/page/VideoPage.qml")
}
}
FluPaneItem {
title: "音频"
icon: FluentIcons.Audio
onTap: {
navigationView.push("qrc:/AicsKnowledgeBase/qml/page/AudioPage.qml")
}
}
FluPaneItem {
title: "搜索"
icon: FluentIcons.Search
onTap: {
navigationView.push("qrc:/AicsKnowledgeBase/qml/page/SearchPage.qml")
}
}
function startPageByItem(data) {
navigationView.startPageByItem(data)
}
}