detail.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. @import "./detail.skeleton.wxss";
  2. /* 轮播图 */
  3. swiper {
  4. width: 100vw;
  5. height: 464rpx;
  6. background-color: #fff;
  7. swiper-item {
  8. position: relative;
  9. width: 100%;
  10. height: 100%;
  11. .tag {
  12. position: absolute;
  13. top: 20rpx;
  14. left: 30rpx;
  15. }
  16. }
  17. }
  18. /* 产品介绍 */
  19. .intr {
  20. padding: 20rpx 30rpx;
  21. background-color: #fff;
  22. .title {
  23. line-height: 42rpx;
  24. font-size: 30rpx;
  25. font-family: PingFang SC-Semibold, PingFang SC;
  26. font-weight: 600;
  27. color: #333333;
  28. word-break: break-all;
  29. }
  30. .tags {
  31. text {
  32. display: inline-block;
  33. height: 36rpx;
  34. line-height: 36rpx;
  35. padding: 0 15rpx;
  36. background: #E7EEFF;
  37. border-radius: 22rpx;
  38. font-size: 20rpx;
  39. color: #3874F6;
  40. margin-right: 8rpx;
  41. font-weight: 600;
  42. }
  43. }
  44. .offer {
  45. display: flex;
  46. justify-content: space-between;
  47. align-items: flex-end;
  48. width: 100%;
  49. height: 50rpx;
  50. margin-top: 20rpx;
  51. .price {
  52. font-size: 36rpx;
  53. color: #FF3B30;
  54. }
  55. .old-price {
  56. font-size: 28rpx;
  57. font-family: PingFang SC-Regular, PingFang SC;
  58. color: #999999;
  59. margin-left: 8rpx;
  60. text-decoration-line: line-through;
  61. }
  62. .unit {
  63. font-size: 24rpx;
  64. color: #333333;
  65. }
  66. }
  67. .else {
  68. height: 34rpx;
  69. line-height: 34rpx;
  70. font-size: 24rpx;
  71. color: #999999;
  72. margin-top: 20rpx;
  73. text {
  74. margin-right: 20rpx;
  75. }
  76. }
  77. }
  78. /* 选择产品 */
  79. .model {
  80. width: 100vw;
  81. background-color: #fff;
  82. padding-left: 30rpx;
  83. box-sizing: border-box;
  84. margin-top: 20rpx;
  85. padding-bottom: 20rpx;
  86. .label {
  87. padding: 20rpx 0;
  88. font-size: 28rpx;
  89. font-weight: 600;
  90. color: #333333;
  91. width: 100%;
  92. border-bottom: 1rpx solid #ddd;
  93. .product-box {
  94. font-weight: 400;
  95. }
  96. .explain {
  97. font-size: 24rpx;
  98. color: #666;
  99. font-weight: normal;
  100. margin-left: 10rpx;
  101. }
  102. }
  103. .custom {
  104. border-bottom: 0 !important;
  105. padding: 0 !important;
  106. }
  107. .product-box {
  108. display: flex;
  109. flex-wrap: wrap;
  110. .product {
  111. height: 60rpx;
  112. line-height: 60rpx;
  113. font-size: 28rpx;
  114. color: #333333;
  115. margin-top: 20rpx;
  116. margin-right: 20rpx;
  117. padding: 0 20rpx;
  118. background: #F4F5F7;
  119. border-radius: 16rpx;
  120. }
  121. .active {
  122. background: #E7EEFF;
  123. }
  124. }
  125. .product-box:last-child {
  126. padding-bottom: 20rpx;
  127. }
  128. .disabled {
  129. opacity: .4;
  130. }
  131. }
  132. .tabs {
  133. margin-top: 20rpx;
  134. .tab-box {
  135. padding: 20rpx 30rpx;
  136. background-color: #fff;
  137. border-top: 2rpx solid #CCCCCC;
  138. font-size: 28rpx;
  139. color: #666666;
  140. .row {
  141. height: 40rpx;
  142. line-height: 40rpx;
  143. margin-bottom: 20rpx;
  144. }
  145. navigator {
  146. color: #3874F6;
  147. }
  148. }
  149. }
  150. .footer {
  151. display: flex;
  152. justify-content: center;
  153. position: fixed;
  154. bottom: 0;
  155. width: 100vw;
  156. min-height: 130rpx;
  157. background-color: #fff;
  158. box-shadow: rgba(0, 0, 0, 0.15) 0px 5rpx 15rpx 0px;
  159. z-index: 999999999999999;
  160. .but {
  161. width: 690rpx;
  162. height: 90rpx;
  163. background: #FA8C16;
  164. border-radius: 16rpx;
  165. font-size: 28rpx;
  166. font-weight: 600;
  167. color: #FFFFFF;
  168. margin-top: 10rpx;
  169. }
  170. }
  171. .document-box {
  172. width: 100vw;
  173. box-sizing: border-box;
  174. padding: 20rpx 30rpx;
  175. background-color: #fff;
  176. .document {
  177. word-break: break-all;
  178. white-space: pre-wrap;
  179. font-size: 28rpx;
  180. font-family: PingFang SC-Regular, PingFang SC;
  181. color: #3874F6;
  182. margin-bottom: 20rpx;
  183. }
  184. }