main.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. @import "../../../public/scss/reset.scss";
  2. @import "../../../public/scss/unicom.scss";
  3. html,
  4. body {
  5. margin: 0;
  6. padding: 0;
  7. width: 100%;
  8. height: 22rem;
  9. background-image: url("../images/7-1-bg.jpg");
  10. background-size: 100% 22rem;
  11. & > .banner-bg {
  12. display: flex;
  13. flex-direction: column;
  14. justify-content: flex-start;
  15. align-items: center;
  16. position: relative;
  17. & > .title {
  18. position: absolute;
  19. top: 0.48rem;
  20. z-index: 1;
  21. width: 6.69rem;
  22. height: 5.35rem;
  23. display: block;
  24. margin-bottom: 0.21rem;
  25. }
  26. & > .main {
  27. position: absolute;
  28. top: 1.11rem;
  29. height: 12.64rem;
  30. width: 7.5rem;
  31. display: block;
  32. }
  33. & > .btn {
  34. position: relative;
  35. margin-top: 10.6rem;
  36. width: 6.5rem;
  37. height: 1.5rem;
  38. display: block;
  39. }
  40. }
  41. .border-text {
  42. position: relative;
  43. // width: 100%;
  44. margin: 0.4rem auto 0;
  45. display: flex;
  46. flex-direction: column;
  47. justify-content: flex-start;
  48. align-items: center;
  49. // background-image: url("../images/bg-border.png");
  50. background-color: rgba(211, 232, 253, 1);
  51. // border: 4px solid #3b7cff;
  52. box-shadow: inset 0 0 15px 0.5px #e2f0fe;
  53. background-repeat: no-repeat;
  54. background-size: contain;
  55. line-height: 1.6;
  56. letter-spacing: 10;
  57. width: 6.53rem;
  58. height: 9.05rem;
  59. border-radius: 0.4rem;
  60. box-sizing: border-box;
  61. font-size: 0.2rem;
  62. padding: 0.47rem 2px 0.6rem 0.53rem;
  63. }
  64. .content-text {
  65. display: flex;
  66. flex-direction: column;
  67. justify-content: flex-start;
  68. align-items: center;
  69. // width: 100%;
  70. // height: 100%;
  71. padding-right: calc(0.53rem - 2px);
  72. overflow-y: scroll;
  73. .title {
  74. width: 2.07rem;
  75. height: 0.3rem;
  76. margin-top: 0.43rem;
  77. background-image: url("../images/7-1-text-title.png");
  78. background-repeat: no-repeat;
  79. background-size: 2.07rem 0.3rem;
  80. background-position: center center;
  81. color: #2783ff;
  82. margin-bottom: 0.3rem;
  83. font-weight: 700;
  84. text-align: center;
  85. font-size: 0.32rem;
  86. line-height: .3rem;
  87. }
  88. .title-1-cell {
  89. margin-top: 0;
  90. }
  91. .text {
  92. .text-cell {
  93. margin-bottom: 0rem;
  94. .b-text {
  95. font-weight: 700;
  96. color: #000;
  97. font-style: normal;
  98. }
  99. }
  100. & :last-child {
  101. margin-bottom: 0;
  102. }
  103. }
  104. }
  105. .content-text::-webkit-scrollbar {
  106. width: 0.12rem;
  107. }
  108. .content-text::-webkit-scrollbar-thumb {
  109. background-color: #439cf6 !important;
  110. // width: 0.13rem;
  111. height: 1.82rem;
  112. border-radius: 0.065rem;
  113. }
  114. .content-text::-webkit-scrollbar-track {
  115. padding-right: 2px;
  116. }
  117. }