detail.scss 3.0 KB

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