detail.scss 4.4 KB

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