You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cls/ui/src/app/home/column-buy/column-buy.page.scss

177 lines
2.8 KiB
SCSS

:host {
ion-content {
--background: #f5f5f5;
}
}
.column-info {
background: white;
padding: 16px;
display: flex;
align-items: center;
margin-bottom: 12px;
.icon-circle {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 12px;
background: #F5F5F5;
img {
width: 32px;
height: 32px;
object-fit: contain;
}
}
.column-text {
h2 {
margin: 0;
font-weight: bold;
font-size: 18px;
color: #1D1E22;
letter-spacing: 0;
font-weight: 500;
}
p {
margin: 4px 0 0;
font-size: 12px;
color: #8B8D93;
letter-spacing: 0;
font-weight: 400;
}
}
}
.price-options {
padding: 0 16px;
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 12px;
.price-row {
display: flex;
justify-content: space-between;
gap: 12px;
.price-card {
flex: 1;
background: white;
border-radius: 8px;
padding: 12px;
position: relative;
border: 1px solid #eee;
&.selected {
border-color: #ff4d4f;
background: #fff1f0;
}
.daily-price {
font-size: 14px;
color: #ff4d4f;
margin-bottom: 8px;
}
.period {
font-size: 16px;
font-weight: bold;
color: #333;
margin-bottom: 8px;
}
.total-price {
.price {
font-size: 18px;
color: #ff4d4f;
font-weight: bold;
}
.original-price {
font-size: 12px;
color: #999;
text-decoration: line-through;
margin-left: 4px;
}
}
.discount-tag {
position: absolute;
top: 0;
right: 0;
background: #ff4d4f;
color: white;
font-size: 12px;
padding: 2px 6px;
border-radius: 0 8px 0 8px;
}
}
}
}
.more-discount {
text-align: center;
margin: 12px 0;
span {
color: #ff4d4f;
font-size: 14px;
}
}
.recommend-code, .coupon {
background: white;
padding: 16px;
margin-bottom: 1px;
.label {
font-size: 14px;
color: #333;
margin-bottom: 8px;
}
ion-input {
--padding-start: 0;
--background: #f5f5f5;
border-radius: 4px;
height: 40px;
}
.no-coupon {
color: #999;
font-size: 14px;
}
}
.bottom-fixed-wrapper {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: white;
z-index: 100;
}
.submit-btn {
margin: 24px 16px 20px;
--background: #ff4d4f;
--border-radius: 8px;
height: 44px;
font-size: 16px;
}
// Add padding to main content to prevent overlap
ion-content {
--padding-bottom: 120px;
}
ion-back-button {
--color: #333333;
}