liveStream.wxss 2.14 KB
/* pages/liveStream/liveStream.wxss */
.title {
  font-size: 30rpx;
  padding: 50rpx 32rpx;
}
.list-item {
  padding: 0 32rpx 30rpx;
  display: flex;
}
.list-item-left {
  position: relative;
  width: 340rpx;
  height: 220rpx;
  flex-shrink: 0;
}
.list-item-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 32rpx;
  /* position: relative;
  padding-bottom: 70rpx; */
}
.item-pic {
  /* width: 400rpx; */
  width: 100%;
  height: 100%;
  background-color: #eee;
}
.item-desc {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: black;
  color: #fff;
  text-align: center;
  padding-bottom: 23rpx;

  background: -moz-linear-gradient(bottom,#7A7171, transparent);/*Mozilla*/
  background: -webkit-gradient(bottom,0 50%,100% 50%,from(#7A7171),to(transparent));/*Old gradient for webkit*/
  background: -webkit-linear-gradient(bottom,rgba(0,0,0,.8),transparent);/*new gradient for Webkit*/
  background: -o-linear-gradient(bottom,#7A7171,transparent); /*Opera11*/
}
.item-desc view:first-child {
  font-size: 24rpx;
  font-weight: bold;
}
.item-desc view:last-child {
  font-size: 17rpx;
}
.item-title {
  font-weight: bold;
  font-size: 30rpx;
  text-align: justify;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.item-time {
  color: #999;
  font-size: 22rpx;
  padding-top: 10rpx;
}
.item-anchor {
  color: #999;
  font-size: 22rpx;
}

.item-btn {
  width: 172rpx;
  height: 56rpx;
  line-height: 56rpx;
  background-color: #f23030;
  color: #fff;
  font-size: 28rpx;
  text-align: center;
}
subscribe {
  position: relative;
}
.subscribe--live-player-subscribe__btn {
  width: 172rpx !important;
  height: 56rpx !important;
  line-height: 56rpx !important;
  background-color: #f23030 !important;
  font-size: 28rpx !important;
  position: relative;
  border-radius: 0 !important;
  margin: 0 !important;
}
.subscribe--live-player-notSubscribe::before {
  content: '订阅';
  position: absolute;
  left: 0;
  width: 172rpx;
  height: 56rpx;
  background-color: #f23030;
  color: #fff;
}
.subscribe--live-player-hasSubscribe {
  background-color: #666 !important;
}