/* pages/list/road/index.wxss */ pages { background: white; } .topimg { width: 100%; display: block; } .types { display: flex; align-items: center; justify-content: space-between; } .type-item { width: 50%; text-align: center; line-height: 82rpx; position: relative; color: #666666; font-size: 31rpx; } .type-item.active { color: #000; } .type-item.active::after { content:"1"; font-size: 0; position: absolute; display: block; width: 46rpx; height: 7rpx; background: #0B898E; border-radius: 3rpx; bottom: 0; left: 50%; margin-left: -23rpx; } .top-box { display: flex; align-items: center; height: 87rpx; padding: 0 25rpx; border-top: 1rpx solid #CCCCCC; font-size: 27rpx; color: #999; justify-content: space-between; font-weight: 500; } .picker { width: 198rpx; height: 54rpx; display: flex; align-items: center; border: 1rpx solid #ccc; border-radius: 4rpx; } .typetext { white-space: nowrap; border-right: 1rpx solid #ccc; flex: 1; margin-left: 17rpx; line-height: 54rpx; color: #000; } .typetext.disable { color: #999; } .picker image { margin: 0 22rpx; display: block; width: 16rpx; flex-shrink: 0; } .top-box .active { color: #000; } .top-box .price-box { display: flex; align-items: center; } .top-box .price-box image { width: 15rpx; opacity: 0.6; display: block; } .top-box .price-box image.active { opacity: 1; } .top-box .price-box image:nth-child(1){ transform: rotate(180deg); margin-bottom: 5rpx; } .item { margin: 0 25rpx; padding: 30rpx 0; border-bottom: 1rpx solid #ccc; display: flex; font-size: 24rpx; justify-content: space-between; } .item image { display: block; width: 233rpx; height: 233rpx; border-radius: 10rpx; flex-shrink: 0; margin-right: 22rpx; } .info { width: 400rpx; flex: 1; } .info .textOver2 { font-size: 33rpx; line-height: 44rpx; color: #2F2F2F; font-weight: 500; margin-bottom: 20rpx; } .score { color: #D62828; margin-right: 17rpx; } .sales { color: #666; } .tags { display: flex; align-items: center; margin: 20rpx 0; } .tags .tag { color: #0B898E; font-size: 20rpx; position: relative; margin-right: 25rpx; line-height: 22rpx; } .tags .tag::after { position: absolute; content: "1"; font-size: 0; left: 0; right: 0; height: 8rpx; top: 17rpx; z-index: -1; background: #DAF3E9; } .price-out { display: flex; justify-content: space-between; align-items: center; font-size: 23rpx; color: #A3A3A3; }