.goodsClass .header { /* height: calc(178rpx + var(--safe-top)); */ // padding-top: var(--safe-top); background-image: linear-gradient(90deg, rgba(44, 101, 247, 1) 0, rgba(64, 157, 255, 1) 100%); } .goodsClass .header .search { /* #ifdef MP-WEIXIN || MP-KUAISHOU*/ padding: 10rpx 10rpx 0; /* #endif */ /* #ifdef H5 || APP-PIUS */ padding: 16rpx 30rpx 0; /* #endif */ } .goodsClass .header .search .pictrue { height: 64rpx; } .goodsClass .header .search .pictrue image { display: block; height: 100%; } .goodsClass .header .search .form { flex: 1; min-width: 0; display: flex; align-items: center; } .goodsClass .header .search .label { flex: 1; min-width: 0; display: flex; align-items: center; padding-left: 27rpx; border-radius: 32rpx; margin-left: 30rpx; background-color: #ffffff; /* #ifdef MP-WEIXIN */ margin-right: 25%; /* #endif */ } .goodsClass .header .search .input { flex: 1; height: 64rpx; font-size: 26rpx; font-family: inherit; } .goodsClass .header .search .img { width: 29rpx; height: 30rpx; display: block; margin-right: 16rpx; } .goodsClass .header .search .submit { margin-left: 30rpx; color: #ffffff; } .goodsClass .header .search .input input::placeholder { color: #aaa; } .goodsClass .header .wrapper { overflow: hidden; } .grade-cate-list { white-space: nowrap; } .grade-item { white-space: inherit; height: 90rpx; padding-right: 39rpx; padding-left: 39rpx; line-height: 90rpx; text-align: center; cursor: pointer; font-size: 30rpx; position: relative; color: rgba(254, 254, 254, 0.8); &.cur { color: rgba(254, 254, 254, 1); &::before { color: #fefefe; width: 39rpx; height: 4rpx; background-color: #ffffff; position: absolute; content: ""; bottom: 15rpx; left: 50%; margin-left: -19.5rpx; } } } .goodsClass .nav .scroller { position: absolute; } .goodsClass .nav ul::after { content: " "; display: block; height: 0; clear: both; visibility: hidden; } .goodsClass .nav .item { text-align: center; float: left; } .goodsClass .nav .item .box { display: block; padding: 22rpx 20rpx 0; } .goodsClass .nav .item .pictrue { width: 90rpx; height: 90rpx; border-radius: 50%; margin: 0 auto 21rpx; overflow: hidden; } .goodsClass .nav .item .pictrue image { width: 100%; height: 100%; display: block; border-radius: 50%; box-sizing: border-box; } .goodsClass .nav .item.cur .pictrue image { border: 1px solid #2c8eff; } .goodsClass .nav .item .name { font-size: 24rpx; line-height: 33rpx; color: #333; } .goodsClass .nav .item.cur .name { color: #2c8eff; } .goodsClass .goodList { padding: 26rpx 0; } .goodsClass .goodList .item { padding: 0 20rpx; } .goodsClass .goodList .item ~ .item { margin-top: 32rpx; } .goodsClass .goodList .pictrue { position: relative; width: 250rpx; height: 140rpx; border-radius: 10rpx; overflow: hidden; } .goodsClass .goodList .text .title .line1 { display: block; white-space: nowrap; } .goodsClass .goodList .text .labelList { position: static; margin-top: 10rpx; font-size: 0; } .goodsClass .goodList .text .row-between { margin-top: 0; } .goodsClass .goodList .text .money { display: inline-block; vertical-align: middle; } .goodsClass .goodList .text .free { display: inline-block; margin-top: 0; vertical-align: middle; } .goodsClass .goodList .text .money + .total { display: inline-block; margin-left: 10rpx; vertical-align: middle; font-size: 22rpx; color: #999999; } .goodsClass .goodList .text .free + .total { display: inline-block; margin-left: 10rpx; vertical-align: middle; font-size: 22rpx; color: #999999; }