jiulist.wxss 1.9 KB
/* pages/jiudan/jiudan.wxss */
page{
  background: #F2F2F2;
}
.wine_list{
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
 
}
.list_item{
  width: 366rpx;
  height: 400rpx;
 
 
  background: #FFF;
  border-radius: 5rpx;
  margin-left: 6rpx;
  margin-top: 6rpx;
  display: flex;
  flex-flow: column;
  font-size: 28rpx;
  align-items: center;
  box-sizing: border-box;
  padding-top: 40rpx;
}
.img_box{
  width: 120rpx;
  height: 120rpx;
  border-radius: 50%;
  overflow: hidden;
}
.wine_title{
  color: #1A1A1A;
  font-weight: 500;
  margin-top: 20rpx;
  line-height: 1;
}
.wine_name{
  font-size: 26rpx;
  color: #666;
  margin-top: 10rpx;
}
.wine_leavel{
  width: 68rpx;
  height: 24rpx;
  border: 1rpx solid #E81825;
  border-radius: 12rpx;
  font-size: 20rpx;
  color: #E81825;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14rpx;
}
.action_box{
  display: flex;
  justify-content: space-around;
  color: #999;
  width: 100%;
  margin-top: 40rpx;
}
.single_action{
  padding: 0 10rpx;
  display: flex;
  align-items: center;
  position: relative;
}  
.zan_icon{
  width: 30rpx;
  margin-right: 10rpx;
}
.moreIcon{
  width: 4rpx;
}
.min_action_box{
  width: 134rpx;
  height: 175rpx;
  position: absolute;
  background-color: #FFF;
  z-index: 99;
  left: -140rpx;
  top: 0;
  font-size: 30rpx;
 
  flex-flow: column;
  box-sizing: border-box;
  padding: 10rpx 0;
  justify-content: space-around;
  align-items: center;
  color: #1A1A1A;
  border-radius: 5rpx;
  box-shadow:0px 8px 16px 0px rgba(44,49,63,0.1);
  display: none;
}
.action_btn{
  width: 100%;
  text-align: center;
  position: relative;
}
.action_btn.active{
  color: #E81825;
}
.action_btn button{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
}

 
.single_action.active .min_action_box{
  display: flex;
}   

.date{
  padding: 11rpx 32rpx;
  box-sizing: border-box;
  background: #F2F2F2;
  color:#666666;
  font-size: 24rpx;
}