Files
JayuCloud/WeChatProgram/pages/shop-detail/index.wxss
T

237 lines
3.3 KiB
Plaintext

.shop-page {
background: var(--theme-page-bg);
}
.shop-hero {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 320rpx;
background: var(--theme-gradient);
}
.shop-hero-image {
width: 100%;
height: 100%;
}
.shop-hero-mask {
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(34, 21, 27, 0.12), rgba(34, 21, 27, 0.42));
}
.shop-content {
position: relative;
z-index: 1;
padding-top: 160rpx;
}
.shop-card {
padding: 30rpx;
}
.shop-title {
font-size: 42rpx;
font-weight: 700;
line-height: 1.4;
color: #2d2430;
}
.shop-address {
margin-top: 16rpx;
font-size: 26rpx;
color: #8d7a84;
line-height: 1.7;
}
.shop-distance {
margin-top: 8rpx;
color: #8f6e7a;
font-size: 24rpx;
line-height: 1.5;
}
.shop-summary {
margin-top: 24rpx;
}
.trust-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14rpx;
margin-top: 24rpx;
}
.trust-card {
display: grid;
gap: 8rpx;
min-height: 112rpx;
padding: 18rpx;
border-radius: 16rpx;
background: var(--theme-primary-soft);
}
.trust-value {
color: var(--theme-primary);
font-size: 28rpx;
font-weight: 700;
}
.trust-label {
color: #8d7a84;
font-size: 22rpx;
line-height: 1.35;
}
.shop-summary-value {
font-size: 26rpx;
line-height: 1.6;
}
.detail-group {
margin-top: 24rpx;
}
.detail-label {
font-size: 24rpx;
color: #8d7a84;
}
.detail-value {
margin-top: 12rpx;
font-size: 28rpx;
color: #2d2430;
line-height: 1.8;
}
.copy-row {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16rpx;
margin-top: 26rpx;
}
.map-row {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16rpx;
margin-top: 18rpx;
}
.contact-row {
display: grid;
gap: 12rpx;
margin-top: 18rpx;
}
.contact-btn {
width: 100%;
}
.contact-copy {
color: #8d7a84;
font-size: 24rpx;
line-height: 1.6;
}
.copy-row .ghost-btn,
.map-btn {
min-width: 0;
width: 100%;
}
.gallery-list {
display: flex;
flex-wrap: wrap;
gap: 18rpx;
}
.featured-list,
.review-list {
display: grid;
gap: 18rpx;
}
.featured-card {
display: grid;
grid-template-columns: 150rpx minmax(0, 1fr);
gap: 18rpx;
padding: 18rpx;
border-radius: 24rpx;
background: #fff;
}
.featured-cover {
width: 150rpx;
height: 150rpx;
border-radius: 20rpx;
background: var(--theme-primary-soft);
}
.featured-cover.placeholder {
display: flex;
align-items: center;
justify-content: center;
color: var(--theme-primary);
font-size: 40rpx;
font-weight: 700;
}
.featured-info {
display: grid;
align-content: center;
gap: 10rpx;
min-width: 0;
}
.featured-title {
color: #2d2430;
font-size: 28rpx;
font-weight: 700;
}
.featured-price {
color: var(--theme-primary);
font-size: 28rpx;
font-weight: 700;
}
.featured-hint,
.review-time {
color: #8d7a84;
font-size: 22rpx;
line-height: 1.5;
}
.review-card {
display: grid;
gap: 12rpx;
padding: 22rpx;
border-radius: 24rpx;
background: #fff;
}
.review-head {
display: flex;
justify-content: space-between;
gap: 16rpx;
color: #2d2430;
font-size: 26rpx;
font-weight: 700;
}
.review-content {
color: #5d4b55;
font-size: 25rpx;
line-height: 1.6;
}
.gallery-image {
width: calc(50% - 9rpx);
height: 240rpx;
border-radius: 24rpx;
background: var(--theme-primary-soft);
}