detail.scss 4.0 KB

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