index.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. }
  36. .goods-base-info .goods-classify,
  37. .goods-base-info .goods-total-num {
  38. font-size: 24rpx;
  39. color: #666;
  40. margin-bottom: 10rpx;
  41. }
  42. .goods-base-info .goods-price {
  43. font-size: 32rpx;
  44. font-family: PingFang SC, PingFang SC-Medium;
  45. font-weight: 500;
  46. color: #ec2e26;
  47. }
  48. .big-box {
  49. position: relative;
  50. padding-bottom: 300rpx;
  51. }
  52. .big-box .dim {
  53. position: absolute;
  54. top: 100rpx;
  55. left: 50%;
  56. text-align: center;
  57. transform: translateX(-50%);
  58. z-index: 10;
  59. }
  60. .big-box .showDim {
  61. display: none;
  62. }
  63. .big-box .dim image {
  64. width: 148rpx;
  65. height: 148rpx;
  66. }
  67. .big-box .dim .tip {
  68. text-align: center;
  69. font-size: 30rpx;
  70. font-family: FZZhunYuan-M02S, FZZhunYuan-M02S-Regular;
  71. font-weight: 400;
  72. text-align: left;
  73. color: #f0ce2c;
  74. }
  75. .vipBg {
  76. opacity: 0.55;
  77. }
  78. .vipBg::before {
  79. display: block;
  80. content: "";
  81. position: absolute;
  82. width: 100%;
  83. height: 100%;
  84. /* opacity: 0.95; */
  85. background: #333333;
  86. /* background-color: #fff; */
  87. z-index: 9;
  88. }
  89. .goods-content {
  90. padding: 0 30rpx 30rpx;
  91. margin-bottom: 10rpx;
  92. background-color: #fff;
  93. font-family: PingFang SC, PingFang SC-Bold;
  94. font-weight: 700;
  95. }
  96. .goods-label {
  97. position: relative;
  98. height: 42rpx;
  99. padding: 30rpx 0 20rpx;
  100. font-size: 30rpx;
  101. color: #1a1a1a;
  102. }
  103. .goods-label .txt {
  104. position: relative;
  105. }
  106. .goods-label::before {
  107. display: block;
  108. content: "";
  109. position: absolute;
  110. top: 35%;
  111. width: 6rpx;
  112. height: 35rpx;
  113. left: 1rpx;
  114. background: #ffdd36;
  115. border-radius: 3rpx;
  116. }
  117. .goods-remarks {
  118. font-size: 24rpx;
  119. font-family: PingFang SC, PingFang SC-Regular;
  120. font-weight: 400;
  121. text-align: left;
  122. color: #666666;
  123. line-height: 40rpx;
  124. }
  125. .btn {
  126. position: fixed;
  127. bottom: 0;
  128. left: 50%;
  129. width: 100%;
  130. padding: 30rpx 0;
  131. transform: translateX(-50%);
  132. background-color: #fff;
  133. }
  134. .btn button {
  135. width: 690rpx;
  136. height: 85rpx;
  137. text-align: center;
  138. line-height: 85rpx;
  139. background: #ffdc2f;
  140. border-radius: 43rpx;
  141. }