search.wxss 1.88 KB
.search-container {
  position: relative;
  box-sizing: border-box;
  padding-bottom: 180rpx;
}

.copy-right {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

.top-search {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 88rpx;
  padding: 18rpx 30rpx;
  box-sizing: border-box;
  background-color: #f0f0f0;
  z-index: 10001;
}

.input-bg {
  position: absolute;
  top: 18rpx;
  right: 30rpx;
  left: 30rpx;
  height: 56rpx;
  padding-left: 40rpx;
  background: #fff;
  border-radius: 10rpx;
}

.search-input {
  height: 56rpx;
  padding-left: 48rpx;
  margin-right: 80rpx;
  font-size: 24rpx;
  box-sizing: border-box;
}

.top-search .icon {
  position: absolute;
  top: 32rpx;
  left: 40rpx;
  width: 26rpx;
  height: 26rpx;
}

.placeholder {
  font-family: PingFang SC, sans-serif;
  font-size: 24rpx;
  color: #b0b0b0;
}

.recent-keys {
  position: fixed;
  top: 88rpx;
  left: 0;
  right: 0;
  padding: 0 30rpx;
}

.recent-keys .title {
  padding: 30rpx 0;
  color: #b0b0b0;
  font-size: 28rpx;
}

.recent-keys .delete {
  float: right;
  width: 30rpx;
  height: 34rpx;
}

.recent-keys .key {
  display: inline-block;
  padding: 10rpx 12rpx;
  margin-left: 10rpx;
  margin-bottom: 10rpx;
  color: #444;
  font-size: 28rpx;
  border-radius: 6rpx;
  border: 1rpx #e0e0e0 solid;
}

.fixed-filter {
  position: fixed;
  top: 88rpx;
  left: 0;
  right: 0;
  width: 100%;
  background-color: white;
  z-index: 10002;
  border-top: 1rpx solid #eee;
  border-bottom: 1rpx solid #eee;
}

.no-res {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 203rpx;
  text-align: center;
  background-color: #fff;
  z-index: -1;
}

.no-res .no-res-img {
  width: 204rpx;
  height: 204rpx;
  margin-top: 110rpx;
}

.no-res .no-res-txt {
  font-size: 24rpx;
  text-align: center;
  margin-top: 21rpx;
  color: #444;
}

.product-list {
  padding-top: 179rpx;
  padding-bottom: 60rpx;
}