cart.wxss 2.82 KB
@import "./template/cart/goods-pool.wxss";
@import "./template/cart/gift-list.wxss";
@import "./template/cart/invalid-list.wxss";

page {
  height: 100%;
  color: #444;
}

.empty-cart .empty-img {
  display: block;
  width: 204rpx;
  height: 200rpx;
  margin: 300rpx auto 0 auto;
}

.empty-cart .empty-desc {
  display: block;
  width: 400rpx;
  margin: 60rpx auto 0 auto;
  color: #444;
  font-size: 26rpx;
  line-height: 1.4;
  text-align: center;
}

.empty-cart .shopping-btn {
  width: 360rpx;
  padding: 30rpx;
  margin: 60rpx auto 0 auto;
  color: #fff;
  font-size: 28rpx;
  text-align: center;
  border-radius: 4rpx;
  background-color: #444;
}

.tips-wrap {
  width: 100%;
  font-size: 24rpx;
}

.tips-wrap .hold-text,
.tips-wrap .fixed-top-tips {
  padding: 16rpx 30rpx;
  line-height: 1.5;
  background-color: #f0f0f0;
  box-sizing: border-box;
}

.tips-wrap .fixed-top-tips {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 10;
}

.tips-wrap .hold-text,
.tips-wrap .price-down-tips,
.tips-wrap .shipping-cost-tips {
  display: inline-block;
  max-width: 70%;
  vertical-align: middle;
}

.tips-wrap .edit-cart-btn {
  height: 60rpx;
  line-height: 60rpx;
  position: absolute;
  top: 50%;
  right: 30rpx;
  margin-top: -30rpx;
  color: #d0021b;
}

.split-line {
  width: 100%;
  height: 20rpx;
  background-color: #eee;
}

.used-promotion {
  padding: 10rpx 30rpx;
  border-bottom: 1rpx solid #f0f0f0;
  font-size: 26rpx;
  line-height: 1.4;
}

.used-promotion .promotion-title {
  font-size: 30rpx;
  line-height: 2;
}

.total-cost {
  padding: 20rpx 30rpx;
  font-size: 26rpx;
}

.footer-wrap {
  height: 130rpx;
  background-color: #eee;
}

.footer-wrap .footer-fixed {
  width: 100%;
  height: 130rpx;
  padding: 20rpx 0;
  background-color: #fff;
  border-top: 1rpx solid #f0f0f0;
  box-sizing: border-box;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
}

.footer-fixed .select-all-btn {
  width: 90rpx;
  font-size: 22rpx;
  text-align: center;
}

.footer-fixed .select-all-btn > text {
  display: block;
}

.footer-fixed .select-all-btn .iconfont {
  font-size: 40rpx;
  line-height: 1.5;
}

.footer-fixed .settlement-block {
  position: absolute;
  top: 20rpx;
  right: 30rpx;
}

.footer-fixed .settlement-block text {
  display: block;
}

.footer-fixed .settlement-block .footer-total-cost {
  padding-right: 174rpx;
  text-align: right;
}

.footer-fixed .footer-total-cost .cost {
  font-size: 34rpx;
  color: #ce0a24;
  margin-top: 6rpx;
}

.footer-fixed .footer-total-cost .no-freight {
  font-size: 22rpx;
  color: #b0b0b0;
  line-height: 1.3;
}

.footer-fixed .settlement-block .footer-option-btn {
  font-size: 30rpx;
  width: 160rpx;
  height: 90rpx;
  line-height: 90rpx;
  color: #fff;
  background-color: #ce0a24;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 10rpx;
}