zoukankan      html  css  js  c++  java
  • cshtm判断

     @{
                                            var data
    ="";
                                            
    if (at.Type=="H")
                                            {
                                                data 
    = "热销活动";
                                            }
                                            
    else if (at.Type == "B")
                                            {
                                                data 
    = "限时抢购";
                                            }
                                            
    else if (at.Type == "S")
                                            {
                                                data 
    = "当季专题";
                                            }
                                            
    else if (at.Type == "T")
                                            {
                                                data 
    = "动态消息";
                                            }
                                            @data;
                                     }
  • 相关阅读:
    AUTOSAR-文档中所使用的UML文件
    开心一下-实现基于Java一个中文编程语言
    HDU 1026 Ignatius and the Princess I
    HDU 2553 (状压) N皇后问题 (2)
    UVa 11825 (状压DP) Hackers' Crackdown
    UVa 10891 (博弈+DP) Game of Sum
    LA 2965 Jurassic Remains
    HDU 2126 (背包方法数) Buy the souvenirs
    POJ 3984 迷宫问题
    POJ 3287 (基础BFS) Catch That Cow
  • 原文地址:https://www.cnblogs.com/shizhi57/p/2105521.html
Copyright © 2011-2022 走看看