view,
scroll-view,
text,
image,
textarea,
button,
input {
  font-family: @font-family;
}
view {
  font-size: @font-sub;
}
.decorater-item {
  color: @color-text;
}
.dec-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: nowrap;
  display: block;
}
.dec-truncate2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: inherit;
}
.dec-row-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  &.a-bottom {
    align-items: flex-end;
  }
  &.j-between {
    justify-content: space-between;
  }
  &.j-right {
    justify-content: flex-end;
  }
  .shrink0 {
    flex-shrink: 0;
  }
  .shrinkimg {
    flex-shrink: 0;
    width: 140rpx;
    height: 140rpx;
    position: relative;
    overflow: hidden;
    image {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      transform: translate(-50%, -50%);
    }
  }
  .shrink1 {
    width: 100%;
  }
}
/* 商品列表中的商品名称默认为两行的设置 */
// .dec-box-good{
//   .good-title.dec-truncate{
//     display: -webkit-box !important;
//     -webkit-line-clamp: 2;
//     white-space: inherit;
//     height: 50 * @rpx;
//   }
//   &.big .good-title{
//     height: auto;
//   }
//   &.small .good-title{
//     height: 46 * @rpx;
//   }
// }
