| 1 | .reply { |
| 2 | height: 100%; |
| 3 | :global { |
| 4 | } |
| 5 | } |
| 6 | |
| 7 | .action-container { |
| 8 | display: flex; |
| 9 | justify-content: center; /* 水平居中 */ |
| 10 | align-items: center; /* 垂直居中 */ |
| 11 | width: 100%; /* 确保占满容器宽度 */ |
| 12 | } |
| 13 | |
| 14 | .action-container .ant-tooltip { |
| 15 | margin-left: auto; /* 将按钮推到右侧 */ |
| 16 | } |
| 17 | |
| 18 | .account { |
| 19 | display: flex; |
| 20 | height: 100%; |
| 21 | :global { |
| 22 | .account-con { |
| 23 | width: 100%; |
| 24 | height: 100%; |
| 25 | box-sizing: border-box; |
| 26 | } |
| 27 | |
| 28 | .account-noSelect { |
| 29 | height: 100%; |
| 30 | display: flex; |
| 31 | justify-content: center; |
| 32 | align-items: center; |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | // 瀑布流布局样式 |
| 38 | .myMasonryGrid { |
| 39 | display: flex; |
| 40 | margin-left: -20px; |
| 41 | width: auto; |
| 42 | } |
| 43 | |
| 44 | .myMasonryGridColumn { |
| 45 | padding-left: 20px; |
| 46 | background-clip: padding-box; |
| 47 | } |
| 48 | |
| 49 | .masonryItem { |
| 50 | margin-bottom: 20px; |
| 51 | width: 100%; |
| 52 | } |
| 53 | |
| 54 | // 卡片样式 |
| 55 | .cardContainer { |
| 56 | width: 100%; |
| 57 | height: 100%; |
| 58 | |
| 59 | :global { |
| 60 | .ant-card { |
| 61 | height: 100%; |
| 62 | display: flex; |
| 63 | flex-direction: column; |
| 64 | } |
| 65 | |
| 66 | .ant-card-cover { |
| 67 | position: relative; |
| 68 | padding-top: 100%; // 1:1 宽高比 |
| 69 | overflow: hidden; |
| 70 | } |
| 71 | |
| 72 | .ant-card-cover img { |
| 73 | position: absolute; |
| 74 | top: 0; |
| 75 | left: 0; |
| 76 | width: 100%; |
| 77 | height: 100%; |
| 78 | object-fit: cover; |
| 79 | } |
| 80 | |
| 81 | .ant-card-body { |
| 82 | flex: 1; |
| 83 | display: flex; |
| 84 | flex-direction: column; |
| 85 | } |
| 86 | |
| 87 | .ant-card-meta { |
| 88 | flex: 1; |
| 89 | } |
| 90 | |
| 91 | .ant-card-meta-title { |
| 92 | margin-bottom: 8px; |
| 93 | white-space: normal; |
| 94 | overflow: hidden; |
| 95 | text-overflow: ellipsis; |
| 96 | display: -webkit-box; |
| 97 | -webkit-line-clamp: 2; |
| 98 | -webkit-box-orient: vertical; |
| 99 | } |
| 100 | |
| 101 | .ant-card-meta-description { |
| 102 | white-space: normal; |
| 103 | overflow: hidden; |
| 104 | text-overflow: ellipsis; |
| 105 | display: -webkit-box; |
| 106 | -webkit-line-clamp: 3; |
| 107 | -webkit-box-orient: vertical; |
| 108 | } |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | .loadMoreArea { |
| 113 | text-align: center; |
| 114 | padding: 20px 0; |
| 115 | } |
| 116 | |
| 117 | .loadingMore { |
| 118 | display: flex; |
| 119 | justify-content: center; |
| 120 | align-items: center; |
| 121 | padding: 10px 0; |
| 122 | } |
| 123 | |
| 124 | .noMoreData { |
| 125 | padding: 20px 0; |
| 126 | } |
| 127 |