search.wxss 4.56 KB
.container {
  color: #666;
}

.nav-item {
  float: left;
  width: 30%;
  height: 90rpx;
  line-height: 90rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32rpx;
  border-bottom: 2rpx solid #E6E6E6;
  background-color: #fff;
}

.nav-item .ico-dg {
  width: 18rpx;
  height: 12rpx;
  margin-left: 10rpx;
  line-height: 0;
}

.nav-item .ico-filter {
  width: 20rpx;
  height: 20rpx;
  margin-left: 10rpx;
  line-height: 0;
}

.ico-dir {
  width: 16rpx;
  height: 22rpx;
  margin-left: 10rpx;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: 0;
}

.ico-dir-dn {
  background-position-x: -16rpx;
}

.ico-dir-up {
  background-position-x: -32rpx;
}

.nav-search {
  width: 10%;
}

.nav-item .search-img {
  width: 30rpx;
  height: 30rpx;
}

.choice_list {
  background-color: #fff;
}

.choice_item {
  position: relative;
  width: 100%;
  min-height: 200rpx;
  padding: 10rpx 0;
  border-bottom: 2rpx solid #E6E6E6;
  font-size: 30rpx;
}

.img-wrap {
  /* float: left; */
  width: 180rpx;
  height: 180rpx;
  padding: 0 10rpx 0 30rpx;
	flex-shrink: 0;
	/* padding: 10rpx; */
}

.img-wrap image {
  width: 100%;
  height: 100%;
}

.item-cont .title {
  height: 72rpx;
  margin: 16rpx 0;
  padding-right: 30rpx;
  line-height: 36rpx;
  color: #333;
  overflow: hidden;
	text-align: justify;
}

.price {
  display: inline-block;
  color: #f23030;
  /* line-height: 24rpx; */
  /* padding-bottom: 20rpx; */
}

.comment {
  font-size: 25rpx;
  padding-right: 30rpx;
  margin-top: 4rpx;
}

.filter-modal {
  position: fixed;
  left: 150rpx;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background-color: white;
  overflow-x: hidden;
  padding-bottom: 30rpx;
}

.filter-box {
  box-sizing: border-box;
  width: 100%;
  font-size: 28rpx;
  padding: 20rpx;
}

.filter-name {
  width: 100%;
  padding: 20rpx 0;
  word-break: keep-all;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 30rpx;
}

.filter-items {
  width: 100%;
}

.filter-item {
  float: left;
  width: fit-content;
  max-width: 500rpx;
  word-break: keep-all;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 10rpx;
  border-radius: 10rpx;
  border: 1rpx #ddd solid;
  margin: 0 10rpx 10rpx 0;
  background-color: #fdfdfd;
  color: #666;
}

.viewall-btn {
  margin-top: 20rpx;
  width: 300rpx;
}

.search-modal {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 20;
  background-color: white;
  overflow-x: hidden;
  padding: 80rpx 30rpx;
  font-size: 30rpx;
  color: #555;
}

.search-bar {
  width: 100%;
  box-sizing: border-box;
}

.search-input {
  width: 80%;
  float: left;
  border: 1rpx solid #e0e0e0;
  box-sizing: border-box;
  height: 80rpx;
  padding-left: 20rpx;
  border-top-left-radius: 10rpx;
  border-bottom-left-radius: 10rpx;
}

.search-btn {
  width: 20%;
  height: 80rpx;
  background-color: #f23030;
  display: inline-block;
  text-align: center;
  border-top-right-radius: 10rpx;
  border-bottom-right-radius: 10rpx;
}

.search-btn .search-img {
  height: 45rpx;
  width: 45rpx;
  padding: 20rpx;
}

.search-hot {
  margin-top: 40rpx;
}

.hot-title {
  font-size: 35rpx;
  color: black;
  margin-bottom: 30rpx;
}

.hot-row {
  display: flex;
  /*--justify-content: space-between---*/
  padding: 15rpx 10rpx;
}

.hot-item {
  padding: 8rpx 8rpx;
  border: 1rpx solid #e0e0e0;
  border-radius: 10rpx;
  font-size: 28rpx;
  margin-left: 15rpx;
}

/* .card_bg {
  display: flex;
  max-width: 110rpx;
  height: 25rpx;
  align-items: center;
  border-radius: 26rpx;
  font-size: 19rpx;
  padding: 2rpx 10rpx;
  background: #333;
  color: #fff;
  justify-content: center;
  margin-left: 8rpx;
  margin-top: 7rpx;
  line-height: 25rpx;
  width: auto;
} */

.card_bg {
	box-sizing: border-box;
  padding: 2rpx 10rpx;
  /* height: 28rpx; */
  border-radius: 26rpx;
  font-size: 18rpx;
  /* line-height: 28rpx; */
	max-width: 210rpx;
  background: #333;
  color: #fff;
  margin-left: 8rpx;
}

.card_bg image {
  width: 19rpx;
  height: 19rpx;
  margin-right: 8rpx;
	flex-shrink: 0;
}

.card_name {
	position: relative;
	top: -4rpx;
}

/* .card_bg image {
  width: 19rpx;
  height: 19rpx;
  margin-right: 1rpx;
  vertical-align: middle;
}

.card_bg .card_name {
  max-width: 76rpx;
  width: auto;
  overflow: hidden;
  white-space: nowrap;
} */

.navigator-hover {
	opacity: 1;
}

.mk_price {
  margin-left: 10rpx;
  font-size: 25rpx;
}

.item-cont {
  /* line-height: 38rpx; */
	flex-grow: 1;
}

.history {
	background-color: #f0f0f0;
	color: #7b7b7b;
	border: none;
	margin-bottom: 8rpx;
}

.history:first-of-type {
	margin-left: 0;
}