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;
                                     }
  • 相关阅读:
    hdu3251 最小割
    2012金华邀请赛解题报告
    Java依照List内存储的对象的某个字段进行排序
    Cocos2d-x移植安卓的笔记
    设计模式------策略模式
    C#实现相似QQ的隐藏浮动窗口、消息闪动
    libiconv字符集转换库在C#中的使用
    poj1564 Sum it up
    Objective-C学习笔记(四)——OC实现最简单的数学运算
    安装配置PhoneGap开发环境(一)
  • 原文地址:https://www.cnblogs.com/shizhi57/p/2105521.html
Copyright © 2011-2022 走看看