shop-detail.scss 2.54 KB
@import '@/styles/_support';


.page {}

.bgc {
  background-color: #f7f7f7;
}


.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 {
      background-color: #ffffff;
      width: $itemWid;
      border-radius: 8px;
      margin-bottom: 32px;

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

      .image {
        width: $itemWid;
        height: $itemWid;
        @include border-top-radius(8px);
      }

      .desc {
        border-top: solid 1px #f7f7f7;
        @extend .bb;
        width: 325px;
        padding: 12px 20px;
        font-size: 24px;
        color: #333333;
        @include ellipsis(1);
      }
    }
  }
}


// 店铺信息
.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;
    }
  }


}