detail.wxss 2.9 KB

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