template.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. .null{
  2. padding-top: 100rpx;
  3. padding-bottom: 30rpx;
  4. }
  5. .null image{
  6. width: 300rpx;
  7. height: 250rpx;
  8. margin: 0 auto;
  9. display: block;
  10. margin-bottom: 30rpx;
  11. }
  12. .null text{
  13. width: 100%;
  14. text-align: center;
  15. color: #999;
  16. display: block;
  17. }
  18. .container-block{
  19. width: 95%;
  20. padding-bottom: 20rpx;
  21. background: #fff;
  22. position: relative;
  23. margin: 0 auto 20rpx;
  24. border-radius: 20rpx;
  25. overflow: hidden;
  26. box-shadow: 0 0 30rpx rgba(0, 0, 0, 0.3)
  27. }
  28. .container-block .collect-btn{
  29. position: absolute;
  30. right:20rpx;
  31. top: 20rpx;
  32. width: 40rpx;
  33. }
  34. .container-block .collect-btn image{
  35. width: 40rpx;
  36. height: 40rpx;
  37. display: block;
  38. }
  39. .container-block .collect-btn text{
  40. font-size: 20rpx;
  41. display: block;
  42. }
  43. .container-block .collect-btn-not text{
  44. color: #999;
  45. }
  46. .container-block .collect-btn-already text{
  47. color: #fb752c;
  48. }
  49. .container-block .goods-img{
  50. background: #333;
  51. width: 100%;
  52. position: relative;
  53. height: 400rpx;
  54. }
  55. .container-block .goods-img image{
  56. width: 100%;
  57. height: 100%;
  58. background: #ccc;
  59. }
  60. .container-block .goods-info .goods-title{
  61. display: block;
  62. text-align: center;
  63. margin-top: 30rpx;
  64. }
  65. .container-block .goods-info .goods-info-content{
  66. position: relative;
  67. margin-top: 20rpx;
  68. }
  69. .container-block .goods-info .goods-info-content::after{
  70. content: '';
  71. display: block;
  72. clear: both;
  73. }
  74. .container-block .goods-info .goods-info-content view{
  75. font-size: 28rpx;
  76. color: #666;
  77. }
  78. .container-block .goods-info .goods-info-content .goods-proice{
  79. margin-left: 20rpx;
  80. }
  81. .container-block .goods-info .goods-info-content .goods-proice .goods-proice-style{
  82. font-size:40rpx;
  83. color:#e22;
  84. font-weight:600;
  85. display: block;
  86. position:absolute;
  87. top: -10rpx;
  88. left: 140rpx;
  89. }
  90. .goods-time-state{
  91. position: absolute;
  92. width: 30%;
  93. height: 50rpx;
  94. background: #e22;
  95. top: 50%;
  96. left: 0;
  97. margin-top: 130rpx;
  98. border-top-right-radius: 25rpx;
  99. border-bottom-right-radius: 25rpx;
  100. }
  101. .goods-time-state text{
  102. font-size: 24rpx;
  103. color: #fff;
  104. display: block;
  105. line-height: 50rpx;
  106. text-align: center;
  107. }
  108. .goods-info-other{
  109. margin-left: 20rpx;
  110. margin-top: 10rpx;
  111. }
  112. .goods-info-other::after{
  113. content: '';
  114. display: block;
  115. clear: both;
  116. }
  117. .goods-info-other .attention{
  118. float: right;
  119. margin-right: 20rpx;
  120. }
  121. .container-block .goods-info .goods-info-content .goods-info-other .shop-name {
  122. float: left;
  123. text-overflow: ellipsis;
  124. overflow: hidden;
  125. white-space: nowrap;
  126. }
  127. .container-block .goods-info .goods-info-content .goods-info-other .lines{
  128. border-left:1px solid #666;
  129. height:28rpx;
  130. display:inline-block;
  131. margin: 0 10rpx;
  132. position: relative;
  133. top: 5rpx;
  134. }
  135. .container-block .goods-info .goods-info-state{
  136. font-size: 24rpx;
  137. text-align: center;
  138. display: block;
  139. margin-bottom: 10rpx;
  140. }
  141. .container-block .goods-info .goods-info-text{
  142. width: 250rpx;
  143. height: 160rpx;
  144. margin: 0 auto;
  145. position: relative;
  146. }
  147. .container-block .goods-info .goods-info-text text{
  148. display: block;
  149. text-align: center;
  150. }
  151. .container-block .goods-info .goods-info-text .goods-money{
  152. font-size: 30rpx;
  153. margin-top: 8rpx;
  154. margin-bottom: 8rpx;
  155. font-weight: 600;
  156. }
  157. .container-block .goods-info .goods-info-text .goods-buyer{
  158. font-size: 26rpx;
  159. }
  160. .container-block .goods-info .goods-info-text .goods-auction{
  161. position: absolute;
  162. width: 100%;
  163. color: #fff;
  164. padding: 10rpx 0;
  165. font-size: 26rpx;
  166. bottom: 0;
  167. }
  168. .container-block .goods-info-ing .goods-info-state{
  169. color: #fb752c
  170. }
  171. .container-block .goods-info-end .goods-info-state{
  172. color: #666;
  173. }
  174. .container-block .goods-info-ing .goods-info-text{
  175. border: 1px solid #fb752c;
  176. }
  177. .container-block .goods-info-end .goods-info-text{
  178. border: 1px solid #999;
  179. }
  180. .container-block .goods-info-ing .goods-info-text .goods-money{
  181. color: #333;
  182. }
  183. .container-block .goods-info-end .goods-info-text .goods-money{
  184. color: #666;
  185. }
  186. .container-block .goods-info-ing .goods-info-text .goods-buyer{
  187. color: #333;
  188. }
  189. .container-block .goods-info-end .goods-info-text .goods-buyer{
  190. color: #666;
  191. }
  192. .container-block .goods-info-ing .goods-info-text .goods-auction{
  193. background: #fb752c;
  194. }
  195. .container-block .goods-info-end .goods-info-text .goods-auction{
  196. background: #999;
  197. }