.detail {
  // height: 100vh;
  // overflow: hidden;
  background-color: #b7f3d4;

  .detailTop {
    background: url('./images/detailBG.png') no-repeat;
    background-size: 100% 346px;
    height: 346px;

    .fixWrap {
      width: 100%;
      height: 30px;
      top: 18px;
      z-index: 600;
      padding: 0 16px;
      position: fixed;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;

      img {
        width: 30px;
        height: 30px;
        display: block;
      }

      .editIcon {
        margin-right: 16px;
      }
    }

    .wall {
      height: 68px;
    }

    .jiemuIcon {
      margin-top: 15px;
      width: 210px;
      height: 67px;
      margin-left: 16px;
    }

    .typeCard {
      width: 99px;
      height: 29px;
      background: url('./images/typeCard.png') no-repeat;
      background-size: 99px 29px;
      margin-left: 56px;
      margin-top: 11px;
      text-align: center;
      line-height: 29px;
      font-weight: 500;
      color: #ffffff;
      font-size: 14px;
      margin-bottom: 43px;
    }

    .activeInfo {
      width: 343px;
      height: 87px;
      position: relative;
      border-radius: 16px;
      background-clip: padding-box;
      border: 1px solid transparent;
      background-clip: padding-box, border-box;
      background-origin: padding-box, border-box;
      background-image: linear-gradient(270deg,
          #1dc2ff 0%,
          #0283ff 48%,
          #0bb7fe 100%),
        linear-gradient(360deg, #d1fff6, #e5f8ff);

      margin: 0 auto;

      .hornIcon {
        width: 50px;
        height: 61px;
        top: -12px;
        left: -10px;
        position: absolute;
      }

      .noteIcon {
        width: 38px;
        height: 34px;
        right: -5px;
        bottom: -6px;
        position: absolute;
      }

      .headerName {
        font-size: 18px;
        font-family: Alibaba-PuHuiTi-B, Alibaba-PuHuiTi;
        font-weight: normal;
        color: #ffffff;
        line-height: 25px;
        text-align: center;
        margin-top: 12px;
        font-weight: 600;
      }

      .headerTimes {
        width: 192px;
        height: 26px;
        background: linear-gradient(90deg, #edfff1 0%, #def9ff 100%);
        border-radius: 13px;
        margin: 12px auto 12px;
        text-align: center;
        line-height: 26px;
        font-weight: 600;
        color: #1b93ff;
        font-size: 13px;
      }
    }
  }

  .programWrap {
    background: linear-gradient(180deg, #adeee1 0%, #c5f5db 100%);

    .programList {
      padding: 15px;
      position: relative;
      border-radius: 28px 28px 0 0;
      border-top: 2px solid #ffffff;
      border-left: 2px solid #ffffff;
      border-right: 2px solid #ffffff;
      border-bottom: 2px solid transparent;

      .programItem {
        position: relative;
        background: #ffffff;
        box-shadow: inset 0px 1px 3px 0px rgba(152, 239, 213, 0.7);
        border-radius: 22px;
        background-clip: padding-box;
        border: 2px solid transparent;
        background-clip: padding-box, border-box;
        background-origin: padding-box, border-box;
        background-image: linear-gradient(270deg, #fff, #fff),
          linear-gradient(180deg,
            rgba(255, 255, 255, 1),
            rgba(201, 227, 255, 1));
        margin-bottom: 20px;

        .programInfo {
          position: relative;
          background-clip: padding-box;
          border: 2px solid transparent;
          background-clip: padding-box, border-box;
          background-origin: padding-box, border-box;
          background-image: linear-gradient(270deg, #f2ffe6, #def9ff),
            linear-gradient(180deg, #bef6e9, #c1e3f7);
          width: 311px;
          // min-height: 151px;
          margin: 15px auto 16px;
          border-radius: 16px;
          z-index: 200;
          padding: 10px 10px 15px;

          .ballIcon {
            position: absolute;
            width: 57px;
            height: 39px;
            top: -9px;
            right: -9px;
            z-index: 100;
          }

          .programInfoTitleWrap {
            position: relative;
            border-radius: 100px 0px 0px 100px;
            width: 247px;
            height: 25px;
            background: linear-gradient(270deg,
                rgba(255, 255, 255, 0),
                rgba(255, 255, 255, 1));
            display: flex;
            flex-direction: row;
            align-items: center;

            .programInfoTitle {
              // height: 25px;
              background: linear-gradient(90deg, #037dff 0%, #6bdaff 80%);
              border-radius: 100px 0px 0px 100px;
              padding-left: 36px;
              line-height: 25px;
              font-weight: 600;
              color: #ffffff;
              position: relative;
              z-index: 80;
              padding-right: 5px;
              font-size: 15px;

              &:after {
                content: '';
                width: 14px;
                height: 25px;
                position: absolute;
                right: -6px;
                top: 0;
                transform: skew(-15deg);
                background: #6bdaff 0%;
                z-index: -1;
              }
            }

            .dieIcon {
              width: 34px;
              height: 31px;
              position: absolute;
              left: -2px;
              top: -3px;
              z-index: 100;
            }

            .dotIcon {
              width: 18px;
              height: 9px;
              margin-left: 12px;
            }
          }

          .itemRow {
            margin-top: 12px;

            .label {
              font-size: 14px;
              font-weight: 600;
              color: #6a7169;
            }

            .content {
              font-size: 14px;
              font-weight: 600;

              color: #131415;

              span {
                color: #13a9ff;
                margin-left: 12px;
                white-space: nowrap;
              }
            }
          }
        }

        .progItemList {
          min-height: 237px;
          width: 311px;
          margin: 0 auto 20px;
          background-clip: padding-box;
          border: 2px solid transparent;
          background-clip: padding-box, border-box;
          background-origin: padding-box, border-box;
          background-image: linear-gradient(270deg, #dcf3ff, #effae5),
            linear-gradient(180deg, #bef6e9, #c1e3f7);
          border-radius: 10px;
          overflow: hidden;

          .videoWErap {
            position: relative;
            width: 308px;
            height: 175px;

            .palyBtn {
              width: 46px !important;
              height: 46px !important;
              position: absolute;
              left: 50%;
              margin-left: -23px;
              top: 50%;
              margin-top: -23px;
              z-index: 200;
            }
          }

          .videoSmallWErap {
            position: relative;

            .playBtn {
              width: 18px !important;
              height: 18px !important;
              position: absolute;
              left: 50%;
              margin-left: -9px;
              top: 50%;
              margin-top: -9px;
              z-index: 9999;

              img {
                width: 18px !important;
                height: 18px !important;
              }
            }
          }

          :global {
            .swiper-pagination-bullet-active {
              width: 10px !important;
              height: 4px;
              border-radius: 2px;
            }

            .swiper-pagination-bullet {
              width: 4px;
              height: 4px;
              border-radius: 2px;
            }

            .slide {
              border-radius: 10px 10px 0 0;
              overflow: hidden;
            }

            .topSwiper {
              width: 308px;
              height: 175px;

              .van-image {
                border-radius: 10px 10px 0 0;
                width: 100%;
                height: 100%;
                overflow: hidden;
              }

              video {
                border-radius: 10px 10px 0 0;
                overflow: hidden;
                width: 100%;
                height: 100%;
                object-fit: cover;
                position: absolute;
                z-index: -1;
              }
            }

            .thumbs-swiper {
              .slide {
                width: 74px;
                height: 44px;

                img {
                  display: block;
                  width: 66px;
                  height: 42px;
                  object-fit: cover !important;
                }

                video {
                  // width: 66px;
                  // height: 42px;
                  width: 100%;
                  height: 44px;
                  object-fit: cover !important;
                }
              }
            }

            .thumbs-swiper {
              box-sizing: border-box;

              margin-top: 8px;
              margin-left: 8px;
              margin-bottom: 8px;

              .slide {
                width: 74px;
                height: 46px;
                border-radius: 4px;
                overflow: hidden;
                background-clip: padding-box;
                border: 3px solid transparent;
                background-clip: padding-box, border-box;
                background-origin: padding-box, border-box;
                background-image: linear-gradient(225deg, #fff, #fff),
                  linear-gradient(225deg,
                    rgba(0, 98, 255, 1),
                    rgba(46, 216, 255, 1));

                &:not(.swiper-slide-thumb-active) {
                  background-image: linear-gradient(225deg,
                      transparent,
                      transparent),
                    linear-gradient(225deg, transparent, transparent);
                }
              }
            }
          }

          .thumbsWrap {
            position: relative;

            .thumbsMore {
              z-index: 200;
              position: absolute;
              width: 23px;
              height: 46px;
              background: #ffffff;
              border-radius: 4px 0px 0px 4px;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              font-size: 11px;
              font-weight: 600;
              color: #131415;
              text-align: center;
              top: 0;
              right: 0px;

              .arrayIcon {
                width: 13px;
                height: 13px;
              }
            }
          }
        }

        .colorBg {
          width: 100%;
          position: absolute;
          top: -2px;
          z-index: 99;
        }

        .pTitle {
          position: relative;
          top: -2px;
          font-size: 17px;
          color: #fff;
          line-height: 43px;
          width: 200px;
          height: 43px;
          margin: 0 auto;
          background: url('./images/programTitle.png');
          background-size: 200px 43px;
          z-index: 100;
          // margin: 20px 15px 12px;
          font-weight: 600;
          text-align: center;
        }
      }
    }

    .bottomWrap {
      position: relative;

      .bottomBg {
        width: 100%;
      }

      .logo {
        width: 98px;
        height: 32px;
        position: absolute;
        left: 50%;
        margin-left: -49px;
        top: 0;
      }
    }
  }

  .iconEdit {
    font-size: 24px;
  }
}

.cellGroup {
  // margin-top: 12px;

  .cellTitle {
    padding: 15px 12px;

    .tag {
      font-size: 12px;
      background-color: #f2fffc;
      padding: 3px 6px 2px;
      border-radius: 3px;
      margin-right: 6px;
      flex-shrink: 0;
    }

    .title {
      font-size: 16px;
      font-weight: 600;
      color: #333333;
      line-height: 22px;
      max-width: 240px;
    }
  }

  .cellTimerSkeleton {
    display: flex;
    justify-content: flex-end;
  }

  .cellTimer {
    :global {
      .van-cell__title {
        flex: 0 auto;
      }

      .van-cell__title,
      .van-cell__value {
        color: var(--k-gray-3);
        font-size: 14px;
      }
    }

    .ing {
      color: var(--k-font-primary);
    }
  }
}

.pCellGroup {
  .imgType {
    width: 46px;
    height: 20px;
    margin-right: 5px;
    flex-shrink: 0;
  }

  .title {
    font-size: 16px;
    font-weight: 600;
    color: var(--k-gray-1);
    line-height: 22px;
  }

  .time {
    font-size: 14px;
    color: var(--k-gray-3);
  }

  .moreCell {
    padding-top: 15px;
    padding-bottom: 20px;
  }

  .valueClass {
    .item {
      margin-bottom: 15px;
    }

    text-align: left;
    font-size: 15px;
    color: var(--k-gray-1);

    .label {
      color: var(--k-gray-3);
    }

    .content {
      font-weight: 600;

      span {
        font-size: 14px;
        color: var(--k-font-primary);
        margin-left: 10px;
      }
    }
  }

  // .photoList {
  //   display: flex;
  //   margin-top: 15px;
  // }

  .photo {
    //   position: relative;
    //   width: 76px !important;
    //   height: 76px !important;
    //   margin-top: 0 !important;

    //   & + .photo {
    //     margin-left: 7px;
    //   }

    video {
      width: inherit;
      height: inherit;
      border-radius: 4px;
      overflow: hidden;
    }

    .photoMore {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.5);
      font-size: 14px;
      color: #fff;
      // font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 2px;
      overflow: hidden;
    }
  }
}

.codeContainer {
  .timerBg {
    width: 131px;
    height: 27px;
    line-height: 27px;
    text-align: center;
    background: url('./images/timerBg.png');
    background-size: 131px 27px;
    position: absolute;
    left: 25px;
    top: 83px;
    font-weight: 600;
    color: #ffffff;
    font-size: 12px;
  }

  .codeImg {
    position: relative;
    width: 315px;
    height: 440px;
    z-index: 9;
    // background: url('./images/week/popup-week-banner.png') no-repeat top center;
    // background-size: contain;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;

    .popupWeekBanner {
      width: 100%;
      // position: absolute;
      top: 0;
      left: 0;
      z-index: -1;
    }

    &.teacherCodeImg {
      // background: url('./images/month/popup-week-banner.png') no-repeat top center;
      // background-size: contain;
      background-color: #ffffff;
    }

    .headerContantPopup {
      padding-top: 23px;
      padding-left: 18px;

      .trainTimer {

        &::before,
        &::after {
          display: none;
        }

        .point {
          margin-left: 4px;
          margin-right: 4px;
          width: 6px;
          height: 6px;
        }
      }
    }

    .codeTitle {
      text-align: center;
      padding-top: 13px;
      font-size: 24px;
      font-weight: bold;
      color: #ffffff;
      text-shadow: 1px 1px 7px #f4672a;
      max-width: 90%;
      padding-left: 5%;
    }

    .codeName {
      padding: 36px 8px 0;
      font-size: 18px;
      font-weight: 600;
      color: #ffffff;
    }

    .codeContent {
      position: relative;

      .schoolLogo {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        overflow: hidden;
        border: 3px solid #fff;
        position: absolute;
        top: -26px;
        left: 50%;
        margin-left: -26px;
      }

      .schoolName {
        padding-top: 36px;
        text-align: center;
        font-weight: 600;
        color: #000000;
        line-height: 22px;
        font-size: 16px;
      }

      .shareName {
        padding-top: 4px;
        font-size: 14px;

        font-weight: 600;
        color: #1b93ff;
        line-height: 20px;
        text-align: center;
        padding-bottom: 12px;
      }

      .shareBottom {
        width: 194px;
        height: 38px;
        margin: 16px auto 0;
        display: block;
      }

      .codeQr {
        position: relative;
        margin: 0 auto 0;
        width: 126px;
        height: 126px;
        padding: 12px;
        // background: url('./images/popup-qrcode-bg.png') no-repeat center;
        // background-size: contain;
        border-radius: 11px;
        overflow: hidden;
        box-sizing: border-box;

        img {
          width: 100%;
          height: 100%;
        }

        .popupQrcodeBg {
          position: absolute;
          top: 0;
          left: 0;
          width: 126px;
          height: 126px;
        }
      }
    }

    .codeBtnText {
      margin: 20px auto 0;
      display: inline-block;
      background: linear-gradient(132deg,
          rgba(199, 239, 243, 0.25) 0%,
          rgba(229, 206, 251, 0.25) 40%,
          rgba(147, 194, 254, 0.25) 100%);
      box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.62);
      border-radius: 18px;
      padding: 6px 16px;
      font-size: 14px;
      color: #000977;
    }

    .codeTips {
      padding-top: 10px;
      font-size: 13px;
      font-weight: 600;
      color: #f16437;
      line-height: 18px;
      text-align: center;
    }
  }

  .close {
    position: absolute;
    top: 12px;
    right: 15px;
  }

  .codeBottom {
    position: relative;
    margin-top: 32px;
    background: #ffffff;
    border-radius: 20px 20px 0px 0px;
    padding-bottom: 10px;
  }

  .title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 22px;
    padding: 15px 15px 0;

    i {
      display: inline-block;
      margin-right: 6px;
      width: 4px;
      height: 12px;
      background: #01c1b5;
      border-radius: 2px;
    }
  }

  .shareImg {
    width: 47px;
    height: 47px;
  }

  .shareText {
    padding-top: 6px;
    font-size: 14px;
    color: #333333;
    line-height: 20px;
  }
}