FluentUI/Gallery/res/qml/component/ComAnalysisInfo.qml
yxdy aa9180d289
Some checks failed
Gallery App Build / Windows (push) Has been cancelled
Gallery App Build / macOS (push) Has been cancelled
Gallery App Build / Ubuntu (push) Has been cancelled
fix: 修改样式
2025-02-19 09:20:59 +08:00

150 lines
3.8 KiB
QML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import FluentUI.Controls
import FluentUI.impl
Item {
id: control
signal closeSim();
anchors.fill: parent
ListModel{
id: tab_model
ListElement{
title: "运煤计算"
}
ListElement{
title: "站点规划"
}
ListElement{
title: "站内规划"
}
}
TabBar {
id: bar
width: parent.width
clip: true
Repeater {
model: tab_model
TabButton {
id: btn_tab
text: model.title
font.pointSize: 10
}
}
}
WindowResultLauncher{
id: iconResultLauncher
path: "/sim"
onResult:
(data)=>{
control.closeSim()
}
}
StackLayout {
currentIndex: bar.currentIndex
anchors{
left: bar.left
right: bar.right
top: bar.bottom
bottom: parent.bottom
topMargin: 10
}
Rectangle{
Layout.fillWidth: true
Layout.fillHeight: true
color: 'transparent'
ColumnLayout{
anchors.fill: parent
spacing: 15
Rectangle{
Layout.preferredHeight: 100
Layout.fillWidth: true
color: "transparent"
border.color: "#ffffff"
border.width: 2
ColumnLayout{
RowLayout{
Label{
text: "方案一"
}
}
RowLayout{
Label{
Layout.preferredWidth: 180
text: "预期收益1000万碳减排500万吨投建站点年收益100万"
wrapMode: Label.WordWrap
}
}
RowLayout{
Button{
text: "查看"
}
Button{
text: "导出报告"
}
}
}
}
Button{
text: "新建方案"
highlighted: true
onClicked: {
WindowRouter.go("/sim",{type:"WindowType.Standard"})
}
}
Item{
Layout.fillHeight: true
}
}
}
Rectangle{
Layout.fillWidth: true
Layout.fillHeight: true
color: 'transparent'
Label{
text: "设计站点位置,计算成本收益"
}
}
Rectangle{
Layout.fillWidth: true
Layout.fillHeight: true
color: 'transparent'
Label{
text: "设计站内数据,瓶颈分析"
}
}
}
// Button{
// text: "运煤计算"
// onClicked: {
// WindowRouter.go("/sim",{type:"WindowType.Standard"})
// }
// }
// Button{
// text: "补能站整体规划"
// }
// Button{
// text: "站内规划"
// }
// Rectangle{
// Layout.fillHeight: true
// Layout.fillWidth: true
// color: 'green'
// }
}