mineCollect.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /* index.wxss */
  2. page{
  3. background-color: #fff;
  4. }
  5. ::-webkit-scrollbar{
  6. width: 0;
  7. height: 0;
  8. color: transparent;
  9. }
  10. ::-webkit-scrollbar-thumb{
  11. color:transparent;
  12. }
  13. ::-webkit-scrollbar-track-piece{
  14. color: transparent;
  15. }
  16. .header{
  17. width:100%;
  18. background-color: #fff;
  19. }
  20. .header_nav{
  21. float: left;
  22. width: 50%;
  23. height: 78rpx;
  24. text-align: center;
  25. line-height: 78rpx;
  26. font-size: 24rpx;
  27. color: #2d2d2d;
  28. border-bottom:2px solid #fff;
  29. }
  30. .nav_active{
  31. color: #b4a078;
  32. border-bottom:2px solid #b4a078;
  33. }
  34. .content{
  35. display: none;
  36. background-color: #fff;
  37. }
  38. .show{
  39. display: block;
  40. }
  41. /* 专题 */
  42. .each_content_wrap{
  43. background-color:#f4f4f4;
  44. }
  45. .each_content{
  46. background-color: #fff;
  47. margin: 0 0 23rpx 0;
  48. position: relative;
  49. }
  50. .content_title{
  51. font-size: 34rpx;
  52. font-weight: bold;
  53. padding: 28rpx 0;
  54. color:#414547;
  55. }
  56. .content_img{
  57. display: block;
  58. width:100%;
  59. }
  60. .content_intro{
  61. font-size: 32rpx;
  62. color: #414547;
  63. padding:30rpx 0;
  64. }
  65. .content_icon{
  66. display: block;
  67. float: left;
  68. width: 24rpx;
  69. height: 24rpx;
  70. }
  71. .content_infor{
  72. position: absolute;
  73. right: 12rpx;
  74. bottom: 16rpx;
  75. text-align: right;
  76. padding-bottom: 30rpx;
  77. }
  78. .content_infor_cont{
  79. display: inline-block;
  80. }
  81. .content_infor text{
  82. display: block;
  83. float: left;
  84. font-size: 20rpx;
  85. line-height: 24rpx;
  86. color:#b4a078;
  87. padding:0 16rpx 0 9rpx;
  88. }
  89. /* 列表 */
  90. .list{
  91. display: flex;
  92. flex-wrap: wrap;
  93. background-color: #fff;
  94. border-top: 2px solid #f0f0f0;
  95. }
  96. .list_item_wrap{
  97. width: 50%;
  98. box-sizing: border-box;
  99. border-bottom: 2px solid #f0f0f0;
  100. }
  101. .list_item_wrap:nth-child(odd){
  102. border-right: 1px solid #f0f0f0;
  103. }
  104. .list_item_wrap:nth-child(even){
  105. border-left: 1px solid #f0f0f0;
  106. }
  107. .list_item{
  108. width: 100%;
  109. height:374rpx;
  110. overflow: hidden;
  111. position: relative;
  112. text-align: center;
  113. }
  114. .full_image{
  115. max-width: 100%;
  116. max-height: 374rpx;
  117. vertical-align: middle;
  118. }
  119. .full_title{
  120. height: 60rpx;
  121. font-size: 24rpx;
  122. line-height: 30rpx;
  123. color:#272727;
  124. text-overflow:ellipsis;
  125. overflow:hidden;
  126. display:-webkit-box;
  127. -webkit-line-clamp:2;
  128. -webkit-box-orient:vertical;
  129. padding: 22rpx 18rpx 0 34rpx;
  130. }
  131. .full_price{
  132. font: bolder 30rpx "Microsoft Yahei";
  133. line-height: 86rpx;
  134. color:#b4a078;
  135. padding-left: 34rpx;
  136. }
  137. .full_price_old{
  138. font-size: 22rpx;
  139. line-height: 86rpx;
  140. color: #c8c8c8;
  141. text-decoration:line-through;
  142. margin-left:26rpx;
  143. }
  144. .each_cont_wrap{
  145. width: 100%;
  146. height: 100%;
  147. position: absolute;
  148. top: 0;
  149. left: 0;
  150. background-color: rgba(0,0,0,0.66);
  151. }
  152. .each_cont{
  153. width: 100%;
  154. height: 100%;
  155. text-align: center;
  156. vertical-align: middle;
  157. }
  158. .each_cont:before {
  159. content:'';
  160. display:inline-block;
  161. height:100%;
  162. vertical-align:middle;
  163. }
  164. /* 分类名 */
  165. .content_kind_name{
  166. font-size: 20rpx;
  167. line-height: 1;
  168. color: #b4a078;
  169. border-left: 1px solid #b4a078;
  170. border-right: 1px solid #b4a078;
  171. padding: 0 10rpx;
  172. position: absolute;
  173. top: 35rpx;
  174. left: 31rpx;
  175. }
  176. .content_infor_wrap{
  177. display: inline-block;
  178. vertical-align: middle;
  179. }
  180. .content_title{
  181. font-size: 40rpx;
  182. color: #fff;
  183. padding-bottom: 14rpx;
  184. text-align: center;
  185. }
  186. .content_intro{
  187. display: inline;
  188. font-size: 16rpx;
  189. color: #fffefe;
  190. padding: 6rpx 28rpx;
  191. text-align: center;
  192. border: 1px solid #9e9a99;
  193. }