detail.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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. .label {
  86. padding: 20rpx 0;
  87. font-size: 28rpx;
  88. font-weight: 600;
  89. color: #333333;
  90. width: 100%;
  91. border-bottom: 1rpx solid #ddd;
  92. .product-box {
  93. font-weight: 400;
  94. }
  95. .explain {
  96. font-size: 24rpx;
  97. color: #666;
  98. font-weight: normal;
  99. margin-left: 10rpx;
  100. }
  101. }
  102. .custom {
  103. border-bottom: 0 !important;
  104. padding: 0 !important;
  105. }
  106. .product-box {
  107. display: flex;
  108. flex-wrap: wrap;
  109. .product {
  110. height: 60rpx;
  111. line-height: 60rpx;
  112. font-size: 28rpx;
  113. color: #333333;
  114. margin-top: 20rpx;
  115. margin-right: 20rpx;
  116. padding: 0 20rpx;
  117. background: #F4F5F7;
  118. border-radius: 16rpx;
  119. }
  120. .active {
  121. background: #E7EEFF;
  122. }
  123. }
  124. .product-box:last-child {
  125. padding-bottom: 20rpx;
  126. }
  127. .disabled {
  128. opacity: .4;
  129. }
  130. }
  131. .tabs {
  132. margin-top: 20rpx;
  133. .tab-box {
  134. padding: 20rpx 30rpx;
  135. background-color: #fff;
  136. border-top: 2rpx solid #CCCCCC;
  137. font-size: 28rpx;
  138. color: #666666;
  139. .row {
  140. height: 40rpx;
  141. line-height: 40rpx;
  142. margin-bottom: 20rpx;
  143. }
  144. navigator {
  145. color: #3874F6;
  146. }
  147. }
  148. }
  149. .footer {
  150. display: flex;
  151. justify-content: center;
  152. position: fixed;
  153. bottom: 0;
  154. width: 100vw;
  155. min-height: 130rpx;
  156. background-color: #fff;
  157. box-shadow: rgba(0, 0, 0, 0.15) 0px 5rpx 15rpx 0px;
  158. z-index: 999999999999999;
  159. .but {
  160. width: 690rpx;
  161. height: 90rpx;
  162. background: #FA8C16;
  163. border-radius: 16rpx;
  164. font-size: 28rpx;
  165. font-weight: 600;
  166. color: #FFFFFF;
  167. margin-top: 10rpx;
  168. }
  169. }
  170. .document-box {
  171. width: 100vw;
  172. box-sizing: border-box;
  173. padding: 20rpx 30rpx;
  174. background-color: #fff;
  175. .document {
  176. word-break: break-all;
  177. white-space: pre-wrap;
  178. font-size: 28rpx;
  179. font-family: PingFang SC-Regular, PingFang SC;
  180. color: #3874F6;
  181. margin-bottom: 20rpx;
  182. }
  183. }