Files
persionalBrand/apps/miniapp/pages/services/index.wxss
T
2026-09-19 18:46:26 +08:00

162 lines
2.6 KiB
Plaintext

.page {
min-height: 100vh;
padding: 24rpx 32rpx 60rpx;
background: #fbf7f1;
color: #2b2b2b;
}
.heading {
margin: 12rpx 0 28rpx;
}
.heading text:first-child {
display: block;
font-size: 48rpx;
font-weight: 700;
}
.sub {
display: block;
margin-top: 8rpx;
font-size: 30rpx;
}
.categories {
display: flex;
gap: 16rpx;
margin-bottom: 28rpx;
}
.category {
flex: 1;
padding: 28rpx 22rpx;
border-radius: 16rpx;
font-size: 30rpx;
}
.category text {
display: block;
}
.category-title {
font-weight: 700;
}
.category text + text {
margin-top: 12rpx;
font-size: 25rpx;
}
.package {
background: #b54a2c;
color: #fff;
}
.chef {
background: #f4ebd9;
color: #2b2b2b;
}
.category.selected {
box-shadow: 0 0 0 4rpx #e8a75f;
}
.card {
display: flex;
gap: 22rpx;
align-items: stretch;
margin-bottom: 16rpx;
padding: 20rpx;
background: #fff;
border-radius: 16rpx;
}
.dish-image {
width: 230rpx;
min-width: 230rpx;
height: 230rpx;
border-radius: 12rpx;
overflow: hidden;
}
.dish-image image,
.dish-placeholder {
width: 100%;
height: 100%;
display: block;
background: #d6b27c;
}
.card-content {
flex: 1;
display: flex;
flex-direction: column;
}
.card-head {
display: flex;
justify-content: space-between;
gap: 8rpx;
}
.name {
font-size: 34rpx;
font-weight: 700;
}
.available {
padding: 6rpx 12rpx;
border: 1rpx solid #c79555;
border-radius: 24rpx;
color: #7a4a2b;
font-size: 21rpx;
white-space: nowrap;
}
.desc {
display: block;
margin: 14rpx 0;
color: #7a4a2b;
font-size: 27rpx;
line-height: 1.4;
}
.card-bottom {
display: flex;
justify-content: space-between;
align-items: end;
margin-top: auto;
}
.price {
display: block;
color: #b54a2c;
font-size: 38rpx;
}
.card button {
background: #b54a2c;
color: #fff;
border-radius: 36rpx;
}
.state {
text-align: center;
padding: 80rpx;
color: #7a4a2b;
}
.categories {
display: flex;
gap: 16rpx;
margin-bottom: 28rpx;
}
.category {
position: relative;
z-index: 1;
overflow: hidden;
}
.category:before,
.category:after {
content: "";
position: absolute;
right: -28rpx;
bottom: -48rpx;
width: 160rpx;
height: 104rpx;
border: 5rpx solid rgba(255, 255, 255, 0.16);
border-radius: 50% 50% 44% 44%;
transform: rotate(-16deg);
pointer-events: none;
}
.category:after {
right: 8rpx;
bottom: -34rpx;
width: 110rpx;
height: 70rpx;
border-width: 4rpx;
border-color: rgba(255, 255, 255, 0.12);
}
.chef:before {
border-color: rgba(181, 74, 44, 0.16);
}
.chef:after {
border-color: rgba(181, 74, 44, 0.12);
}