折扣价

This commit is contained in:
“wanyongkang”
2021-10-12 16:53:12 +08:00
parent 0676870204
commit f4918a7273
3 changed files with 69 additions and 8 deletions

View File

@@ -174,7 +174,7 @@
height: 0px;
border: 1.0rem solid #FF9933;
border-right-color: transparent;
content: "送 1 天";
content: "7折+送 1 天";
box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000;
}
@@ -202,7 +202,7 @@
height: 0px;
border: 1.0rem solid #FF9933;
border-right-color: transparent;
content: "送 3 天";
content: "7折+送 3 天";
box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000;
}
@@ -231,7 +231,7 @@
height: 0px;
border: 1.0rem solid #FF9933;
border-right-color: transparent;
content: "送 10 天";
content: "7折+送 10 天";
box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000;
}
@@ -260,7 +260,7 @@
height: 0px;
border: 1.0rem solid #FF9933;
border-right-color: transparent;
content: "送 1 月";
content: "7折+送 1 月";
box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000;
}
@@ -334,10 +334,16 @@
@foreach (var item in Model)
{
if(item.Product.Id == 18) {
<div class="productItem" style="" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id"><span class="glyphicon glyphicon-thumbs-up" style="color: #f64e3d;font-weight:bold;padding-right: 5px;">新</span>@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">活动</span></div>
<div class="productItem" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id"><span class="glyphicon glyphicon-thumbs-up" style="color: #f64e3d;font-weight:bold;padding-right: 5px;">新</span>@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">7折</span></div>
}
else if(item.Product.Id == 6) {
<div class="productItem" style="" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id"><span class="glyphicon glyphicon-thumbs-up" style="color: #f64e3d;font-weight:bold;padding-right: 5px;"> </span>@item.Product.Name</div>
<div class="productItem" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id"><span class="glyphicon glyphicon-thumbs-up" style="color: #f64e3d;font-weight:bold;padding-right: 5px;"> </span>@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">9折</span></div>
}
else if(item.Product.Id == 1||item.Product.Id == 2||item.Product.Id == 13||item.Product.Id == 14||item.Product.Id == 17||item.Product.Id == 19) {
<div class="productItem" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id">@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">8折</span></div>
}
else if(item.Product.Id == 5) {
<div class="productItem" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id">@item.Product.Name<span style="color: #f64e3d;font-weight:bold;float:right;padding-right: 5px;">9折</span></div>
}
else {
<div class="productItem" id="@("p"+item.Product.Id)" a-pid="@item.Product.Id">@item.Product.Name </div>