APCGC_CBS.Models/Admin/Sys_Button.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace APCGC_CBS.Models.Admin
{
  [Serializable]
  public  class Sys_Button
    {
      public long rowNum { get; set; }
      public int Button_ID { get; set; }
      public string ButtonName { get; set; }
      public string ButtonTitle { get; set; }
      public string ButtonImg { get; set; }
      public string ButtonCode { get; set; }
      public int SortCode { get; set; }
      public DateTime CreateDate { get; set; }
      public string ButtonClass { get; set; }
      public int ButtonType { get; set; }


      public string IMG {
          get {
              return "<i class='" + ButtonImg + "'></i>";
          }
      }


      public string ButtonColor
      {
          get
          {
              if (ButtonClass == "layui-btn layui-btn-xs")
              {
                  return "<div style='background-color:#009688;width: 100px; height:50px;'>";
              }
              else if (ButtonClass == "layui-btn layui-btn-danger layui-btn-xs")
              {
                  return "<div style='background-color:#FF5722;width: 100px; height:50px;'>";
              }
              else if (ButtonClass == "layui-btn layui-btn-normal layui-btn-xs")
              {
                  return "<div style='background-color:#1E9FFF;width: 100px; height:50px;'>";
              }
              else if (ButtonClass == "layui-btn layui-btn-warm layui-btn-xs")
              {
                  return "<div style='background-color:#FFB800;width: 100px; height:50px;'>";
              }
              else
              {
                  return "";
              }
          }
      }

      public string ButtonTypeName
      {
          get {
后面还有 12 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。