refactor: 拆分小程序 vue 结构
This commit is contained in:
63
src/components/cart-drawer/styles/footer.scss
Normal file
63
src/components/cart-drawer/styles/footer.scss
Normal file
@@ -0,0 +1,63 @@
|
||||
@import '../../../styles/variables';
|
||||
|
||||
.cart-drawer__footer {
|
||||
flex-shrink: 0;
|
||||
padding: 12px 20px 28px;
|
||||
border-top: 0.5px solid rgba(0, 0, 0, 0.06);
|
||||
background: $card;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.cart-drawer__footer-left {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.cart-drawer__footer-summary {
|
||||
font-size: 12px;
|
||||
color: $text-3;
|
||||
}
|
||||
|
||||
.cart-drawer__footer-num {
|
||||
color: $primary;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cart-drawer__footer-total {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 2px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.cart-drawer__footer-unit {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: $primary-dark;
|
||||
}
|
||||
|
||||
.cart-drawer__footer-value {
|
||||
font-size: 28px;
|
||||
font-weight: 800;
|
||||
color: $primary-dark;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.cart-drawer__footer-btn {
|
||||
height: 50px;
|
||||
min-width: 130px;
|
||||
padding: 0 32px;
|
||||
border-radius: 25px;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
background: linear-gradient(135deg, $primary 0%, $primary-dark 100%);
|
||||
box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
Reference in New Issue
Block a user