refactor: 拆分小程序 vue 结构

This commit is contained in:
2026-03-11 14:11:26 +08:00
commit b050c01a24
141 changed files with 24904 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
@import '../../../styles/variables';
.home-page__categories {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 2px;
padding: 4px 0;
}
.home-page__cat-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 6px 2px 8px;
border-radius: $r-sm;
}
.home-page__cat-icon {
width: 48px;
height: 48px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
font-size: 18px;
&--orange { background: #FFF4ED; }
&--green-soft { background: #F0FDF4; }
&--yellow { background: #FFFBEB; }
&--green-light { background: #ECFDF5; }
&--mint { background: #F0FDF4; }
&--amber { background: #FFF7ED; }
}
.home-page__cat-label {
font-size: 12px;
font-weight: 500;
color: $text-2;
}
.home-page__cat-badge {
position: absolute;
top: -3px;
right: -6px;
font-size: 9px;
background: $red;
color: #fff;
padding: 1px 5px;
border-radius: 999px;
font-weight: 600;
line-height: 1.4;
}