element.wxss 2.34 KB
.box_wrapper {
  width: 100%;
  height: 162rpx;
  /* background: #FFFFFF; */
  /* border-radius: 8rpx; */
  margin-top: 19rpx;
  position: relative;
  box-sizing: border-box;
  background-size: cover;
}
.bg{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.left_icon_box {
  width: 156rpx;
  height: 156rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.left_bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 156rpx;
  height: 156rpx;
  z-index: 1;
}

.left_text_one {
  font-size: 48rpx;
  font-weight: 600;
  z-index: 2;
}

.left_text_two {
  display: flex;
  align-items: flex-end;
}

.left_text_four {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.left_text_three {
  font-size: 20rpx;
  margin-top: 6rpx;
}

.anText {
  font-size: 48rpx;
  /* color: rgba(white, white, white, 0.45); */
  font-weight: 600;
  /* color: #FFF; */
  /* opacity: 0.45; */
}

.price_icon {
  font-size: 24rpx;
  /* margin-right: 4rpx; */
  margin-bottom: 7rpx;
  font-weight: 500;
}

.main_box {
  height: 156rpx;
  box-sizing: border-box;
  padding: 24rpx 24rpx 24rpx 0rpx;
  justify-content: space-evenly;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.box_btn {
  position: absolute;
  right: 47rpx;
  top: 50%;
  transform: translate(0, -50%);
  width: 120rpx;
  height: 44rpx;
  /* background: #B1B1B3; */
  text-align: center;
  line-height: 44rpx;
  font-size: 28rpx;
  font-weight: 600;
}

.box_btn_color {
  /* background: var(--btnColor); */
  color: var(--btnColor);
}

.box_btn_color_grey {
  color: #6D6D6D;
}

.title_text {
  color: #282829;
  font-weight: 600;
  color: #282829;
  font-size: 28rpx;
  width: 309rpx;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.h4_text {
  font-weight: 400;
  color: #B1B1B3;
  font-size: 20rpx;
}

.leftMargin {
  padding-left: 32rpx;
}

.brightColor {
  color: #FC5B32;
}

.darkColor {
  color: #6D6D6D;
}

.describeColor {
  color: #D83C14;
}

.discount {
  font-size: 20rpx;
  font-weight: 500;
  margin-bottom: 10rpx;

}
.box_wrapper .bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}