.page-section {
  width: 100%;

  swiper {
    width: 100%;
    height: 562rpx;
    overflow: hidden;
  }

  .swiper-item {
    height: 100%;
  }

  .swiper-item image {
    display: block;
    width: 100%;
    height: 100%;
    background: pink;
  }
}

.main-information {
  display: flex;
  flex-direction: column;
  width: 658rpx;
  padding: 32rpx 0 0 0;
  margin: 0 auto;

  .tag-list {
    display: flex;
    flex-flow: row wrap;
    align-items: center;

    text {
      min-width: 64rpx;
      height: 34rpx;
      border-radius: 10rpx;
      background: rgba(76, 173, 115, 0.2);
      line-height: 34rpx;
      font-size: 20rpx;
      color: rgba(76, 173, 115, 1);
      text-align: center;
    }
  }

  .name {
    margin-top: 30rpx;
    font-size: 48rpx;
    color: rgba(51, 51, 51, 1)
  }

  .unit-price {
    display: flex;
    align-items: center;
    margin-top: 30rpx;
  }

  .price {
    font-size: 36rpx;
    line-height: 42rpx;
    color: rgba(255, 76, 44, 1);
  }

  .unit {
    margin-left: 28rpx;
    font-size: 28rpx;
    color: rgba(153, 153, 153, 1);
  }
}

.business-info {
  display: flex;
  flex-direction: column;
  padding: 44rpx 0 276rpx 46rpx;

  .introduce {
    width: 636rpx;
    line-height: 40rpx;
    font-size: 26rpx;
    color: rgba(153, 153, 153, 1);
    word-break: break-all;
    word-wrap: break-word;
  }

  .subtitle {
    margin-top: 36rpx;
    font-size: 28rpx;
    line-height: 36rpx;
    color: rgba(51, 51, 51, 1);
  }

  .date {
    margin-top: 26rpx;
    font-size: 28rpx;
    line-height: 36rpx;
    color: rgba(153, 153, 153, 1);
  }
}

.goods-scroll {
  width: 100%;
  height: 136px;
  white-space: nowrap;
  font-size: 0;
  margin-top: 22px;

  .item {
    display: inline-block;
    padding-left: 20rpx;

    &:nth-of-type(1) {
      padding-left: 0;
    }

    & > view {
      display: flex;
      align-items: center;
      width: 412rpx;
      border-radius: 20rpx;
      background: rgba(255, 255, 255, 1);
      box-shadow: 0rpx 6rpx 10rpx 4rpx rgba(0, 0, 0, 0.07);
      overflow: hidden;
    }
  }

  .photo {
    width: 168rpx;
    height: 126rpx;

    image {
      display: block;
      width: 100%;
      height: 100%;
      overflow: hidden;
      background: pink;
    }
  }

  .info {
    display: flex;
    flex-direction: column;
    width: calc(100% - 168rpx);
    padding-left: 18rpx;
  }

  .name {
    width: 100%;
    font-size: 26rpx;
    font-weight: 700;
    line-height: 36rpx;
    color: rgba(51, 51, 51, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .unit-price {
    display: flex;
    align-items: center;
    margin-top: 2rpx;
  }

  .price {
    font-size: 22rpx;
    line-height: 42rpx;
    font-weight: 700;
    color: rgba(255, 76, 44, 1);
  }

  .unit {
    margin-left: 10rpx;
    font-size: 16rpx;
    line-height: 26rpx;
    color: rgba(153, 153, 153, 1);
  }
}

.fixed-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 46rpx;
  z-index: 99;

  &:after {
    display: block;
    content: '';
    width: 100%;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
  }

  & > view {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 30rpx;
  }

  button {
    width: 328rpx;
    height: 98rpx;
    border-radius: 88rpx;
    box-shadow: 0 6rpx 10rpx 4rpx rgba(0, 0, 0, 0.07);
    font-size: 32rpx;
    font-weight: 500;

    &:nth-of-type(2) {
      margin-left: 17rpx;
    }
  }

  button[type='primary'] {
    background-color: rgba(145, 179, 121, 1);
  }
}
