.scenes { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; background: url('../../../../assets/img/sceneBg.png') no-repeat; background-size: 100% 100%; :global { .top { width: 100%; height: 150px; display: flex; align-items: center; justify-content: center; position: relative; .logo { position: absolute; left: 50%; transform: translateX(-130%); width: 109px; height: 87px; & > img { width: 100%; height: 100%; } } .title { font-weight: 600; font-size: 30px; color: #9d0800; letter-spacing: 5px; } .tab { position: absolute; right: 100px; bottom: 35px; font-size: 16px; color: #330200; width: 250px; display: flex; align-items: center; gap: 10px; .tabItem { margin-right: 20px; font-weight: 500; cursor: pointer; } .active { font-weight: 600; color: #9d0800; border-bottom: 1px solid #9d0800; } } } .content { height: 0; flex: 1; width: 100%; padding: 0 130px 50px 130px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; align-content: flex-start; .sceneCard { width: 23.5%; height: 32%; background-color: #fff; border-radius: 10px; cursor: pointer; .pic { width: 100%; height: 85%; border-radius: 10px 10px 0 0; & > img { width: 100%; height: 100%; object-fit: cover; } } .text { width: 100%; height: 15%; color: #666666; display: flex; align-items: center; margin-left: 10px; } } } } } @media (max-width: 768px) { .scenes { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; background: url('../../../../assets/img/base_M.png') no-repeat; background-size: 100% 100%; :global { .top { justify-content: flex-start; .logo { transform: none; } .tab { position: absolute; right: 0px; bottom: 35px; font-size: 14px; color: #330200; width: 250px; display: flex; align-items: center; gap: 0px; .tabItem { margin-right: 20px; font-weight: 500; cursor: pointer; } .active { font-weight: 600; color: #9d0800; border-bottom: 1px solid #9d0800; } } } .content { height: 0; flex: 1; width: 100%; padding: 10px 0; margin-top: 105px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; overflow: auto; .sceneCard { width: 46%; height: 21%; background-color: #fff; border-radius: 10px; cursor: pointer; .pic { width: 100%; height: 85%; border-radius: 10px 10px 0 0; & > img { width: 100%; height: 100%; object-fit: cover; } } .text { width: 100%; height: 15%; color: #666666; display: flex; align-items: center; margin-left: 10px; font-size: 12px; } } } } } }