Goods.sass 1.97 KB
/* components/Goods/Goods.wxss */
@import '../Coupon/Coupon.wxss';

.item {
  justify-content: space-between;
  padding-right: var(--fontSize32);
}

.title .tips {
  font-size: var(--fontSize24);
  color: #999999;
}

.item .value {
  /* width: calc(100% - var(--fontSize180)); */
  width: 100%;
  display: flex;
  /* flex-direction: ; */
  justify-content: space-between;
}

.item .labelWidth {
  width: calc(100% - var(--fontSize180));
  /* display: flex; */
}

.item .value .name {
  max-width: 85%;
}

.item .value .name .warning_text {
  color: #F24724;
  margin-left: var(--fontSize10);
  font-size: var(--fontSize22);
}

.item .value .textWidth {
  max-width: 100%;
}

.item .value .last {
  max-width: 15%;
}

.item .value .price {
  color: #347BFF;
}

.item .control {
  display: flex;
  align-items: center;
}

.item .control .minus,
.item .control .add {
  width: var(--fontSize44);
  height: var(--fontSize44);
  color: #347BFF;
  background: #F7F7F7;
  border-radius: var(--fontSize6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fontSize32);
  font-weight: 700;
}

.item .control .input {
  width: var(--fontSize72);
  height: var(--fontSize40);
  text-align: center;
  font-size: var(--fontSize28);
  color: #333333;
  margin: 0 var(--fontSize5);
}

.disableSelect {
  opacity: 0.4;
}

.choose {
  width: var(--fontSize32);
  height: var(--fontSize32);
  margin: 0 var(--fontSize32);

  //    position: absolute;
  // top: 50%;
  // left: calc(-1 * var(--fontSize52));
  // transform: translateY(-50%);
  .arc {
    width: 100%;
    height: 100%;
    border: var(--fontSize2) solid #979797;
    border-radius: 100%;
    box-sizing: border-box;
  }
}


.nothing {
  padding: var(--fontSize100);
  text-align: center;
  color: #999;
}

.box {
  padding-left: 0;
}

.itemBox {
  display: flex;
  align-items: center;

  .item {
    flex: 1;
  }
}