index.wxss 2.18 KB
/*直充元素样式*/

.charge_element_wrapper {
  background: #FFFFFF;
  height: 244rpx;
  box-shadow: 0px 4rpx 16rpx 0px rgba(239, 240, 242, 1);
  border-radius: 16rpx;
  border: 1rpx solid #EFF0F2;
  margin-bottom: 20rpx;
}

.charge_banner {
  width: 168rpx;
  height: 100%;
  background: linear-gradient(90deg, #FFF1DB 0%, #FBE6E6 100%);
  border-radius: 16rpx 0px 0rpx 16rpx;
}

.charge_content {
  width: calc(100% - 168rpx);
  height: 100%;
  box-sizing: border-box;
  padding-left: 20rpx;
}

.charge_title_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 38rpx 30rpx 22rpx 0;
}

.charge_title_text {
  font-size: 28rpx;
  font-weight: 600;
  color: #282829;
}

.charge_sign {
  width: 54rpx;
  height: 30rpx;
  background: linear-gradient(143deg, #FFEAD1 0%, #E6BB8A 100%);
  border-radius: 4rpx;
  font-size: 20rpx;
  font-weight: 400;
  color: #000000;
  margin-left: 28rpx;
}

.chage_more {
  font-size: 20rpx;
  font-weight: 400;
  color: #717171;
}

.charge_scroll_wrap {
  /* width: 100%; */
  overflow: hidden;
  vertical-align: top;
  white-space: nowrap;
  height: 124rpx;
}

.charge_package_element {
  display: inline-block;
  width: 256rpx;
  height: 124rpx;
  position: relative;
  margin-right: 20rpx;
}

.charge_cou {
  width: 256rpx;
  height: 124rpx;
}

.charge_name {
  position: absolute;
  left: 20rpx;
  top: 12rpx;
  width: 168rpx;
  font-size: 24rpx;
  font-weight: 400;
  color: #2D2D2E;
}

.charge_price_left {
  display: flex;
  align-items: flex-end;
  position: absolute;
  left: 20rpx;
  bottom: 16rpx;
}

.charge_min_price {
  font-size: 20rpx;
  font-weight: 400;
  margin-right: 4rpx;
  line-height: 20rpx;
}
.chage_max_price{
  font-size: 33rpx;
  font-weight: 600;
  color: #282829;
  line-height: 33rpx;
}
.charge_price_right {
  font-size: 20rpx;
  font-weight: 400;
  color: #282829;
  text-decoration: line-through;
  margin-left: 10rpx;
  line-height: 20rpx;
}

.hide-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.flex_sc {
  display: flex;
  align-items: center;
}

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