common.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. /* 公共样式 */
  2. /* 首页主要内容样式 */
  3. .contentList{
  4. width: 90%;
  5. margin: 0rpx auto;
  6. margin-top: 10rpx;
  7. }
  8. .content{
  9. width: 100%;
  10. height: auto;
  11. padding: 20rpx 0rpx;
  12. display: flex;
  13. justify-content: space-between;
  14. border-bottom: 1rpx solid #f1f1f1;
  15. }
  16. .contentImg{
  17. width: 232rpx;
  18. height: 232rpx;
  19. border-radius: 15rpx;
  20. }
  21. .contentImg>image{
  22. width: 100%;
  23. height: 100%;
  24. border-radius: 15rpx;
  25. }
  26. .content-right{
  27. width: 530rpx;
  28. height: 100%;
  29. margin-left: 20rpx;
  30. display: flex;
  31. flex-direction: column;
  32. }
  33. .content-title{
  34. width: 100%;
  35. height: 138rpx;
  36. overflow: hidden;
  37. display: flex;
  38. flex-direction: column;
  39. }
  40. .titleText{
  41. width: 100%;
  42. font-size: 35rpx;
  43. color: #333;
  44. text-align: left;
  45. display: -webkit-box;
  46. -webkit-line-clamp: 1;/*行数n*/
  47. -webkit-box-orient: vertical;
  48. overflow: hidden;
  49. text-overflow: ellipsis;
  50. }
  51. .introduction{
  52. width: 100%;
  53. font-size: 28rpx;
  54. color: #cdcdcd;
  55. text-align: left;
  56. padding: 15rpx 0rpx;
  57. display: -webkit-box;
  58. -webkit-line-clamp: 2;/*行数n*/
  59. -webkit-box-orient: vertical;
  60. overflow: hidden;
  61. text-overflow: ellipsis;
  62. }
  63. .count{
  64. width: 100%;
  65. height: 50rpx;
  66. display: flex;
  67. justify-content: start;
  68. align-items: center;
  69. }
  70. .playcount{
  71. font-size: 25rpx;
  72. color: #cdcdcd;
  73. margin-right: 30rpx;
  74. }
  75. .jicount{
  76. font-size: 25rpx;
  77. color: #cdcdcd;
  78. }
  79. /*
  80. ==========
  81. bar相关
  82. ==========
  83. */
  84. .marginTopBottom {
  85. margin-top: 20rpx;
  86. margin-bottom: 30rpx;
  87. }
  88. .barTitle {
  89. width: 100%;
  90. height: 56rpx;
  91. padding: 20rpx 0rpx;
  92. text-align: center;
  93. }
  94. .Title-left {
  95. float: left;
  96. font-size: 37rpx;
  97. font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  98. font-weight: 800;
  99. color: #333;
  100. }
  101. .Title-right {
  102. float: right;
  103. font-size: 26rpx;
  104. color: #aaa;
  105. }
  106. /*
  107. ===========
  108. 登录样式
  109. ===========
  110. */
  111. .logo {
  112. width: 128rpx;
  113. height: 128rpx;
  114. margin: 0rpx auto;
  115. position: relative;
  116. top: 200rpx;
  117. }
  118. .logoImg {
  119. width: 100%;
  120. height: 100%;
  121. }
  122. .loginButton {
  123. width: 80%;
  124. margin: 0rpx auto;
  125. position: relative;
  126. top: 500rpx;
  127. }
  128. .wechatLogin, .phoneLogin {
  129. width: 100%;
  130. height: 80rpx;
  131. border-radius: 50rpx;
  132. border: 0rpx;
  133. outline: none;
  134. }
  135. .wechatLogin button {
  136. background-color: #70e500;
  137. border-radius: 50rpx;
  138. border: none;
  139. color: #fff;
  140. }
  141. .phoneLogin {
  142. margin-top: 40rpx;
  143. }
  144. .phoneLogin button {
  145. border-radius: 50rpx;
  146. border: 1rpx solid #70e500;
  147. background-color: #fff;
  148. color: #70e500;
  149. }
  150. /*
  151. ===========
  152. 搜索部分
  153. ===========
  154. */
  155. .title{
  156. width: 100%;
  157. height: 50rpx;
  158. display: flex;
  159. justify-content: space-between;
  160. align-items: center;
  161. box-sizing: border-box;
  162. }
  163. .title-text{
  164. color: #000;
  165. font-weight: 700;
  166. }
  167. /*
  168. ==========
  169. 蒙板
  170. ==========
  171. */
  172. .cover{
  173. position: fixed;
  174. top: 0;
  175. right: 0;
  176. bottom: 0;
  177. left: 0;
  178. width: 100%;
  179. height: 100%;
  180. z-index: 9000;
  181. background: rgba(0, 0, 0, 0.6);
  182. opacity: 0.7;
  183. }