Goods.sass 3.15 KB
/* components/Goods/Goods.wxss */
/* 商品弹层布局(与 tabWorkOrder Coupon 组件独立维护,勿 @import) */

.coupon-box {
  width: calc(100% + var(--fontSize64));
  height: 100%;
  margin-left: calc(-1 * var(--fontSize32));
}

.coupon {
  height: calc(100% - var(--fontSize104));
}

.box {
  border-bottom: var(--fontSize2) solid #EBEDF0;
  padding-left: 0;
}

.item {
  border-top: var(--fontSize2) solid #EBEDF0;
  height: var(--fontSize84);
  display: flex;
  align-items: center;
  font-size: var(--fontSize28);
  color: #888888;
  position: relative;
  justify-content: space-between;
  padding-right: var(--fontSize32);
  width: calc(100% - var(--fontSize130));
}

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

.item .value {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

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

.item .value .name {
  max-width: 85%;
  min-width: 0;
  flex: 1;
}

.item .value .name.goods-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}

.item .value .name .goods-name-with-icon {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
}

.item .value .name .goods-name-text {
  flex: 0 1 auto;
  min-width: 0;
}

.item .value .name .marketing-icon {
  width: var(--fontSize56);
  height: var(--fontSize28);
  flex-shrink: 0;
  margin-left: var(--fontSize8);
}

.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);
}

.choose .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;
}

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

.itemBox .item {
  flex: 1;
}

.specification {
  background: #F7F7F7;
  border-radius: 16rpx 16rpx 0 0;
  width: calc(100% - var(--fontSize80));
  margin: var(--fontSize9) 0 var(--fontSize32) var(--fontSize52);
}

.picker {
  display: flex;
  flex-direction: row-reverse;
  height: var(--fontSize80);
  line-height: var(--fontSize80);
  text-align: right;
}

.placeholder {
  font-weight: 400;
  font-size: var(--fontSize28);
  color: #B6B6B8;
}

.arrow {
  width: var(--fontSize28);
  height: var(--fontSize26);
  margin-top: var(--fontSize26);
  flex-shrink: 0;
}