* { margin: 0; padding: 0; box-sizing: border-box; } html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; font-family: SourceHanSansCN-Regular, SourceHanSansCN; user-select: none; outline: none; .no-selected { -webkit-user-select: none; /*Chrome/ Safari/ Opear新版本*/ -webkit-font-smoothing: antialiased; user-select: none; z-index: 1; } } .ScanModal { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); z-index: 100000; @keyframes scaner { 0% { top: -74px; } 100% { top: 320px; } } .border { position: absolute; top: 16px; left: 0; right: 0; margin: auto; width: 320px; height: 320px; overflow: hidden; display: flex; justify-content: center; align-items: center; &::after { position: absolute; content: ""; top: 0; left: 0; width: 320px; height: 320px; background: center / cover no-repeat url(./border.svg); z-index: 2; } .scaner { position: absolute; left: 0; right: 0; width: 320px; height: 74px; background: center / cover no-repeat url(./scaner.svg); animation: 1s scaner infinite ease-in-out; z-index: 3; } .container { width: 320px; height: 320px; overflow: hidden; z-index: 1; } } .qrcodeTip { position: absolute; bottom: 34px; left: 10px; right: 10px; height: calc(100vh - 16px - 16px - 34px - 320px); background: center / cover no-repeat url(./qrcodeTip.png), linear-gradient(#fff, #fff); border-radius: 18px; .back { position: absolute; left: 24px; right: 24px; bottom: 48px; background: #3977f5; border-radius: 8px; height: 48px; font-weight: 600; font-size: 17px; line-height: 22px; color: #fff; display: flex; justify-content: center; align-items: center; } } } .activity-modal { position: absolute; top: 0; left: 0; right: 0; bottom: 98px; z-index: 100000; } .car-wrapper { position: absolute; top: 0; left: 0; right: 0; bottom: 98px; z-index: 100000; } .shopcoupon-wrapper { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 100000; } .offline { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #fff; img { position: absolute; width: 80vw; top: 0; bottom: 0; left: 0; right: 0; margin: auto; } } .prompt { position: absolute; top: 0; bottom: 0; left: 0; right: 0; text-align: center; .icon { position: absolute; width: 128px; height: 128px; left: 0; right: 0; top: calc(50vh - 128px - 40px - 17px); margin: auto; } .title { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; width: 250px; font-family: PingFang SC; font-style: normal; font-weight: 600; font-size: 28px; line-height: 39px; height: 78px; text-align: center; letter-spacing: 1px; color: #ffffff; } .meta { position: absolute; left: 0; right: 0; top: calc(50vh + 39px + 8px); margin: auto; font-family: PingFang SC; font-style: normal; font-weight: 500; font-size: 14px; line-height: 20px; text-align: center; letter-spacing: 1px; color: #c9cbd1; } .btns { position: absolute; display: flex; top: calc(50vh + 39px + 8px + 80px + 4px); left: 0; right: 0; justify-content: center; } .btn1 { display: flex; justify-content: center; align-items: center; height: 50px; width: 157px; font-family: PingFang SC; font-style: normal; font-weight: 600; font-size: 16px; text-align: center; color: #ffffff; pointer-events: auto; background: linear-gradient(180deg, #508af7 0%, #5ea5f9 100%); box-shadow: 0px 6px 12px rgba(93, 172, 249, 0.2); border-radius: 10px; margin-left: 4px; } .btn2 { display: flex; justify-content: center; align-items: center; height: 50px; width: 157px; border-radius: 63px; font-family: PingFang SC; font-style: normal; font-weight: 600; font-size: 16px; text-align: center; color: #ffffff; pointer-events: auto; border: 1px solid #c9cbd1; border-radius: 10px; } } .index { position: fixed; width: 100vw; height: 100vh; background: #dee6f6; &.hasTab { height: calc(100vh - 84px); } overscroll-behavior: none; .hud { position: fixed; z-index: 3000; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; &.bg { background: #f0f0f0; } .compass-wrapper { position: absolute; bottom: 326px; right: 14px; width: 40px; height: 40px; display: flex; pointer-events: auto; background: #ffffff; box-shadow: 0px 8px 8px rgba(104, 110, 127, 0.04); border-radius: 8px; justify-content: center; align-items: center; &.inNav { bottom: 256px; } .compass { width: 32px; height: 32px; transform-origin: center; } } .car { display: flex; justify-content: center; align-items: center; position: absolute; bottom: 238px; right: 10px; width: 76px; height: 40px; background: #ffffff; box-shadow: 0px 8px 8px rgba(104, 110, 127, 0.04); border-radius: 12px; pointer-events: auto; img { width: 52px; height: 22px; } } .top-left { position: absolute; display: inline-flex; top: 8px; left: 14px; border-radius: 20px; background: #fff; font-weight: 500; font-size: 14px; line-height: 32px; color: #323337; height: 32px; padding: 0 12px 0 8px; z-index: 1; max-width: calc(100vw - 14px - 168px - 14px - 14px); align-items: center; img.left { width: 16px; height: 16px; margin-right: 8px; } .project-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .border { width: 1px; height: 10px; background: rgba(0, 0, 0, 0.2); margin: 0 8px; } } .top-right { position: absolute; width: 168px; height: 50px; top: 8px; right: 14px; border-radius: 12px; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.03); background: center / cover no-repeat url(./topRight.png); pointer-events: auto; } } .qmmap-container { .wrapper { .focus-text { display: flex; align-items: baseline; background: #516dd8; border: none; padding: 0 14px; border-radius: 100px; height: 30px; line-height: 30px; font-weight: 700; font-size: 12px; &::after { display: inline-block; content: "GO"; font-size: 15px; height: 12px; line-height: 12px; border-left: 1px solid rgba(255, 255, 255, 0.2); margin-left: 9px; padding-left: 7px; } .down-arrow-wrapper { width: 10px; height: 10px; background: #516dd8; transform-origin: center; transform: rotate(45deg); border: none; bottom: -3px; overflow: visible; .down-arrow { display: none; } } } .facility .passing { color: #508af7 !important; } .floor.colored { background: linear-gradient( 180deg, #508af7 0%, #5ea5f9 100% ) !important; } } } .qmmap { width: 100%; height: 100%; position: absolute; top: 0; left: 0; margin-top: -120px; overscroll-behavior: none; overflow: hidden; transition: margin-top 0.5s ease; } .nav-button { position: absolute; z-index: 100; left: 0; right: 0; margin: auto; bottom: 56px; width: 214px; height: 56px; line-height: 56px; font-size: 12px; font-family: PingFang SC; font-style: normal; font-size: 16px; font-weight: 600; text-align: center; color: #ffffff; background: linear-gradient(180deg, #508af7 0%, #5ea5f9 100%); box-shadow: 0px 6px 12px rgba(93, 172, 249, 0.2); border-radius: 16px; text-align: center; } .tab-bar { position: fixed; bottom: 0; left: 0; right: 0; height: 98px; width: 100vw; padding-bottom: 34px; padding-top: 12px; background: #fff; z-index: 20000; display: flex; box-shadow: 0px -10px 20px rgba(104, 110, 127, 0.08); border-radius: 18px 18px 0px 0px; &::after { content: ""; display: block; background: #f3f4f8; position: absolute; bottom: 0; left: 0; right: 0; height: 34px; } .tab { flex: 1; display: flex; flex-direction: column; height: 44px; justify-content: flex-start; align-items: center; font-weight: 600; font-size: 12px; line-height: 16px; color: #c9cbd1; img { width: 20px; height: 20px; margin-bottom: 2px; } &.active { color: #474a56; } } } }