| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- // 菜单
- .menu {
- position: fixed;
- z-index: 3;
- cursor: pointer;
- top: 2%;
- right: 2%;
- width: 66px;
- height: 66px;
- &>img {
- height: 100%;
- object-fit: contain;
- }
- }
- // menu界面
- .menuSider {
- opacity: 0;
- pointer-events: none;
- transition: all 0.6s 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;
- :global {
- .sider {
- transition: all 0.3s ease-in-out 0.3s;
- 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(100%, -50%);
- background: url(../../assets/img/menuSider.png) no-repeat center center;
- background-size: 100% 100%;
- display: flex;
- justify-content: flex-end;
- &>img {
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- cursor: pointer;
- object-fit: contain;
- height: 46px;
- left: -6%;
- }
- .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: 20px;
- font-weight: 500;
- color: rgba(124, 75, 54, 1);
- cursor: pointer;
- display: flex;
- flex-direction: column;
- margin-bottom: 10px;
- .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: 65%;
- 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: 34px;
- object-fit: contain;
- }
- .txt {
- font-size: 14px;
- font-weight: 700;
- }
- }
- }
- }
- }
- }
- }
- // 英文页面
- // .menuEn {}
- .menuSiderEn {
- :global {
- .sider .siderContent {
- .tab {
- .bottomLine {
- bottom: 0px;
- }
- }
- .tabAc {
- .bottomLine {
- bottom: 20px;
- }
- }
- .icon {
- width: 96%;
- text-align: center;
- &>div {
- width: 50%;
- }
- .paint {
- position: relative;
- top: -12px;
- }
- .knowledge {
- position: relative;
- top: -22px;
- }
- }
- }
- }
- }
|