+ @foreach (SSO_Drag_DesktopManageEntity desktopItem in ViewBag.DesktopList)
+ {
+
+ @if (string.IsNullOrEmpty(desktopItem.CardSort))
+ {
+
+ }
+ else
+ {
+ if (desktopItem.CardSort.IndexOf(',') == -1)
+ {
+ switch (desktopItem.CardSort)
+ {
+ case "card1":
+
+ break;
+ case "card2":
+
+ break;
+ case "card3":
+
+ break;
+ case "card4":
+
+ break;
+ case "card5":
+
+ break;
+ case "card6":
+
+ break;
+ case "card7":
+
+ break;
+ case "card8":
+
+ break;
+ case "card9":
+
+ break;
+ case "card10":
+
+ break;
+ case "card11":
+
+ break;
+ case "card12":
+
+ break;
+ case "card13":
+
+ break;
+ default:
+ break;
+ }
+ }
+ else
+ {
+ foreach (var item in desktopItem.CardSort.Split(','))
+ {
+ switch (item)
+ {
+ case "card1":
+
+ break;
+ case "card2":
+
+ break;
+ case "card3":
+
+ break;
+ case "card4":
+
+ break;
+ case "card5":
+
+ break;
+ case "card6":
+
+ break;
+ case "card7":
+
+ break;
+ case "card8":
+
+ break;
+ case "card9":
+
+ break;
+ case "card10":
+
+ break;
+ case "card11":
+
+ break;
+ case "card12":
+
+ break;
+ case "card13":
+
+ break;
+ default:
+ break;
+ }
+ }
+ }
+ }
+
+
+
+ }
+
+