|
@@ -6,16 +6,16 @@
|
|
|
<Spin Spinning="Loading">
|
|
<Spin Spinning="Loading">
|
|
|
<div class="filter_box">
|
|
<div class="filter_box">
|
|
|
<div class="filter_row">
|
|
<div class="filter_row">
|
|
|
- <div class="filter_row" style="width:48%">
|
|
|
|
|
|
|
+ <div class="filter_row" style="width:48%;margin-top:0%;margin-bottom:0%;">
|
|
|
<span>文件名</span><Input Placeholder="请输入要查找的文件名" @bind-Value="filterData.searchFileName" Style="width:75%" />
|
|
<span>文件名</span><Input Placeholder="请输入要查找的文件名" @bind-Value="filterData.searchFileName" Style="width:75%" />
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="filter_row" style="width:48%">
|
|
|
|
|
|
|
+ <div class="filter_row" style="width:48%;margin-top:0%;margin-bottom:0%;">
|
|
|
<span>操作人</span><Input Placeholder="操作人" @bind-Value="filterData.searchMediaUploader" Style="width:75%" />
|
|
<span>操作人</span><Input Placeholder="操作人" @bind-Value="filterData.searchMediaUploader" Style="width:75%" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="filter_row">
|
|
<div class="filter_row">
|
|
|
- <div class="filter_row" style="width:48%">
|
|
|
|
|
|
|
+ <div class="filter_row" style="width:48%;margin-top:0%;margin-bottom:0%;">
|
|
|
<span>广告状态</span>
|
|
<span>广告状态</span>
|
|
|
<SimpleSelect OnSelectedItemChanged="OnSelectItemChange" Style="width:75%">
|
|
<SimpleSelect OnSelectedItemChanged="OnSelectItemChange" Style="width:75%">
|
|
|
<SelectOptions>
|
|
<SelectOptions>
|
|
@@ -26,7 +26,7 @@
|
|
|
</SimpleSelect>
|
|
</SimpleSelect>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div class="filter_row" style="width:48%">
|
|
|
|
|
|
|
+ <div class="filter_row" style="width:48%;margin-top:0%;margin-bottom:0%;">
|
|
|
<span>油机状态</span>
|
|
<span>油机状态</span>
|
|
|
<SimpleSelect Mode="SelectMode.Multiple" OnSelectedItemsChanged="OnSelectItemsChange" style="width:75%">
|
|
<SimpleSelect Mode="SelectMode.Multiple" OnSelectedItemsChanged="OnSelectItemsChange" style="width:75%">
|
|
|
<SelectOptions>
|
|
<SelectOptions>
|
|
@@ -44,21 +44,21 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="filter_row">
|
|
<div class="filter_row">
|
|
|
- <div class="filter_row" style="width:48%">
|
|
|
|
|
|
|
+ <div class="filter_row" style="width:48%;margin-top:0%;margin-bottom:0%;">
|
|
|
<span>有效时间段</span><RangePicker TValue="DateTime?[]" OnChange="@(date => onDateChage(date, 1))" style="width:75%" />
|
|
<span>有效时间段</span><RangePicker TValue="DateTime?[]" OnChange="@(date => onDateChage(date, 1))" style="width:75%" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div class="filter_row" style="width:48%">
|
|
|
|
|
|
|
+ <div class="filter_row" style="width:48%;margin-top:0%;margin-bottom:0%;">
|
|
|
<span>更新时间</span><RangePicker TValue="DateTime?[]" OnChange="@(date => onDateChage(date, 2))" style="width:75%" />
|
|
<span>更新时间</span><RangePicker TValue="DateTime?[]" OnChange="@(date => onDateChage(date, 2))" style="width:75%" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="filter_row">
|
|
<div class="filter_row">
|
|
|
- <div class="filter_row" style="width:48%">
|
|
|
|
|
|
|
+ <div class="filter_row" style="width:48%;margin-top:0%;margin-bottom:0%;">
|
|
|
<span>播放时段</span><RangePicker TValue="DateTime?[]" OnChange="@(date => onDateChage(date, 3))" Picker="DatePickerType.Time" Format="@("HH")" style="width:75%" />
|
|
<span>播放时段</span><RangePicker TValue="DateTime?[]" OnChange="@(date => onDateChage(date, 3))" Picker="DatePickerType.Time" Format="@("HH")" style="width:75%" />
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="filter_row" style="width:48%">
|
|
|
|
|
|
|
+ <div class="filter_row" style="width:48%;margin-top:0%;margin-bottom:0%;">
|
|
|
<span>油站</span><Input Placeholder="油站" @bind-Value="filterData.searchSiteName" Style="width:75%" />
|
|
<span>油站</span><Input Placeholder="油站" @bind-Value="filterData.searchSiteName" Style="width:75%" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -74,7 +74,7 @@
|
|
|
<MediaPreview onVisibleCallback="@((data) => OnDialogVisibleCallback(2, data))" @bind-IsVisible="isPreviewOpen" @bind-media="previewModel" />
|
|
<MediaPreview onVisibleCallback="@((data) => OnDialogVisibleCallback(2, data))" @bind-IsVisible="isPreviewOpen" @bind-media="previewModel" />
|
|
|
|
|
|
|
|
|
|
|
|
|
- <Table @ref="_Table" AutoHeight TItem="MediaInfoModel" DataSource="_DataSource" PageSize="filterData.pageSize" Total="Total"
|
|
|
|
|
|
|
+ <Table @ref="_Table" Class="compact-table" TItem="MediaInfoModel" DataSource="_DataSource" PageSize="filterData.pageSize" Total="Total"
|
|
|
OnChange="OnChange">
|
|
OnChange="OnChange">
|
|
|
<ColumnDefinitions Context="row">
|
|
<ColumnDefinitions Context="row">
|
|
|
<PropertyColumn Property="c => c.FileName" Title="文件名" />
|
|
<PropertyColumn Property="c => c.FileName" Title="文件名" />
|
|
@@ -133,7 +133,23 @@
|
|
|
justify-content:space-between;
|
|
justify-content:space-between;
|
|
|
align-items:center;
|
|
align-items:center;
|
|
|
width:100%;
|
|
width:100%;
|
|
|
- margin-top:2%;
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .compact-table {
|
|
|
|
|
+ min-height: 30vh;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .compact-table .ant-table-thead > tr > th,
|
|
|
|
|
+ .compact-table .ant-table-tbody > tr > td {
|
|
|
|
|
+ padding: 6px 8px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ line-height: 1.2;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .compact-table .ant-btn {
|
|
|
|
|
+ height: 24px;
|
|
|
|
|
+ padding: 0 8px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
</style>
|