页面优化

This commit is contained in:
“wanyongkang”
2024-02-19 14:30:22 +08:00
parent a5cf256780
commit c2f43df2e6
8 changed files with 125 additions and 70 deletions

View File

@@ -161,7 +161,7 @@
<div class="container">
<div class="xianlu" style="padding-top: 2em;">
@foreach (var item in product.Where(m => m.Id != 3 && m.Id != 7 && m.Id != 9&& m.Id != 20&& m.Id != 21))
@foreach (var item in product.Where(m => m.Id != 3 && m.Id != 7 && m.Id != 9&& m.Id != 20&& m.Id != 21).OrderBy(m=>m.Sort))
{
<div style="background-color:#00a63f;" v-on:click="select_product(@item.Id)" id="product-@item.Id" class="item @(item.Id==pid?"blueLine":"")" a-pid="@item.Id" a-name="@item.Name">
<span>@item.Name</span><img src="~/img/check.png">