collect.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. page {
  2. background: #f4f4f4;
  3. min-height: 100%;
  4. }
  5. .container {
  6. background: #f4f4f4;
  7. min-height: 100%;
  8. width: 100%;
  9. height: auto;
  10. overflow: hidden;
  11. }
  12. .collect-switch {
  13. width: 100%;
  14. background: #fff;
  15. height: 84rpx;
  16. }
  17. .collect-switch .item {
  18. display: inline-block;
  19. height: 82rpx;
  20. width: 50%;
  21. padding: 0 15rpx;
  22. text-align: center;
  23. }
  24. .collect-switch .item .txt {
  25. display: inline-block;
  26. height: 82rpx;
  27. padding: 0 20rpx;
  28. line-height: 82rpx;
  29. color: #9a9ba1;
  30. font-size: 30rpx;
  31. width: 170rpx;
  32. }
  33. .collect-switch .item.active .txt {
  34. color: #ab956d;
  35. border-bottom: 4rpx solid #ab956d;
  36. }
  37. .no-collect {
  38. width: 100%;
  39. height: auto;
  40. margin: 0 auto;
  41. }
  42. .no-collect .c {
  43. width: 100%;
  44. height: auto;
  45. margin-top: 400rpx;
  46. }
  47. .no-collect .c text {
  48. margin: 0 auto;
  49. display: block;
  50. width: 258rpx;
  51. height: 29rpx;
  52. line-height: 29rpx;
  53. text-align: center;
  54. font-size: 29rpx;
  55. color: #999;
  56. }
  57. /*商品收藏列表样式*/
  58. .goods-list {
  59. width: 100%;
  60. height: auto;
  61. overflow: hidden;
  62. background: #fff;
  63. padding-left: 30rpx;
  64. border-top: 1px solid #e1e1e1;
  65. }
  66. .goods-list .item {
  67. height: 212rpx;
  68. width: 720rpx;
  69. background: #fff;
  70. padding: 30rpx 30rpx 30rpx 0;
  71. border-bottom: 1px solid #e1e1e1;
  72. }
  73. .goods-list .item:last-child {
  74. border-bottom: 1px solid #fff;
  75. }
  76. .goods-list .item .img {
  77. float: left;
  78. width: 150rpx;
  79. height: 150rpx;
  80. }
  81. .goods-list .item .info {
  82. float: right;
  83. width: 540rpx;
  84. height: 150rpx;
  85. display: flex;
  86. flex-direction: column;
  87. justify-content: center;
  88. padding-left: 20rpx;
  89. }
  90. .goods-list .item .info .name {
  91. font-size: 28rpx;
  92. color: #333;
  93. line-height: 40rpx;
  94. }
  95. .goods-list .item .info .subtitle {
  96. margin-top: 8rpx;
  97. font-size: 24rpx;
  98. color: #888;
  99. line-height: 40rpx;
  100. }
  101. .goods-list .item .info .price {
  102. margin-top: 8rpx;
  103. font-size: 28rpx;
  104. color: #333;
  105. line-height: 40rpx;
  106. }
  107. /*专题收藏列表样式*/
  108. .topic-list{
  109. width: 750rpx;
  110. height: 100%;
  111. overflow: hidden;
  112. background: #f4f4f4;
  113. }
  114. .topic-list .item{
  115. width: 100%;
  116. height: 625rpx;
  117. overflow: hidden;
  118. background: #fff;
  119. margin-bottom: 20rpx;
  120. }
  121. .topic-list .img{
  122. width: 100%;
  123. height: 415rpx;
  124. }
  125. .topic-list .info{
  126. width: 100%;
  127. height: 210rpx;
  128. overflow: hidden;
  129. }
  130. .topic-list .title{
  131. display: block;
  132. text-align: center;
  133. width: 100%;
  134. height: 33rpx;
  135. line-height: 35rpx;
  136. color: #333;
  137. overflow: hidden;
  138. font-size: 35rpx;
  139. margin-top: 30rpx;
  140. }
  141. .topic-list .desc{
  142. display: block;
  143. text-align: center;
  144. position: relative;
  145. width: auto;
  146. height: 24rpx;
  147. line-height: 24rpx;
  148. overflow: hidden;
  149. color: #999;
  150. font-size: 24rpx;
  151. margin-top: 16rpx;
  152. margin-bottom: 30rpx;
  153. }
  154. .topic-list .price{
  155. display: block;
  156. text-align: center;
  157. width: 100%;
  158. height: 27rpx;
  159. line-height: 27rpx;
  160. overflow: hidden;
  161. color: #b4282d;
  162. font-size: 27rpx;
  163. }