@import '../../common/style/act/mixin/mixin.scss';

.press-act:not(.press-act--hidden-tip) {
  // 组件内不存在此类名
  // .tip-comp-storelist-box {
  //   width: 100%;
  // }

  &.press__store {
    .press__icon--primary,
    .press__icon--secondary {
      display: none;
    }
  }

  &.press__store {
    padding: .32rem;
    border-bottom: 1px solid rgba(246, 246, 246, .5);
    position: relative;
  }

  .press__img {
    display: none;
  }

  .press__detail {
    margin-bottom: .08rem;

    div {
      display: flex;
    }
  }

  .press__icon--addr {
    display: none;
  }

  .press__name {
    flex: 1;
    line-height: .4rem;
    font-size: .28rem;
    color: #1c1c1c;
    margin: 0 0 .08rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
  }

  .press__distance {
    color: #666;
    font-size: .22rem;
    display: inline-block;
    vertical-align: top;
    line-height: .32rem;
  }

  .press__distance--primary::before {
    display: inline-block;
    content: url('https://image-1251917893.file.myqcloud.com/tip-project/lgame/address_pin.png');
    width: .16rem;
    height: .2rem;
  }

  .press__distance--secondary {
    display: none;
  }

  .press__address {
    line-height: .32rem;
    font-size: .22rem;
    color: #a0acb5;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
    width: 100%;
    overflow: hidden;
    display: block;
  }

  .press__icon-state {
    display: none;
    background: #ffbe00;
    width: 1rem;
    height: .32rem;
    line-height: .32rem;
    font-size: .2rem;
    color: #fff;
    text-align: center;
    position: absolute;
    top: .32rem;
    right: .32rem;
    z-index: 10;
    border-radius: 2px;

    &.press__icon--instore {
      background-image: linear-gradient(135deg, #62de95 0, #32cdff 100%);
    }

    &.press__icon--eventbeen {
      background: #cecece;
    }

    &.press__icon--lately {
      background: #ffbe00;
    }
  }
}