goodsList.wxss 4.64 KB
page {
	background-color: #f0f0f0;
}

.container {
  color: #666;
}

.nav {
	display: flex;
	border-radius: 30rpx 30rpx 0 0;
	overflow: hidden;
}

.nav-item {
  /* float: left; */
	flex: 1;
  /* width: 30%; */
  height: 80rpx;
  /* line-height: 90rpx; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26rpx;
  border-bottom: 1px solid #f5f5f5;
  background-color: #fff;
}

.nav-item .ico-dg {
  width: 12rpx;
  height: 8rpx;
  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;
}

.search-box {
	color: #BEBEBE;
	font-size: 24rpx;
	/* border: 2rpx solid #f23030; */
	border-radius: 40rpx;
	padding: 16rpx;
  display: flex;
  justify-content: space-between;
	background-color: #e0e0e0;
}

.icon-sousuo {
	font-size: 26rpx !important;
}

.search {
  width: 10%;
}

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

.choice_list {
  background-color: #fff;
	/* padding-left: 20rpx;
	padding-right: 20rpx; */
}

.choice_item {
  position: relative;
  width: 100%;
  /* min-height: 200rpx; */
  /* padding: 10rpx 0; */
  /* border-bottom: 1px solid #f5f6f6; */
  font-size: 30rpx;
	display: flex;
	padding: 20rpx;
	box-sizing: border-box;
}

.img-wrap {
  /* float: left; */
  width: 270rpx;
  height: 270rpx;
	margin-right: 22rpx;
	border-radius: 15rpx;
	overflow: hidden;
	flex-shrink: 0;
  /* padding: 0 10rpx 10rpx; */
}

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

.item-cont .title {
	font-size: 26rpx;
  height: 72rpx;
  margin-bottom: 20rpx;
  /* padding-right: 10rpx; */
  line-height: 36rpx;
  color: #2C2C2C;
	text-align: justify;
  overflow: hidden;
}

.price {
  display: inline-block;
  color: #f23030;
  /* line-height: 24rpx; */
	font-size: 30rpx;
	/* font-weight: bold;
	font-size: 28rpx; */
  /* padding-bottom: 20rpx; */
}

.rmb::before {
	content: '¥';
	font-size: 24rpx;
}

.comment {
  font-size: 24rpx;
  /* margin-top: 4rpx; */
	color: #8d8d8d;
  /* padding-right: 30rpx; */
}

.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;
}

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

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

.card_name {
	 position: relative;
	 top: -3rpx;
   display: inline-block;
}


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

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

.item-cont {
  line-height: 38rpx;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	flex: 1;
}


.choice_list.on {
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 12rpx;
	padding-left: 16rpx;
	padding-right: 16rpx;
	background-color: #f0f0f0;
}

.choice_list.on .choice_item {
	padding: 0;
	margin-top: 16rpx;
	display: block;
	width: 350rpx;
	background-color: white;
	border-radius: 15rpx;
}

.choice_list.on .choice_item:nth-child(even) {
	margin-left: 18rpx;
}

.choice_list.on .img-wrap {
	width: 350rpx;
	height: 350rpx;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.choice_list.on .item-cont {
	padding: 10rpx;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}


.choice_list.on .item-cont .flex.on {
	display: block;
}