cart.wxss 3.6 KB
/* pages/cart/cart.wxss */
page{
  background: #FFF;
  display: flex;
  flex-flow: column;
  height: 100%;
}
.cart_box{
    flex: 1;
    display: flex;
    flex-flow: column;
}
.top_label {
    height: 85rpx;
    display: flex;
    background-color: #FFF;
    font-size: 34rpx;
    color: #26363A;
    align-items: center;
    font-weight: bold;
    width: 100%;
    justify-content: center;
    position: relative;
}
.del_btn{
    font-size: 28rpx;
    color: #222222;
    position: absolute;
    top: 50%;
    right: 26rpx;
    transform: translateY(-50%);
}
.tips{
   height: 50rpx;
   display: flex;
   align-items: center;
   justify-content:  space-between;
   background-color: #FFDA44;
   color: #333;
   font-size: 24rpx;
   padding: 0 40rpx;
}
.left,.right,icon{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
}
.note{
    height: 32rpx;
    border-radius: 16rpx;
    font-size: 24rpx;
    background-color: #fff;
    padding: 0 12rpx;
    width: 80rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30rpx;
}
.product_list{
    padding: 0 25rpx;
    flex: 1;
    overflow-y: scroll;
}
.singlepart{
    border-top: 22rpx solid #FAFAFA;
}
.single_part_top{
    height: 90rpx;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24rpx;
    color: #888;
    border-bottom: 1rpx solid #EDEDED;
}
.single_part_right,.single_part_left{
    display: flex;
}
.single_part_left{
    color: #222222;
    font-size: 30rpx;
    font-weight: 800;
}
.single_part_left .iconfont{
    color: #EDEDED;
    font-size: 40rpx;
    margin-right: 24rpx;
}
.single_part_left .iconfont.active,.icon-weixuanzhong.active{
        color:#FFDA44
}
.single_part_item{
    display: flex;
    margin: 30rpx 0 60rpx;
    height: 140rpx;
    align-items: center;
}
 .iconfont{
    font-size: 40rpx;
    color: #EDEDED;
}
.single_part_imgbox{
    width: 140rpx;
    height: 140rpx;
    overflow: hidden;
    margin-left: 20rpx;
    margin-right: 40rpx;
}

.single_part_imgbox image{
    width: 100%;
}
.single_part_detail{
    flex:1;
    height: 100%;
    display: flex;
    flex-flow: column;
}
.product_action{
    font-size: 28rpx;
    color: #333;
    line-height: 1;
    margin-top: auto;
}
.product_title{
    color: #333;
    font-size: 28rpx;
    margin-bottom: 10rpx;
}
.product_type {
    color: #888;
    font-size: 24rpx;
}
.product_action{
    display: flex;
    justify-content: space-between;
}
.price{
    font-size: 24rpx;
    color: #FF4444;
}
.detail_price{
    font-size: 34rpx;
    font-weight: bold;
}
.action_box{
    display: flex;
    align-items: center;
    font-size: 30rpx;
}
.action_btn {
    display: flex;
    height: 38rpx;
    width: 38rpx;
    border-radius: 50%;
    border: 1rpx solid #94999A;
    align-items: center;
    justify-content: center;
    font-size: 30rpx;
}
.detail_num{
    padding: 0 16rpx;
}
.bottom_ac{
    height: 100rpx;
    display: flex;
    padding-left:25rpx;
    background: #FFF;
    align-items: center;
    border-top: 1px solid #EFEFEF;
}
.choose{
    display: flex;
    font-size: 26rpx;
    color: #888;
}
.choose .iconfont {
    margin-right: 24rpx; 
}
.count{
    font-size: 26rpx;
    margin-left: 45rpx;
}
.count_top{
    display: flex;
    align-items: center;
}
.fee{
    color: #888;
    font-size: 24rpx;
}
.count_btn{
    width: 236rpx;
    height: 100rpx;
    background:linear-gradient(135deg, rgba(249, 145, 21, 1), rgba(245, 104, 0, 1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 26rpx;
    justify-self: flex-end;
    margin-left: auto;
    -webkit-margin-start: auto;
}