refactor: 拆分小程序 vue 结构
This commit is contained in:
48
src/pages/menu/styles/cart.scss
Normal file
48
src/pages/menu/styles/cart.scss
Normal file
@@ -0,0 +1,48 @@
|
||||
@import '../../../styles/variables';
|
||||
|
||||
.menu-page__cart-bar {
|
||||
position: fixed;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
bottom: calc(16px + env(safe-area-inset-bottom));
|
||||
gap: 16px;
|
||||
padding: 14px 16px;
|
||||
border-radius: 22px;
|
||||
background: rgba(15, 23, 42, 0.96);
|
||||
box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
.menu-page__cart-main {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.menu-page__cart-label {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
color: rgba(255, 255, 255, 0.68);
|
||||
}
|
||||
|
||||
.menu-page__cart-price {
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.menu-page__cart-btn {
|
||||
height: 40px;
|
||||
padding: 0 24px;
|
||||
border-radius: 20px;
|
||||
background: linear-gradient(135deg, $primary 0%, $primary-dark 100%);
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
Reference in New Issue
Block a user