scene.scss 2.47 KB
/* components/scene/scene.wxss */
.fold-title {
  font-family: PingFangSC-Medium;
  font-weight: 600;
  font-size: 28rpx;
  color: #323436;
  padding-left: 32rpx;
}

.product-tab-box {
  display: flex;
  margin-bottom: 38rpx;
}

.fold-box {
  padding: 44rpx 16rpx;
}

.item-wrap {
  position: relative;
  /* width: 160rpx; */
  width: calc(100%/4);
  height: 152rpx;
  border-radius: 12rpx;
  margin-right: 12rpx;
}
.item-wrap:last-child {
  margin-right: 0
}

.act {
  border: 2rpx solid #5850FF;
}
.act::after {
  position: absolute;
  left: 50%;
  bottom: -15rpx;
  display: block;
  content: "";
  width: 14rpx;
  height: 14rpx;
  border-bottom: 2rpx solid #5850FF;
  border-right: 2rpx solid #5850FF;
  transform: rotate(45deg) translateX(-50%);
  background-color: #fff;
}

.fold-scene-item {
  /* width: 160rpx; */
  width: 100%;
  height: 152rpx;
  background: #F7F7FC;
  border-radius: 12rpx;
  text-align: center;
}

.fold-scene-item-active {
  background-image: linear-gradient(145deg, #E6E6FF 0%, #FFFFFF 73%);
}

.fold-img {
  width: 56rpx;
  height: 56rpx;
  margin-top: 20rpx;
}

.product-item-title {
  font-family: PingFangSC-Medium;
  font-weight: 600;
  font-size: 23rpx;
  color: #323436;
  letter-spacing: 0;
  text-align: center;
  line-height: 44rpx;
  margin-top: 4rpx;
}

.product-item-title-active {
  color: #5850FF;
}

// .product-item-type {
//   font-family: PingFangSC-Regular;
//   font-weight: 500;
//   font-size: 17rpx;
//   color: #323436;
//   letter-spacing: 0;
//   text-align: center;
//   line-height: 24rpx;
// }

// .product-item-type-active {
//   color: #807AFF;
// }

.fold-tip {
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 22rpx;
  color: #6E6E7A;
}

.fold-product {
  display: flex;
  flex-wrap: wrap;
  padding: 36rpx 16rpx 64rpx 16rpx;
}

.item {
  /* width: 216rpx; */
  width: calc((100% - 24rpx)/3);
  height: 64rpx;
  background: #F5F5FA;
  border-radius: 8rpx;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 28rpx;
  color: #323436;
  letter-spacing: 0;
  text-align: center;
  margin-right: 12rpx;
  margin-bottom: 20rpx;
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-subscrib {
  width: calc((100% - 24rpx)/2);
}

.item:nth-child(3n) {
  margin-right: 0;
}

.item-selected {
  color: #5850FF;
  font-weight: 600;
  border: 2rpx solid #9B96FF;
}

.selected-img {
  width: 30rpx;
  height: 22rpx;
  position: absolute;
  top: -1rpx;
  right: -1rpx;
}