liveStreamDetails.wxss 4.69 KB
/* pages/liveStreamDetails/liveStreamDetails.wxss */
.active {
  background-color: #ddd;
}

.content {
  background-color: white;
  padding-bottom: 168rpx;
  position: relative;
}
.cover-container {
  height: 646rpx;
  position: relative;
}
.cover-img {
  width: 100%;
  height: 100%;
  background-color: #eee;
}
.cover-desc {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding-top: 64rpx;
  padding-bottom: 64rpx;
  color: #fff;

  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*/
}
.cover-desc view:first-child {
  font-size: 50rpx;
}
.cover-desc view:last-child {
  font-size: 42rpx;
}

.desc-container {
  padding: 56rpx 46rpx 41rpx;
  color: #3E3E3E;
}
.desc-title {
  font-size: 42rpx;
  font-weight: bold;
}
.desc-status {
  display: inline-block;
  color: #5B5B5B;
  font-size: 28rpx;
  height: 50rpx;
  line-height: 50rpx;
  padding: 0 30rpx;
  background-color: #eee;
  /* margin-top: 22rpx;
  margin-bottom: 44rpx; */
}
.desc-content {
  font-size: 29rpx;
  padding-top: 22rpx;
  padding-bottom: 22rpx;
}
.list {
  padding: 0 36rpx;
}
.list-item {
  display: flex;
  padding-bottom: 34rpx; 
}
.list-item:not(:first-child) {
  padding-top: 34rpx;
}
.list-item:not(:last-child) {
  border-bottom: 2rpx solid #B5B5B5;
}
.item-pic {
  width: 224rpx;
  height: 224rpx;
  border: 2rpx solid #E1E1E1;
}
.item-desc-container {
  padding-left: 46rpx;
  font-size: 26rpx;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.item-desc view:first-child {
  padding-top: 10rpx;
  padding-bottom: 38rpx;
}
.item-price:before {
  content: '¥';
}

.share-container {
  /* width: 86rpx; */
  position: fixed;
  padding: 0 8rpx;
  box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.1);
  right: 28rpx;
  top: 50%;
  background-color: #fff;
}
.share-container image {
  display: block;
  width: 50rpx;
  height: 50rpx;
  padding-top: 14rpx;
  padding-bottom: 11rpx;
}
.share-container image:first-child {
  border-bottom: 2rpx solid #E7E7E7;
}


.btn-container {
  background-color: #fff;
  box-sizing: border-box;
  padding: 24rpx 128rpx;
  position: fixed;
  bottom: 0;
  width: 100%;
  box-shadow: 0px -1px 4px 1px rgba(0,0,0,0.1);
}
.btn {
  color: #fff;
  background-color: #f23030;
  font-size: 36rpx;
  line-height: 92rpx;
  text-align: center;
  /* width: 618rpx;
  height: 92rpx; */
}
.subscribe--live-player-notSubscribe {
  position: relative;
}
.subscribe--live-player-notSubscribe::before {
  content: '订阅';
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  background-color: #f23030;
  color: #fff;
}
.subscribe--live-player-subscribe__btn {
  width: 100% !important;
  height: auto !important;
  font-size: 36rpx !important;
  /* line-height: 120rpx !important; */
  border-radius: 0 !important;
  background-color: #f23030 !important;
}
.subscribe--live-player-hasSubscribe {
  background-color: #666 !important;
}

.share-actionSheet {
  background-color: white;
  padding-top: 45rpx;
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 2;
}
.share-actionSheet-title {
  font-size: 38rpx;
  
}
.share-actionSheet-list {
  display: flex;
  justify-content: space-around;
  padding-bottom: 30rpx;
}
.share-actionSheet-item {
  text-align: center;
  padding: 20rpx;
}
.share-actionSheet-pic {
  display: block;
  width: 118rpx;
  height: 118rpx;
  border-radius: 50%;
  margin: 0 auto;
}
.share-actionSheet-desc {
  font-size: 28rpx;
}

.share-actionSheet-title,
.share-actionSheet-cancle {
  text-align: center;
}

.share-actionSheet-cancle {
  padding: 30rpx 0;
  border-top: 2rpx solid #CBCBCB;
}

.mask {
  display: none;
  background-color: rgba(0,0,0,.7);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.playbill {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: none;
}
.share-actionSheet.active ~ .mask,
.playbill.active ~ .mask {
  display: block;
}
.playbill-pic {
  display: block;
  width: 478rpx;
  height: 737rpx;
  /* border-width: 31rpx 20rpx 51rpx;
  border-color: #f23030;
  border-style: solid; */
  /* border: 4rpx solid #f23030; */
  margin: 0 auto 26rpx;
  border-radius: 10rpx;
  overflow: hidden;
}

.playbill-save {
  width: 560rpx;
  height: 100rpx;
  line-height: 100rpx;
  background-color: #f23030;
  color: #fff;
  font-size: 36rpx;
  text-align: center;
  margin: 0 auto;
}
.playbill-save image {
  width: 44rpx;
  height: 36rpx;
  margin-right: 23rpx;
}

button::after {
  border: none;
}