index.wxss 1.4 KB
/* pages/crowdfunding/components/video/index.wxss */

.scroll_view {
  width: 100%;
  /* height: 460rpx; */
  display: flex;
  align-items: center;
  padding: 32rpx;
  box-sizing: border-box;
  white-space: nowrap;
}

.scroll_view .video {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 384rpx;
  margin: 0 20rpx 0 0;
  overflow: hidden;
}

.scroll_view .video .img {
  width: 100%;
}

.scroll_view .video:last-child {
  margin: 0;
}

.scroll_view_more .video {
  width: 332rpx;
  height: 184rpx;
  background: #E9E8EC;
  border-radius: 4rpx;
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.play .icon {
  width: 80rpx;
  height: 80rpx;
}

.play_time {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24rpx;
  background-image: linear-gradient(0deg, #292929 0%, #474747 100%);
  display: flex;
  align-items: center;
  padding: 0 12rpx;
}

.play_time .inner {
  flex: 2;
  height: 4rpx;
  background: #000000;
  border-radius: 2rpx;
}

.play_time .time {
  flex: 1;
  flex-shrink: 0;
  font-family: PingFangSC-Medium;
  font-weight: 500;
  font-size: 18rpx;
  color: #FFFFFF;
  text-align: right;
}

/* 
.play_video {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.play_video {
  width: 0;
  height: 0;
}