index.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. @import '@css/mixin.scss';
  2. .scoped-header {
  3. position: relative;
  4. height: 500px;
  5. .view-num {
  6. position: absolute;
  7. bottom: 20px;
  8. left: 10px;
  9. width: 90px;
  10. height: 30px;
  11. border-radius: 20px;
  12. overflow: hidden;
  13. .bg {
  14. position: absolute;
  15. top: 0;
  16. left: 0;
  17. width: 90px;
  18. height: 30px;
  19. background: #000;
  20. opacity: .6;
  21. z-index: 1;
  22. }
  23. .content {
  24. position: absolute;
  25. top: 0;
  26. left: 0;
  27. width: 90px;
  28. height: 30px;
  29. z-index: 2;
  30. text-align: center;
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. }
  35. .i {
  36. width: 22px;
  37. height: 22px;
  38. margin-right: 2px;
  39. }
  40. .t {
  41. color: #bfbfbf;
  42. font-size: 20px;
  43. }
  44. }
  45. .sh-nav {
  46. text-align: center;
  47. position: absolute;
  48. bottom: 20px;
  49. left: 50%;
  50. &.t2 {
  51. .main {
  52. width: 180px;
  53. }
  54. .bg, .content {
  55. width: 180px;
  56. margin-left: -90px;
  57. }
  58. }
  59. .main {
  60. display: inline-block;
  61. width: 260px;
  62. height: 50px;
  63. }
  64. .bg {
  65. position: absolute;
  66. bottom: 0;
  67. left: 0;
  68. margin-left: -130px;
  69. z-index: 1;
  70. width: 260px;
  71. height: 50px;
  72. background: #000;
  73. opacity: .6;
  74. border-radius: 20px;
  75. }
  76. .content {
  77. position: absolute;
  78. bottom: 0;
  79. left: 0;
  80. margin-left: -130px;
  81. z-index: 2;
  82. width: 260px;
  83. height: 50px;
  84. color: #fff;
  85. font-size: 24px;
  86. border-radius: 20px;
  87. display: flex;
  88. justify-content: center;
  89. align-items: center;
  90. .op {
  91. display: inline-block;
  92. vertical-align: middle;
  93. border-radius: 10px;
  94. width: 80px;
  95. height: 40px;
  96. margin-right: 10px;
  97. line-height: 40px;
  98. text-align: center;
  99. font-size: 22px;
  100. &:last-child {
  101. margin-right: 0;
  102. }
  103. &.cur {
  104. background: $mainColor;
  105. }
  106. }
  107. }
  108. }
  109. .sh-img {
  110. width: 100%;
  111. height: 500px;
  112. position: relative;
  113. .icon {
  114. position: absolute;
  115. left: 50%;
  116. top: 160px;
  117. width: 120px;
  118. height: 120px;
  119. margin-left: -60px;
  120. .i {
  121. width: 120px;
  122. height: 120px;
  123. position: absolute;
  124. left: 0;
  125. top: 0;
  126. &.i1 {
  127. z-index: 11;
  128. }
  129. &.i2 {
  130. z-index: 12;
  131. }
  132. }
  133. }
  134. .img {
  135. width: 100%;
  136. height: 500px;
  137. }
  138. }
  139. .sh-icon-right {
  140. position: absolute;
  141. right: 20px;
  142. bottom: 180px;
  143. width: 80px;
  144. height: 80px;
  145. z-index: 99;
  146. &.pk {
  147. bottom: 290px;
  148. }
  149. .img {
  150. width: 80px;
  151. height: 80px;
  152. }
  153. }
  154. }
  155. .scoped-hx-vr {
  156. position: absolute;
  157. top: 60px;
  158. left: 0;
  159. z-index: 999;
  160. .i {
  161. position: absolute;
  162. bottom: 0;
  163. right: 0;
  164. width: 50px;
  165. height: 50px;
  166. }
  167. .text {
  168. height: 50px;
  169. line-height: 50px;
  170. position: relative;
  171. width: 140px;
  172. border-radius: 0 50px 50px 0;
  173. overflow: hidden;
  174. .bg {
  175. position: absolute;
  176. top: 0;
  177. left: 0;
  178. width: 100%;
  179. height: 100%;
  180. background: #000;
  181. opacity: .5;
  182. z-index: 1;
  183. }
  184. .t {
  185. position: absolute;
  186. top: 0;
  187. left: 0;
  188. width: 100%;
  189. height: 100%;
  190. color: #fff;
  191. font-weight: bold;
  192. font-size: 24px;
  193. z-index: 2;
  194. padding-left: 10px;
  195. }
  196. }
  197. }