feat: 前端HESUPIPE品牌化+管道文案+GDPR提示
- 品牌色橙#f08a31→HESUPIPE蓝#066fc0(取自官网主题CSS a:hover/导航主色),7槽位色板三处同步:theme.js/widget.js内联副本/style.css :root - chat.html/widget.js/js/chat.js:标题HESUPIPE Support、管道场景描述、欢迎语、热门话题Get Quotation/Pipe Specifications/Delivery & Shipping、WhatsApp+8615937108317、邮箱hesu@hesuu.com - 邀请卡文案管道化(pipe specs, MOQ, delivery timing)+GDPR小字;聊天面板footer GDPR行(复用.chat-footer) - admin.html VOLT→HESUPIPE;头像PIL重绘为品牌蓝底白H(512/128px) - widget-test.html色值同步+断言基准更新(浏览器断言9/9 Δ=0);.gitignore排除.playwright-mcp/ Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
+5
-5
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>VOLT - 管理后台</title>
|
||||
<title>HESUPIPE - 管理后台</title>
|
||||
<style>
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f0f2f5; color: #333; height: 100vh; overflow: hidden; }
|
||||
@@ -119,7 +119,7 @@
|
||||
|
||||
<div class="login-wrap" id="loginWrap">
|
||||
<div class="login-box">
|
||||
<h2>VOLT 管理后台</h2>
|
||||
<h2>HESUPIPE 管理后台</h2>
|
||||
<input type="password" id="loginPwd" placeholder="请输入管理密码" autofocus>
|
||||
<button onclick="doLogin()">登录</button>
|
||||
<div class="login-error" id="loginErr">密码错误</div>
|
||||
@@ -128,7 +128,7 @@
|
||||
|
||||
<div class="app" id="app">
|
||||
<div class="header">
|
||||
<h1>VOLT - 沟通记录</h1>
|
||||
<h1>HESUPIPE - 沟通记录</h1>
|
||||
<div class="header-right">
|
||||
<button class="btn-logs" id="btnLogs" onclick="toggleLogs()">推送日志</button>
|
||||
<select id="filterIntent" onchange="resetAndLoad()">
|
||||
@@ -339,8 +339,8 @@ function selectConv(convId) {
|
||||
var html = '';
|
||||
d.messages.forEach(function(m) {
|
||||
var cls = m.role === 'user' ? 'user' : 'assistant';
|
||||
var avatar = m.role === 'user' ? '客' : 'V';
|
||||
var roleLabel = m.role === 'user' ? '客户' : 'VOLT';
|
||||
var avatar = m.role === 'user' ? '客' : 'H';
|
||||
var roleLabel = m.role === 'user' ? '客户' : 'HESUPIPE';
|
||||
|
||||
html += '<div class="msg-row ' + cls + '">';
|
||||
html += '<div class="msg-avatar ' + cls + '">' + avatar + '</div>';
|
||||
|
||||
Reference in New Issue
Block a user