.menu-with-top-button { /* padding: 15px; */ } @media (min-width: 1551px) { .bot { width: 230px; height: 56px; font-size: 18px; /* color: #FFAF22; */ /* background: #FFFBEF; color: #FFAF22; */ background: var(--color-menuback); color: var(--color-menuhead); display: flex; align-items: center; border-top: 1px solid var(--color-menuborder); border-bottom: 1px solid var(--color-menuborder); } .bot-lift { width: 100%; display: flex; align-items: center; /* justify-content: center; */ font-size: 18px; /* background-color: skyblue; */ /* padding-left: 40px; */ box-sizing: border-box; } .bot-lift img { width: 22px; height: 20px; margin-left: 20px; margin-right: 9px; } .bot-lift .sell-buy { width: 19px; height: 19px; border-radius: 50%; border: 2px solid #FFAF22; font-size: 12px; text-align: center; line-height: 19px; font-weight: 700; margin-left: 23px; margin-right: 6px; } .bot-right { display: flex; align-items: center; font-size: 14px; cursor: pointer; width: 53px; /* background-color: red; */ margin-left: 96px; } .bot-right img { /* margin-left: 96px; */ margin-right: 10px; width: 14px; height: 13px; } .menu-with-bot-button ul { padding-top: 12px; padding-bottom: 12px; width: 230px; } .menu-with-bot-button ul li { /* height: 50px; margin-left: 66px; font-weight: 400; font-size: 16px; color: #313131; line-height: 50px; cursor: pointer; */ height: 40px; margin-left: 35px; font-weight: 400; font-size: 16px; color: #313131; line-height: 40px; cursor: pointer; /* background-color: red; */ text-indent: 32px; /* background-color: pink; */ position: relative; } .botIcon { position: absolute; color: white; width: 50px; right: 30px; top: 0; /* background-color: red; */ } .menu-with-bot-button ul li.active { /* text-decoration-line: underline; */ width: 213px; height: 40px; /* background: #FF9F08; */ background: var(--color-menuactive); border-radius: 25px; color: white; text-indent: 59px; } } @media (max-width: 1550px) { .bot { width: 230px; width: 191px; height: 56px; font-size: 18px; /* color: #FFAF22; */ /* background: #FFFBEF; */ /* color: #FFAF22; */ background: var(--color-menuback); color: var(--color-menuhead); display: flex; align-items: center; border-top: 1px solid var(--color-menuborder); border-bottom: 1px solid var(--color-menuborder); } .bot-lift { display: flex; align-items: center; width: 100%; font-size: 18px; /* justify-content: center; */ } .bot-lift img { width: 22px; height: 20px; margin-left: 20px; margin-right: 9px; } .bot-lift .sell-buy { width: 19px; height: 19px; border-radius: 50%; border: 2px solid #FFAF22; font-size: 12px; text-align: center; line-height: 19px; font-weight: 700; margin-left: 23px; margin-right: 6px; } .bot-right { display: flex; align-items: center; font-size: 14px; cursor: pointer; width: 53px; /* background-color: red; */ margin-left: 96px; } .bot-right img { /* margin-left: 96px; */ margin-right: 10px; width: 14px; height: 13px; } .menu-with-bot-button ul { padding-top: 12px; padding-bottom: 12px; width: 230px; } .menu-with-bot-button ul li { /* height: 50px; margin-left: 66px; font-weight: 400; font-size: 16px; color: #313131; line-height: 50px; cursor: pointer; */ height: 40px; margin-left: 35px; font-weight: 400; font-size: 16px; color: #313131; line-height: 40px; cursor: pointer; /* background-color: red; */ text-indent: 32px; /* 修改 */ text-indent: 22px; /* background-color: pink; */ position: relative; } .botIcon { position: absolute; color: white; width: 50px; right: 30px; top: 0; /* background-color: red; */ display: none; } .menu-with-bot-button ul li.active { /* text-decoration-line: underline; */ width: 213px; /* 修改 */ width: 171px; height: 40px; /* background: #FF9F08; */ background: var(--color-menuactive); border-radius: 25px; color: white; text-indent: 59px; text-indent: 50px; } }