index.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. /* pages/quality/detail/index.wxss */
  2. page {
  3. width: 100%;
  4. min-height: 100%;
  5. }
  6. .container-goods {
  7. width: 100%;
  8. height: 100%;
  9. padding-bottom: 200rpx;
  10. }
  11. .pic-swiper {
  12. width: 100%;
  13. height: 347rpx;
  14. background-color: #fff;
  15. overflow: hidden;
  16. }
  17. .pic-swiper swiper {
  18. width: 100%;
  19. height: 100%;
  20. }
  21. .pic-swiper image {
  22. width: 100%;
  23. height: 100% !important;
  24. }
  25. .goods-base-info {
  26. padding: 36rpx 40rpx 30rpx 30rpx;
  27. margin-bottom: 10rpx;
  28. background-color: #fff;
  29. }
  30. .goods-base-info .goods-title {
  31. font-size: 36rpx;
  32. color: #1a1a1a;
  33. margin-bottom: 10rpx;
  34. word-break: break-all;
  35. font-weight: 700;
  36. }
  37. .goods-base-info .goods-classify,
  38. .goods-base-info .goods-total-num {
  39. font-size: 24rpx;
  40. color: #666;
  41. margin-bottom: 10rpx;
  42. }
  43. .goods-base-info .goods-price {
  44. font-size: 24rpx;
  45. font-family: PingFang SC, PingFang SC-Medium;
  46. color: #666666;
  47. }
  48. .goods-base-info .goods-price text{
  49. font-size: 32rpx;
  50. font-family: PingFang SC, PingFang SC-Medium;
  51. font-weight: 700;
  52. color: #ec2e26;
  53. }
  54. .big-box {
  55. position: relative;
  56. padding-bottom: 300rpx;
  57. }
  58. .big-box .dim {
  59. position: absolute;
  60. top: 100rpx;
  61. left: 50%;
  62. text-align: center;
  63. transform: translateX(-50%);
  64. z-index: 10;
  65. }
  66. .big-box .showDim {
  67. display: none;
  68. }
  69. .big-box .dim image {
  70. width: 148rpx;
  71. height: 148rpx;
  72. }
  73. .big-box .dim .tip {
  74. text-align: center;
  75. font-size: 30rpx;
  76. font-family: FZZhunYuan-M02S, FZZhunYuan-M02S-Regular;
  77. font-weight: 400;
  78. text-align: left;
  79. color: #f0ce2c;
  80. }
  81. .vipBg {
  82. opacity: 0.55;
  83. }
  84. .vipBg::before {
  85. display: block;
  86. content: "";
  87. position: absolute;
  88. width: 100%;
  89. height: 100%;
  90. /* opacity: 0.95; */
  91. background: #333333;
  92. /* background-color: #fff; */
  93. z-index: 9;
  94. }
  95. .goods-content {
  96. padding: 0 30rpx 30rpx;
  97. margin-bottom: 10rpx;
  98. background-color: #fff;
  99. font-family: PingFang SC, PingFang SC-Bold;
  100. font-weight: 700;
  101. }
  102. .goods-label {
  103. position: relative;
  104. height: 42rpx;
  105. padding: 30rpx 0 20rpx;
  106. font-size: 30rpx;
  107. color: #1a1a1a;
  108. }
  109. .goods-label .txt {
  110. position: relative;
  111. }
  112. .goods-label::before {
  113. display: block;
  114. content: "";
  115. position: absolute;
  116. top: 25%;
  117. left: 96rpx;
  118. width: 30rpx;
  119. height: 30rpx;
  120. background: rgba(0,94,255,0.26);
  121. border-radius: 50%;
  122. }
  123. .goods-remarks {
  124. font-size: 24rpx;
  125. font-family: PingFang SC, PingFang SC-Regular;
  126. font-weight: 400;
  127. text-align: left;
  128. color: #666666;
  129. line-height: 40rpx;
  130. }
  131. .btn {
  132. position: fixed;
  133. bottom: 0;
  134. left: 50%;
  135. width: 100%;
  136. padding: 30rpx 0rpx;
  137. transform: translateX(-50%);
  138. background-color: #fff;
  139. }
  140. .btn button {
  141. width: 630rpx;
  142. height: 85rpx;
  143. text-align: center;
  144. line-height: 85rpx;
  145. background: #2B58A5;
  146. border-radius: 43rpx;
  147. color: #ffffff;
  148. font-size: 30rpx;
  149. }