redPacket.wxss 5.1 KB
.container {
  height: 100%;
  width: 100%;
}
.container .tabs_s {
  width: 100%;
  display: flex;
  align-items: center;
  height: 88rpx;
  border-top: 1rpx solid #f9f9f9;
}
.container .tabs_s .tab_ {
  flex: 1;
  text-align: center;
  line-height: 88rpx;
  height: 88rpx;
  font-size: 28rpx;
  border-radius: 0 0 6rpx 6rpx;
}
.container .tabs_s .active {
  color: #E8370F;
  font-weight: bold;
  position: relative;
}
.container .tabs_s .active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50rpx;
  height: 4rpx;
  background-color: #E8370F;
}
.container .padding {
  width: 100%;
  padding: 32rpx;
  box-sizing: border-box;
}
.container .padding .packets {
  width: 100%;
  box-shadow: 0px 3px 6px 0px rgba(188, 42, 4, 0.08);
  margin: 10rpx 0;
}
.container .padding .packets .packet {
  display: flex;
  align-items: center;
  padding: 20rpx;
  box-sizing: border-box;
  background: url('https://car.goorcar.com/assets/static/img/bg_img02.png') no-repeat;
  background-size: 100% 100%;
  border-radius: 16rpx 16rpx 0 0;
}
.container .padding .packets .packet .red_left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20rpx 0;
  box-sizing: border-box;
}
.container .padding .packets .packet .red_left .red_money {
  font-size: 36rpx;
  color: #ffffff;
  font-weight: bold;
}
.container .padding .packets .packet .red_left .manjian {
  color: #ffffff;
  font-size: 28rpx;
  margin-top: 20rpx;
}
.container .padding .packets .packet .red_right {
  flex: 2;
  height: 146rpx;
  padding: 0 20rpx 0 28rpx;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.container .padding .packets .packet .red_right .txt {
  font-size: 28rpx;
  color: #06121E;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
.container .padding .packets .packet .red_right .validity {
  font-size: 24rpx;
  color: #5B5E63;
}
.container .padding .packets .packet .red_right .datetime {
  font-size: 24rpx;
  color: #5B5E63;
  padding-bottom: 15rpx;
  box-sizing: border-box;
}
.container .padding .packets .packet .red_right .stat_num {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.container .padding .packets .packet .red_right .stat_num .stay__ {
  flex: 1;
  display: flex;
  align-items: baseline;
}
.container .padding .packets .packet .red_right .stat_num .stay__ .type_stay_ {
  font-size: 24rpx;
  color: #fff;
  margin-right: 10rpx;
}
.container .padding .packets .packet .red_right .stat_num .stay__ .arrow_ {
  width: 20rpx;
  height: 16rpx;
}
.container .padding .packets .packet .red_right .stat_num .numbe {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.container .padding .packets .packet .red_right .stat_num .numbe .c_licke {
  width: 170rpx;
  background-color: #f7603e;
  border-radius: 20rpx;
  box-sizing: border-box;
  font-size: 28rpx;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container .padding .packets .times {
  height: 80rpx;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 0 20rpx;
  box-sizing: border-box;
  border-radius: 0 0 16rpx 16rpx;
}
.container .padding .packets .times .stay {
  flex: 1;
  display: flex;
  align-items: center;
}
.container .padding .packets .times .stay .type_stay {
  font-size: 24rpx;
  color: #2c2c2c;
  margin-right: 10rpx;
}
.container .padding .packets .times .stay .arrow {
  width: 20rpx;
  height: 16rpx;
}
.container .padding .packets .times .r_rd {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.container .padding .packets .times .r_rd .residue {
  margin-right: 30rpx;
}
.container .padding .packets .times .r_rd .residue .name_ {
  color: #2c2c2c;
  font-size: 28rpx;
  margin-right: 5rpx;
}
.container .padding .packets .times .r_rd .bnt {
  width: 100rpx;
  height: 50rpx;
  color: #fff;
  background-color: #ffba00;
  line-height: 50rpx;
  text-align: center;
  border-radius: 8rpx;
  font-size: 26rpx;
}
.container .padding .packets .text_box {
  width: 100%;
  padding: 20rpx 32rpx;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 0 0 6rpx 6rpx;
  box-shadow: 0px 3rpx 6rpx 0rpx rgba(188, 42, 4, 0.08);
}
.container .padding .packets .text_box .txt {
  font-size: 22rpx;
  color: #8C9198;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
.container .padding .packets .receive {
  border-radius: 16rpx;
  background: url('https://car.goorcar.com/assets/static/img/bg_img01.png') no-repeat;
  background-size: 100% 100%;
}
.container .padding .text_box {
  width: 100%;
  padding: 20rpx 32rpx;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 0 0 6rpx 6rpx;
  box-shadow: 0px 3rpx 6rpx 0rpx rgba(188, 42, 4, 0.08);
}
.container .padding .text_box .txt {
  font-size: 22rpx;
  color: #8C9198;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}