Skip to content
accept.scss 4.83 KiB
Newer Older
wangqinghua's avatar
wangqinghua committed
page-accept {
  .main-container {
    height: calc(100% - 8rem);
    background-color: #e6e8ed;
    padding: 1.8rem;
  }

  .bgc {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }

  .learn-item {
    width: 100%;
    padding-bottom: 1rem;
  }

  ion-slides {
    height: calc(100% - 4rem);
  }

  .swiper-slide, .slide-zoom {
    text-align: left;
  }

  .swiper-slide {
    justify-content: normal;
    align-items: normal;
  }

  .learn-title {
    background-color: rgba(18, 28, 52, 0.34);
    font-size: 1.8rem;
    color: #ffffff;
    text-align: center;
    padding: 1rem;
    border-top-left-radius: .8rem;
    border-top-right-radius: .8rem;
  }

  .item-container {
    background-color: #fff;
    border-bottom-left-radius: .8rem;
    border-bottom-right-radius: .8rem;
    overflow-y: scroll;
  }

  .item-title {
    padding: 1rem;
    font-size: 1.5rem;
  }

  .item-content {
    padding: 1rem;
    font-size: 1.6rem;

    div {
      p {
        margin-bottom: 1rem;
        margin-left: 1rem;
        line-height: 1.5rem;
      }
    }
  }

  .footer-subject {
    padding: 0 1rem;
    position: absolute;
    left: 0;
    bottom: 4rem;
    height: 5rem;
    width: 100%;
    background-color: #e6e8ed;
    display: flex;
    font-size: 1.8rem;

    div {
      line-height: 5rem;
    }

    .prev {
      flex: 3;
    }

    .next {
      flex: 3;
      text-align: right;
    }

    .index {
      flex: 3;
      text-align: center;
    }
  }

  .footer-submit {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4rem;
    width: 100%;
    border-top: .1rem solid #34b4fc;
    display: flex;

    div {
      line-height: 4rem;
    }

    .time {
      text-align: center;
      flex: 4;
    }

    .submit {
      background-color: #34b4fc;
      color: #ffffff;
      text-align: center;
      flex: 1;
    }
  }

  .item-ios p {
    margin: 15px 0;
    white-space: normal;
  }

  label {
    position: relative;
    display: inline-block;
    height: 2rem;
    line-height: 2rem;

    input {
      display: none;
    }
  }

  .content-textarea {
    padding: 10px;
    min-height: 100px;
    width: 100%;
    border: 1px solid #ddd;
  }

  .selectIndex {
    display: inline-block;
    vertical-align: middle;
    width: 2rem;
    text-align: center;
    height: 2rem;
    line-height: 1.9rem;
    border: 1px solid #ddd;
    border-radius: 50%;
    margin-right: 5px;
    color: #666;
    font-size: 1.5rem;
    position: relative;
  }

  input:checked + .selectIndex {
    background-color: #ec1826;
    color: #ffffff;
    border: 1px solid #ec1826;
  }

  .submit-error {
    height: 3rem;
    width: 40%;
    background-color: #5579bb;
    color: #fff;
    line-height: 3rem;
  }

  .button-error {
    line-height: 4rem;
    height: 4rem;
    text-align: center;
    margin-top: .5rem;
  }

  .error-text {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .2);
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;

    .error-flex {
      text-align: center;
      width: 80%;
      background-color: #fff;

      .error-title {
        background-color: #5579bb;
        color: #ffffff;
        padding: 1rem 0;
      }

      .error-footer {
        height: 4rem;

        .sure, .cancel {
          color: #ffffff;
          background-color: #5579bb;
          width: 69%;
          margin-right: 10px;
          height: 3rem;
        }
      }
    }
  }
  .stuff-comment {
    margin-top: 1rem;
    padding: 0 1.5rem;
    background-color: #fff;
    .comment-title {
      border-bottom: 1px solid #dddddd;
      font-weight: 500;
      padding-bottom: .8rem;
      margin-bottom: .8rem;
      position: relative;
    }
    .comment-title::after{
      content: '';
      position: absolute;
      top: 7px;
      left: -8px;
      width: 3px;
      height: 15px;
      background-color: #e12724;
    }
    [col-10],[col-2]{
      padding: 0;
    }

    .comment-item {
      .contact-img{
        border-radius: 50%;
        width: 50px;
        height: 50px;
        text-align: center;
        margin-top: 8px;
      }
      .comment-info {
        color: #d88f27;
        font-size: 1.4rem;
        line-height: 1.8rem;
        font-weight: 500;
        margin-bottom: 5px;
      }

      .commnet-content {
        padding: .1rem 0;
        font-size: 1.4rem;
        color: #333333;
        line-height: 1.4rem;
      }
      .comment-time{
        font-size: 1.4rem;
        color: #888888;
        .repear{
          color: #3961b3;
          font-size: 1.2rem;
          cursor: pointer;
          margin-right: 5px;
        }
      }
    }

    .comment-item + .comment-item {
      border-top: 1px solid #eee;
      margin-top: .5rem;
    }
  }
wangqinghua's avatar
wangqinghua committed
  .accept{
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 1.2rem;
    color: #2bab4e;
  }
wangqinghua's avatar
wangqinghua committed
}