@import "../public/_.css"; .header { position: fixed; width: 100%; height: 1.6rem; top: 0; left: 0; right: 0; z-index: 99; } .header .header_top { background: var(--themeColor); height: 0.88rem; display: flex; align-items: center; justify-content: space-between; padding: 0 0.3rem; } .header .header_top>i { font-size: 0.45rem; color: var(--whiteColor); } .header .header_top .search { flex: 1; background: var(--whiteColor); height: 0.6rem; border-radius: 0.6rem; margin-left: 10px; margin-right: 10px; display: flex; align-items: center; } .header .header_top .search i { color: var(--textColor) !important; font-size: 0.26rem !important; margin-right: 0.1rem; padding-top: 0.02rem; margin-left: 0.26rem; } .header .header_top .search span { font-size: var(--f12); color: var(--textColor); } .header .header_menu { height: 0.72rem; display: flex; align-items: center; background: #fe7fa2; } .header .header_menu a { color: #fff; text-decoration: none; width: 0.8rem; height: 0.72rem; text-align: center; line-height: 0.72rem; } .header .header_menu ul { flex: 1; display: flex; align-items: center; overflow-x: scroll; padding-left: 0.3rem; } .header .header_menu ul .active { color: var(--whiteColor) !important; } .header .header_menu ul li { font-size: 0.26rem; margin-right: 0.26rem; color: #d3d2d2; flex-shrink: 0; } .content { margin-top: 1.6rem; } .swiper-slide { font-size: 20px; height: calc(100vh - 2.6rem); overflow-y: scroll; } .swiper-wrapper ul{ padding: 10px; box-sizing: border-box; display: flex; justify-content: space-between; flex-wrap: wrap; } .swiper-wrapper ul li { width: 48%; flex-shrink: 0; margin-bottom: 0.24rem; } .swiper-wrapper ul li .img{ position: relative; } .swiper-wrapper ul li .img img{ width: 100%; } .swiper-wrapper ul li .img span{ bottom: 0.1rem; right: 0.16rem; position: absolute; font-size: 0.24rem; background: var(--themeColor); color: #fff; padding: 0.02rem 0.12rem; border-radius: 0.16rem; } .swiper-wrapper ul li .title{ font-size: 0.34rem; font-weight: 400; margin-top: 0.2rem; margin-bottom: .12rem; } .swiper-wrapper ul li .model, .swiper-wrapper ul li .jg{ font-size: 0.28rem; color: #bdb7b7; margin-bottom: .12rem; } .swiper-wrapper ul li .tag{ margin-top: 0.1rem; display: flex; flex-wrap: wrap; } .swiper-wrapper ul li .tag a{ font-size: 0.24rem; flex-shrink: 0; padding: 0.08rem 0.18rem; background: var(--themeColor); margin-right: 0.1rem; color: #fff; border-radius: 0.2rem; margin-bottom: 0.1rem; }