collection.scss 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. @import "../scssCommon";
  2. .main {
  3. margin-top: 0 !important;
  4. &.isMobile {
  5. width: 100vw;
  6. }
  7. }
  8. .collectionCenter {
  9. width: 1000px;
  10. margin: 16px auto 40px auto !important;
  11. display: flex;
  12. .leftContent {
  13. width:174px;
  14. height:402px;
  15. background:rgba(255,255,255,1);
  16. .stitle {
  17. height: 80px;
  18. width:100%;
  19. font-size:18px;
  20. font-weight:600;
  21. color:rgba(51,51,51,1);
  22. line-height:80px;
  23. text-align: center;
  24. }
  25. .sList {
  26. .cell {
  27. width:174px;
  28. height:40px;
  29. text-align: center;
  30. font-size:15px;
  31. font-weight:400;
  32. line-height:40px;
  33. background: #fff;
  34. color: #333;
  35. &.selected {
  36. background:rgba(247,247,247,1);
  37. color:rgba(0,147,253,1);
  38. }
  39. }
  40. }
  41. }
  42. .rightContent {
  43. margin-left: 10px;
  44. width:816px;
  45. .topSelectArea {
  46. width:816px;
  47. height:84px;
  48. background:rgba(255,255,255,1);
  49. padding: 24px;
  50. .list {
  51. flex-shrink: 0;
  52. display: flex;
  53. align-items: center;
  54. .cell {
  55. margin-left: 8px;
  56. width:88px;
  57. height:36px;
  58. border-radius:2px;
  59. border:1px solid rgba(239,239,239,1);
  60. font-size:13px;
  61. font-weight:400;
  62. color:rgba(85,85,85,1);
  63. line-height:36.1px;
  64. text-align: center;
  65. cursor: pointer;
  66. user-select: none;
  67. &:nth-child(1) {
  68. margin-left: 0;
  69. }
  70. &.selected {
  71. border:1px solid rgba(48,142,255,1);
  72. font-weight:500;
  73. color:rgba(48,142,255,1);
  74. }
  75. }
  76. }
  77. }
  78. .bodyArea {
  79. width:816px;
  80. margin-top: 10px;
  81. min-height: 500px;
  82. .list {
  83. .cell {
  84. width:816px;
  85. height:164px;
  86. background:rgba(255,255,255,1);
  87. box-shadow:1px 0px 0px 0px rgba(0,0,0,0.1);
  88. padding: 25px 20px;
  89. border-bottom: 1px solid rgba(0,0,0,0.1);
  90. display: flex;
  91. align-items: center;
  92. position: relative;
  93. .left {
  94. width:114px;
  95. height:114px;
  96. font-size: 0;
  97. flex-shrink: 0;
  98. img {
  99. width:114px;
  100. height:114px;
  101. border-radius:2px;
  102. }
  103. }
  104. .right {
  105. width: 100%;
  106. margin-left: 10px;
  107. .ctitle {
  108. width: 528px;
  109. height:25px;
  110. font-size:18px;
  111. font-weight:400;
  112. color:rgba(17,17,17,1);
  113. line-height:25px;
  114. overflow: hidden;
  115. word-break: keep-all;
  116. white-space: nowrap;
  117. text-overflow: ellipsis;
  118. }
  119. .links {
  120. margin-top: 8px;
  121. width:528px;
  122. height:36px;
  123. font-size:13px;
  124. font-weight:400;
  125. color:rgba(153,153,153,1);
  126. line-height:18px;
  127. text-align: left;
  128. overflow: hidden;
  129. text-overflow: ellipsis;
  130. display: -webkit-box;
  131. -webkit-box-orient: vertical;
  132. -webkit-line-clamp: 2;
  133. }
  134. .timeArea {
  135. margin-top: 20px;
  136. display: flex;
  137. justify-content: space-between;
  138. align-items: center;
  139. width: 100%;
  140. .time {
  141. height:18px;
  142. font-size:13px;
  143. font-weight:400;
  144. color:rgba(153,153,153,1);
  145. line-height:18px;
  146. }
  147. .laber {
  148. border-radius:1px;
  149. border:1px solid rgba(48,142,255,1);
  150. padding: 4px 15px;
  151. box-sizing: content-box;
  152. font-size:11px;
  153. font-weight:500;
  154. color:rgba(48,142,255,1);
  155. line-height:16px;
  156. cursor: pointer;
  157. }
  158. }
  159. }
  160. .delIcon {
  161. content: "";
  162. position: absolute;
  163. right: 20px;
  164. top: 25px;
  165. width: 14px;
  166. height: 14px;
  167. background: url('~@/assets/img/user/icon_del@2x.png') no-repeat;
  168. background-size: cover;
  169. cursor: pointer;
  170. }
  171. }
  172. }
  173. .emptyBlock {
  174. height: 500px;
  175. width: 100%;
  176. display: flex;
  177. justify-content: center;
  178. align-items: center;
  179. flex-direction: column;
  180. background-color: #fff;
  181. img {
  182. width: 154px;
  183. height: 154px;
  184. }
  185. p {
  186. height:20px;
  187. font-size:14px;
  188. font-weight:400;
  189. color:rgba(153,153,153,1);
  190. line-height:20px;
  191. }
  192. }
  193. .pagination {
  194. padding: 30px 0;
  195. width: 100%;
  196. text-align: center;
  197. background-color: #fff;
  198. box-sizing: content-box;
  199. }
  200. }
  201. }
  202. }
  203. .collectionCenterMobile {
  204. .topSelectArea {
  205. width: 100vw;
  206. height: pxtovw(45);
  207. overflow: hidden;
  208. .topSelectAreaScroll {
  209. width: 100vw;
  210. height: pxtovw(55);
  211. background:rgba(255,255,255,1);
  212. overflow-x: scroll;
  213. overflow-y: hidden;
  214. .list {
  215. width: fit-content;
  216. min-width: 100%;
  217. display: flex;
  218. align-items: center;
  219. .cell {
  220. flex-shrink: 0;
  221. margin-left: pxtovw(24);
  222. height: pxtovw(45);
  223. font-size: pxtovw(15);
  224. font-weight:400;
  225. color:rgba(136,136,136,1);
  226. line-height: pxtovw(45);
  227. text-align: center;
  228. cursor: pointer;
  229. user-select: none;
  230. position: relative;
  231. word-break: keep-all;
  232. white-space: nowrap;
  233. &:nth-child(1) {
  234. margin-left: pxtovw(18);
  235. }
  236. &:last-child {
  237. margin-right: pxtovw(30);
  238. }
  239. &.selected {
  240. font-weight:500;
  241. color:rgba(34,34,34,1);
  242. &:after {
  243. position: absolute;
  244. content: "";
  245. left: 50%;
  246. bottom: pxtovw(4);
  247. transform: translate(-50%, -50%);
  248. width:pxtovw(15);
  249. height: pxtovw(3);
  250. background:rgba(48,142,255,1);
  251. border-radius: pxtovw(2);
  252. }
  253. }
  254. }
  255. }
  256. }
  257. }
  258. .listArea {
  259. width: 100%;
  260. margin-top: pxtovw(10);
  261. min-height: pxtovw(500);
  262. .list {
  263. .cell {
  264. .cellContent {
  265. width: 100vw;
  266. height: pxtovw(116);
  267. background:rgba(255,255,255,1);
  268. padding: pxtovw(13) pxtovw(10);
  269. border-bottom: 1px solid rgba(0,0,0,0.1);
  270. display: flex;
  271. align-items: center;
  272. position: relative;
  273. .left {
  274. width: pxtovw(90);
  275. height: pxtovw(90);
  276. font-size: 0;
  277. flex-shrink: 0;
  278. img {
  279. width: pxtovw(90);
  280. height: pxtovw(90);
  281. border-radius: pxtovw(2);
  282. }
  283. }
  284. .right {
  285. width: 100%;
  286. margin-left: 10px;
  287. .ctitle {
  288. width: pxtovw(247);
  289. height: pxtovw(21);
  290. font-size: pxtovw(15);
  291. font-weight:400;
  292. color:rgba(17,17,17,1);
  293. line-height: pxtovw(21);
  294. overflow: hidden;
  295. word-break: keep-all;
  296. white-space: nowrap;
  297. text-overflow: ellipsis;
  298. }
  299. .links {
  300. margin-top: pxtovw(4);
  301. width: pxtovw(255);
  302. height: pxtovw(32);
  303. font-size: pxtovw(11);
  304. font-weight:400;
  305. color:rgba(153,153,153,1);
  306. line-height: pxtovw(16);
  307. text-align: left;
  308. overflow: hidden;
  309. text-overflow: ellipsis;
  310. display: -webkit-box;
  311. -webkit-box-orient: vertical;
  312. -webkit-line-clamp: 2;
  313. }
  314. .timeArea {
  315. margin-top: pxtovw(10);
  316. display: flex;
  317. justify-content: space-between;
  318. align-items: center;
  319. width: 100%;
  320. .time {
  321. height: pxtovw(18);
  322. font-size: pxtovw(13);
  323. font-weight: 400;
  324. color: rgba(153,153,153,1);
  325. line-height: pxtovw(18);
  326. }
  327. .laber {
  328. border-radius:1px;
  329. border:1px solid rgba(48,142,255,1);
  330. padding: pxtovw(3) pxtovw(14);
  331. box-sizing: content-box;
  332. height: pxtovw(16);
  333. font-size: pxtovw(11);
  334. font-weight:500;
  335. color:rgba(48,142,255,1);
  336. line-height: pxtovw(16);
  337. cursor: pointer;
  338. }
  339. }
  340. }
  341. }
  342. }
  343. }
  344. .emptyBlock {
  345. height: calc(100vh - 55px);
  346. width: 100%;
  347. display: flex;
  348. justify-content: center;
  349. align-items: center;
  350. flex-direction: column;
  351. background-color: #fff;
  352. img {
  353. width: pxtovw(114);
  354. height: pxtovw(114);
  355. }
  356. p {
  357. height: pxtovw(20);
  358. font-size: pxtovw(14);
  359. font-weight:400;
  360. color:rgba(153,153,153,1);
  361. line-height: pxtovw(20);
  362. }
  363. }
  364. }
  365. }