JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_合并安卓ISO

This commit is contained in:
田岩
2026-02-12 17:31:33 +08:00
parent 13fcd674ad
commit da5a2cdfd2
2 changed files with 10 additions and 14 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
ENV = 'sit' ENV = 'sit'
# base api # base api
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
+6 -10
View File
@@ -145,18 +145,15 @@
// 计算是否超出按下盒子位置01代表下方盒子,02代表左上03代表右上 // 计算是否超出按下盒子位置01代表下方盒子,02代表左上03代表右上
const isOutStatus = computed(() => { const isOutStatus = computed(() => {
if (touchPos.y < bottomAreaTopBoundary) { const { y: touchY, x: touchX } = touchPos;
if (touchPos.x < horizontalSplitX) return '02'; if (touchY >= bottomAreaTopBoundary) return '01';
else return '03'; return touchX < horizontalSplitX ? '02' : '03';
} else {
return '01';
}
}); });
// 监听按下移动 // 监听按下移动
const handleMove = (obj) => { const handleMove = (obj) => {
const changedTouche = obj.changedTouches[0]; const { pageX, pageY } = obj.changedTouches[0];
touchPos.x = changedTouche.pageX; touchPos.x = pageX;
touchPos.y = changedTouche.pageY; touchPos.y = pageY;
}; };
const allText = ref(''); const allText = ref('');
const tempText = ref(''); const tempText = ref('');
@@ -174,7 +171,6 @@
console.error('麦克风权限申请失败:', e); console.error('麦克风权限申请失败:', e);
return; return;
} }
const changedTouche = obj.touches[0]; const changedTouche = obj.touches[0];
touchPos.x = changedTouche.clientX; touchPos.x = changedTouche.clientX;
touchPos.y = changedTouche.clientY; touchPos.y = changedTouche.clientY;