detail.scss 3.88 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;
    text-align: center;

    .vid-wrap {
      @extend .fcc;
      @extend .bb;
      // padding-top: 20px;
      width: 100%;
      height: 720px;
      // background-color: wheat;

      .vid {
        text-align: center;
        width: 100%;
        height: 100%;
      }
    }


    .btn-wrap {
      position: absolute;
      color: #ffffff;
      // margin: 40px auto 0;
      bottom: 64px;
      left: 0;
      right: 0;
      margin: 0 auto;
      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;
        font-weight: bold;

        .iconfont {
          font-size: 48px;
        }

        .t1 {
          padding: 0 6px;
          font-weight: bold;
        }
      }

      .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: 92px;
        height: 92px;
        border-radius: 92px;
      }

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

        .t1 {
          width: 100%;
        }

        .name {
          font-size: 36px;
        }

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

    }

    .btn-wrap {
      display: flex;

      .btn {
        margin-right: 24px;
        width: 200px;
        height: 80px;
        font-size: 32px;
        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;
    font-size: 36px;
    margin: 0px auto 24px;
  }

  // 广告
  .ad {}

  // 装饰物 
  .decoration {
    margin: 30px auto 0px;
    text-align: center;
  }

  // 更多推荐
  .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;
        }
      }
    }
  }


  // 返回首页按钮
  .index-btn {
    margin: 60px auto 0;
    width: 320px;
    height: 88px;
    font-size: 36px;
    font-weight: bold;
    background-color: #3ec03c;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;

    .iconfont {
      font-size: 48px;
      margin-right: 12px;
    }
  }
}