在前后端开发联调前 的提交20260223

This commit is contained in:
Neo
2026-02-23 23:02:20 +08:00
parent 254ccb1e77
commit fafc95e64c
1142 changed files with 10366960 additions and 36957 deletions

21
docs/h5_ui/js/notes.js Normal file
View File

@@ -0,0 +1,21 @@
/**
* 备注页面 Tab 切换逻辑
*/
function switchTab(tab) {
var customerNotes = document.getElementById('customerNotes');
var coachNotes = document.getElementById('coachNotes');
var tabCustomer = document.getElementById('tabCustomer');
var tabCoach = document.getElementById('tabCoach');
if (tab === 'customer') {
customerNotes.classList.remove('hidden');
coachNotes.classList.add('hidden');
tabCustomer.classList.add('active');
tabCoach.classList.remove('active');
} else {
customerNotes.classList.add('hidden');
coachNotes.classList.remove('hidden');
tabCustomer.classList.remove('active');
tabCoach.classList.add('active');
}
}