Index_L.cshtml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. @using ContractService.Authorization
  2. @{
  3. ViewBag.Title = L("HomePage");
  4. ViewBag.CurrentPageName = PermissionNames.Pages;
  5. string systemName = ViewBag.SystemName;
  6. //string path = SettingManager.GetSettingValue(IwbSettingNames.HomePagePath);
  7. }
  8. @Html.Partial("Index_S", systemName)
  9. <style>
  10. .home-page {
  11. height: 100vh;
  12. }
  13. </style>
  14. @Html.Partial("_Index")
  15. @section scripts {
  16. <script>
  17. $(function () {
  18. setTimeout(function () {
  19. $('.home-page').slideUp(500, function () { $('.home-page').remove(); });
  20. }, 3000);
  21. })
  22. </script>
  23. }
  24. @*@section styles
  25. {
  26. <style>
  27. .content-wrapper {
  28. background: #fff;
  29. background-image: url('@(path)/@(IwbConsts.HomeImageName).@(IwbConsts.LoginHomeImageExt)');
  30. background-size: 100% 100%;
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. }
  35. .home-body {
  36. width: 100%;
  37. display: flex;
  38. justify-content: center;
  39. }
  40. .title {
  41. margin-top: -10%;
  42. color: #ffffff;
  43. font-size: 70px;
  44. font-weight: 600;
  45. padding: 15px 10px;
  46. letter-spacing: 10px;
  47. }
  48. .title-header {
  49. font-size: 100%;
  50. padding: 20px;
  51. text-align: center;
  52. }
  53. .title-name {
  54. padding: 0 20px;
  55. padding-right: 10px;
  56. text-align: center;
  57. font-size: 75%;
  58. border: 5px solid #fff;
  59. }
  60. </style>
  61. }
  62. <div class="container-fluid home-body">
  63. <div class="title">
  64. <div class="title-header">欢迎登陆</div>
  65. <div class="title-name">@(systemName)——律师系统</div>
  66. </div>
  67. </div>*@