materialPage.sass 2.57 KB
/* packageStudy/pages/sceneMarket/materialPage/materialPage.wxss */
.video-detail,
.img-detail {
  width: 100vw;
  height: 100vh;
}

.flex {
  display: flex;
  align-items: center;
}

.right-content {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-top: 24rpx;

  .detail-item {
    margin: 0 32rpx;

    .item-title {
      font-weight: 500;
      font-size: 40rpx;
      color: #333333;
      line-height: 56rpx;
      margin-bottom: 8rpx;
    }

    .sub-item-title {
      font-size: 32rpx;
      line-height: 48rpx;
    }

    .arc {
      width: 8rpx;
      height: 8rpx;
      border-radius: 100%;
      background: #333;
      margin: 0 16rpx;
      flex-shrink: 0;
    }

    .item-content {
      color: #333333;
      font-size: 28rpx;
      line-height: 44rpx;
      margin-bottom: 24rpx;
      word-wrap: break-word;
    }

    .picture {
      width: 686rpx;
      margin: 0 auto 24rpx;
      min-height: 100rpx;
    }

    .item-img {
      display: block;
      width: 100%;
    }
  }

  .content-end {
    width: 100%;
    text-align: center;
    color: #999;
    text-align: center;
    padding: 64rpx 0;
    font-size: 24rpx;
    margin-top: auto;
  }
}

.fixed-menu-btn {
  flex-direction: column;
  justify-content: center;
  position: fixed;
  bottom: 506rpx;
  right: 36rpx;
  width: 128rpx;
  height: 128rpx;
  border-radius: 24rpx;
  opacity: 1;
  border: 4rpx solid #ffffff;
  background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
  box-shadow: 0 8rpx 32rpx 0 #3d4e6633;
  z-index: 9;
  color: #2C66F7;
  font-size: 24rpx;
  transition: all .25s;

  .icon {
    width: 58rpx;
    height: 58rpx;
    margin-bottom: 8rpx;
  }

  .arrow {
    width: 32rpx;
    height: 32rpx;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
  }
}

.hide-btn {
  right: -96rpx;
}

.material-menu-box {
  height: 73vh;

  .material-menu-box-title {
    height: 110rpx;
    box-shadow: inset 0 -1rpx 0 0 #e8e8ea;
    color: #292d33;
    font-size: 32rpx;
    font-weight: 500;
    justify-content: center;
  }

  .material-menu-content {
    overflow-y: scroll;
    height: calc(100% - 110rpx);

    .item {
      padding: 0 32rpx;
      color: #333333;
      &:first-of-type{
        .name{
          &:first-of-type{
            border-top: none;
          }
        }
      }
      .name,.sub-name{
        border-top: 2rpx solid #eff0f2;
      }
      .name {
        font-size: 30rpx;
        padding: 28rpx 0;
        font-weight: 500;

      }
      .sub-name{
        font-size: 28rpx;
        padding: 28rpx 0 28rpx 40rpx;
      }
    }
  }
}