@foreach (var item in Model)
{
- @* @if( item.Product.Id == 14){
-
@item.Product.Name 送1月
+ @if( item.Product.Id == 1||item.Product.Id == 2||item.Product.Id == 4||item.Product.Id == 6||item.Product.Id == 13||item.Product.Id == 5){
+
@item.Product.Name 活动
}
- else if(item.Product.Id == 4 || item.Product.Id == 13) {
+ @* else if(item.Product.Id == 4 || item.Product.Id == 13) {
@item.Product.Name 八折
- }
- else { *@
+ } *@
+ else {
@item.Product.Name
- @* } *@
+ }
}