detail.scss 3.0 KB

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