/* pages/quest/quest.wxss */ .search { /* padding-top: 8rpx; */ background-color: white; height: 88rpx; width: 750rpx; display: flex; align-items: center; z-index: 999; position: sticky; top: 0; } .wrap { background-color: #fff; position: sticky; top: 88rpx; width: 100vw; display: flex; z-index: 100; font-size: 24rpx; } .wrap .item { text-align: center; padding: 20rpx; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .wrap .active { color: #006BFF; } .selectWrap { float: left; position: fixed; width: 100%; top: 160rpx; z-index: 90; height: 0px; background-color: #fff; font-size: 28rpx; } .selectWrap .selectItem { padding: 20rpx; border-bottom: 1px solid #dddddd; } .selectWrap .active { color: #006BFF; } .shadow { position: fixed; width: 100%; height: 100vh; z-index: 1; background-color: #4C4C4C; opacity: 0.6; } @keyframes slidown { 0% { transform: translateY(-100%); height: 0px; } 70% { height: 100rpx; } 100% { height: auto; transform: translateY(0); } } .slidown { display: block; animation: slidown 0.1s ease-in both; overflow: hidden; } @keyframes slidup { 0% { transform: translateY(0); height: 0px; } 30% { height: 100rpx; } 100% { transform: translateY(-100%); } } .slidup { display: block; animation: slidup 0.1s ease-in both; overflow: hidden; } .main { background-color: #F9F9F9; min-height: 100vh; } .mat_image { width: 296rpx; height: 296rpx; /* background: linear-gradient(180deg, #FFB17C 0%, #FFDBC3 100%); */ border-radius: 8rpx; } .mat_top { padding: 16rpx; } .mat_bottom { width: 328rpx; height: 76rpx; border-radius: 0rpx 0rpx 10rpx 10rpx; font-size: 28rpx; font-family: PingFangSC-Semibold, PingFang SC; font-weight: 600; color: #333333; line-height: 28rpx; display: flex; align-items: center; justify-content: center; } .mat_card { background-color: white; width: 328rpx; height: 404rpx; border-radius: 16rpx; margin-bottom: 32rpx; } .mat{ width: 686rpx; margin-top: 24rpx; margin-left: 32rpx; margin-right: 32rpx; /* min-height: 100vh; */ display: flex; flex-wrap: wrap; justify-content: space-between; }