Index.cshtml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. @{
  2. ViewBag.Title = "页面选择";
  3. Layout = "~/Views/Shared/Layout/_Layout.Stu.cshtml";
  4. }
  5. @section styles{
  6. <link href="~/Content/Css/ExerciseV2/stu-bg.min.css" rel="stylesheet" />
  7. <style>
  8. .box {
  9. width: 100vw;
  10. height: 100vh;
  11. display: flex;
  12. justify-content: center;
  13. align-items: center;
  14. }
  15. #bg_title {
  16. position: absolute;
  17. top: 0;
  18. }
  19. .btn-box {
  20. width: 400px;
  21. display: flex;
  22. flex-direction: column;
  23. }
  24. .btn-box .btn {
  25. margin: 8px 0;
  26. font-size: 16px!important;
  27. padding: 10px;
  28. }
  29. </style>
  30. }
  31. @Html.Partial("Layout/V2/_Bg", true)
  32. <div class="box">
  33. <div id="bg_title">
  34. <span class="title">页面中心</span>
  35. </div>
  36. <div class="btn-box">
  37. <a class="btn" href="@Url.Action("Select", "ExerciseV2", new { id = 4 })">专家屏</a>
  38. <a class="btn" href="@Url.Action("Select", "ExerciseV2", new { id = 3 })">公共屏</a>
  39. <a class="btn" href="@Url.Action("Select", "ExerciseV2", new { id = 1 })">组员</a>
  40. <a class="btn" href="@Url.Action("Select", "ExerciseV2", new { id = 2 })">指挥长</a>
  41. <a class="btn" href="@Url.Action("Play", "ExerciseV2")">主屏</a>
  42. <a class="btn" href="@Url.Action("Select", "ExerciseV2", new { id = 5 })">手动记录演练情况</a>
  43. </div>
  44. </div>