优化跟进动态样式
This commit is contained in:
parent
3ce802d10c
commit
11c796a900
|
|
@ -130,6 +130,8 @@ const handleFollowupClick = (item) => {
|
|||
<style lang="scss" scoped>
|
||||
.tab-content {
|
||||
padding: 16px;
|
||||
background-color: #f0f0f0;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
// 跟进动态样式
|
||||
|
|
@ -139,24 +141,30 @@ const handleFollowupClick = (item) => {
|
|||
}
|
||||
|
||||
.followup-item {
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: 16px;
|
||||
position: relative;
|
||||
transition: transform 0.2s ease;
|
||||
|
||||
&:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
}
|
||||
|
||||
.date-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: 12px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.date-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background-color: #1976d2;
|
||||
margin-right: 8px;
|
||||
margin-right: 10px;
|
||||
position: relative;
|
||||
box-shadow: 0 2px 4px rgba(25, 118, 210, 0.3);
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
|
|
@ -172,74 +180,93 @@ const handleFollowupClick = (item) => {
|
|||
}
|
||||
|
||||
.date-text {
|
||||
font-size: 14px;
|
||||
font-size: 15px;
|
||||
color: #333;
|
||||
font-weight: 500;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.followup-card {
|
||||
background-color: #f5f5f5;
|
||||
border-radius: 8px;
|
||||
padding: 14px;
|
||||
margin-left: 16px;
|
||||
background-color: #ffffff;
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
|
||||
position: relative;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
||||
transition: all 0.3s ease;
|
||||
border: 1px solid rgba(0, 0, 0, 0.04);
|
||||
|
||||
&:active {
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
|
||||
transform: translateY(1px);
|
||||
}
|
||||
}
|
||||
|
||||
.followup-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.followup-avatar {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 18px;
|
||||
margin-right: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 20px;
|
||||
margin-right: 12px;
|
||||
background-color: #e0e0e0;
|
||||
border: 2px solid #f5f5f5;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.followup-user-info {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.followup-user-name {
|
||||
font-size: 15px;
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
font-weight: 600;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.followup-user-role {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
color: #888;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.followup-arrow {
|
||||
font-size: 20px;
|
||||
color: #ccc;
|
||||
font-size: 22px;
|
||||
color: #d0d0d0;
|
||||
font-weight: 300;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.followup-item:active .followup-arrow {
|
||||
color: #1976d2;
|
||||
}
|
||||
|
||||
.followup-text {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 10px;
|
||||
font-size: 15px;
|
||||
color: #555;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 12px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.followup-time-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
gap: 6px;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
}
|
||||
|
||||
.time-icon {
|
||||
font-size: 12px;
|
||||
font-size: 13px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
|
|
@ -251,9 +278,13 @@ const handleFollowupClick = (item) => {
|
|||
|
||||
.empty-state {
|
||||
text-align: center;
|
||||
padding: 40px 0;
|
||||
padding: 60px 20px;
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
font-size: 15px;
|
||||
background-color: #ffffff;
|
||||
border-radius: 12px;
|
||||
margin: 20px 0;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user