detail.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. .products {
  2. padding: 10px 15px;
  3. display: flex;
  4. flex-flow: row wrap;
  5. justify-content: space-between;
  6. margin: 0 -7.5px;
  7. }
  8. .product {
  9. width: 50%;
  10. padding: 7.5px;
  11. display: block;
  12. text-align: center;
  13. font-size: 14px;
  14. color: #666;
  15. box-sizing: border-box;
  16. height: 130px;
  17. border-radius: 3px;
  18. position: relative;
  19. }
  20. .product .link {
  21. display: block;
  22. height: 100%;
  23. width: 100%;
  24. position:relative;
  25. border-radius:3px;
  26. overflow:hidden;
  27. background:#eee;
  28. }
  29. .product .image {
  30. display: block;
  31. height: 100%;
  32. width: 100%;
  33. background-repeat: no-repeat;
  34. background-size:cover;
  35. background-position: center center;
  36. }
  37. .product .title {
  38. position:absolute;
  39. bottom:10px;
  40. font-size:12px;
  41. border-top-right-radius: 3px;
  42. border-bottom-right-radius: 3px;
  43. left:0;
  44. width:auto;
  45. max-width:50%;
  46. height:30px;
  47. line-height:30px;
  48. background:#000;
  49. opacity: 0.7;
  50. text-align: center;
  51. overflow:hidden;
  52. color:#f8f8f8;
  53. }
  54. .cover {
  55. height: 180px;
  56. position: relative;
  57. background-size: cover;
  58. background-position: center center;
  59. }
  60. .cover > .overlay {
  61. text-align: center;
  62. background: rgba(0, 0, 0, 0.6);
  63. color: #fff;
  64. height: 100%;
  65. width: 100%;
  66. }
  67. .cover .intro {
  68. position: absolute;
  69. top: 50px;
  70. left: 0;
  71. text-align: center;
  72. width: 100%;
  73. color: #fff;
  74. }
  75. .title {
  76. position: relative;
  77. padding: 15px;
  78. color: #666;
  79. background:#fff;
  80. border-bottom: 1px solid #eee;
  81. }
  82. .title .h1 {
  83. font-size: 22px;
  84. line-height: 25px;
  85. }
  86. .title .date {
  87. margin-top: 5px;
  88. font-size: 12px;
  89. color:#bbb;
  90. }
  91. .content {
  92. padding:15px;
  93. background:#fff;
  94. }
  95. .thumbs {
  96. padding:15px;
  97. margin: 0px auto;
  98. text-align: center;
  99. background:#fff;
  100. }
  101. .thumbs .like,.thumbs .dislike {
  102. display: inline-block;
  103. width: 44px;
  104. height: 44px;
  105. line-height: 44px;
  106. color: #999;
  107. text-align: center;
  108. background-color: #bebebe;
  109. background-position: center center;
  110. background-repeat: no-repeat;
  111. transition: background-color 300ms linear;
  112. border-radius: 22px;
  113. background-clip: padding-box;
  114. vertical-align: middle;
  115. }
  116. .thumbs .like {
  117. position: relative;
  118. margin-right: 5px;
  119. background-color: #46c37b;
  120. }
  121. .thumbs .like:hover {
  122. background-color: #08aa73;
  123. }
  124. .thumbs .dislike {
  125. position: relative;
  126. margin-left: 5px;
  127. }
  128. .thumbs .dislike:hover {
  129. background-color: #999;
  130. }
  131. .thumbs i.fa {
  132. font-size: 20px;
  133. color: #fff;
  134. }
  135. .thumbs .progress {
  136. position: relative;
  137. display: inline-block;
  138. vertical-align: -18%;
  139. }
  140. .thumbs .bar {
  141. width: 110px;
  142. height: 7px;
  143. overflow: hidden;
  144. background-color: #dcdcdc;
  145. border-radius: 4px;
  146. background-clip: padding-box;
  147. }
  148. .thumbs .bar span {
  149. display: block;
  150. height: 100%;
  151. width: 50%;
  152. background-color: #46c37b;
  153. transition: width 300ms linear;
  154. }
  155. .thumbs .num {
  156. position: absolute;
  157. top: -18px;
  158. display: block;
  159. width: 100%;
  160. font-style: normal;
  161. font-size: 10px;
  162. color: #999;
  163. text-align: center;
  164. }
  165. .thumbs .num i {
  166. position: absolute;
  167. right: 55%;
  168. color: #46c37b;
  169. font-style: normal;
  170. }
  171. .thumbs .num span {
  172. position: absolute;
  173. left: 55%;
  174. }
  175. .postcomment {
  176. }
  177. .commentlist {
  178. }
  179. .commentlist .zan-card__detail-row .zan-card__left-col {
  180. display: flex;
  181. justify-content: space-between;
  182. }
  183. .commentlist .zan-card__detail-row .zan-card__left-col .post-like {
  184. margin-right: 10px;
  185. }
  186. .zan-card {
  187. border-bottom: 1px solid #eee;
  188. padding: 10px 15px;
  189. }
  190. .zan-card__thumb {
  191. width: 60px;
  192. height: 60px;
  193. }
  194. .zan-card__thumb image {
  195. border-radius: 50%;
  196. width: 50px;
  197. height: 50px;
  198. }
  199. .zan-card__detail {
  200. margin-left: 70px;
  201. }
  202. .zan-card__detail .h2w__p {
  203. margin-bottom:20rpx;
  204. }
  205. .author {
  206. margin-right: 10px;
  207. }
  208. .comment-author {
  209. margin-right: 10px;
  210. }
  211. .h2w, .h2w__pre {
  212. font-size: 28rpx;
  213. }
  214. .h2w__main {
  215. margin: 0;
  216. padding-top: 10rpx;
  217. }
  218. .postcomment .zan-field__input {
  219. height:22px;
  220. }