Land Token-based SCSS modules, menu/biz mocks, reusable shell components, and home plus list/detail/form/comps template pages aligned with the Vant Weapp UI demo. Co-authored-by: Cursor <cursoragent@cursor.com>
55 lines
1.0 KiB
SCSS
55 lines
1.0 KiB
SCSS
@import '../mixins.scss';
|
|
|
|
.menu-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 20rpx 12rpx;
|
|
}
|
|
|
|
.menu-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 16rpx;
|
|
min-height: 168rpx;
|
|
padding: 20rpx 8rpx 12rpx;
|
|
border-radius: 24rpx;
|
|
}
|
|
|
|
.menu-card:active {
|
|
background: var(--brand-green-soft, #e9f9f2);
|
|
}
|
|
|
|
.menu-icon {
|
|
width: 96rpx;
|
|
height: 96rpx;
|
|
border-radius: 28rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--brand-green-soft, #e9f9f2);
|
|
color: var(--brand-green-dark, #087f57);
|
|
font-size: 48rpx;
|
|
box-shadow: inset 0 0 0 1rpx rgba(10, 159, 109, 0.08);
|
|
}
|
|
|
|
.menu-icon.tone-yellow {
|
|
background: var(--barley-yellow-soft, #fff7e8);
|
|
color: #a67b20;
|
|
}
|
|
|
|
.menu-icon.tone-slate {
|
|
background: #eef2f1;
|
|
color: #3d524a;
|
|
}
|
|
|
|
.menu-title {
|
|
font-size: 24rpx;
|
|
line-height: 1.25;
|
|
color: var(--text-primary, #1f2a26);
|
|
text-align: center;
|
|
max-width: 144rpx;
|
|
word-break: break-all;
|
|
}
|