@import'./colors.scss';
@import'./base.scss';
@import'./mixin.scss';
@import'./iconfont.scss';
.page-content{
    width: 100%;
    height: 100%;
}
.fixed-page-content{
    width: 100%;
    height: 100%;
    padding-bottom: 190px;
    box-sizing: border-box;
    overflow-y: auto;
}
.bottom-button{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    padding:35px 30px;
    background-color: var(--White);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    .btn{
      height: 100%;
      width: 100%;
      color: var(--White);
      background-color: var(--violetColor2);
      font-size: 34px;
      border-radius: 10px;
    }
}
.white-box {
    width: 100%;
    font-size: 28px;
    padding: 0 40px;
    background-color: #ffffff;
    box-sizing: border-box;
    &:not(:last-child){
      margin-bottom: 30px;
    }
    .flex-item{
      align-items: center;
      .tel-box{
        display: flex;
        align-items: center;
        justify-content: flex-end;
        .custom-tel-component{
          margin-left: 20px;
        }
      }
    }
    .cell-item {
      color: var(--Black);
      padding: 30px 0;
      display: flex;
      justify-content: space-between;
      position: relative;
      &::after {
        position: absolute;
        box-sizing: border-box;
        content: ' ';
        pointer-events: none;
        right: 0;
        bottom: 0;
        left: 0;
        border-bottom: 1px solid #ebedf0;
        -webkit-transform: scaleY(0.5);
        transform: scaleY(0.5);
      }
      >.label {
        flex:1;
        width:30%;
        .tips{
          font-size: 22px;
          color:var(--greyColor);
        }
        &.required{
            position: relative;
            &::after{
                content: '*';
                color: var(--Red);
                position: absolute;
                font-size: 30px;
                top: -15px;
                left: -15px;
            }
        }
      }
      >.tit {
        color: var(--Black);
        flex:1;
        width:70%;
        text-align: right;
        .van-radio-group{
            display: flex;
            justify-content: flex-end;
            .van-radio{
                &:not(:first-child){
                    margin-left: 30px;
                }
            }
        }
      }
    }
    .block-cell-item{
      color: var(--Black);
      padding: 30px 0;
      position: relative;
      &::after {
        position: absolute;
        box-sizing: border-box;
        content: " ";
        pointer-events: none;
        right: 16px;
        bottom: 0;
        left: 16px;
        border-bottom: 1px solid #ebedf0;
        -webkit-transform: scaleY(0.5);
        transform: scaleY(0.5);
      }
      .label {
        width: 100%;
        padding-bottom: 30px;
        &.required{
            position: relative;
            &::after{
                content: '*';
                color: var(--Red);
                position: absolute;
                font-size: 30px;
                top: -15px;
                left: -15px;
            }
        }
        .tips{
          font-size: 22px;
          color:var(--greyColor);
        }
      }
      .tit {
        width: 100%;
        color: var(--Black);
        .van-radio-group{
            display: flex;
            justify-content: flex-end;
            .van-radio{
                &:not(:first-child){
                    margin-left: 30px;
                }
            }
        }
      }
    };
    .custom-white-box-content{
      padding-bottom: 30px;
    }
}

.white-fillet-box{
  @extend .white-box;
  border-radius: 20px;
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.1);
}
/*xbs-自定义头衔标签*/
.custom-title-label{
  display: inline-block;
  font-size: 22px;
  color: $text6;
  border:1px solid $text6;
  padding: 5px 10px;
  border-radius: 10px;
}

/*xbs-自定义列表*/
.custom-list-box{
  font-size: 30px;
  color: $text3;
  width: 100%;
  min-height: 100%;
  padding: 30px 0;
  box-sizing: border-box;
  overflow-y: auto;
  .item-head,
    .item-content {
      position: relative;
      padding: 25px 0;
      &::after {
        position: absolute;
        box-sizing: border-box;
        content: " ";
        pointer-events: none;
        right: 16px;
        bottom: 0;
        left: 16px;
        border-bottom: 1px solid #ebedf0;
        -webkit-transform: scaleY(0.5);
        transform: scaleY(0.5);
      }
    }
    .item-foot {
      display: flex;
      justify-content: space-between;
      padding: 30px 0;
      color: $text5;
      i {
        font-size: 28px;
        margin-right: 10px;
      }
      .val{
        font-size: 44px;
        font-weight: bold;
        color: $text7;
      }
      .time{
        display: flex;
        align-items: center;
        text-align: right;
      }
    }
    .item-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: $color4;
      .name{
        font-size: 34px;
        font-weight: bold;
        overflow: hidden;
        text-overflow:ellipsis;
        white-space: nowrap;
      }
    }
    .item-content {
      display: flex;
      .img-box {
        width: 400px;
        height: 160px;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        > img {
          width: 100%;
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          margin: auto;
          display: block;
        }
      }
      .content-box {
        padding-left: 30px;
        box-sizing: border-box;
        line-height: 1.5;
        text-overflow: -o-ellipsis-lastline;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
      }
      .content-list{
        width: 100%;
        .content-item{
          display: flex;
          justify-content: space-between;
          padding: 15px 0;
          .item-label,.item-val{
            width: 50%;
          }
          .item-label{
            color: $text5;
            padding-right: 20px;
            box-sizing: border-box; 
          }
          .item-val{
            text-align: right;
          }
        }
      }
    }
}
