cart.wxss 1.73 KB
/* pack-cookbook/components/cart/cart.wxss */
@import "/app.wxss";
.cart{
  background-color: #fefefe;
  border-radius: 10rpx 10rpx 0 0;
  width: 100%;
}
.cart image{width: 100%; height: 100%;}
.cart-title{
  line-height: 60rpx;
  height: 60rpx;
  background-color: #F5F5F5;
  color:#999999;
  font-size: 24rpx;
  border-radius: 10rpx 10rpx 0 0;
}
.cart-title .icon{
  width: 26rpx;
  height: 26rpx;
  margin-right: 20rpx;
}
.cart-title .text{
  margin-right: 5%;
}
.cart-body{
  max-height: 620rpx;
  overflow-y: auto;
  padding: 0 5%;
}
.cart-item{
  height: 100rpx;
  line-height: 100rpx;
  font-size: 30rpx;
}
.cart-item .name{
  width: 60%;
  overflow: hidden;
  white-space:nowrap;
}
.cart-item .name .name{
  width: auto;
  max-width: 80%;
}
.cart-item .price{
  width: 32%;
  white-space:nowrap;
  margin: 0 4%;
}
.cart-item .opt{
  font-size: 36rpx;
  font-weight: bold;
  min-width: 160rpx;
  width: 160rpx;
}


.jian,.add{
  width: 60rpx;
  height: 60rpx;
  position: relative;
}
.jian::after{
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 60%;
  height: 6rpx;
  background-color: #999;
  border-radius: 10rpx;
}
.cart-item .jian,.hasListModel .add{
  width:36rpx;
  height: 36rpx;
  border-radius: 50%;
}
.cart-item .jian{
  border: 2rpx solid #262628;

}
.cart-item .jian:after{
  width: 75%;
  height: 4rpx;
  background-color: #262628;
}
.cart-item .add{
  background-color: #fefefe;
  background-image: url("http://nosqn.colorcun.com/custom/lite-yd-cook/image/add.png");
  background-size: 100%;
  width: 40rpx;
  height: 40rpx;
}
.practice_name{
  border: 2rpx solid #C8B16D;
  font-size: 24rpx;
  height: 30rpx;
  line-height: 30rpx;
  color:#C8B16D;
  padding: 0 6rpx;
  margin-left: 18rpx;
}