/// <summary> /// 检测订单状态 /// </summary> /// <param name="OrderState"></param> public static string CheckOrderState(string OrderState) { string strResult = ""; switch (OrderState) { case "0": strResult = "<font color='red'>未确认</font>"; break; case "1": strResult = "已确认"; break; case "2": strResult = "已发货"; break; case "3": strResult = "已签收"; break; case "4": strResult = "已取消"; break; } return strResult; }