shelf.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. .top{
  2. width: 100%;
  3. height: 0.31rem;
  4. padding: 0 0.144rem;
  5. box-sizing: border-box;
  6. margin-top: 0.134rem;
  7. }
  8. .top-back{
  9. float: left;
  10. background: url('../../img/frontend/shelf/icon-back.png') no-repeat center center/100% 100%;
  11. width: 0.192rem;
  12. height: 0.192rem;
  13. margin-top: 0.058rem;
  14. }
  15. .top-myshelf{
  16. width: 0.9278rem;
  17. height: 0.31rem;
  18. text-align: center;
  19. line-height: 0.31rem;
  20. border-radius: 0.31rem;
  21. background:rgba(254,237,190,1);
  22. float: left;
  23. margin: 0 0.31rem 0 1.02rem;
  24. font-family:PingFang-SC;
  25. font-weight:bold;
  26. color:rgba(81,61,61,1);
  27. font-size: 0.144rem;
  28. }
  29. .top-history{
  30. font-family:PingFangSC;
  31. font-weight:400;
  32. color:rgba(147,129,129,1);
  33. font-size: 0.144rem;
  34. margin-right: 0.3125rem;
  35. float: left;
  36. height: 0.31rem;
  37. line-height: 0.31rem;
  38. }
  39. .top-search{
  40. float: left;
  41. width: 0.192rem;
  42. height: 0.192rem;
  43. background: url('../../img/frontend/shelf/icon-search.png') no-repeat center center/100% 100%;
  44. margin-top: 0.058rem;
  45. }
  46. .top-all{
  47. float: right;
  48. height: 0.192rem;
  49. width: 0.192rem;
  50. background: url('../../img/frontend/shelf/shines-icon-menu.png') no-repeat center center/100% 100%;
  51. margin-top: 0.058rem;
  52. }
  53. .my-shelf{
  54. padding: 0 0.144rem;
  55. margin: 0.192rem 0 0.173rem;
  56. overflow: hidden;
  57. }
  58. .my-shelf-left{
  59. float: left;
  60. font-family:PingFangSC;
  61. font-weight:400;
  62. color:rgba(81,61,61,1);
  63. font-size: 0.144rem;
  64. }
  65. .my-shelf-left strong,.my-shelf-left em{ font-size: 0.144rem;}
  66. .my-shelf-right{
  67. float: right;
  68. font-family:PingFangSC;
  69. font-weight:400;
  70. color:rgba(245,166,35,1);
  71. font-size: 0.125rem;
  72. margin-top: 0.005rem;
  73. position: relative;
  74. }
  75. .my-shelf-right::before{
  76. content: '';
  77. position: absolute;
  78. width: 0.192rem;
  79. height: 0.192rem;
  80. left: -0.192rem;
  81. }
  82. .my-shelf-setting{
  83. /* display: none; */
  84. }
  85. .my-shelf-setting::before{
  86. background: url('../../img/frontend/shelf/icon-setting.png') no-repeat center center/0.192rem 0.192rem;
  87. }
  88. .my-shelf-cancle{
  89. color:rgba(147,129,129,1);
  90. display: none;
  91. }
  92. .my-shelf-cancle::before{
  93. background: url('../../img/frontend/shelf/icon-delete.png') no-repeat center center/0.192rem 0.192rem;
  94. }
  95. .my-shelf-delete{
  96. color:rgba(234,94,94,1);
  97. display: none;
  98. }
  99. .my-shelf-delete::before{
  100. background: url('../../img/frontend/shelf/icon-delete.png') no-repeat center center/0.192rem 0.192rem;
  101. }
  102. .book-list{
  103. padding: 0 0.16rem;
  104. padding-bottom: 1rem;
  105. font-size: 0;
  106. overflow: hidden;
  107. }
  108. .book-item{
  109. width: 1.01rem;
  110. text-align: center;
  111. /*margin-right: 0.16rem;*/
  112. /*margin-top: 0.16rem;*/
  113. position: relative;
  114. top: 0.08rem;
  115. }
  116. .book-item:nth-of-type(3n+3){
  117. margin-right: 0;
  118. }
  119. .book-item-cover{
  120. width: 1.01rem;
  121. height: 1.346rem;
  122. background:rgba(245,245,245,1);
  123. border: 0.005rem solid rgba(223,223,223,1);
  124. border-radius: 0.058rem;
  125. position: relative;
  126. }
  127. .book-item-cover img{
  128. width: 100%;
  129. height: 100%;
  130. border-radius: 0.058rem;
  131. }
  132. .book-item-text{
  133. margin-top: 0.18rem;
  134. font-family:PingFang-SC;
  135. font-weight:400;
  136. color:rgba(81,61,61,1);
  137. font-size: 0.125rem;
  138. white-space: nowrap;
  139. text-overflow: ellipsis;
  140. overflow: hidden;
  141. height: 0.192rem;
  142. }
  143. .book-item-text a{
  144. color:rgba(81,61,61,1);
  145. }
  146. .book-item-text span{
  147. font-family:PingFang-SC;
  148. font-weight:400;
  149. color:rgba(255,255,255,1);
  150. font-size: 0.125rem;
  151. /*background:rgba(255,111,111,1);*/
  152. color: white;
  153. padding: 0px 3px;
  154. line-height: 22px;
  155. border-radius: 0.02rem;
  156. margin-right: 0.05rem;
  157. }
  158. .book-item-status{
  159. width: 0.58rem;
  160. height: 0.32rem;
  161. position: absolute;
  162. bottom: 0;
  163. right: 0;
  164. }
  165. .book-item-update{
  166. background: url('../../img/frontend/shelf/tag-update.png') center center/100% 100%;
  167. }
  168. .book-item-unshelf{
  169. background: url('../../img/frontend/shelf/tag-unshelf.png') center center/100% 100%;
  170. }
  171. .book-item-free{
  172. background: url('../../img/frontend/shelf/tag-free.png') center center/100% 100%;
  173. }
  174. .book-item-more .book-item-cover{
  175. color:rgba(245,166,35,1);
  176. font-size: 0.3rem;
  177. line-height: 1.346rem;
  178. }
  179. .sign{
  180. width: 0.98rem;
  181. height: 0.82rem;
  182. background: url('../../img/frontend/shelf/icon-signin.png') no-repeat center center/100% 100%;
  183. position: fixed;
  184. right: 0;
  185. bottom: 1.53rem;
  186. }
  187. .book-item-unselected.book-item .book-item-cover::after{
  188. content: "";
  189. position: absolute;
  190. width: 0.192rem;
  191. height: 0.192rem;
  192. background: url('../../img/frontend/shelf/icon-unselected.png') no-repeat center center/100% 100%;
  193. right: -0.03rem;
  194. top: -0.09rem;
  195. }
  196. .book-item-selected.book-item .book-item-cover::after{
  197. content: "";
  198. position: absolute;
  199. width: 0.192rem;
  200. height: 0.192rem;
  201. background: url('../../img/frontend/shelf/icon-selected.png') no-repeat center center/100% 100%;
  202. right: -0.03rem;
  203. top: -0.09rem;
  204. }