Files
YGChatCS/components/LocationCard/styles/index.scss
2025-09-11 21:30:15 +08:00

52 lines
925 B
SCSS

.store-address {
display: flex;
align-items: center;
margin: 6px 0;
padding: 16px 12px;
background-image: url("./images/loc_bg_img.png"); // 预留背景图片位置,用户手动导入
background-size: cover;
background-position: center;
border-radius: 20px;
font-size: 14px;
color: #333;
position: relative;
overflow: hidden;
// 左侧文本容器
.text-container {
display: flex;
flex-direction: column;
flex: 1;
position: relative;
z-index: 2;
}
// 确保内容在遮罩层之上
.location-label,
.address-text,
.loc-icon {
position: relative;
z-index: 2;
}
.location-label {
color: #333;
font-size: 14px;
font-weight: 500;
}
.address-text {
margin-top: 4px;
color: #666;
font-size: 12px;
font-weight: 400;
}
// 右侧图标样式
.loc-icon {
width: 24px;
height: 24px;
margin-left: 12px;
}
}