/* pages/sort/sort.wxss */ page { background: #fff; } .search-box { background: #fff; padding: 0 30rpx 30rpx; height: 70rpx; position: fixed; top: 0; left: 0; right: 0; z-index: 50; } .search { background: #f7f7f7; border-radius: 35rpx; justify-content: center; font-size: 28rpx; color: #999; height: 70rpx; padding: 0 30rpx; } .search image { width: 30rpx; height: 30rpx; margin-right: 20rpx; } .tab { padding: 30rpx; white-space: nowrap; -webkit-overflow-scrolling: touch; background: #F0F0F0; box-sizing: border-box; position: fixed; top: 70rpx; left: 0; right: 0rpx; z-index: 50; background-color: #fff; font-size: 30rpx; } .tab .li { display: inline-block; padding-right: 40rpx; line-height: 80rpx; } .tab .li:last-child { margin-right: 0; } .tab .li.active { color: var(--main) !important; font-size: 32rpx; } .sort { padding: 29rpx 0 0 20rpx; box-sizing: border-box; } .sort .li { border-bottom: 2rpx solid #eee; padding-bottom: 39rpx; margin-bottom: 39rpx; overflow: hidden; padding-right: 20rpx; } .sort .li:last-child { margin-bottom: 0; } .sort .li .flex { overflow: hidden; } .proimgs { width: 160rpx; height: 160rpx; border-radius: 10rpx; position: relative; margin-right: 18rpx; border: 2rpx solid #E5E5E5; } .proimg { box-sizing: border-box; width: 100%; height: 100%; border-radius: 10rpx; } .shouqing { width: 100%; height: 100%; border-radius: 10rpx; position: absolute; top: 0; left: 0; } .proname { font-size: 28rpx; color: #333; /* text-overflow: ellipsis; white-space: nowrap; */ line-height: 36rp; height: 76rpx; overflow: hidden; } .pronames { font-size: 24rpx; color: #999; margin-top: 5rpx; } .endtime { display: inline-block; height: 32rpx; line-height: 32rpx; border: 2rpx solid #FE0419; border-radius: 6rpx; padding: 0 8rpx; font-size: 24rpx; color: #FE0419; margin: 15rpx 0 65rpx; } .operate { justify-content: space-between; align-items: flex-start; margin-top: 10rpx; } .price { font-size: 24rpx; align-items: center; display: flex; flex-wrap: nowrap; margin-top: 10rpx; } .price text { font-size: 24rpx; color: #FE0419; } .add-cart image { width: 12rpx; height: 24rpx; margin-top: 14rpx; margin-left: 20rpx; } .nums { align-items: center; } .num { font-size: 30rpx; width: 50rpx; text-align: center; line-height: 42rpx; } .tag{ padding: 4rpx 10rpx; font-size: 24rpx; color: #4b95f6; background-color: #ecf0fd; margin-right: 10rpx; margin-top: 10rpx; } ::-webkit-scrollbar { display: none; }