shop-detail.scss 2.42 KB
@import './../../styles/support';


.page {}

.top {
  width: $screenWidth;
  // height: 300px;
  background-color: wheat;
  padding: 16px 0 46px;

  background: url("https://huaban.com/go/?pin_id=506749488") center no-repeat;
  @extend .bis;

  .space1 {
    // height: 16px;
  }

  .search {

    margin: 0 auto;
    width: 684px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    background-color: white;
    border-radius: 64px;

    &-ipt {
      flex: 1;
      @extend .bb;
      padding: 0 32px;
      height: 64px;

      input {
        width: 100%;
        height: 100%;
        text-align: center;
      }
    }

    &-icon {
      width: 64px;
      // height: 64px;
      @extend .fcc;
      // @extend .bb;
      // padding: 0 16px;
      padding-right: 16px;


      .iconfont {
        font-size: 40px;
      }
    }
  }
}

.content {}



// 产品推荐
.product {
  margin: 72px auto 0;
  width: $contentWidth;

  &-title {
    text-align: center;
    font-size: 32px;
    color: #c78f8f;
  }

  &-list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    $itemWid: 330px;

    .item {
      width: $itemWid;
      // height: 440px;
      background: #F8F8F8;
      border-radius: 4px;
      margin-bottom: 32px;
      padding-bottom: 12px;

      .image {
        width: $itemWid;
        height: $itemWid;
      }

      .desc {
        @extend .bb;
        width: 325px;
        padding: 4px 20px;
        font-size: 24px;
        // line-height: 32px;
        color: #333333;
        // @include ellipsis(3);
      }
    }
  }
}


// 店铺信息
.shop {

  width: $contentWidth;
  margin: 54px auto 44px;
  display: flex;
  align-items: center;

  &-icon {
    width: 120px;
    height: 120px;
    border-radius: 120px;
    border: solid 1px #333333;
  }

  &-detail {
    color: #fdfdfd;
    flex: 1;
    @extend .bb;
    height: 120px;
    padding: 0 12px 0 24px;
    flex-wrap: wrap;
    display: flex;
    align-content: space-between;
    height: auto;

    div {
      width: 100%;
    }

    &-title {
      font-size: 28px;
    }

    &-desc {
      font-size: 18px;
    }
  }

  &-btn-wrap {
    .shop-btn {
      @include btc(148px, 52px);
      background-color: #cc9999;
      border-radius: 52px;
      color: #ffffff;
      margin: 12px 0;
      font-size: 24px;
    }

    .shop-btn2 {
      background: transparent;
      border: solid 1px #ffffff;
    }
  }


}