Index_C.cshtml 2.0 KB

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