在前后端开发联调前 的提交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

View File

@@ -0,0 +1,15 @@
/* 客户服务记录页 — 月份切换 */
(function () {
var currentMonth = 2;
window.switchMonth = function (direction) {
if (direction === 'prev' && currentMonth > 1) currentMonth--;
else if (direction === 'next' && currentMonth < 2) currentMonth++;
document.getElementById('monthLabel').textContent = '2026年' + currentMonth + '月';
document.getElementById('nextMonthBtn').disabled = currentMonth >= 2;
document.getElementById('nextMonthBtn').style.opacity = currentMonth >= 2 ? '0.3' : '1';
document.getElementById('prevMonthBtn').disabled = currentMonth <= 1;
document.getElementById('prevMonthBtn').style.opacity = currentMonth <= 1 ? '0.3' : '1';
};
})();