默认关闭语音播放功能
This commit is contained in:
1 parent
c43b5e5ac1
commit
1b8f833789
6 files changed
+176
-112
No files matched your search
+23
-2
@@ -13,6 +13,20 @@
|
||||
.btn:hover { background: #66b1ff; }
|
||||
#status { font-size: 12px; text-align: center; margin-top: 8px; height: 14px; }
|
||||
.note { font-size: 11px; color: #999; margin-top: 4px; }
|
||||
|
||||
/* 语音开关专属样式 */
|
||||
.switch-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: #fff;
|
||||
padding: 10px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #dcdfe6;
|
||||
margin-top: 15px;
|
||||
}
|
||||
.switch-item label { margin-bottom: 0; cursor: pointer; flex: 1; }
|
||||
.switch-item input { width: auto; cursor: pointer; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -21,7 +35,6 @@
|
||||
<div class="item">
|
||||
<label>API Base URL</label>
|
||||
<input type="text" id="apiUrl" placeholder="https://api-inference.modelscope.cn/v1">
|
||||
<div class="note">通常使用兼容模式地址</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
@@ -31,12 +44,20 @@
|
||||
|
||||
<div class="item">
|
||||
<label>Model Name</label>
|
||||
<input type="text" id="modelName" placeholder="deepseek-ai/DeepSeek-V3.2">
|
||||
<input type="text" id="modelName" placeholder="deepseek-ai/DeepSeek-V3">
|
||||
</div>
|
||||
|
||||
<div class="item switch-item">
|
||||
<label for="voiceEnabled">开启语音回复</label>
|
||||
<input type="checkbox" id="voiceEnabled">
|
||||
</div>
|
||||
|
||||
<button id="save" class="btn">保存并生效</button>
|
||||
|
||||
<div id="status"></div>
|
||||
|
||||
<div class="note">提示:保存配置后,请刷新目标页面使设置生效。</div>
|
||||
|
||||
<script src="popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user