@wendongfly/myhi 1.3.72 → 1.3.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat.html +2 -1
- package/dist/index.js +1 -1
- package/dist/index.min.js +7 -8
- package/package.json +1 -1
package/dist/chat.html
CHANGED
|
@@ -601,7 +601,7 @@
|
|
|
601
601
|
<textarea id="va-result" class="slash-inp" rows="6" style="resize:vertical;font-size:0.82rem;line-height:1.5;font-family:monospace"></textarea>
|
|
602
602
|
</div>
|
|
603
603
|
<button id="va-record-btn"
|
|
604
|
-
style="background:#1f6feb;color:#fff;font-size:1.1rem;font-weight:700;padding:1.1rem;margin:0 0.2rem 0.3rem;border:none;border-radius:12px;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none">
|
|
604
|
+
style="background:#1f6feb;color:#fff;font-size:1.1rem;font-weight:700;padding:1.1rem;margin:0 0.2rem 0.3rem;border:none;border-radius:12px;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none">
|
|
605
605
|
按住说话
|
|
606
606
|
</button>
|
|
607
607
|
<div style="text-align:center;margin:0 0.2rem 0.3rem">
|
|
@@ -3315,6 +3315,7 @@
|
|
|
3315
3315
|
};
|
|
3316
3316
|
|
|
3317
3317
|
// 大录音按钮:手机长按、桌面单击切换
|
|
3318
|
+
_vaBtn.addEventListener('contextmenu', e => e.preventDefault());
|
|
3318
3319
|
_vaBtn.addEventListener('pointerdown', (e) => {
|
|
3319
3320
|
if (!_isTouchDevice()) return; // 桌面由 click 事件处理,pointer 不介入
|
|
3320
3321
|
e.preventDefault();
|