index.scss 4.07 KB
/* components/selfSku/index.wxss */
.sku {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  z-index: 9;
}

.sku-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
}

.sku-box {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 76%;
  background: #FFFFFF;
  border-radius: 16rpx 16rpx 0 0;
  left: 0;
  z-index: 2;
}

.sku-box.isFullSucreen {
  padding-bottom: constant(safe-area-inset-bottom) !important;
  padding-bottom: env(safe-area-inset-bottom) !important;
}

.sku-content {
  box-sizing: border-box;
  height: calc(100% - 100rpx);
}

.sku-content .view {
  padding: 0 40rpx;
}

.sku-content .goods-box {
  display: flex;
  align-items: center;
  position: sticky;
  background-color: #fff;
  z-index: 2;
  top: 0;
  padding-bottom: 18rpx;
}

.sku-content .goods-box .preview {
  width: 180rpx;
  height: 180rpx;
  border-radius: 4rpx;
  margin-right: 40rpx;
  overflow: hidden;
  margin-top: 40rpx;
}

.sku-content .goods-box .goods-info {
  width: calc(100% - 220rpx);
}

.sku-content .goods-box .price {
  color: #FC5B32;
  font-size: 64rpx;
  margin-bottom: 10rpx;
  font-weight: 600;
}

.sku-content .goods-box .price text {
  font-size: 40rpx;
  margin-left: 4rpx;
}

.sku-content .goods-box .count {
  color: #858A94;
  font-size: 20rpx;
  margin-bottom: var(--borderRadius);
}

.sku-content .goods-box .active {
  font-size: 20rpx;
  color: #3F444D;
}

.sku-box .sku-list {
  padding-bottom: 40rpx;
}

.sku-box .sku-title {
  color: #0A0D14;
  font-weight: 500;
  padding-top: 32rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
}



.sku-title .value {
  color: #0A0D14;
  font-weight: normal;
}

.sku-box .sku-item {
  display: flex;
  flex-wrap: wrap;
}

.sku-box .sku-item .item {
  height: 52rpx;
  background: #F7F8FA;
  padding: 0 20rpx;
  margin: 20rpx 20rpx 0 0;
  font-size: 24rpx;
  color: #3F444D;
  box-sizing: border-box;
  border-radius: 12rpx;
  display: flex;
  align-items: center;
}

.sku-box .sku-item .item.active {
  border: 2rpx solid #FC5B32;
  color: #FC5B32;
  background-color: #fc5b320f;;
}

.sku-btn-box {
  height: 100rpx;
  padding: 10rpx var(--margin);
}

.sku-btn {
  border-radius: var(--borderRadius);
  display: flex;
  overflow: hidden;
}

.sku-btn .join,
.sku-btn .pay {
  flex: 1;
  height: 80rpx;
  color: #fff;
}

.sku-btn .join {
  background-color: #FDC23E;
}

.sku-btn .pay {
  background-color: var(--btnColor);
}
.disabled{
  background-color: #B1B1B3 !important;
  /* border-color: #B1B1B3 !important; */
  color: #000000!important;
}

.flex_cc {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex_scb {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.textarea-box {
  margin-top: 48rpx;

  .title {
      font-weight: 400;
      font-size: 28rpx;
      color: #4C4D4F;
      margin-bottom: 20rpx;
  }

  .pannel {
      width: 100%;
      box-sizing: border-box;
      padding: 16rpx 20rpx;
      height: 128rpx;
      background: #F5F6FA;
      border-radius: 16rpx;

      .textarea-placeholder {
          font-weight: 400;
          font-size: 24rpx;
          color: #9E9EA8;
      }

      .textArea {
          height: 100%;
      }
  }
}

.adress-box {
  margin-top: 52rpx;

  .title {
      font-weight: 400;
      font-size: 28rpx;
      color: #1B233D;
  }

  .content {
      font-weight: 400;
      font-size: 24rpx;
      color: #333435;
      width: 490rpx;
      text-align: right;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      margin-right: 8rpx;
  }

  .emptyText {
      color: #858A94;
  }

  .pos {
      width: 36rpx;
      height: 36rpx;
  }
}

.btn-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  padding: 8rpx 40rpx 68rpx;
  background: white;
  .btn {
      width: 100%;
      height: 80rpx;
      background: #FB8A32;
      border-radius: 20rpx;
      font-weight: 500;
      font-size: 30rpx;
      color: #FFFFFF;

  }
  .diable_btn{
      background: #999999;
      color: #FFFFFF;
      border: none;
      box-shadow: none;
  }
}