common.wxss 3.3 KB

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