Skip to content
business-unit.scss 2.35 KiB
Newer Older
wangqinghua's avatar
wangqinghua committed
page-business-unit {
  .search-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 95%;
    margin-left: 5px;
    ion-input {
      border-bottom: 1px solid #ffffff;
      background-color: #fff;
      border-radius: 5px;
      height: 30px;
      padding-left: 10px;
    }
  }
  ion-navbar{
    height: 44px;
  }

  .text-input::-webkit-input-placeholder {
    color: #ffffff;
  }

  .clear {
    border-radius: 15px;
    text-align: center;
    margin-left: 10px;
    color: #ffffff;
    font-size: 1.8rem;
  }
  .filter-new{
    height: 3rem;
    line-height: 2.2rem;
  }
  .segment-ios .segment-button{
    border-color: #e12724;
    color: #e12724;
    height: 2.2rem;
    line-height: 2rem;
  }
  .segment-ios .segment-button.segment-activated{
    background-color: #e12724;
  }

  .header-ios .toolbar-ios:last-child .toolbar-background-ios{
    border: none;
  }

  //新闻区
  .search-content {
    padding: 0 1rem 5rem 1rem;

    .search-item {
      padding: .2rem 0;

      .item-info {
        margin: .8rem 0;
        color: #989898;

        .item-source {
          color: #d88f27;
          font-weight: 500;
          margin-right: 1rem;
        }
      }

      .news-left {
        display: flex;
        flex-flow: row wrap;
        min-height: 100%;
        padding: 5px;

        .news-title {
          align-self: flex-start;
          font-weight: bold;
          width: 100%;
          //margin-bottom: 1rem;
          color: #333333;
          font-size: 1.6rem;
          font-family: SourceHanSans-Bold;
          position: relative;

          .icon-fire {
            position: absolute;
            top: 3px;
            left: -14px;
            font-size: 1.5rem;
            color: #e42417;
          }
        }

        .news-end {
          align-self: flex-end;
          color: #989898;
          font-size: 1.5rem;
          margin-top: .5rem;
          ion-icon{
            font-size: 1.2rem;
          }
          span {
            margin-right: .8rem;
            font-size: 1rem;
          }
        }
      }

      .news-right {
        padding: 5px;
        text-align: center;
        max-height: 60px;

        img {
          border-radius: .5rem;
        }
      }
    }

    .search-item + .search-item {
      border-top: 1px solid #eeeeee;
    }
  }
}