Files
EasyCard/frontend_miniprogram/miniprogram/pages/firm/index.less
陈子默 63685f8644 feat: 调整律所首页信息区布局
- 精简首页头图展示并优化地址卡片样式

- 将专业领域提前到律所简介之前
2026-03-21 22:01:57 +08:00

134 lines
2.2 KiB
Plaintext

.firm-page {
background: var(--bg-page);
}
.hero-section {
position: relative;
height: 440rpx;
width: 100%;
}
.hero-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* Updated gradient to match Burgundy Red */
background: linear-gradient(to bottom, rgba(142, 34, 48, 0.4), rgba(92, 13, 21, 0.9));
z-index: 1;
}
.content-container {
position: relative;
z-index: 3;
margin-top: -32rpx;
background: var(--bg-page);
border-radius: 32rpx 32rpx 0 0;
padding: var(--spacing-lg) var(--spacing-md);
min-height: 50vh;
}
.address-card {
display: flex;
align-items: center;
gap: var(--spacing-md);
padding: var(--spacing-md);
margin-bottom: var(--spacing-lg);
background: #fff;
box-shadow: var(--shadow-base);
}
.address-info {
display: flex;
flex: 1;
flex-direction: column;
gap: 8rpx;
min-width: 0;
}
.address-label {
font-size: 24rpx;
color: var(--text-tertiary);
}
.address-text {
font-size: 28rpx;
color: var(--text-main);
font-weight: 500;
line-height: 1.5;
word-break: break-all;
}
.address-icon {
width: 34rpx;
height: 34rpx;
flex-shrink: 0;
align-self: center;
}
.section {
margin-bottom: var(--spacing-xl);
}
.intro-text {
font-size: 28rpx;
color: var(--text-secondary);
line-height: 1.8;
text-align: justify;
}
.tags-wrapper {
display: flex;
flex-wrap: wrap;
gap: 16rpx;
}
.area-tag {
font-size: 26rpx;
color: var(--primary-color);
background: rgba(142, 34, 48, 0.08);
/* Primary color opacity */
padding: 10rpx 24rpx;
border-radius: 32rpx;
font-weight: 500;
}
.bottom-bar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: #fff;
padding: 20rpx var(--spacing-md);
box-shadow: 0 -4rpx 16rpx rgba(0, 0, 0, 0.05);
z-index: 10;
box-sizing: border-box;
}
.cta-btn {
background: var(--primary-color);
color: #fff;
font-size: 32rpx;
font-weight: 500;
border-radius: 50rpx;
height: 88rpx;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8rpx 20rpx rgba(142, 34, 48, 0.3);
}
.cta-btn::after {
border: none;
}