index-normal.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. html,
  2. body,.page{
  3. height: 100%;
  4. }
  5. body {
  6. /* font-family: Source Han Sans CN; */
  7. font-family: PingFang-SC-Bold;
  8. font-size: 0.14rem;
  9. margin: 0;
  10. min-width: 1200px;
  11. }
  12. .page {
  13. width: 100%;
  14. background-color: #008085;
  15. box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.2);
  16. }
  17. /* 顶部 */
  18. .p-header{
  19. width: 100%;
  20. height: 0.90rem;
  21. /* border-bottom: 1px solid #fff; */
  22. position: fixed;
  23. top: 0;
  24. left: 0;
  25. width: 100%;
  26. z-index: 10;
  27. }
  28. .p-header .logo-wrap{
  29. width: 2.79rem;
  30. height: 0.90rem;
  31. margin-right: auto;
  32. }
  33. .p-header .logo-wrap .logo{
  34. width: 1.74rem;
  35. height: auto;
  36. }
  37. .p-header .tab-wrap{
  38. margin-right: 0.60rem;
  39. }
  40. .p-header .tab-wrap .tab{
  41. height: 0.90rem;
  42. width: 1.42rem;
  43. cursor: pointer;
  44. }
  45. .p-header .tab-wrap .tab.active .cn{
  46. color:#41dbe7;
  47. }
  48. .p-header .tab-wrap .tab.active .en{
  49. color:#41dbe7;
  50. }
  51. .p-header .tab-wrap .tab:hover .cn{
  52. color:#41dbe7;
  53. opacity: 1;
  54. }
  55. .p-header .tab-wrap .tab:hover .en{
  56. color:#41dbe7;
  57. opacity: 1;
  58. }
  59. .p-header .tab .cn{
  60. height: 0.16rem;
  61. font-size: 0.16rem;
  62. font-weight: 400;
  63. color: #FFFFFF;
  64. line-height: 0.16rem;
  65. }
  66. .p-header .tab .en{
  67. margin-top: 0.06rem;
  68. font-size: 0.14rem;
  69. font-weight: 400;
  70. color: #FFFFFF;
  71. line-height: 0.21rem;
  72. opacity: 0.6;
  73. }
  74. /* 轮播图 */
  75. .page .swiper-container {
  76. height: 100%;
  77. width: 100%;
  78. position: relative;
  79. }
  80. .page .swiper-wrapper {
  81. transition: 2s cubic-bezier(0.68, -0.4, 0.27, 1.34) 0.2s;
  82. }
  83. .page .swiper-slide {
  84. position: relative;
  85. color: #fff;
  86. overflow: hidden;
  87. background-size: cover;
  88. background-repeat: no-repeat;
  89. background-position: center center;
  90. }
  91. .page .swiper-slide:first-child:after {
  92. content: "";
  93. position: absolute;
  94. z-index: 1;
  95. left: 0;
  96. top: 0;
  97. width: 100%;
  98. height: 100%;
  99. background-color: rgba(0, 0, 0, 0.4);
  100. box-shadow: -230px 0 150px 60vw rgba(0, 0, 0, 0.7);
  101. }
  102. .page .swiper-slide-content {
  103. position: absolute;
  104. /* text-align: center; */
  105. /* max-width: 80%; */
  106. right: 50%;
  107. -webkit-transform: translate(50%, 0);
  108. transform: translate(50%, 0);
  109. font-size: 12px;
  110. z-index: 2;
  111. top: 0.90rem;
  112. height:calc(100% - 1.20rem);
  113. }
  114. /* 分页 */
  115. .page .swiper-pagination {
  116. right: 4% !important;
  117. height: 100%;
  118. display: flex;
  119. flex-direction: column;
  120. justify-content: center;
  121. z-index: 1;
  122. }
  123. .page .swiper-pagination-bullet {
  124. margin: 0.15rem 0 !important;
  125. width: 8px;
  126. height: 8px;
  127. border-radius: 100%;
  128. background-color: #fff;
  129. -webkit-transform: scale(1);
  130. transform: scale(1);
  131. transition: .2s;
  132. }
  133. .page .swiper-pagination-bullet-active {
  134. -webkit-transform: scale(1.2);
  135. transform: scale(1.2);
  136. background-color: transparent;
  137. border:1px solid #fff;
  138. }
  139. /* 底部 */
  140. .p-footer{
  141. position: fixed;
  142. z-index: 10;
  143. bottom: 0;
  144. left: 0;
  145. width: 100%;
  146. height: 0.30rem;
  147. }
  148. .p-footer .txt{
  149. width: 100%;
  150. height: 0.30rem;
  151. line-height: 0.30rem;
  152. text-align: center;
  153. font-size: 0.14rem;
  154. font-weight: 400;
  155. color: #FFFFFF;
  156. opacity: 0.7;
  157. }
  158. /* 左侧 */
  159. .p-left{
  160. position: absolute;
  161. bottom: 1.92rem;
  162. left: 4%;
  163. transform: rotate(90deg);
  164. transform-origin: left;
  165. z-index: 10;
  166. }
  167. .p-left .progress-wrap{
  168. width: 60px;
  169. height: 2px;
  170. background: rgba(42, 220, 233, 0.4);
  171. box-shadow: none;
  172. overflow: hidden;
  173. border-radius: 1px;
  174. position: relative;
  175. margin-right: 6px;
  176. }
  177. .p-left .progress-wrap .progress{
  178. float: left;
  179. height: 2px;
  180. background: rgba(42, 220, 233, 1);
  181. border-radius: 50%;
  182. }
  183. .p-left .num-wrap{
  184. height: 2px;
  185. }
  186. .p-left .num-wrap .num-m{
  187. font-size: 20px;
  188. font-weight: 500;
  189. color: #FFFFFF;
  190. opacity: 0.9;
  191. }
  192. .p-left .num-wrap .num-s{
  193. font-size: 14px;
  194. font-weight: 500;
  195. color: #FFFFFF;
  196. opacity: 0.7;
  197. }
  198. /* 播放器弹层 */
  199. .p-player{
  200. position: fixed;
  201. top: 50%;
  202. left: 50%;
  203. transform: translate(-50%,-50%);
  204. width: 60vw;
  205. height: 60vh;
  206. display: none;
  207. background-color: #000;
  208. z-index: 10;
  209. }
  210. .p-player .cancel{
  211. position: absolute;
  212. right: -0.20rem;
  213. top: -0.20rem;
  214. width: 0.48rem;
  215. height: 0.48rem;
  216. z-index: 2;
  217. cursor: pointer;
  218. }
  219. .p-player video{
  220. width: 100%;
  221. height: 100%;
  222. }