detail.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. .activity {
  108. width: 96%;
  109. box-sizing: border-box;
  110. text-align: center;
  111. padding: 14rpx;
  112. background-color: #F6E0E2;
  113. color: #CB3B3B;
  114. border-radius: 8rpx;
  115. border: 1px #CB3B3B dashed;
  116. margin-bottom: 20rpx;
  117. }
  118. .product-box {
  119. display: flex;
  120. flex-wrap: wrap;
  121. .product {
  122. height: 60rpx;
  123. line-height: 60rpx;
  124. font-size: 28rpx;
  125. color: #333333;
  126. margin-top: 20rpx;
  127. margin-right: 20rpx;
  128. padding: 0 20rpx;
  129. background: #F4F5F7;
  130. border-radius: 16rpx;
  131. }
  132. .active {
  133. background: #E7EEFF;
  134. }
  135. }
  136. .product-box:last-child {
  137. padding-bottom: 20rpx;
  138. }
  139. .disabled {
  140. opacity: .4;
  141. }
  142. }
  143. .tabs {
  144. margin-top: 20rpx;
  145. .tab-box {
  146. padding: 20rpx 30rpx;
  147. background-color: #fff;
  148. border-top: 2rpx solid #CCCCCC;
  149. font-size: 28rpx;
  150. color: #666666;
  151. .row {
  152. height: 40rpx;
  153. line-height: 40rpx;
  154. margin-bottom: 20rpx;
  155. }
  156. navigator {
  157. color: #3874F6;
  158. }
  159. }
  160. }
  161. .footer {
  162. display: flex;
  163. justify-content: center;
  164. position: fixed;
  165. bottom: 0;
  166. width: 100vw;
  167. min-height: 130rpx;
  168. background-color: #fff;
  169. box-shadow: rgba(0, 0, 0, 0.15) 0px 5rpx 15rpx 0px;
  170. z-index: 999999999999999;
  171. .but {
  172. width: 690rpx;
  173. height: 90rpx;
  174. background: #FA8C16;
  175. border-radius: 16rpx;
  176. font-size: 28rpx;
  177. font-weight: 600;
  178. color: #FFFFFF;
  179. margin-top: 10rpx;
  180. }
  181. }
  182. .document-box {
  183. width: 100vw;
  184. box-sizing: border-box;
  185. padding: 20rpx 30rpx;
  186. background-color: #fff;
  187. .document {
  188. word-break: break-all;
  189. white-space: pre-wrap;
  190. font-size: 28rpx;
  191. font-family: PingFang SC-Regular, PingFang SC;
  192. color: #3874F6;
  193. margin-bottom: 20rpx;
  194. }
  195. }
  196. .submit {
  197. height: 104rpx !important;
  198. border: none !important;
  199. border-radius: 0 !important;
  200. color: #fff !important;
  201. width: 240rpx !important;
  202. }
  203. .bg-blue {
  204. background-color: var(--blue) !important;
  205. }
  206. .bg-orange {
  207. background-color: #F37B1D !important;
  208. }