/* pages/Mall/sortCommodity/sortCommodity.wxss */ .sortView{ padding: 0 20px 10px 20px; } .sortView .filterCriteria{ height: 65rpx; border-bottom: 1px solid #CFEAE5; margin-top: 35rpx; display: flex; } .sortView .filterCriteria .searchIcon image{ width: 50rpx; height: 50rpx; align-self: center; padding-right: 20rpx; } .sortView .filterCriteria .filterText{ font-size: 23rpx; color: #7A7A7A; text-align: center; background: linear-gradient(to top, white 0%, white 20%, #CFEAE5 20%, #CFEAE5 80%, white 60%, white 100% ) right center / 2rpx 100% no-repeat; line-height: 65rpx; box-sizing: border-box; padding: 0 10rpx; flex: 1; display: inline-block; } .sortView .filterCriteria .selected{ background: #CFEAE5; } .sortView .filterCriteria .scrollView{ white-space: nowrap; display: flex; overflow: hidden; }