/* **********************右侧功能栏********************** */ @media screen and (min-width: 1340px) { .layout__right__bar { position: fixed; z-index: 3; top: initial; bottom: 188px; /* top: 270px; */ /* left: calc(50vw 600px); */ left: calc(50vw 630px); width: 75px; padding: 10px 0; } } .layout__right__bar { position: fixed; z-index: 3; /* top: 270px; */ bottom: 188px; right: 10px; width: 75px; padding: 0!important; background: #ffffff; box-shadow: 0px 0px 10px 0px #f0f0f0; border-radius: 12px; z-index: 1001; /* 二维码弹窗层级大于顶部导航栏层级,防止被遮挡 */ } .layout__right__bar.is_not_last { bottom: 97px!important; } .layout__right__bar .section__all { width: 100%; /* max-height: 280px; */ display: flex; flex-direction: column; justify-content: space-between; align-items: center; } .layout__right__bar .icon-box { position: relative; width: 100%; /* height: 55px; */ min-height: 91px; /* border-radius: 50%; */ /* background-color: var(--bg-default-color); box-shadow: 0px 0px 10px 0px var(--border-default-color); */ display: flex; flex-direction: column; justify-content: center; align-items: center; /* user-select: none; */ cursor: pointer; transition: all 0.3s; } .layout__right__bar .icon-box:first-child { border-top-left-radius: 12px; border-top-right-radius: 12px; } .layout__right__bar .icon-box:nth-child(4) { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; } .layout__right__bar .icon-box:nth-child(4).is_not_last { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .layout__right__bar .icon-box:nth-child(4) .split-line { display: none; } .layout__right__bar .icon-box:nth-child(4).is_not_last .split-line { display: block; } .layout__right__bar .icon-box:last-child { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; } .layout__right__bar .icon-box:not(:last-child) { /* margin-bottom: 20px; */ } .layout__right__bar .icon-box:nth-child(5) { display: none; } .layout__right__bar .icon-box.active { background-color: var(--theme-primary-color); transition: all 0.3s; } .layout__right__bar .icon-box .desc { width: 100%; height: 20px; line-height: 20px; text-align: center; font-size: 14px; font-weight: 500; color: var(--theme-primary-color); } .layout__right__bar .icon-box.active .desc { color: var(--bg-default-color); } .layout__right__bar .icon-box .icon { width: 35px; height: 35px; background-size: 100% 100%; } .layout__right__bar .split-line { position: absolute; bottom: 1px; width: 64px; height: 1px; background-size: 100% 100%; background-repeat: no-repeat; background-image: url(/uploads/image/ipinew-right-bar-icon/split-line.png); } .layout__right__bar .qrcode-box { position: absolute; width: 175px; height: 186px; /* right: 75px; */ right: 90px; background: var(--bg-default-color); box-shadow: 0px 0px 11px 0px var(--border-default-color); border: 1px solid var(--border-default-color); border-radius: 4px; padding: 13px; display: none; animation-name: animate__popactive; animation-duration: 0.1s; animation-fill-mode: both; } .layout__right__bar .qrcode-box img { display: block; width: 137px; height: 137px; margin: 0 auto 4px; } .layout__right__bar .qrcode-box .text { display: inline-block; width: 100%; text-align: center; height: 14px; font-size: 14px; line-height: 14px; } .layout__right__bar .arrow-box { position: absolute; /* right: 68px; */ right: 83px; width: 15px; height: 15px; transform: rotate(45deg); -webkit-transform: rotate(45deg); background: var(--bg-default-color); border-width: 1px; border-style: solid; border-color: transparent; border-top-color: var(--border-default-color); border-right-color: var(--border-default-color); border-top-right-radius: 5px; display: none; animation-name: animate__popactive; animation-duration: 0.1s; animation-fill-mode: both; } .layout__right__bar .qrcode-wechat { bottom: 0; } .layout__right__bar .icon-box:nth-child(1) .arrow-box { bottom: 20px; } .layout__right__bar .qrcode-app { top: 0; } .layout__right__bar .icon-box:nth-child(1) .arrow-box { top: 20px; } .layout__right__bar .icon-box:nth-child(1):hover .qrcode-wechat, .layout__right__bar .icon-box:nth-child(1):hover .arrow-box { display: block; } .layout__right__bar .icon-box:nth-child(2):hover .qrcode-app, .layout__right__bar .icon-box:nth-child(2):hover .arrow-box{ display: block; } .layout__right__bar .icon-box:nth-child(4):hover .qrcode-phone, .layout__right__bar .icon-box:nth-child(4):hover .arrow-box{ display: block; } .layout__right__bar .qrcode-phone { height: auto; } @keyframes animate__popactive { 0% { opacity: 0.3; } 100% { opacity: 1; } }