/* coupon.wxss */

.item view {
  overflow: visible;
}

.nav_bar {
  display: flex;
  align-items: center;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 99999;
}

.nav_bar .nav_item {
  flex: 1;
  text-align: center;
  line-height: 80rpx;
  position: relative;
  font-size: 32rpx;
}

.nav_bar .nav_item.active {
  color: #FFD101;
}

.nav_bar::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50vw;
  background-color: #FFD101;
  height: 6rpx;
  transition: all 0.2s ease;
  border-left: 10vw #fff solid;
  border-right: 10vw #fff solid;
  box-sizing: border-box
}

.nav_bar.active::after {
  left: 50vw;
}

.list {
  margin-top: 80rpx;
}

.list .item {
  padding: 20rpx 20rpx 0 20rpx;
  overflow: hidden;
  box-sizing: border-box;
}
.list .item:last-child{
  margin-bottom: 20rpx
}
.item .content {
  height: 200rpx;
  background-color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.item .content::after {
  content: '';
  position: absolute;
  right: 200rpx;
  top: 0;
  height: 200rpx;
  width: 1px;
  border-right: 1px dashed #eee;
  z-index: 999;
}

.item .content .left::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vw;
  background-color: #FFD101;
  z-index: 0;
  transform: rotateZ(0deg) translateY(-10%);
}

.item .content .left::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 100vw;
  height: 100vw;
  background-color: rgba(255,255,255,.1);
  z-index: 1;
  transform: rotateZ(60deg) translateX(37%) translateY(-50%);
}

.item .content> view {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.item .content .left {
  flex: 1;
  justify-content: center;
  position: relative;
  color: #fff;
}

.item .content .right {
  position: relative;
  z-index: 999;
  justify-content: center;
  padding: 20rpx;
  color: #fff;
  box-sizing: border-box;
  width: 200rpx;
  text-align: center;
}

.item .content .right .time_box {
  font-size: 24rpx;
  margin-top: 20rpx;
}

.item .content .right .time_box .title {
  font-size: 30rpx;
}

.item .content .right .time_box > view{
  margin-bottom: 10rpx
}

.item .content .right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20rpx;
  height: 20rpx;
  background-color: #eee;
  border-radius: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 999;
}
.item.gary{
  filter: grayscale(1) brightness(200%)
}
.item .content .right::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20rpx;
  height: 20rpx;
  background-color: #eee;
  z-index: 999;
  border-radius: 50%;
  transform: translateY(50%) translateX(-50%);
}

.item .content .coupon_left {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 20rpx;
}

.content .coupon_info {
  display: flex;
  flex-direction: column;
  height: 180rpx;
  padding-left: 20rpx;
  position: relative;
  z-index: 99;
}

.content .coupon_info .coupon_text {
  font-size: 55rpx;
}

.coupon_limit {
  margin-top: auto;
  padding: 2px;
}

.content .coupon_info .coupon_name {
  font-size: 32rpx;
}

.content .coupon_info .coupon_desc {
  flex: 1;
  font-size: 32rpx;
  display: flex;
  flex-direction: column;
}

.content .coupon_info .coupon_desc .coupon_text {
  margin-top: 10rpx;
}

.activity {
  padding: 20rpx;
}

.activity .activity_item {
  border-radius: 4px;
  background-color: #fff;
  padding: 20rpx;
  margin-bottom: 20rpx;
}

.activity .activity_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
  margin-bottom: 10rpx
}

.activity_title>.activity_name {
  font-size: 32rpx;
  max-width: 65vw;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.activity_title>.activity_time {
  font-size: 26rpx;
  color: #999;
}

.activity_item .activity_img {
  margin-top: 10rpx;
}

.activity_item .activity_img, .activity_img > image {
  width: 670rpx;
  height: 300rpx;
}

.activity_item .activity_footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 10rpx;
}

.activity_item .coupon_item {
  font-size: 26rpx;
  color: #666;
  margin: 4rpx 0;
}

.activity .coupon_btn {
  background-color: #FFD101;
  border-radius: 4px;
  color: #ffffff;
  padding: 3px 5px;
  font-size: 30rpx;
  text-align: center;
}

.empty_box {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 70vh;
  text-align: center;
  color: #666;
  font-size: 30rpx;
}

/* new css  */
.coupon_content{
  display: flex;
  flex-direction: column;
  background-color: #FFD101;
  color: #fff;
  padding: 10rpx;
  letter-spacing: 1px;
  border-radius: 8px;
}

.coupon_top{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.coupon_logo{
  margin-top: 10rpx;
  margin-left: 20rpx;
  font-size: 50rpx;
}

.coupon_pre{
  font-size: 50rpx;
  margin-left: 62rpx;
}

.big_text{
  font-weight: bold;
  padding: 10rpx;
}

.small_text{
  font-size: 26rpx;
  padding: 3rpx;
  margin-top: 10rpx;
}

.coupon_bottom{
  display: flex;
  flex-direction: row;
  margin-top: 20rpx;
}
.coupon_bottom image{
  width: 50rpx;
  height: 50rpx;
}

.bottom_btn{
  margin-left: 80rpx;
  margin-top: 40rpx;
}

.get{
  border: 1px solid #fff;
  padding: 4rpx 12rpx;
  border-radius: 6rpx;
}

.coupon_small{
  font-size: 22rpx;
  padding: 2px;
}

.coupon_right{
  margin-left: 10rpx;
  margin-top: 10rpx;
}