/*.allClassify { position: absolute; background: rgba(0, 0, 0, .8); width: 350px; right: 0; top: 44px; z-index: 3; overflow-y: scroll; display: inline-block; text-align: center; bottom: 0; } .allClassify ul{ } .allClassify ul > li { height: 158px; text-align: center; } .allClassify ul > li > div{ } .allClassify ul > li > div > img{ } .allClassify ul > li > div .text{ color: #ffffff; } .allClassify ul > li.active { background: rgba(0,0,0,.4); } .allClassify ul > li.active > div .text{ color: #ff775c; }*/ /*---------px rem 分割线-----------*/ .allClassify { position: absolute; background: rgba(0, 0, 0, .8); width: 2.9166666666666665rem; right: 0; top: 0.8166666666666667rem; z-index: 3; overflow-y: scroll; display: inline-block; text-align: center; bottom: 0; } .allClassify ul{ display: flex; flex-wrap: nowrap; flex-direction: column; height: 100%; align-items: center; justify-content: space-around; } .allClassify ul > li { height: 1.3166666666666667rem; text-align: center; width: 100%; } .allClassify ul > li > div{ line-height: 1.6; padding-top: 5%; } .allClassify ul > li > div > img{ width: 22%; } .allClassify ul > li > div .text{ color: #ffffff; } .allClassify ul > li.active { background: rgba(0,0,0,.4); } .allClassify ul > li.active > div .text{ color: #ff775c; }