Skip to content

Commit

Permalink
chore: ui update
Browse files Browse the repository at this point in the history
  • Loading branch information
Qinyouzeng committed Jun 19, 2024
1 parent e812226 commit b5434e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Web/Masa.Tsc.Web.Admin.Rcl/Pages/App/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</div>
</div>
<div class="d-flex justify-space-between py-2">
<div class="my-2">APP版本号:@firstTrace?.Resource["service.version"]</div>
<div class="my-2 pl-1">APP版本号:@firstTrace?.Resource["service.version"]</div>
<div class="my-2 pl-4">终端类型:@ClientType()</div>
<div class="my-2 pl-4">手机型号:@PhoneModel()</div>
<div class="my-2 pl-4">操作系统:@ClientOs()</div>
Expand Down Expand Up @@ -157,9 +157,9 @@
bool isSelected = currentLog != null && item == currentLog;
bool isSearchMatched = IsSearchKeyword(item);
var color = item.IsError ? "red" : isSelected ? "yellow lighten-2" : isSearchMatched ? "orange lighten-2" : "light-green lighten-2";
<div class="d-flex mt-1 text-caption" @onclick="()=>ChangeCurrent(trace,item)">
<div class="d-flex mt-1 text-caption @(isSelected?"grey pl-1":"")" @onclick="()=>ChangeCurrent(trace,item)">
<div class="pl-2 py-1 @color">@item.Time.UtcFormatLocal(CurrentTimeZone)</div>
<div class="pl-6 py-1 pr-2 @color rounded-r-sm">点击</div>
<div class="pl-5 py-1 pr-2 @color rounded-r-sm">点击</div>
<div class="pr-4 py-1 @color rounded-r-sm flex-grow-1">@item.Text</div>
</div>
}
Expand Down

0 comments on commit b5434e4

Please sign in to comment.