diff --git a/announcement.php b/announcement.php
new file mode 100644
index 0000000..d060d40
--- /dev/null
+++ b/announcement.php
@@ -0,0 +1,437 @@
+prepare("SELECT b.*, p.package_name, p.services
+ FROM bookings b
+ LEFT JOIN packages p ON b.package_id = p.id
+ WHERE b.start_time BETWEEN :today_start AND :today_end
+ AND b.status != '已取消'
+ ORDER BY b.start_time ASC");
+ $stmt->execute(['today_start' => $today_start, 'today_end' => $today_end]);
+ $today_bookings = $stmt->fetchAll(PDO::FETCH_ASSOC);
+
+ // 计算今日待处理和已完成的数量
+ $pending_count = 0;
+ $completed_count = 0;
+ foreach ($today_bookings as $booking) {
+ if ($booking['status'] == '已完成') {
+ $completed_count++;
+ } else {
+ $pending_count++;
+ }
+ }
+} catch (PDOException $e) {
+ $error_message = '获取今日预约失败: ' . $e->getMessage();
+ $today_bookings = [];
+}
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff($start_time);
+ $minutes_diff = $interval->days * 24 * 60 + $interval->h * 60 + $interval->i;
+
+ if ($minutes_diff >= 0 && $minutes_diff <= 15 && $booking['status'] != '进行中') {
+ $card_class = 'urgent';
+ }
+ }
+
+ // 格式化服务项目列表
+ $services = [];
+ if (!empty($booking['services'])) {
+ $services = explode(',', $booking['services']);
+ }
+ if (!empty($booking['custom_services'])) {
+ $services[] = $booking['custom_services'];
+ }
+ ?>
+
+
+ 🕒 -
+
+
+
+
+
+
+
+ 客户姓名
+
+
+
+ 联系电话
+
+
+
+ 车型
+
+
+
+ 车牌号
+
+
+
+ 套餐
+
+
+
+ 时长
+ 分钟
+
+
+ 价格
+ ¥
+
+
+ 会员类型
+
+
+
+
+
+
+
+
+
+
+
+ 备注
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bookings.php b/bookings.php
index 90b382c..5caa90e 100644
--- a/bookings.php
+++ b/bookings.php
@@ -84,12 +84,13 @@ try {
diff --git a/index.php b/index.php
index 4444f19..00b0847 100644
--- a/index.php
+++ b/index.php
@@ -316,6 +316,7 @@ $packages_json = json_encode(array_map(function($package) {
预约管理
套餐管理
VIP管理
+
今日待办
diff --git a/packages.php b/packages.php
index a637533..bdf6eea 100644
--- a/packages.php
+++ b/packages.php
@@ -64,12 +64,13 @@ $packages = $stmt->fetchAll();
diff --git a/vip.php b/vip.php
index 13ca0d4..5962a86 100644
--- a/vip.php
+++ b/vip.php
@@ -83,12 +83,13 @@ try {