page.scss 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. .page.HuiQuanYi {
  2. width: 100%;
  3. height: 100%;
  4. .Banner {
  5. width: 100%;
  6. padding-bottom: 41%;
  7. position: relative;
  8. overflow: hidden;
  9. > view {
  10. width: 100%;
  11. position: absolute;
  12. left: 0;
  13. top: 0;
  14. bottom: 0;
  15. overflow: hidden;
  16. background: #ccc;
  17. }
  18. }
  19. .NewsList {
  20. padding: 20px 0;
  21. background: #fff;
  22. margin-top: 20px;
  23. > .flex-h {
  24. padding: 0 20px;
  25. align-items: center;
  26. margin-top: 10px;
  27. > .flex-item {
  28. > image {
  29. height: 48px;
  30. }
  31. }
  32. > .More {
  33. font-size: 26px;
  34. color: #999;
  35. > text {
  36. font-size: 26px;
  37. }
  38. }
  39. }
  40. > .List {
  41. position: relative;
  42. overflow: hidden;
  43. margin-top: 40px;
  44. margin-bottom: 30px;
  45. > .flex-h {
  46. align-items: center;
  47. &:nth-child(1) {
  48. > .Num {
  49. > text {
  50. width: 40px;
  51. text-align: center;
  52. line-height: 40px;
  53. display: inline-block;
  54. border-radius: 100%;
  55. background: #fe4e45;
  56. color: #fff;
  57. box-shadow: 0 10px 20px 5px rgba(254, 78, 69, 0.1);
  58. }
  59. }
  60. }
  61. &:nth-child(2) {
  62. > .Num {
  63. > text {
  64. display: inline-block;
  65. width: 40px;
  66. text-align: center;
  67. line-height: 40px;
  68. display: inline-block;
  69. border-radius: 100%;
  70. background: #fe7e48;
  71. color: #fff;
  72. box-shadow: 0 10px 20px 5px rgba(254, 126, 72, 0.1);
  73. }
  74. }
  75. }
  76. &:nth-child(3) {
  77. > .Num {
  78. > text {
  79. width: 40px;
  80. text-align: center;
  81. line-height: 40px;
  82. display: inline-block;
  83. border-radius: 100%;
  84. background: #ffa93a;
  85. color: #fff;
  86. box-shadow: 0 10px 20px 5px rgba(255, 169, 58, 0.1);
  87. }
  88. }
  89. }
  90. > .Num {
  91. width: 56px;
  92. margin-left: 10px;
  93. text-align: center;
  94. font-size: 0;
  95. height: 40px;
  96. overflow: visible;
  97. > text {
  98. font-size: 24px;
  99. color: #999;
  100. }
  101. }
  102. > .flex-item {
  103. padding: 20px 0;
  104. margin-left: 10px;
  105. border-bottom: 2px solid #f5f5f5;
  106. font-size: 0;
  107. white-space: nowrap;
  108. margin-top: 10px;
  109. > text {
  110. display: inline-block;
  111. vertical-align: middle;
  112. max-width: 100%;
  113. font-size: 28px;
  114. line-height: 1.5;
  115. white-space: nowrap;
  116. overflow: hidden;
  117. text-overflow: ellipsis;
  118. &:nth-child(1) {
  119. max-width: 88%;
  120. white-space: nowrap;
  121. overflow: hidden;
  122. text-overflow: ellipsis;
  123. }
  124. &:nth-child(2) {
  125. color: #999;
  126. width: 10%;
  127. margin-left: 2%;
  128. }
  129. }
  130. }
  131. }
  132. }
  133. }
  134. }