This commit is contained in:
2248356998 qq.com
2025-09-11 19:05:14 +08:00
parent 3658199e0a
commit 427a7404bc
5 changed files with 30 additions and 15 deletions

View File

@@ -1,9 +1,9 @@
<Project>
<PropertyGroup>
<PluginVersion>10.11.37</PluginVersion>
<ProPluginVersion>10.11.37</ProPluginVersion>
<DefaultVersion>10.11.37</DefaultVersion>
<PluginVersion>10.11.38</PluginVersion>
<ProPluginVersion>10.11.38</ProPluginVersion>
<DefaultVersion>10.11.38</DefaultVersion>
<AuthenticationVersion>10.11.5</AuthenticationVersion>
<SourceGeneratorVersion>10.11.4</SourceGeneratorVersion>
<NET8Version>8.0.20</NET8Version>

View File

@@ -12,7 +12,6 @@ using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Concurrent;
using ThingsGateway.Common.Extension;

View File

@@ -48,7 +48,7 @@
}
/*切换高度*/
.quickactions-list.is-open {
height: 300px;
height: 200px;
}
.quickactions-header {

View File

@@ -76,18 +76,34 @@ public partial class DeviceRuntimeInfo1 : IDisposable
{
return;
}
await DialogService.Show(new DialogOption()
{
IsScrolling = false,
ShowMaximizeButton = true,
Size = Size.ExtraExtraLarge,
Title = DeviceRuntime.Name,
Component = BootstrapDynamicComponent.CreateComponent(driver, new Dictionary<string, object?>()
var renderFragment = BootstrapDynamicComponent.CreateComponent(driver, new Dictionary<string, object?>()
{
{nameof(IDriverUIBase.Driver),DeviceRuntime.Driver},
})
});
}).Render();
if (renderFragment != null)
{
var option = new WinBoxOption()
{
Title = DeviceRuntime.Name,
ContentTemplate = renderFragment,
Max = false,
Width = "80%",
Height = "80%",
Top = "0%",
Left = "10%",
Background = "var(--bb-primary-color)",
Overflow = true
};
await WinBoxService.Show(option);
}
}
[Inject]
[NotNull]
private WinBoxService? WinBoxService { get; set; }
#endif
[Inject]

View File

@@ -126,7 +126,7 @@ public partial class MainLayout : IDisposable
if (context is TabItem tabItem)
{
await WinboxRender(tabItem.ChildContent, tabItem.Text);
await _tab.RemoveTab(tabItem);
//await _tab.RemoveTab(tabItem);
}
}
[Inject]