.sideBar { position: fixed; right: 0; top: 40%; transform: translateY(-50%); z-index: 998; } em{ font-size: 12px; display: block; color: #fff; font-style: initial; } .side1 { width: 50px; height: 150px; background: #cf0000; 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: 20px; background: #fff; transition: all 0.5s ease; } .side1 span { color: #fff; font-size: 14px; writing-mode: vertical-lr; margin: 0 auto; letter-spacing: 2px; } .side1:hover { background: rgb(221 117 28 / 100%); } .side1:hover a img { animation: jitter 0.5s; } .side { height: 65px; position: absolute; transition: all 0.5s; } .side a { display: block; height: 65px; font-size: 0; } .side i, .side span { display: inline-block; vertical-align: middle; height: 100%; line-height: 33px; } .side6 i{margin-top:0px;padding-top:10px;} .side i { width: 70px; text-align: center; background: var(--gege); transition: all 0.3s; } .side i img { vertical-align: middle; display: inline-block; max-width: 18px; margin-top: 10px; } .side span { text-align: center; line-height: 70px; background: var(--gege); font-size: 12px; color: #fff; transition: all 1s; } .side2 { top: 0px; right: -138px; width: 210px; } .side2 span { width: 140px; } .side3 { right: -138px; width: 210px; top: 67px; } .side3 span { width: 140px; } .side4 { right: -138px; width: 210px; top: 134px; } .side4 span { width: 140px; } .side5 { right: -138px; width: 210px; top: 200px; cursor: pointer; } .side5 span { width: 140px; 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: 100%; } .side5:hover .qcodePic { display: block; } .side6 { right: -100px; width: 163px; top: 310px; cursor: pointer; } .side6 span { width: 90px; font-size: 14px; } .side:hover { right: 0; } .side:hover i { background: var(--gege); } .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: 20%; height: 54px; display: flex; justify-content: center; align-items: center; border-left: 1px solid #dbdbdb; border-top: 1px solid #dbdbdb; } .m-foot ul li:nth-child(3) { background: #e80101; border-left: none; border-top: 1px solid #e80101; } @media screen and (max-width: 768px) { .sideBar em{display:none;} .sideBar { position: fixed; right: 0; top: 40%; transform: translateY(-50%); z-index: 998; } .side1 { width: 50px; height: 150px; background: #cf0000; 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: 20px; background: #fff; transition: all 0.5s ease; } .side1 span { color: #fff; font-size: 14px; writing-mode: vertical-lr; margin: 0 auto; letter-spacing: 2px; } .side1:hover { background: rgb(221 117 28 / 100%); } .side1:hover a img { animation: jitter 0.5s; } .side { height: 65px; position: absolute; transition: all 0.5s; } .side a { display: block; height: 45px; font-size: 0; } .side i, .side span { display: inline-block; vertical-align: middle; height: 100%; line-height: 33px; } .side6 i{margin-top:0px;padding-top: 0px;background: #ff9800;} .side i { width: 40px; } .side i img { vertical-align: middle; display: inline-block; max-width: 18px; margin-top: 10px; } .side span { line-height: 45px; } .side2 { top: 0px; right: -138px; width: 180px; } .side2 span { width: 140px; } .side3 { right: -138px; width: 180px; top: 55px; } .side3 span { width: 140px; } .side4 { right: -138px; width: 180px; top: 110px; } .side4 span { width: 140px; } .side5 { right: -138px; width: 180px; top: 167px; cursor: pointer; } .side5 span { width: 140px; 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: 100%; } .side5:hover .qcodePic { display: block; } .side6 { right: -100px; width: 138px; bottom: 0; cursor: pointer; } .side6 span { width: 90px; font-size: 14px; } .side:hover { right: 0; } .side:hover i { background: var(--gege); } .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: 20%; height: 54px; display: flex; justify-content: center; align-items: center; border-left: 1px solid #dbdbdb; border-top: 1px solid #dbdbdb; } .m-foot ul li:nth-child(3) { background: #e80101; border-left: none; border-top: 1px solid #e80101; } }