product.scss 4.4 KB

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