SceneBox.wxss 2.17 KB
/* pages/tab/output/components/sceneBox/sceneBox.wxss */
.flex {
  display: flex;
}

.scene {
  text-align: center;
  width: 100%;
}
.scene-item {
  box-sizing: border-box;
  height: 248rpx;
  position: relative;
  width: 25%;
  /* flex: 1; */
  background: #F7F8FC;
  margin-right: 4rpx;
  font-size: 18rpx;
  /* color: #8A8C90; */
  color: #323436;
  padding: 24rpx 0 18rpx;
  border-radius: 12rpx;
  margin-bottom: 20rpx;
  font-weight: 500;
  border: 2rpx solid transparent;
}

.scene-item:last-child {
  margin-right: 0;
}

.title-box {
  height: 68rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10rpx 0 4rpx;
}

.scene-title {
  width: 100rpx;
  font-weight: 600;
  font-size: 24rpx;
  text-align: center;
  color: #323436;
}

.scene-item:nth-child(2) .scene-title {
  width: 120rpx;
}

/* 已开通 - start */
.open.scene-item {
  background: #F0F7FF;
}

.open-icon {
  box-sizing: border-box;
  position: absolute;
  position: absolute;
  top: 0;
  right: 0;
  width: 78rpx;
  height: 78rpx;
}

.open-icon image {
  height: 100%;
}

/* 已开通 - end */

/* 选中 - start */
.active.scene-item {
  background-image: linear-gradient(145deg, #F0F7FF 0%, #FFFFFF 73%);
  border: 2rpx solid #3666FE;
  /* box-shadow: 0 4rpx 8rpx 0 rgba(180, 186, 204, 0.32), 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.40); */
  filter: drop-shadow(0 12rpx  12rpx rgba(180, 186, 204, 0.40));
  /* background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/carselect.png') no-repeat;
  background-size: 100% 100%; */
}

.active::after {
  position: absolute;
  left: 50%;
  bottom: -12px;
  display: block;
  content: "";
  width: 12px;
  height: 12px;
  border-bottom: 1px solid var(--btnColor);
  border-right: 1px solid var(--btnColor);
  transform: rotate(45deg) translateX(-50%);
  background-color: #fff;
}

/* 选中 - end */

.scene-img {
  width: 92rpx;
  height: 64rpx;
}

/* .notOpened {
  color: #8A8C90;
} */
.scene-label {
  font-size: 16rpx;

}
  
.total-price {
  height: 40rpx;
  line-height: 40rpx;
  margin-top: 36rpx;
  font-size: 22rpx;
  color: #3666FE;
  /* font-weight: 600; */
  font-family: "number";
}

.lock-img {
  width: 92rpx;
  height: 64rpx;
}