index.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. @import url('./common.css');
  2. main {
  3. width: 100%;
  4. height: 100%;
  5. padding-bottom: 90px;
  6. }
  7. .section .slideImg,
  8. .section .slideBox {
  9. width: 100%;
  10. height: 100%;
  11. }
  12. .section .slideImg img {
  13. width: 100%;
  14. }
  15. .section .slideVideo video {
  16. width: 100%;
  17. }
  18. .fadeInShrink {
  19. -webkit-animation-name: bgShrink;
  20. animation-name: bgShrink;
  21. -webkit-animation-duration: 5s;
  22. animation-duration: 5s;
  23. -webkit-animation-fill-mode: both;
  24. animation-fill-mode: both;
  25. }
  26. .slideVideo .play {
  27. width: 180px;
  28. height: 182px;
  29. position: absolute;
  30. top: 35%;
  31. left: 50%;
  32. transform: translateX(-50%);
  33. cursor: pointer;
  34. }
  35. .slideBox {
  36. position: relative;
  37. }
  38. .slideBox .advantage {
  39. width: 628px;
  40. height: 94px;
  41. position: absolute;
  42. top: 100px;
  43. left: 50%;
  44. transform: translateX(-50%);
  45. z-index: 100;
  46. }
  47. .slideBox ul {
  48. display: flex;
  49. align-items: center;
  50. width: 100%;
  51. height: 100%;
  52. }
  53. .slideBox ul li {
  54. width: 25%;
  55. height: 100%;
  56. background: url('https://cookhome-images-1.oss-cn-hangzhou.aliyuncs.com/guangwangindex/123/index_slide1.png') no-repeat center;
  57. background-size: cover;
  58. position: relative;
  59. }
  60. .slideBox ul li:nth-child(2) {
  61. background: url('https://cookhome-images-1.oss-cn-hangzhou.aliyuncs.com/guangwangindex/123/index_slide2.png') no-repeat center;
  62. background-size: cover;
  63. }
  64. .slideBox ul li:nth-child(3) {
  65. background: url('https://cookhome-images-1.oss-cn-hangzhou.aliyuncs.com/guangwangindex/123/index_slide3.png') no-repeat center;
  66. background-size: cover;
  67. }
  68. .slideBox ul li:nth-child(4) {
  69. background: url('https://cookhome-images-1.oss-cn-hangzhou.aliyuncs.com/guangwangindex/123/index_slide4.png') no-repeat center;
  70. background-size: cover;
  71. }
  72. .slideBox ul li img {
  73. width: 300px;
  74. height: 160px;
  75. position: absolute;
  76. top: 45%;
  77. left: 50%;
  78. transform: translateX(-50%);
  79. cursor: pointer;
  80. }
  81. .slideBox ul li:hover {
  82. opacity: 0.7;
  83. }
  84. .slideBox ul li:hover img {
  85. left: 50%;
  86. transition: opacity 1s, all 0.5s, -webkit-transform 0.5s;
  87. transform: translate(-50%, -160px);
  88. opacity: 1;
  89. }
  90. @keyframes bgShrink {
  91. 0% {
  92. transform: scale(1.15, 1.15);
  93. opacity: 1;
  94. }
  95. 100% {
  96. transform: scale(1, 1);
  97. opacity: 1;
  98. }
  99. }
  100. .notice {
  101. width: 100%;
  102. /*margin-top: 100px;*/
  103. }
  104. .notice_title p {
  105. font-size: 36px;
  106. }
  107. .notice_title .more {
  108. display: flex;
  109. align-items: center;
  110. cursor: pointer;
  111. }
  112. .notice_title .more span {
  113. font-size: 16px;
  114. }
  115. .notice_title .more img {
  116. width: 24px;
  117. height: 24px;
  118. vertical-align: middle;
  119. margin-left: 2px;
  120. }
  121. .notice_title .more .icon_more {
  122. display: block;
  123. }
  124. .notice_title .more .icon_more_active {
  125. display: none;
  126. }
  127. .notice_title .more:hover .icon_more {
  128. display: none;
  129. }
  130. .notice_title .more:hover .icon_more_active {
  131. display: block;
  132. }
  133. .notice_title .more:hover span {
  134. color: #D4AA68;
  135. }
  136. #fullPage-nav li,
  137. .fullPage-slidesNav li {
  138. margin: 7px 55px 50px 7px;
  139. }
  140. #fullPage-nav span,
  141. .fullPage-slidesNav span {
  142. width: 20px;
  143. height: 20px;
  144. background-color: #D4AA68;
  145. opacity: 0.5;
  146. border: none;
  147. }
  148. #fullPage-nav li .active span,
  149. .fullPage-slidesNav .active span {
  150. background-color: #D4AA68;
  151. opacity: 1;
  152. }