Newer
Older
KaiFengWechat / src / assets / less / global.less
@zhangdeliang zhangdeliang on 24 May 3 KB 初始化项目
.van-pull-refresh {
  padding: 20px;

  .van-loading__text {
    color: #1f89ad;
  }
}

.van-empty {
  padding: 0px !important;
}

.van-ellipsis {
  overflow: inherit;
}

.van-tabs {
  .van-tabs__wrap {
    box-shadow: 0px 10px 30px 0px rgba(18, 18, 18, 0.2);
  }
}

// 超出省略号
.ellipsis {
  width: 100%;
  overflow: hidden; //超出隐藏
  white-space: nowrap; //不折行
  text-overflow: ellipsis; //溢出显示省略号
}

// 列表展示类块
.contPart {
  box-shadow: 0px 5px 21px 0px rgba(18, 69, 101, 0.15);
  padding: 20px;
  background: #fff;
  margin: 20px auto;
  width: 86%;
  border-radius: 10px;
  font-size: 24px;
  color: #565656;

  .title {
    font-size: 30px;
    height: 45px;
    line-height: 45px;
    color: #585858;
    font-weight: 600;
  }

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

    p {
      margin: 20px 20px 10px 0px;
      line-height: 30px;
    }
  }

  .blue {
    color: #14a2b8;
    background: #e5f9ff;
    padding: 5px 12px;
    border-radius: 20px;
  }

  .red {
    color: #ff2626;
    background: #ffe5e5;
    padding: 5px 12px;
    border-radius: 20px;
  }

  .content {
    display: flex;
    flex-wrap: wrap;

    p {
      width: 100%;
      margin: 10px auto;
      line-height: 30px;
    }
  }
}

// 详情
.contentDetail {
  padding: 20px;
  color: #585858;

  .part {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    .title {
      width: 140px;
      font-size: 26px;
      color: #1f89ad;
    }

    .cont {
      flex: 1;
      line-height: 30px;

      .van-image {
        margin-right: 10px;
      }
    }
  }
}

.formDatas {
  margin-top: 80px;

  .van-cell {
    border-bottom: 1px solid #ccc;
  }

  .van-radio-group {
    .van-radio {
      padding-left: 50px;
      font-size: 24px;
    }
  }

  .fileTitle {
    color: var(--van-field-label-color);
    font-size: var(--van-cell-font-size);
    margin-left: 25px;
  }

  .van-uploader {
    margin-left: 20px;
  }
}

.quesBtn {
  position: fixed;
  z-index: 99;
  left: 32px;
  bottom: 30px;
  width: 686px;
  height: 86px;
  text-align: center;
  line-height: 86px;
  color: #fff;
  font-size: 30px;
  background: #1f89ad;
  border-radius: 9px;
}

// 块阴影设置
.partShadow {
  box-shadow: 0px 5px 21px 0px rgba(18, 69, 101, 0.15);
}

.searchPopup {
  background: #f7f8fa !important;

  .searchForm {
    padding-top: 60px;

    .van-radio {
      width: 100%;
      margin-bottom: 20px;
    }
  }
}

.searchForm {
  margin-top: 30px;

  .searchArea {
    margin: 16px;
    display: flex;

    .van-button {
      margin-left: 20px;
    }
  }

  .van-field__label {
    margin: 0px;
  }

  .van-cell-group--inset {
    margin: 0px;
  }


}

.tabsChange {
  width: 100%;

  .topTabs {
    width: 100%;
    height: 100px;
    background: #ffffff;
    box-shadow: 0px 12px 31px 0px rgba(18, 69, 101, 0.1);
    border-radius: 0px 0px 0px 0px;
    opacity: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-end;
    flex-direction: row;
    border-top: 1px solid #eee;


    .tabsList {
      font-weight: 500;
      color: #585858;
      height: 60px;
      font-size: 25px;
      font-family: PingFang SC;
      font-weight: bold;
      color: #9f9f9f;
      margin: 15px 30px;

    }

    .tabsListActive {
      font-size: 30px;
      font-family: Source Han Sans CN-Regular, Source Han Sans CN;
      font-weight: bold;
      color: #000000;
      position: relative;

      &:after {
        content: '';
        display: block;
        position: absolute;
        bottom: 5px;
        left: 49%;
        transform: translate(-50%);
        width: 50px;
        height: 5px;
        background: #121212;
        opacity: 1;
        border-radius: 2px;
      }
    }
  }
}