product.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. $deep-blue: #004a97;
  2. .product-right {
  3. // flex:1;
  4. width: 800px;
  5. margin-top: -10px;
  6. .product-right-top {
  7. .title {
  8. margin-bottom: 10px;
  9. max-width: 800px;
  10. .title-1 {
  11. vertical-align: bottom;
  12. font-size: 18px;
  13. font-weight: bold;
  14. }
  15. .title-2 {
  16. vertical-align: bottom;
  17. font-size: 16px;
  18. color: #0b6dc9;
  19. margin: 0 10px;
  20. }
  21. .title-3 {
  22. vertical-align: bottom;
  23. margin-right: 4px;
  24. width: 44px;
  25. border-radius: 4px;
  26. }
  27. .title-4 {
  28. vertical-align: bottom;
  29. margin-right: 10px;
  30. height: 30px;
  31. }
  32. }
  33. .color {
  34. height: 36px;
  35. display: flex;
  36. align-items: center;
  37. .color-item {
  38. width: 36px;
  39. div {
  40. margin: 0 auto;
  41. cursor: pointer;
  42. width: 28px;
  43. height: 28px;
  44. box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
  45. 0 1px 2px rgba(0, 0, 0, 0.23);
  46. border-radius: 20px;
  47. transition: all 0.2s;
  48. img {
  49. width: 100%;
  50. height: 100%;
  51. }
  52. }
  53. .slip {
  54. box-sizing: border-box;
  55. width: 34px;
  56. height: 34px;
  57. border: 1px solid #004a97;
  58. padding: 3px;
  59. }
  60. }
  61. }
  62. }
  63. .product-right-bottom {
  64. margin-bottom: 20px;
  65. .details {
  66. h3 {
  67. font-size: 20px;
  68. margin-bottom: 10px;
  69. }
  70. p,
  71. li {
  72. line-height: 1.8;
  73. font-size: 16px;
  74. }
  75. .details-1 {
  76. margin-bottom: 15px;
  77. p,
  78. li {
  79. color: #4a596c;
  80. }
  81. ul {
  82. padding-left: 20px;
  83. li {
  84. list-style-type: disc;
  85. }
  86. }
  87. }
  88. .details-2 {
  89. h3 {
  90. text-align: center;
  91. }
  92. p {
  93. text-indent: 2em;
  94. color: #ff4500;
  95. font-weight: bold;
  96. text-align: center;
  97. }
  98. }
  99. .details-3 {
  100. position: relative;
  101. ul {
  102. position: relative;
  103. z-index: 1;
  104. margin-top: 15px;
  105. li {
  106. border-bottom: 1px solid rgba(190, 190, 190, 0.2);
  107. display: flex;
  108. div {
  109. line-height: 1.5;
  110. padding: 5px 0 5px 20px;
  111. }
  112. .title {
  113. font-size: 16px;
  114. text-align: center;
  115. background-color: $deep-blue;
  116. width: 100%;
  117. color: #fff;
  118. }
  119. .point {
  120. min-width: 193px;
  121. background-color: #f5f5f5;
  122. font-size: 16px;
  123. }
  124. .info {
  125. font-size: 14px;
  126. color: #4a596c;
  127. & + .info {
  128. padding-left: 0;
  129. }
  130. }
  131. a {
  132. color: #6495ed;
  133. }
  134. }
  135. }
  136. }
  137. button {
  138. position: absolute;
  139. top: 0;
  140. right: 0; /* 初始位置在 ul 区域的右边 */
  141. transition: right 1.5s; /* 右移效果和 z-index 延迟变更 */
  142. z-index: 0;
  143. height: 34px;
  144. display: flex;
  145. align-items: center;
  146. }
  147. .details-3:hover .el-button {
  148. right: -75px; /* 鼠标移入 ul 区域时滑出到右上角 */
  149. transition: right 1.5s;
  150. }
  151. .showcase {
  152. height: 60px;
  153. // margin-top: 20px;
  154. .banner {
  155. width: 100%;
  156. height: 100%;
  157. background-size: cover;
  158. background-repeat: no-repeat;
  159. background-position: center;
  160. }
  161. }
  162. }
  163. h5 {
  164. font-size: 16px;
  165. margin-bottom: 20px;
  166. }
  167. .resources {
  168. width: 450px;
  169. margin-left: 20px;
  170. }
  171. .maketing {
  172. display: grid;
  173. grid-template-columns: repeat(2, 1fr);
  174. p {
  175. cursor: pointer;
  176. margin-bottom: 30px;
  177. display: inline-block;
  178. img {
  179. margin-right: 10px;
  180. vertical-align: middle;
  181. }
  182. vertical-align: middle;
  183. }
  184. }
  185. .compliance {
  186. img {
  187. height: 60px;
  188. margin-right: 20px;
  189. margin-bottom: 20px;
  190. cursor: pointer;
  191. }
  192. }
  193. .quote-tips {
  194. font-size: 16px;
  195. }
  196. }
  197. }