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

113 lines
1.5 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;
}
.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(2, minmax(0, 1fr));
gap: 16rpx;
margin-top: 18rpx;
}
.copy-row .ghost-btn,
.map-btn {
min-width: 0;
width: 100%;
}
.gallery-list {
display: flex;
flex-wrap: wrap;
gap: 18rpx;
}
.gallery-image {
width: calc(50% - 9rpx);
height: 240rpx;
border-radius: 24rpx;
background: var(--theme-primary-soft);
}