.sideBar { position: fixed; right: 0; top: 40%; transform: translateY(-50%); z-index: 998; } .side1 { width: 50px; height: 150px; background: #333333; text-align: center; transition: all 0.5s; display: flex; align-items: center; justify-content: center; } .side1 a, .side1 img, .side1 i, .side1 span { display: block; } .side1 img { margin: 0 auto; } .side1 i { margin: 10px auto; width: 1px; height: 0px; background: #fff; transition: all 0.5s ease; } .sideBar .icon { font-size: 16px; width: 25px; height: 25px; margin-right: 3px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; vertical-align: middle; margin-top: -3px; fill: #ffffff; } .side1 span { color: #fff; font-size: 14px; writing-mode: vertical-lr; margin: 0 auto; letter-spacing: 2px; } .side1:hover { background: #ee7700; } .side1:hover a img { animation: jitter 0.5s; } .side { height: 50px; position: absolute; transition: all 0.5s; } .side a { display: block; height: 50px; font-size: 0; } .side i, .side span { display: inline-block; vertical-align: middle; height: 100%; line-height: 50px; } .side i { width: 50px; text-align: center; background: #ee7700; transition: all 0.3s; } .side i img { vertical-align: middle; } .side span { text-align: center; line-height: 50px; background: #333333; font-size: 13px; color: #fff; transition: all 1s; } .side2 { top: 151px; right: -140px; width: 190px; } .side2 span { width: 140px; } .side3 { right: -190px; width: 240px; top: 202px; } .side3 span { width: 190px; } .side4 { right: -140px; width: 190px; top: 253px; } .side4 span { width: 140px; } .side5 { right: -90px; width: 140px; top: 304px; cursor: pointer; } .side5 span { width: 90px; font-size: 14px; } .qcodePic { width: 100%; position: absolute; top: 50px; left: 0; display: none; z-index: 99; text-align: center; background: #fff; border: 1px solid #e5e5e5; } .qcodePic img { width:110px; } .side5:hover .qcodePic { display: block; } .side6 { right: -90px; width: 140px; top: 355px; cursor: pointer; } .side6 span { width: 90px; font-size: 14px; } .side:hover { right: 0; } .side:hover i { background: #ee7700; } .wxPic { position: fixed; width: 100%; height: 100%; left: 0; top: 0; background: rgba(0, 0, 0, 0.8); z-index: 9999; display: none; } .wxPic img { width: auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } .m-foot{ position:fixed; bottom:0; left:0; z-index:999; width:100%; background:#f5f5f5; display:none; } .m-foot ul{ font-size:0; text-align:center; height:54px; } .m-foot ul li{ float:left; width:25%; height:54px; display: flex; justify-content: center; align-items: center; background:#004ba5; border-left:1px solid #dbdbdb; border-top: 1px solid #dbdbdb; } .m-foot ul li:hover { background:#004ba5; } .m-foot ul li svg { color:#ffffff; margin-top:10px; fill:#ffffff; } .m-foot ul li:nth-child(3){ background: #004ba5; border-left: none; border-right: 1px solid #ffffff; border-left: 1px solid #ffffff; } .m-foot ul li:nth-child(3) span{ color:#fff !important; } .m-foot ul li:first-child, .m-foot ul li:nth-child(4){ border-left:none; } .m-foot ul li span,.m-foot ul li img{ display:block; margin: 6px auto; } .m-foot ul li span{ line-height:14px; font-size:12px; color:#ffffff; transition:all 0.4s; } .wyz-top .icon { font-size: 16px; width: 30px; height: 30px; margin-right: 3px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; vertical-align: middle; margin-top: -3px; fill: #FF6600; } .m-foot ul li:hover span{ color:#ffffff; } .wyz { position: fixed; width: 50px; height: 50px !important; right: 6px; bottom: 150px; z-index: 90; display: none; } @media only screen and (max-width: 768px) { .sideBar { display: none; } .m-foot { display: block; } .wyz { display: block; } }