'commit'
This commit is contained in:
@@ -68,8 +68,8 @@
|
|||||||
|
|
||||||
<!-- 在看板娘附近添加录音按钮 -->
|
<!-- 在看板娘附近添加录音按钮 -->
|
||||||
<div class="recording-controls" style="position: fixed; right:37px; bottom: 230px; z-index: 998;">
|
<div class="recording-controls" style="position: fixed; right:37px; bottom: 230px; z-index: 998;">
|
||||||
<button class="record-button" id="startRecordBtn">开始录音</button>
|
<button class="record-button" id="startRecordBtn" style="font-size: 14px;">开始录音</button>
|
||||||
<button class="stop-button" id="stopRecordBtn">停止录音</button>
|
<button class="stop-button" id="stopRecordBtn" style="font-size: 14px;">停止录音</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="https://l2dwidget.js.org/lib/L2Dwidget.min.js"></script>
|
<script src="https://l2dwidget.js.org/lib/L2Dwidget.min.js"></script>
|
||||||
@@ -147,8 +147,8 @@
|
|||||||
|
|
||||||
// 初始化看板娘 - 简化为Sample.html的工作版本
|
// 初始化看板娘 - 简化为Sample.html的工作版本
|
||||||
function initL2Dwidget() {
|
function initL2Dwidget() {
|
||||||
const modelId = getUrlParam('id') || 'shizuku';
|
const modelId = getUrlParam('id') || 'koharu';
|
||||||
const model = models[modelId] || models.shizuku;
|
const model = models[modelId] || models.koharu;
|
||||||
|
|
||||||
document.getElementById('model-select').value = modelId;
|
document.getElementById('model-select').value = modelId;
|
||||||
console.log('加载模型:', model.name, model.jsonPath);
|
console.log('加载模型:', model.name, model.jsonPath);
|
||||||
|
Reference in New Issue
Block a user