| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- // 菜单
- .menu {
- width: 50px;
- height: 50px;
- position: absolute;
- z-index: 3;
- top: 3%;
- right: 3%;
- cursor: pointer;
- &>img {
- height: 100%;
- object-fit: contain;
- }
- }
- // menu界面
- .menuSider {
- opacity: 0;
- pointer-events: none;
- transition: all 0.3s ease-in-out;
- width: 100%;
- height: 100%;
- position: absolute;
- z-index: 20;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- background-color: rgba(0, 0, 0, 0.7);
- backdrop-filter: blur(3px);
- &:global(.show) {
- opacity: 1;
- pointer-events: auto;
- .sider {
- transition: all 0.3s ease-in-out;
- transform: translate(0, -50%);
- }
- }
- :global {
- .sider {
- width: 26%;
- height: 100%;
- position: absolute;
- top: 50%;
- right: 0%;
- transition: all 0.3s ease-in-out;
- transform: translate(0, -50%);
- background: url(../../assets/img/menuSider.png) no-repeat center center;
- background-size: 100% 100%;
- display: flex;
- justify-content: flex-end;
- &>img {
- position: absolute;
- height: 20px;
- top: 50%;
- left: 0;
- transform: translateY(-50%);
- cursor: pointer;
- object-fit: contain;
- }
- .siderContent {
- width: 90%;
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- gap: 10px;
- position: relative;
- padding-top: 15px;
- .tab {
- text-align: center;
- width: 100%;
- height: 50px;
- font-size: 17px;
- font-weight: 500;
- color: rgba(124, 75, 54, 1);
- cursor: pointer;
- display: flex;
- flex-direction: column;
- .bottomLine {
- position: relative;
- bottom: 10px;
- width: 100%;
- height: 20px;
- display: flex;
- align-items: center;
- justify-content: center;
- &>img {
- width: 60%;
- height: 100%;
- object-fit: contain;
- }
- }
- }
- .tabAc {
- color: #fbebbd;
- .bottomLine {
- bottom: 20px;
- height: 30px;
- }
- }
- .icon {
- position: relative;
- top: 60px;
- width: 80%;
- height: 60px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 10px;
- &>div {
- font-size: 10px;
- font-weight: lighter;
- color: #fff;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- &>img {
- width: 30px;
- object-fit: contain;
- }
- }
- }
- }
- }
- }
- }
- // ------------移动端页面---------
- .menuMo {
- top: 2%;
- right: 2%;
- ;
- width: 66px;
- height: 66px;
- }
- .menuSiderMo {
- :global {
- .sider {
- img {
- height: 46px;
- left: -6%;
- }
- .siderContent {
- .tab {
- font-size: 20px;
- }
- .icon {
- width: 65%;
- &>div {
- img {
- width: 34px;
- }
- .txt {
- font-size: 12px;
- }
- }
- }
- }
- }
- }
- }
|