164 lines
3.3 KiB
Plaintext
164 lines
3.3 KiB
Plaintext
|
|
.cart-page.data-v-8039fbf1 {
|
|
min-height: 100vh;
|
|
background: #f5f5f5;
|
|
padding-bottom: calc(120rpx + env(safe-area-inset-bottom));
|
|
}
|
|
|
|
/* 导航栏 */
|
|
.navbar.data-v-8039fbf1 {
|
|
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
|
|
background: linear-gradient(to right, #FFCFDE, #FFA6C4);
|
|
}
|
|
.navbar__content.data-v-8039fbf1 {
|
|
display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.navbar__title.data-v-8039fbf1 {
|
|
font-size: 34rpx; font-weight: 600; color: #333;
|
|
}
|
|
|
|
/* 购物车列表 */
|
|
.cart-list.data-v-8039fbf1 {
|
|
padding: 16rpx 20rpx;
|
|
}
|
|
.cart-item.data-v-8039fbf1 {
|
|
display: flex;
|
|
align-items: center;
|
|
background: #fff;
|
|
border-radius: 16rpx;
|
|
padding: 28rpx 20rpx;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
.cart-item__check.data-v-8039fbf1 {
|
|
margin-right: 16rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
.check-icon.data-v-8039fbf1 {
|
|
width: 44rpx;
|
|
height: 44rpx;
|
|
}
|
|
.cart-item__body.data-v-8039fbf1 {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.cart-item__top.data-v-8039fbf1 {
|
|
display: flex;
|
|
}
|
|
.cart-item__img.data-v-8039fbf1 {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
border-radius: 16rpx;
|
|
margin-right: 24rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
.cart-item__info.data-v-8039fbf1 {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.cart-item__name.data-v-8039fbf1 {
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
font-weight: 700;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
margin-bottom: 14rpx;
|
|
}
|
|
.cart-item__specs.data-v-8039fbf1 {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 6rpx 20rpx;
|
|
}
|
|
.spec-tag.data-v-8039fbf1 {
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
line-height: 1.7;
|
|
}
|
|
.cart-item__bottom.data-v-8039fbf1 {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 16rpx;
|
|
}
|
|
.cart-item__price.data-v-8039fbf1 {
|
|
font-size: 34rpx;
|
|
color: #e91e63;
|
|
font-weight: bold;
|
|
}
|
|
.cart-item__delete.data-v-8039fbf1 {
|
|
font-size: 24rpx;
|
|
color: #bbb;
|
|
padding: 8rpx 0;
|
|
}
|
|
|
|
/* 空状态 */
|
|
.empty-cart.data-v-8039fbf1 {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-top: 280rpx;
|
|
}
|
|
.empty-cart__icon.data-v-8039fbf1 {
|
|
width: 360rpx;
|
|
height: 360rpx;
|
|
margin-bottom: 32rpx;
|
|
}
|
|
.empty-cart__text.data-v-8039fbf1 {
|
|
font-size: 30rpx;
|
|
color: #bbb;
|
|
}
|
|
|
|
/* 底部结算栏 */
|
|
.settle-bar.data-v-8039fbf1 {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16rpx 24rpx;
|
|
box-shadow: 0 -2rpx 16rpx rgba(0, 0, 0, 0.06);
|
|
}
|
|
.settle-bar__left.data-v-8039fbf1 {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.settle-bar__all-text.data-v-8039fbf1 {
|
|
font-size: 26rpx;
|
|
color: #333;
|
|
margin-left: 10rpx;
|
|
}
|
|
.settle-bar__right.data-v-8039fbf1 {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.settle-bar__total.data-v-8039fbf1 {
|
|
margin-right: 20rpx;
|
|
display: flex;
|
|
align-items: baseline;
|
|
}
|
|
.settle-bar__total-label.data-v-8039fbf1 {
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
}
|
|
.settle-bar__price.data-v-8039fbf1 {
|
|
color: #e91e63;
|
|
font-weight: bold;
|
|
font-size: 38rpx;
|
|
}
|
|
.settle-bar__btn.data-v-8039fbf1 {
|
|
background: linear-gradient(to right, #FFB6C8, #FF6D9B);
|
|
color: #fff;
|
|
font-size: 28rpx;
|
|
padding: 18rpx 48rpx;
|
|
border-radius: 44rpx;
|
|
font-weight: 500;
|
|
}
|
|
.settle-bar__btn--disabled.data-v-8039fbf1 {
|
|
background: linear-gradient(to right, #ddd, #ccc);
|
|
}
|