index.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. @import '@mobile/assets/themes/base/mixin.less';
  2. .home-main {
  3. background:#fff url(../../../assets/images/home-bg.png) repeat-y;
  4. background-size: 100%;
  5. .app-view__body {
  6. margin-top: -30px;
  7. }
  8. &__header {
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. height: 167px;
  13. background: #fff url(../../../assets/images/home-header.png) no-repeat;
  14. background-size: 100%;
  15. padding-bottom: 20px;
  16. img {
  17. width: 40%;
  18. }
  19. }
  20. &__banner {
  21. padding: 0 12px;
  22. .app-banner {
  23. position: relative;
  24. z-index: 1;
  25. border-radius: 10px;
  26. overflow: hidden;
  27. }
  28. }
  29. &__iconbar {
  30. padding: 20px 30px;
  31. ul {
  32. display: flex;
  33. background-color: #fff;
  34. border-radius: 8px;
  35. padding: 10px;
  36. li {
  37. flex: 1;
  38. display: flex;
  39. flex-direction: column;
  40. align-items: center;
  41. img {
  42. width: 48px;
  43. height: 48px;
  44. }
  45. span {
  46. font-size: 12px;
  47. font-weight: bold;
  48. color: #898989;
  49. margin-top: 5px;
  50. }
  51. }
  52. }
  53. }
  54. &__news {
  55. border-top: 1px solid #9FA0A0;
  56. padding: 10px;
  57. padding-top: 0;
  58. margin: 0 30px;
  59. section {
  60. background-color: #fff;
  61. box-shadow: 0 0 10px #DCDDDD;
  62. padding: 30px;
  63. padding-top: 0;
  64. h2 {
  65. display: flex;
  66. align-items: center;
  67. justify-content: space-between;
  68. height: 80px;
  69. background: url(../../../assets/images/icons/announcement.svg) no-repeat center left;
  70. background-size: auto 32px;
  71. padding: 24px 0 24px 48px;
  72. span {
  73. font-size: 12px;
  74. font-weight: bold;
  75. &:first-child {
  76. color: #fff;
  77. }
  78. &:last-child {
  79. color: #D09F3B;
  80. }
  81. }
  82. }
  83. ul {
  84. li {
  85. .mixin-text-overflow();
  86. display: inherit;
  87. font-size: 12px;
  88. font-weight: bold;
  89. color: #9FA0A0;
  90. white-space: nowrap;
  91. padding-bottom: 16px;
  92. }
  93. }
  94. }
  95. }
  96. }