123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- .A3hotList {
- position: absolute;
- top: 50%;
- right: 0;
- transform: translate(0, -50%);
- width: 350px;
- height: 100%;
- z-index: 30001;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- :global {
- .A3main {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- gap: 10px;
- width: 350px;
- height: 100%;
- background: url('../../assets/img/hotlist_bg.png') no-repeat;
- background-size: 100% 100%;
- color: #d3a55cd6;
- font-size: 17px;
- font-weight: 500;
- padding-bottom: 70px;
- // 隐藏滚动条
- &::-webkit-scrollbar {
- display: none;
- }
- .A3title {
- padding: 40px 0 10px 0;
- font-size: 30px;
- font-weight: 500;
- color: #e6aa4a;
- }
- .itemBox{
- width: 93%;
- height: 86%;
- overflow: auto;
- display: flex;
- flex-direction: column;
- gap: 28px;
- &::-webkit-scrollbar {
- display: none;
- }
- .A3item {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: fit-content;
- padding: 4px 10px;
- cursor: pointer;
- min-width: 0; // 保持这个重要属性
- font-size: 20px;
- span {
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- width: 100%;
- text-align: center;
- display: block;
- }
- &:hover {
- background-color: rgba(44, 43, 42, 0.5);
- }
- }
- }
-
- .A3close {
- position: fixed;
- bottom: 0;
- width: 90%;
- height: 60px;
- margin: 10px;
- background-color: transparent;
- border-top: 1px solid rgba(43, 31, 23, 0.1);
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- &:hover {
- opacity: 1;
- }
- img {
- width: 38px;
- height: 38px;
- opacity: 0.6;
- }
- }
- }
- }
- }
- @media screen and (max-width: 1000px) {
- .A3hotList {
- width: 94%;
- height: 98%;
- top: 0%;
- transform: translateX(-3%);
- :global {
- html .cad {
- z-index: -1;
- }
- .A3main {
- width: 100%;
- height: 100%;
- padding-bottom: 20px;
- .A3title {
- padding: 20px 0 10px 0;
- font-size: 26px;
- }
- .itemBox {
- height: 84%;
- .A3item {
- font-size: 18px;
- padding: 10px 3px;
- &:touch {
- background-color: rgba(163, 143, 116, 1);
- }
- }
- }
-
- .A3close {
- bottom: 10px;
- background-color: transparent;
- height: 40px;
- & img {
- opacity: 1;
- }
- }
- }
- }
- }
- }
|