::-webkit-scrollbar { width: 0px; background-color: #F5F5F5; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); border-radius: 10px; background-color: #F5F5F5; } /*定义滑块 内阴影+圆角*/ ::-webkit-scrollbar-thumb { border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3); background-color: #ccc; } .class-cont{ position: fixed; overflow-x: hidden; overflow-y: auto; height: calc(100% - 101px); max-width: 640px; } .class-cont .class-hd{ float: left; width: 28%; height: 100%; position: fixed; overflow-y: auto; } .class-cont .class-bd{ float: right; width: 72%; } .class-cont .class-hd>li { border-bottom: 1px solid #e6e6e6; text-align: center; font-size: 1rem; } .class-cont .class-hd>li:last-child { border-bottom: none; } .class-cont .class-hd>li>a { line-height: 2.4rem; margin-right: 0; } .class-cont .class-hd>li.active{ border-bottom: transparent; } .class-cont .class-hd>li.active>a, .class-cont .class-hd>li.active>a:focus, .class-cont .class-hd>li.active>a:hover { cursor: default; background-color: #fff; border: none; } .class-bd-cont{ padding: 0 1rem; } .class-bd-cont .bd-box{ } .class-bd-cont .bd-box .bd-box-title{ font-size: 1.2rem; line-height: 3rem; color: #777; } .class-bd-cont .bd-box .bd-box-info{} .class-bd-cont .bd-box .bd-box-info .info-item{ text-align: center; margin-bottom: 1rem; } .class-bd-cont .bd-box .bd-box-info .info-item img{ width: 80%; } .class-bd-cont .bd-box .bd-box-info .info-item p{ font-size: 0.8rem; line-height: 2.5rem; color: #777; } /*搜索页面*/ .search-hot{ padding: 0.625rem; } .search-hd{ font-size: 1.25rem; color: #777; } .search-hot-bd{} .search-hot-bd li{ float: left; list-style-type: none; font-size: 0.8rem; color: #777; margin-right: 10px; margin-bottom: 8px; background: #fff; padding: 2px 10px; border-radius: 4px; } .search-history{ padding: 0.625rem; } .search-history-bd{ border-radius: 4px; } .search-history-bd li{ border-bottom: 1px solid #eee; line-height: 3rem; padding: 0 0.625rem; color: #777; font-size: 1.1rem; } .search-history-bd li:last-child{ border-bottom: none; } .search-history-bd li i{ margin-right: 5px; font-size: 1.3rem; }