page { background-color: #f6f6f6; .type-box { position: fixed; top: 0px; width: 100%; z-index: 100; background-color: #fff; height: 80px; display: flex; justify-content: space-around; align-items: center; .item { flex-grow: 1; display: flex; justify-content: center; align-items: center; .type-img { width: 40px; height: 40px; margin: 0 10px; } } .line { width: 1px; height: 30px; background-color: #f6f6f6; } } .filter-box { position: fixed; top: 80px; display: flex; width: 100%; z-index: 100; background: #fff; color: #999999; font-size: 28rpx; border-top: 2rpx solid #f6f6f6; .filter-item { overflow: hidden; height: 98rpx; line-height: 98rpx; flex: 1; .filter-name { float: left; // margin-left: 20rpx; } .filter-img { width: 14px; height: 8px; float: left; margin: 46rpx 20rpx 18rpx 10rpx; } } .head-search { width: 400rpx; display: flex; background: #fff; padding: 10rpx 26rpx 15rpx; box-sizing: border-box; border-radius: 50rpx; box-shadow: 0 8rpx 10rpx 0rpx #00000008; border: 2rpx solid #00000011; height: 68rpx; line-height: 68rpx; margin: 14rpx 30rpx 14rpx 0; .search-img { width: 36rpx; height: 36rpx; margin-top: 5rpx; } .heard-search-input { margin-left: 26rpx; font-size: 28rpx; width: 100%; color: #333; } } } .cardBox { width: 690rpx; margin: 40rpx auto; .card-item { position: relative; margin-bottom: 10rpx; .card-bg { width: 100%; height: 260rpx; display: block; } .card-position { position: absolute; top: 0; left: 0; width: 88%; padding: 16rpx 0 16rpx 36rpx; overflow: hidden; text-align: justify; .card-title { font-size: 28rpx; color: #333333; float: left; margin-bottom: 30rpx; width: 470rpx; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; margin-top: 8rpx; } .card-date { float: left; font-size: 28rpx; color: #999999; margin-top: 30rpx; width: 100%; } } } } }