|
@@ -72,8 +72,7 @@
|
|
|
<!-- <div style="flex: 1; overflow-y: auto;"> -->
|
|
<!-- <div style="flex: 1; overflow-y: auto;"> -->
|
|
|
<div v-loading="dataLoading" element-loading-background="rgba(0, 0, 0, 0.8)">
|
|
<div v-loading="dataLoading" element-loading-background="rgba(0, 0, 0, 0.8)">
|
|
|
<div v-for="customer in customers" :key="customer.id"
|
|
<div v-for="customer in customers" :key="customer.id"
|
|
|
- class="customer-card"
|
|
|
|
|
- @click="showCustomerDetail(customer)">
|
|
|
|
|
|
|
+ class="customer-card">
|
|
|
<div class="customer-flag">{{ customer.flag }}</div>
|
|
<div class="customer-flag">{{ customer.flag }}</div>
|
|
|
<div class="customer-info">
|
|
<div class="customer-info">
|
|
|
<div class="customer-header">
|
|
<div class="customer-header">
|
|
@@ -151,7 +150,7 @@
|
|
|
<div class="detail-stat-label">累计金额</div>
|
|
<div class="detail-stat-label">累计金额</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="detail-stat-card">
|
|
<div class="detail-stat-card">
|
|
|
- <div class="detail-stat-value">{{selectedCustomer.lastContactDays}}天前</div>
|
|
|
|
|
|
|
+ <div class="detail-stat-value">{{selectedCustomer.lastContactDays?selectedCustomer.lastContactDays:' - '}}天前</div>
|
|
|
<div class="detail-stat-label">最后联系</div>
|
|
<div class="detail-stat-label">最后联系</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -224,7 +223,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="timeline-detail" v-for="item in record.replyList">
|
|
<div class="timeline-detail" v-for="item in record.replyList">
|
|
|
<span class="timeline-action">{{ item.subject }}</span>
|
|
<span class="timeline-action">{{ item.subject }}</span>
|
|
|
- <span class="timeline-time">{{ record.recipientDate }}</span>
|
|
|
|
|
|
|
+ <span class="timeline-time">{{ item.recipientDate }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -614,6 +613,8 @@ const handleAddCustomer = (customerData) => {
|
|
|
.search-input:focus { outline: none; border-color: var(--primary); }
|
|
.search-input:focus { outline: none; border-color: var(--primary); }
|
|
|
.form-select { background: var(--bg-card); border: none; color: var(--text-primary);width: auto;padding: 0; }
|
|
.form-select { background: var(--bg-card); border: none; color: var(--text-primary);width: auto;padding: 0; }
|
|
|
.form-select :deep(.el-input__wrapper){ background: var(--bg-card);box-shadow:none;border: 1px solid var(--border);border-radius: 8px;padding: 3px 10px;}
|
|
.form-select :deep(.el-input__wrapper){ background: var(--bg-card);box-shadow:none;border: 1px solid var(--border);border-radius: 8px;padding: 3px 10px;}
|
|
|
|
|
+.form-select :deep(.el-input__wrapper .el-input__inner){color:#fff;}
|
|
|
|
|
+.form-select :deep(.el-input__wrapper .el-input__inner::placeholder){color:#64748b;}
|
|
|
.customer-card { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--bg-card); border-radius: 12px; margin-bottom: 12px; border: 1px solid var(--border); cursor: pointer; transition: all 0.2s; }
|
|
.customer-card { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--bg-card); border-radius: 12px; margin-bottom: 12px; border: 1px solid var(--border); cursor: pointer; transition: all 0.2s; }
|
|
|
.customer-card:hover { border-color: var(--primary); }
|
|
.customer-card:hover { border-color: var(--primary); }
|
|
|
.customer-flag { font-size: 32px; }
|
|
.customer-flag { font-size: 32px; }
|
|
@@ -679,7 +680,7 @@ const handleAddCustomer = (customerData) => {
|
|
|
.timeline-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
|
|
.timeline-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
|
|
|
.timeline-action { font-size: 13px; font-weight: 500; }
|
|
.timeline-action { font-size: 13px; font-weight: 500; }
|
|
|
.timeline-time { font-size: 11px; color: var(--text-muted); }
|
|
.timeline-time { font-size: 11px; color: var(--text-muted); }
|
|
|
-.timeline-detail { font-size: 12px; color: var(--text-secondary); }
|
|
|
|
|
|
|
+.timeline-detail { font-size: 12px; color: var(--text-secondary); display: flex;justify-content: space-between;}
|
|
|
.related-opps { display: flex; flex-direction: column; gap: 10px; }
|
|
.related-opps { display: flex; flex-direction: column; gap: 10px; }
|
|
|
.related-opp { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: var(--bg-hover); border-radius: 10px; }
|
|
.related-opp { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: var(--bg-hover); border-radius: 10px; }
|
|
|
.opp-name { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
|
|
.opp-name { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
|