| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- .deekSeek {
- width: 100%;
- /* 使用 fill-available 确保兼容性 */
- height: -webkit-fill-available;
- height: 100dvh;
- /* 新的动态视口单位,推荐使用 */
- background: linear-gradient(90.52deg, rgba(24, 126, 255, 1) 1.54%, rgba(23, 66, 255, 1) 99.26%);
- padding-bottom: env(safe-area-inset-bottom);
- /* 适配底部安全区域 */
- &-header {
- width: 100%;
- height: 60px;
- border: 1px solid rgba(24, 126, 255, 1);
- display: flex;
- color: #FFFFFF;
- justify-content: center;
- align-items: center;
- overflow-x: auto;
- overflow-y: hidden;
- box-sizing: border-box;
- }
- &-content {
- width: 100%;
- height: calc(100% - 80px - env(safe-area-inset-bottom));
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- &-title {
- display: flex;
- justify-content: center;
- margin-bottom: 5px;
- img {
- width: 200px;
- }
- }
- &-title-sm {
- font-size: 20px;
- color: #FFFFFF;
- @media (max-width: 768px) {
- font-size: 16px;
- }
- @media (max-width: 480px) {
- font-size: 14px;
- }
- }
- &-pc {
- width: 36%;
- min-width: 400px;
- height: 78%;
- background: #FFFFFF;
- border-radius: 12px;
- overflow: hidden;
- }
- &-mobile {
- width: 90%;
- height: 82%;
- background: #FFFFFF;
- border-radius: 12px;
- overflow: hidden;
- }
- }
- }
|