/* 购物车加载 */
.funBoxs .cart .icon-top {
  animation: spin 1s linear infinite;
}

/* 扩大范围 */
.funBoxs .cart.cart_extend::after {
  content: "";
  position: absolute;
  top: 15px;
  left: -40px;
  height: 40px;
  width: 80px;
  background: transparent;
}

/* 转圈动画 */
@keyframes spin {
  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}

/* 购物车展开 */
.collect-tip {
  position: absolute;
  top: 45px;
  right: -130px;
  z-index: 1112;
  margin: 0;
  padding: 10px 0;
  width: 338px;
  border: 1px solid #e5e5e5;
  border-top: none;
  background: #fff;
  text-align: center;
  cursor: default;
  box-shadow: 0 1px 6px rgb(0 0 0 / 11%);
  box-sizing: border-box;
  border-radius: 8px 8px 8px 8px;
}


/* 有数据时 */
.hasGoods {
  width: 610px;
  /* height: 330px !important; */
  padding: 8px 0 0;
  text-align: left;
  box-sizing: content-box;
}

#empay-cart {
  line-height: 354px;
  height: 354px;
  text-align: center;
}

/* 数据内容 */
.hasGoods .goods-content {
  width: 610px;
  /* margin-top: 16px; */
  min-height: 286px;
}

/* 数据标题 */
.hasGoods .goods-content .goods-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  height: 29px;
  background-color: #f5f5f5;
  line-height: 29px;
  margin-left: 5px;
  box-sizing: border-box;
  font-size: 12px;
}

/* 全选框 */
.hasGoods .goods-content .goods-header [type="checkbox"] {
  display: inline-block;
  margin: 0 13px;
}

.hasGoods .goods-content .goods-header span {
  display: inline-block;
  color: #666;
}

/* 产品编码 */
.hasGoods .goods-content .goods-header span.goods_code {
  width: 116px;
}

/* 型号 */
.hasGoods .goods-content .goods-header span.provider {
  width: 120px;
}

/* 单价 */
.hasGoods .goods-content .goods-header span.price {
  width: 106px;
}

/* 数量 */
.hasGoods .goods-content .goods-header span.count {
  width: 82px;
}

/* 小计 */
.hasGoods .goods-content .goods-header span.price_total {
  width: 77px;
}

/* 操作 */
.hasGoods .goods-content .goods-header span.complain {
  margin-right: 0;
}

/* 数据列表 */
.hasGoods .goods-content .goods-list {
  margin-left: 5px;
  display: none;
  box-sizing: border-box;
  overflow-x: hidden;
  height: 256px;
  overflow-y: auto;
}

/* 设置滚动条 */
.hasGoods .goods-content .goods-list::-webkit-scrollbar {
  width: 8px
}

.hasGoods .goods-content .goods-list::-webkit-scrollbar-thumb {
  background-color: var(--undertint);
  border-radius: 6px;
}

.goods-content .goods-list.active {
  display: block;
}

/* 每行数据 */
.hasGoods .goods-content .goods-list .goods-list-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  height: 40px;
  line-height: 40px;
  width: 100%;
  border-bottom: 1px solid #e4e4e6;
  position: relative;
  font-size: 12px;
}

/* 每行中的选框 */
.hasGoods .goods-content .goods-list .goods-list-item [type="checkbox"] {
  display: inline-block;
  margin: 0 13px;
}

/* 数据行内的span */
.hasGoods .goods-content .goods-list .goods-list-item span {
  display: inline-block;
  color: #666;
  overflow: hidden;
}

/* 产品编码 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_goods_code {
  width: 96px;
  max-width: 96px;
  margin-right: 20px;
  font-weight: 700;
}

/* 型号 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_provider {
  width: 100px;
  max-width: 100px;
  margin-right: 20px;
  position: relative;
  font-weight: normal;
  font-size: 12px;
}

/* 单价 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_price {
  width: 86px;
  max-width: 86px;
  margin-right: 20px;
  font-weight: 700;
}

/* 数量 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_count {
  width: 62px;
  max-width: 62px;
  margin-right: 20px;
  font-weight: 700;
}

/* 小计 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_price_total {
  width: 57px;
  max-width: 57px;
  margin-right: 20px;
  font-weight: 700;
  color: var(--warning-color);
}

/* 删除操作 */
.hasGoods .goods-content .goods-list .goods-list-item span.item_delete {
  margin-right: 0;
  cursor: pointer;
}

/* 统计区域 */

.hasGoods .footer {
  width: 610px;
  height: 44px;
  background: #f5f5f5;
  line-height: 44px;
  padding: 0 18px 0 31px;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  border-radius: 0 0 8px 8px;
  font-size: 12px;
}

/* 批量删除 */
.hasGoods .footer>span.del-all {
  color: #666;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  line-height: 40px;
}

/* 删除图标 */
.hasGoods .footer>span.del-all .iconfont {
  font-size: 20px;
}

.hasGoods .footer .count {
  color: var(--warning-color);
  margin-right: 21px;
}

/* 结算按钮 */
.hasGoods .footer .settlement {
  display: inline-block;
  width: 77px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  background: var(--warning-color);
  color: #fff;
  border-radius: 2px;
  cursor: pointer;
}