Index.cshtml 1.7 KB

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