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