'commit'
This commit is contained in:
@@ -9,11 +9,13 @@
|
|||||||
position: fixed; top: 20px; left: 20px; z-index: 1000;
|
position: fixed; top: 20px; left: 20px; z-index: 1000;
|
||||||
padding: 10px; background-color: rgba(255, 255, 255, 0.8);
|
padding: 10px; background-color: rgba(255, 255, 255, 0.8);
|
||||||
border-radius: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
border-radius: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||||
|
display: flex; flex-direction: column; gap: 15px;
|
||||||
}
|
}
|
||||||
select { padding: 8px 12px; border: 1px solid #ccc; border-radius: 4px; background-color: white; font-size: 14px; }
|
select { padding: 8px 12px; border: 1px solid #ccc; border-radius: 4px; background-color: white; font-size: 14px; }
|
||||||
.recording-controls {
|
.recording-controls {
|
||||||
position: fixed; bottom: 20px; right: 20px; z-index: 1000;
|
position: static;
|
||||||
display: flex; flex-direction: column; gap: 10px;
|
display: flex; flex-direction: column; gap: 10px;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
.record-button {
|
.record-button {
|
||||||
width: 70px; height: 70px; border-radius: 50%;
|
width: 70px; height: 70px; border-radius: 50%;
|
||||||
@@ -57,6 +59,11 @@
|
|||||||
<option value="koharu">小荷</option>
|
<option value="koharu">小荷</option>
|
||||||
<option value="wanko">汪喵</option>
|
<option value="wanko">汪喵</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<div class="recording-controls">
|
||||||
|
<button class="record-button" id="startRecordBtn">开始录音</button>
|
||||||
|
<button class="stop-button" id="stopRecordBtn">停止录音</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="recording-indicator" id="recordingIndicator">
|
<div class="recording-indicator" id="recordingIndicator">
|
||||||
@@ -64,10 +71,11 @@
|
|||||||
<span>正在录音...</span>
|
<span>正在录音...</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="recording-controls">
|
<!-- 删除重复的录音按钮 -->
|
||||||
|
<!-- <div class="recording-controls">
|
||||||
<button class="record-button" id="startRecordBtn">开始录音</button>
|
<button class="record-button" id="startRecordBtn">开始录音</button>
|
||||||
<button class="stop-button" id="stopRecordBtn">停止录音</button>
|
<button class="stop-button" id="stopRecordBtn">停止录音</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>
|
||||||
<script>
|
<script>
|
||||||
@@ -157,8 +165,8 @@
|
|||||||
"position": "right",
|
"position": "right",
|
||||||
"width": 150,
|
"width": 150,
|
||||||
"height": 300,
|
"height": 300,
|
||||||
"hOffset": 0,
|
"hOffset": 0, // 重置水平偏移
|
||||||
"vOffset": -20
|
"vOffset": -20 // 重置垂直偏移
|
||||||
},
|
},
|
||||||
"mobile": { "show": true, "scale": 0.5 },
|
"mobile": { "show": true, "scale": 0.5 },
|
||||||
"react": { "opacityDefault": 0.8, "opacityOnHover": 1 },
|
"react": { "opacityDefault": 0.8, "opacityOnHover": 1 },
|
||||||
|
Reference in New Issue
Block a user