tuan_wingoods.wxss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. /* pages/dan/tuan_wingoods.wxss */
  2. page{
  3. background-color:#fff;
  4. }
  5. .nav{
  6. white-space: nowrap;
  7. background: #fff;
  8. line-height: 1rem;
  9. padding: 0.5rem 0;
  10. font-size: 0.75rem;
  11. position:fixed;
  12. width:100%;
  13. top:0;
  14. z-index:999;
  15. }
  16. .hide{display:none;}
  17. .nav_item{
  18. display: inline-block;
  19. padding: 0 10px;
  20. margin: 0 5px;
  21. font-size: 28rpx;
  22. line-height: 1.4rem;
  23. }
  24. .nav .cur{
  25. background: #ff5777;
  26. border-radius: 10px;
  27. color: #fff;
  28. }
  29. .base-list-wrapper{
  30. margin-top:100rpx;
  31. }
  32. #spike-list {
  33. width: 100%;
  34. max-width: 750rpx;
  35. height: auto;
  36. min-height: 100%;
  37. position: relative;
  38. margin-top:40rpx;
  39. }
  40. .base-list-wrapper {
  41. position: relative;
  42. width: 100%;
  43. overflow: hidden;
  44. line-height: 1;
  45. }
  46. .spike-goods {
  47. background-color: #fff;
  48. height: 254rpx;
  49. margin: 0 20rpx 14rpx 62rpx;
  50. line-height: 1.5;
  51. border: 1px solid #eaeaea;
  52. border-radius: 12rpx;
  53. width: 668rpx;
  54. position: relative;
  55. z-index: 1;
  56. }
  57. .spike-goods {
  58. margin-left: 40rpx;
  59. }
  60. .spike-img {
  61. height: 216rpx;
  62. width: 216rpx;
  63. float: left;
  64. margin: 19rpx 20rpx;
  65. }
  66. .spike-info {
  67. height: 100%;
  68. width: 370rpx;
  69. display: inline-block;
  70. position: relative;
  71. left: 24rpx;
  72. }
  73. .spike-goods-name {
  74. display: -webkit-box;
  75. overflow: hidden;
  76. width: 356rpx;
  77. height: 62rpx;
  78. max-height: 196rpx;
  79. line-height: 34rpx;
  80. font-size: 26rpx;
  81. color: #333;
  82. text-overflow: ellipsis;
  83. word-break: break-all;
  84. -webkit-line-clamp: 2;
  85. -webkit-box-orient: vertical;
  86. top: 20rpx;
  87. position: absolute;
  88. }
  89. .spike-buy {
  90. height: 106rpx;
  91. position: absolute;
  92. bottom: 16rpx;
  93. font-size: 0;
  94. }
  95. .spike-buy .all-price {
  96. display: inline-block;
  97. width: 100%;
  98. }
  99. .spike-buy .all-price .sale-symbol {
  100. font-size: 24rpx;
  101. color: #ee2e3a;
  102. }
  103. .spike-buy .all-price .sale-price {
  104. line-height: 32rpx;
  105. font-size: 32rpx;
  106. color: #ee2e3a;
  107. font-weight: 700;
  108. position: relative;
  109. }
  110. .spike-buy .all-price .sale-symbol {
  111. font-size: 24rpx;
  112. color: #ee2e3a;
  113. padding-left:10px;
  114. }
  115. .spike-buy .all-price .sale-price {
  116. line-height: 32rpx;
  117. font-size: 32rpx;
  118. color: #ff5777;
  119. font-weight: 700;
  120. position: relative;
  121. }
  122. .left-time {
  123. width: 366rpx;
  124. position: absolute;
  125. vertical-align: middle;
  126. bottom: 0;
  127. left: 0;
  128. }
  129. .spike-button-coming, .spike-button-off, .spike-button-on {
  130. display: inline-block;
  131. color: #fff;
  132. font-size: 24rpx;
  133. }
  134. .left-time .quantity {
  135. width: 224rpx;
  136. border-bottom-left-radius: 4px;
  137. border-top-left-radius: 4px;
  138. height: 54rpx;
  139. line-height: 54rpx;
  140. font-size: 0;
  141. position: relative;
  142. float: left;
  143. vertical-align: middle;
  144. }
  145. .spike-button-on .quantity {
  146. border: 1px solid #f34949;
  147. }
  148. .left-time .head {
  149. display: inline-block;
  150. height: 54rpx;
  151. line-height: 54rpx;
  152. font-size: 22rpx;
  153. }
  154. .hide{
  155. display:none;
  156. }
  157. .left-time .head text{
  158. font-size:24rpx;
  159. }
  160. .spike-button-on .head, .spike-button-on .quantity-detail {
  161. color: #f34949;
  162. }
  163. .left-time .head:before {
  164. display: inline-block;
  165. content: '';
  166. width: 25rpx;
  167. height: 26rpx;
  168. margin: 0 8rpx 0 16rpx;
  169. position: relative;
  170. vertical-align: middle;
  171. }
  172. .left-time .detail, .left-time .quantity-detail {
  173. display: inline-block;
  174. position: relative;
  175. left: -6rpx;
  176. line-height: 50rpx;
  177. height: 50rpx;
  178. padding-left: 6rpx;
  179. }
  180. .spike-button-on .head, .spike-button-on .quantity-detail {
  181. color: #f34949;
  182. }
  183. .left-time .detail span, .left-time .quantity-detail .span {
  184. font-size: 22rpx;
  185. }
  186. .spike-button-coming .btnClass, .spike-button-off .btnClass, .spike-button-on .btnClass {
  187. float: right;
  188. display: inline-block;
  189. height: 54rpx;
  190. line-height: 54rpx;
  191. width: 142rpx;
  192. font-size: 26rpx;
  193. text-align: center;
  194. position: absolute;
  195. top: 0;
  196. left: 224rpx;
  197. border-bottom-right-radius: 4px;
  198. border-top-right-radius: 4px;
  199. vertical-align: middle;
  200. }
  201. .spike-button-on .btnClass {
  202. background-color: #ff5777;
  203. }
  204. .span{
  205. display:inline;
  206. }