style.less 3.7 KB
.deep-seek {
  height: 100%;
  width: 100%;
  padding-bottom: calc(71px + constant(safe-area-inset-bottom));
  padding-bottom: calc(71px + env(safe-area-inset-bottom));

  &_bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
  }

  &_header {
    padding-top: 15px;
    margin-bottom: 4px;
    img {
      width: 345px;
      height: 96px;
      margin: 0  auto;
    }
  }

  &_footer {
    position: fixed;
    bottom: calc(10px + constant(safe-area-inset-bottom));
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    background: #FFFFFF;
    border-radius: 15px;
    padding: 11px 12px 11px 20px;
    &-search {
      width: 250px;
      height: 32px;
      line-height: 32px;
      border: none;
      padding: 0;
      font-size: 16px;
    }
    &-send {
      width: 54px;
      min-width: 54px;
      background: #F53F3F !important;
      border-radius: 5px;
      height: 32px;
      line-height: 32px;
      font-size: 14px;
      color: #FFFFFF;
      text-align: center;
      padding: 0;
      &.disabled {
        opacity: 0.5;
      }
    }
  }

  &_content {
    overflow-y: auto;
    height: 100%;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.3s;

    position: relative;
    z-index: 2;

    /* Webkit 浏览器(Chrome, Safari, Edge) */
    ::-webkit-scrollbar {
      width: 5px; /* 或者 height: 12px; 对于水平滚动条 */
    }

    ::-webkit-scrollbar-thumb {
      background-color: #eee; /* 滚动条的颜色 */
      border-radius: 6px; /* 滚动条的圆角 */
    }


    ::-webkit-scrollbar-track {
      background-color: #eee; /* 滚动条轨道的颜色 */
      border-radius: 6px; /* 轨道的圆角 */
    }

  }
}

.content-center {
  .current-time {
    height: 48px;
    line-height: 48px;
    font-size: 12px;
    color: #999999;
    text-align: center;
  }
  .current-example {
    margin: 0 10px 4px;
    background: #FFFFFF;
    box-shadow: 0 4px 0 0 rgba(217,217,217,0.50);
    border-radius: 15px;
    overflow: hidden;
    &_head {
      height: 50px;
      width: 100%;
      background: url("./head_base.png") center center no-repeat;
      background-size: cover;
      padding-left: 109px;
      padding-top: 17px;
      display: flex;
      justify-content: space-between;
      padding-right: 15px;

      &-name {
        font-size: 16px;
        color: #1C1C1C;
        line-height: 24px;
        height: 24px;
        font-weight: 500;
      }
      .refresh {
        width: 20px;
        height: 20px;
        margin-top: 2px;
      }
    }
    &_title {
      width: 327px;
      margin: 0 12px 12px;
      background: #F5F9FE;
      border-radius: 3px;
      font-size: 15px;
      color: #00A1FF;
      line-height: 48px;
      height: 48px;
      text-align: center;
      padding: 0 10px;
      cursor: pointer;
    }
  }
}

.content-right {
  padding-right: 10px;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
  .current-ask {
    display: inline-block;
    background: #F8E4DD;
    padding: 12px 16px;
    line-height: 22px;
    width: auto;
    max-width: 320px;
    border-radius: 15px;
    font-size: 16px;
    color: #1C1C1C;
  }
}
.content-left {
  display: flex;
  padding-left: 10px;
  .current-think {
    display: inline-block;
    background: #fff;
    padding: 12px 16px;
    line-height: 22px;
    width: auto;
    max-width: 320px;
    border-radius: 15px;
    font-size: 16px;
    color: #aaa;

  }
  .mark-down {
    p {
      overflow-wrap:break-word;
      word-break: break-all;
    }
  }
}