diff --git a/assets/css/custom.css b/assets/css/custom.css index b7367b8..a0d3d20 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -2,7 +2,7 @@ --bg-color: #f0f2f5; --sidebar-bg: #ffffff; --chat-bg: #e5ddd5; - --accent-color: #00a884; + --accent-color: #25d366; /* WhatsApp Green */ --text-primary: #111b21; --text-secondary: #667781; --bubble-own: #d9fdd3; @@ -15,7 +15,7 @@ body, html { margin: 0; padding: 0; height: 100%; font-family: 'Segoe UI', Robot /* Sidebar */ .sidebar { width: 350px; background: var(--sidebar-bg); display: flex; flex-direction: column; border-right: 1px solid #d1d7db; } -.sidebar-header { padding: 15px; background: #f0f2f5; display: flex; align-items: center; border-bottom: 1px solid #d1d7db; font-weight: bold; color: var(--text-primary); } +.sidebar-header { padding: 15px; background: #f0f2f5; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #d1d7db; font-weight: bold; color: var(--text-primary); } .sidebar-search { padding: 10px; background: #ffffff; } .sidebar-search input { width: 90%; padding: 8px 15px; border-radius: 8px; border: 1px solid #e9edef; background: #f0f2f5; outline: none; } .conversation-list { flex: 1; overflow-y: auto; background: white; } @@ -35,3 +35,11 @@ body, html { margin: 0; padding: 0; height: 100%; font-family: 'Segoe UI', Robot .input-area { padding: 12px 20px; background: #f0f2f5; display: flex; align-items: center; gap: 10px; } .input-area input { flex: 1; padding: 12px 15px; border-radius: 8px; border: none; outline: none; box-shadow: 0 1px 1px rgba(0,0,0,0.1); } .input-area button { padding: 10px 20px; background: var(--accent-color); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; } +.emoji-btn { padding: 5px; cursor: pointer; font-size: 24px; color: var(--text-secondary); } + +/* Modal */ +.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); align-items: center; justify-content: center; z-index: 1000; } +.modal-content { background: white; padding: 25px; border-radius: 12px; width: 320px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); } +.modal-content h3 { margin-top: 0; } +.modal-content select, .modal-content input { width: 100%; margin: 10px 0; padding: 10px; border: 1px solid #ddd; border-radius: 6px; } +.modal-content button { width: 100%; padding: 10px; background: var(--accent-color); color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; } \ No newline at end of file diff --git a/assets/pasted-20260318-065437-0e0705ef.png b/assets/pasted-20260318-065437-0e0705ef.png new file mode 100644 index 0000000..e93ac07 Binary files /dev/null and b/assets/pasted-20260318-065437-0e0705ef.png differ diff --git a/assets/pasted-20260318-065650-b2c085ec.png b/assets/pasted-20260318-065650-b2c085ec.png new file mode 100644 index 0000000..cb761c0 Binary files /dev/null and b/assets/pasted-20260318-065650-b2c085ec.png differ diff --git a/assets/pasted-20260318-070456-0b19dd0a.png b/assets/pasted-20260318-070456-0b19dd0a.png new file mode 100644 index 0000000..70ed972 Binary files /dev/null and b/assets/pasted-20260318-070456-0b19dd0a.png differ diff --git a/assets/pasted-20260318-070832-1579c7cf.png b/assets/pasted-20260318-070832-1579c7cf.png new file mode 100644 index 0000000..70ed972 Binary files /dev/null and b/assets/pasted-20260318-070832-1579c7cf.png differ diff --git a/assets/pasted-20260318-071152-920a831c.png b/assets/pasted-20260318-071152-920a831c.png new file mode 100644 index 0000000..70ed972 Binary files /dev/null and b/assets/pasted-20260318-071152-920a831c.png differ diff --git a/assets/pasted-20260318-072035-8a0b6464.png b/assets/pasted-20260318-072035-8a0b6464.png new file mode 100644 index 0000000..70ed972 Binary files /dev/null and b/assets/pasted-20260318-072035-8a0b6464.png differ diff --git a/index.php b/index.php index c5a5e6d..b702ce9 100644 --- a/index.php +++ b/index.php @@ -1,45 +1,183 @@ - + - WhatsApp 风格聊天 + 金融智能通信平台 +
-