feat(预约系统): 添加客服备注功能及样式
- 在公告页面和预约管理页面添加客服备注功能 - 为客服备注添加专用样式区分于客户备注 - 实现通过模态框编辑和保存客服备注的AJAX功能 - 将原备注字段明确标记为客户备注
This commit is contained in:
+32
-4
@@ -245,6 +245,29 @@ try {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* 客服备注样式 */
|
||||
.service-notes {
|
||||
margin-top: 12px;
|
||||
padding: 12px;
|
||||
background-color: #f8f9fa;
|
||||
border-left: 4px solid #007bff;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.service-notes h4 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 8px;
|
||||
font-size: 14px;
|
||||
color: #007bff;
|
||||
}
|
||||
|
||||
.service-notes p {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
color: #495057;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.no-bookings {
|
||||
text-align: center;
|
||||
padding: 60px 20px;
|
||||
@@ -353,9 +376,6 @@ try {
|
||||
if (!empty($booking['services'])) {
|
||||
$services = explode(',', $booking['services']);
|
||||
}
|
||||
if (!empty($booking['custom_services'])) {
|
||||
$services[] = $booking['custom_services'];
|
||||
}
|
||||
?>
|
||||
<div class="booking-card <?php echo $card_class; ?>">
|
||||
<div class="booking-time">
|
||||
@@ -410,11 +430,19 @@ try {
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- 客服备注 -->
|
||||
<?php if (!empty($booking['custom_services'])): ?>
|
||||
<div class="service-notes">
|
||||
<h4>客服备注:</h4>
|
||||
<p><?php echo htmlspecialchars($booking['custom_services']); ?></p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- 备注信息 -->
|
||||
<?php if (!empty($booking['notes'])): ?>
|
||||
<div class="detail-row">
|
||||
<span class="detail-label">备注</span>
|
||||
<span class="detail-label">客户备注</span>
|
||||
<span class="detail-value"><?php echo htmlspecialchars($booking['notes']); ?></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user