diff --git a/dsLightRag/Doc/L2Dwidget看板娘/Sample.html b/dsLightRag/Doc/L2Dwidget看板娘/Sample.html index c7119646..5472304e 100644 --- a/dsLightRag/Doc/L2Dwidget看板娘/Sample.html +++ b/dsLightRag/Doc/L2Dwidget看板娘/Sample.html @@ -22,6 +22,53 @@ background-color: white; font-size: 14px; } + .recording-indicator { + position: fixed; + bottom: 20px; + left: 20px; + z-index: 1000; + padding: 10px 15px; + background-color: rgba(220, 53, 69, 0.9); + color: white; + border-radius: 20px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); + display: none; + align-items: center; + } + .recording-dot { + width: 10px; + height: 10px; + background-color: white; + border-radius: 50%; + margin-right: 8px; + animation: pulse 1.5s infinite; + } + @keyframes pulse { + 0% { opacity: 1; } + 50% { opacity: 0.5; } + 100% { opacity: 1; } + } + .record-controls { + position: fixed; + bottom: 20px; + right: 20px; + z-index: 1000; + display: none; + } + .record-button { + width: 60px; + height: 60px; + border-radius: 50%; + background-color: #dc3545; + border: none; + color: white; + font-size: 16px; + cursor: pointer; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); + } + .record-button:hover { + background-color: #c82333; + } @@ -34,6 +81,15 @@ +
+
+ 正在录音... +
+ +
+ +
+ \ No newline at end of file diff --git a/dsLightRag/Routes/__pycache__/SunoRoute.cpython-310.pyc b/dsLightRag/Routes/__pycache__/SunoRoute.cpython-310.pyc index 46b5d8ce..b266ae55 100644 Binary files a/dsLightRag/Routes/__pycache__/SunoRoute.cpython-310.pyc and b/dsLightRag/Routes/__pycache__/SunoRoute.cpython-310.pyc differ diff --git a/dsLightRag/Suno/__pycache__/sunoUtil.cpython-310.pyc b/dsLightRag/Suno/__pycache__/sunoUtil.cpython-310.pyc index bc8eb35a..538feb8a 100644 Binary files a/dsLightRag/Suno/__pycache__/sunoUtil.cpython-310.pyc and b/dsLightRag/Suno/__pycache__/sunoUtil.cpython-310.pyc differ diff --git a/dsLightRag/Util/__pycache__/GGBUtil.cpython-310.pyc b/dsLightRag/Util/__pycache__/GGBUtil.cpython-310.pyc index cba4b5b1..64f93af3 100644 Binary files a/dsLightRag/Util/__pycache__/GGBUtil.cpython-310.pyc and b/dsLightRag/Util/__pycache__/GGBUtil.cpython-310.pyc differ diff --git a/dsLightRag/static/XiaoZhi.html b/dsLightRag/static/XiaoZhi.html new file mode 100644 index 00000000..5472304e --- /dev/null +++ b/dsLightRag/static/XiaoZhi.html @@ -0,0 +1,266 @@ + + + + + + 学伴切换示例 + + + +
+ + +
+ +
+
+ 正在录音... +
+ +
+ +
+ + + + + \ No newline at end of file