rollcall-classroom-assets 1.0.9 → 1.0.10

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/zuoye-app.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollcall-classroom-assets",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Static assets for the classroom workbench (roll-call): app JS, pinyin/xlsx/zxing engines and icons. Published only so they can be served from a China-friendly CDN.",
5
5
  "keywords": [
6
6
  "assets",
package/zuoye-app.js CHANGED
@@ -4840,7 +4840,7 @@ async function leaveTo(url, btn){
4840
4840
  location.href = url;
4841
4841
  }
4842
4842
  // 回点名器统一入口(右上角悬浮钮「🎲」用它):先 flushScanSaves() 再跳
4843
- function gotoDm(btn){ return leaveTo('/dm.html', btn); }
4843
+ function gotoDm(btn){ return leaveTo('/dm', btn); } // 2026-10-14 地址口径:点名 = /dm(/dm.html 老写法仍能用)
4844
4844
  // 「返回」与「✕」都是关闭手机页、回到正常作业页(不是回点名器)
4845
4845
  if ($('phCloseBtn')) $('phCloseBtn').addEventListener('click', () => closePhone());
4846
4846
  // —— 手机页头部的「📣 呼叫 / 📋 缺勤」:只做转点,弹窗 .rp-modal 的 z-index=400 本来就在手机页(120)之上 ——
@@ -8381,7 +8381,7 @@ if (isMobileView() && !isRepOnlyMe()) {
8381
8381
  // 👥 账号管理:仅 admin 可见
8382
8382
  if (uAdminBtn) uAdminBtn.addEventListener('click', () => { window.open('/admin', '_blank'); });
8383
8383
  // ⚙️ 我的设置:任教班级 / 点中率在点名页设置里(本页无此弹窗)→ 带参数直达
8384
- if ($('uSettingBtn')) $('uSettingBtn').addEventListener('click', () => leaveTo('/dm.html?open=wt', $('uSettingBtn')));
8384
+ if ($('uSettingBtn')) $('uSettingBtn').addEventListener('click', () => leaveTo('/dm?open=wt', $('uSettingBtn')));
8385
8385
  // 第 155 轮:摄像头自检入口 —— 手机扫码不灵时点这里,去 /camdiag 自动跑一遍并上报结果(带上 ?v=2 绕开任何旧缓存)
8386
8386
  if ($('uCamDiagBtn')) $('uCamDiagBtn').addEventListener('click', () => { location.href = '/camdiag?v=2'; });
8387
8387
  // 🩺 扫码诊断:带 ?camdiag=1 重进作业页 —— 取景框里会多一块实时状态(编号表/拼音/解码回调/命中结果),