detail.scss 3.08 KB
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';

.page {
  padding-bottom: $pageBottom;

  .bgc {}

  .bg {}

  .main {
    .top-space {
      height: 0px;
    }

    .content {
      position: relative;
    }
  }

  // 视频详情
  .detail {
    position: relative;
    width: 100%;
    height: 944px;
    background-color: #333333;

    .vid {
      margin: 232px auto 0;
      width: 100%;
      height: 360px;
    }

    .btn-wrap {
      color: #ffffff;
      margin: 142px auto 0;
      display: flex;

      .btn {
        width: 312px;
        height: 94px;
        font-size: 30px;
        background-color: #3ec03c;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #ffffff;

        .iconfont {
          font-size: 48px;
        }

        .t1 {
          padding: 0 6px;
        }
      }

      .btn2 {
        background-color: #ae3f48;
      }
    }
  }

  // 功能区,显示用户信息等
  .func {
    position: relative;
    @extend .bb;
    padding: 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .user {
      display: flex;
      align-items: center;
      flex: 1;

      .portrait {
        width: 72px;
        height: 72px;
        border-radius: 72px;
      }

      .desc {
        @extend .bb;
        padding-left: 24px;
        display: flex;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;

        .t1 {
          width: 100%;
        }

        .name {
          font-size: 28px;
        }

        .num {
          font-size: 24px;
          color: #8d8d8d;
        }
      }

    }

    .btn-wrap {
      display: flex;

      .btn {
        margin-right: 24px;
        width: 180px;
        height: 68px;
        font-size: 24px;
        background-color: #3ec03c;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #ffffff;

        .iconfont {
          font-size: 32px;
        }

        .t1 {
          padding: 0 6px;
        }

        &:last-child {
          margin-right: 0;
        }
      }

      .btn2 {
        background-color: #fecd9f;
        color: #7f776e;
      }


    }

  }

  // 功能区小标题
  .fc-tit {
    @extend .bb;
    padding: 0 24px;
  }

  // 广告
  .ad {}

  // 装饰物 
  .decoration {}

  // 更多推荐
  .more {
    width: $contentWidth;
    margin: 64px auto 0;

    &-title {
      color: #a2242e;
      font-size: 48px;
      font-weight: bold;
      text-align: center;
    }

    // 推荐列表
    &-list {
      margin: 36px auto 0;

      &-item {
        display: flex;
        justify-content: space-between;
        border-bottom: solid 2px #dfdfdf;
        padding: 24px 0;

        .tit {
          @extend .bb;
          padding: 24px 0;
          height: 230px;
          flex: 1;
          font-size: 36px;
          @include ellipsis(4);
        }

        .poster {
          width: 350px;
          height: 230px;
          border-radius: 8px;
        }
      }
    }
  }
}