follow.scss 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. @import "../scssCommon";
  2. .followAreaShow {
  3. margin-top: 10px;
  4. .topArea {
  5. position: relative;
  6. width: 100%;
  7. background-color: #fff;
  8. margin-top: 10px;
  9. }
  10. .contentArea {
  11. background-color: #fff;
  12. width: 1000px;
  13. margin: 0 auto;
  14. box-sizing: border-box;
  15. .selectArea {
  16. width:1000px;
  17. height:50px;
  18. background:rgba(255,255,255,1);
  19. box-shadow:0px 0px 0px 0px rgba(243,243,243,1);
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. .myFollow, .myFans {
  24. height: 50px;
  25. position: relative;
  26. cursor: pointer;
  27. p {
  28. height:50px;
  29. font-size:16px;
  30. font-weight:400;
  31. color:rgba(34,34,34,1);
  32. line-height:50px;
  33. }
  34. &.selected {
  35. p {
  36. font-weight:600;
  37. color:rgba(34,34,34,1);
  38. }
  39. &:after {
  40. position: absolute;
  41. bottom: 0;
  42. left: 50%;
  43. transform: translateX(-50%);
  44. content: '';
  45. width:30px;
  46. height:3px;
  47. background:rgba(48,142,255,1);
  48. border-radius:2px;
  49. }
  50. }
  51. }
  52. .myFans {
  53. margin-left: 78px;
  54. }
  55. }
  56. .listArea {
  57. margin-top: 17px;
  58. .list {
  59. display: flex;
  60. align-items: center;
  61. flex-wrap: wrap;
  62. .cell {
  63. width:300px;
  64. height:165px;
  65. background:rgba(255,255,255,1);
  66. box-shadow:0px 3px 12px 0px rgba(8,27,50,0.05);
  67. border:1px solid rgba(0,0,0,0.05);
  68. padding: 20px 15px 13px 15px;
  69. margin: 20px 0 0 20px;
  70. cursor: pointer;
  71. &:nth-child(3n+1) {
  72. margin-left: 30px;
  73. }
  74. .topContent {
  75. width: 100%;
  76. display: flex;
  77. justify-content: space-between;
  78. align-items: center;
  79. .left {
  80. height:24px;
  81. font-size:17px;
  82. font-weight:500;
  83. color:rgba(17,17,17,1);
  84. line-height:24px;
  85. }
  86. .right {
  87. height:18px;
  88. font-size:14px;
  89. font-weight:400;
  90. color:rgba(153,153,153,1);
  91. line-height:18px;
  92. }
  93. }
  94. .descContent {
  95. margin-top: 10px;
  96. width:100%;
  97. height:36px;
  98. font-size:14px;
  99. font-weight:400;
  100. color:rgba(102,102,102,1);
  101. line-height:18px;
  102. text-align: left;
  103. overflow: hidden;
  104. text-overflow: ellipsis;
  105. display: -webkit-box;
  106. -webkit-box-orient: vertical;
  107. -webkit-line-clamp: 2;
  108. }
  109. .bottomContent {
  110. margin-top: 25px;
  111. width: 100%;
  112. display: flex;
  113. justify-content: space-between;
  114. align-items: center;
  115. border-top: 1px solid rgba(#979797, 0.1);
  116. padding-top: 7px;
  117. .left {
  118. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAELklEQVRoQ+1YXWgcVRQ+545L2iZpdypqxRdFUfRJ86CIIKb4hy0qCGtKgiFx7r31B0XER5/0yQdB8af33k1CJcG6IKhY8Y8qIoh9sD4pUqRPYlV00zZJhd25R6bMhtlhk707OyENzjzee853zne/OWfOXIQt/uAWzx8KAputYC4KKKVKnufdHobhNYi43YUUEZ33PO9UGIbfSSkbLj6dbPomYIw5QESvEdFlWZJAxL8Q8VnO+buZ/LM4tXy01oeJ6LF+MFq+iPiOEGKyV6zMChhjpqy1s6mAZxBx0SUJIioDwK6kLWNsmnM+5+K/SrwX45ZtrVbbXq/XTwPAznjtN8bYBOf8617wjDF3WWvnAeCq2O+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AAASUVORK5CYII=") no-repeat;
  119. background-size: cover;
  120. width: 24px;
  121. height: 24px;
  122. &.none {
  123. visibility: hidden;
  124. }
  125. }
  126. .right {
  127. width:32px;
  128. height:32px;
  129. font-size: 0;
  130. img {
  131. border-radius: 50%;
  132. width:32px;
  133. height:32px;
  134. }
  135. }
  136. }
  137. }
  138. .noneData {
  139. min-height: 100px;
  140. display: flex;
  141. justify-content: center;
  142. align-items: center;
  143. margin: 0 auto;
  144. p {
  145. text-align: center;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. .pagination {
  152. padding: 50px;
  153. box-sizing: content-box;
  154. text-align: center;
  155. }
  156. }
  157. .followAreaShowMobile {
  158. width: 100vw;
  159. height: 100vh;
  160. overflow: hidden;
  161. a {
  162. display: block;
  163. }
  164. .selectArea {
  165. width:100vw;
  166. height:pxtovw(45);
  167. background:rgba(255,255,255,1);
  168. box-shadow:0px 0px 0px 0px rgba(243,243,243,1);
  169. display: flex;
  170. justify-content: center;
  171. align-items: center;
  172. .myFollow, .myFans {
  173. height: 100%;
  174. position: relative;
  175. cursor: pointer;
  176. p {
  177. height:pxtovw(45);
  178. font-size:pxtovw(15);
  179. font-weight:400;
  180. color:rgba(136,136,136,1);
  181. line-height:pxtovw(45);
  182. }
  183. &.selected {
  184. p {
  185. font-weight:600;
  186. color:rgba(34,34,34,1);
  187. }
  188. &:after {
  189. position: absolute;
  190. bottom: pxtovw(2);
  191. left: 50%;
  192. transform: translateX(-50%);
  193. content: '';
  194. width:pxtovw(15);
  195. height: pxtovw(3);
  196. background:rgba(48,142,255,1);
  197. border-radius:pxtovw(2);
  198. }
  199. }
  200. }
  201. .myFans {
  202. margin-left: pxtovw(75);
  203. }
  204. }
  205. .listArea {
  206. height: calc(100vh - 12vw);
  207. width: 100%;
  208. overflow-x: hidden;
  209. overflow-y: scroll;
  210. background-color: #f6f5f8;
  211. -webkit-overflow-scrolling: touch;
  212. &.noneInWx {
  213. height: calc(100vh - 12vw - 64px);
  214. }
  215. .list {
  216. margin-top: pxtovw(4);
  217. .cell {
  218. width: 100%;
  219. .cellContent {
  220. background: #FFF;
  221. display: flex;
  222. justify-content: center;
  223. align-items: center;
  224. height: pxtovw(75);
  225. width: 100%;
  226. padding: 0 pxtovw(10);
  227. .left {
  228. flex-shrink: 0;
  229. width: pxtovw(47);
  230. height: pxtovw(47);
  231. font-size: 0;
  232. img {
  233. width: pxtovw(47);
  234. height: pxtovw(47);
  235. border-radius: 50%;
  236. }
  237. }
  238. .right {
  239. flex-grow: 1;
  240. margin-left: 10px;
  241. height: pxtovw(75);
  242. display: flex;
  243. flex-direction: column;
  244. align-items: center;
  245. border-bottom: 1px solid rgba(#979797, 0.1);
  246. padding: pxtovw(14) 0;
  247. .topContent {
  248. width: 100%;
  249. display: flex;
  250. justify-content: space-between;
  251. align-items: center;
  252. .leftC {
  253. height:pxtovw(21);
  254. font-size:pxtovw(15);
  255. font-weight:600;
  256. color:rgba(51,51,51,1);
  257. line-height:pxtovw(21);
  258. }
  259. .rightC {
  260. height:pxtovw(16);
  261. font-size: pxtovw(11);
  262. font-weight:400;
  263. color:rgba(153,153,153,1);
  264. line-height:pxtovw(16);
  265. }
  266. }
  267. .descContent {
  268. margin-top: pxtovw(3);
  269. width: pxtovw(290);
  270. height:pxtovw(18);
  271. font-size:pxtovw(13);
  272. font-family:PingFangSC-Regular,PingFang SC;
  273. font-weight:400;
  274. color:rgba(102,102,102,1);
  275. line-height:pxtovw(18);
  276. overflow: hidden;
  277. text-overflow: ellipsis;
  278. white-space: nowrap;
  279. word-break: keep-all;
  280. }
  281. }
  282. }
  283. }
  284. .noneData {
  285. min-height: pxtovw(100);
  286. display: flex;
  287. justify-content: center;
  288. align-items: center;
  289. text-align: center;
  290. margin: 0 auto;
  291. p {
  292. text-align: center;
  293. }
  294. }
  295. }
  296. }
  297. }
  298. .main {
  299. margin-top: 0 !important;
  300. &.isMobile {
  301. width: 100vw;
  302. }
  303. }