Index.cshtml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. @{
  2. ViewBag.Title = "页面选择";
  3. Layout = "~/Views/Shared/Layout/_Layout.Stu.cshtml";
  4. }
  5. @section styles{
  6. <style>
  7. .main-box {
  8. width: 100vw;
  9. height: 100vh;
  10. flex-direction: row;
  11. display: flex;
  12. padding: 5px 15px;
  13. margin: 0 auto;
  14. font-size: 16px;
  15. color: #fff;
  16. /*background-image: url('../../Content/Image/home/bg.jpg');*/
  17. background-image: linear-gradient(45deg,#005f61,#007f61);
  18. /*background-image: linear-gradient(45deg,#005f61,#005f61);*/
  19. background-size: 100% 100%;
  20. background-repeat: no-repeat;
  21. }
  22. .link-box {
  23. display: flex;
  24. flex-direction: column;
  25. /*align-self: center;*/
  26. /*justify-content: center;*/
  27. width: 100%;
  28. max-width: 400px;
  29. margin: 20vh auto 0;
  30. padding: 0;
  31. transition: .5s all ease-in;
  32. }
  33. .link {
  34. list-style: none;
  35. width: 100%;
  36. }
  37. .link a {
  38. display: block;
  39. width: 100%;
  40. padding: 8px;
  41. margin: 10px auto;
  42. border-radius: 5px;
  43. color: #eee;
  44. border: 1px solid;
  45. border-color: inherit;
  46. text-align: center;
  47. font-size: 18px;
  48. text-decoration: none;
  49. transition: .5s color,font-weight,border-color,background ease-in;
  50. }
  51. .link a:hover {
  52. text-decoration: none;
  53. background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1));
  54. color: #ff0;
  55. border-width: 2px;
  56. margin: 9px auto;
  57. font-weight: bold;
  58. }
  59. </style>
  60. }
  61. <div class="main-box">
  62. <ul class="link-box">
  63. <li class="link">
  64. <a href="@Url.Action("Select","Exercise",new{id=4})">专家屏</a>
  65. </li>
  66. <li class="link">
  67. <a href="@Url.Action("Select","Exercise",new{id=3})">公共屏</a>
  68. </li>
  69. <li class="link">
  70. <a href="@Url.Action("Select","Exercise",new{id=1})">组员</a>
  71. </li>
  72. <li class="link">
  73. <a href="@Url.Action("Select","Exercise",new{id=2})">指挥长</a>
  74. </li>
  75. <li class="link">
  76. <a href="@Url.Action("Index","Play")">主屏</a>
  77. </li>
  78. <li class="link">
  79. <a href="@Url.Action("Select","Exercise",new{id=5})">手动记录演练情况</a>
  80. </li>
  81. @*<li class="link">
  82. <a href="@Url.Action("SelectOrder","Main",new{id=4})">配置中心</a>
  83. </li>*@
  84. </ul>
  85. </div>