diff --git a/src/api/match/judgeassignment.js b/src/api/match/judgeassignment.js
index 851c3d9..8c2c090 100644
--- a/src/api/match/judgeassignment.js
+++ b/src/api/match/judgeassignment.js
@@ -4,4 +4,4 @@ export const judgeAssignmentBoardGet = (eventId) => http.get(`/judgeassignment/b
export const judgeCandidatesGet = (eventId, sessionId) => http.get(`/judgeassignment/candidates/${eventId}/${sessionId}`);
export const judgeAssignmentSavePost = (data) => http.post('/judgeassignment/save', data);
export const judgeAssignmentSubmitPost = (data) => http.post('/judgeassignment/submit', data);
-export const judgeRegistrationCodePost = (eventId) => http.post(`/judgeassignment/registration-code/${eventId}`);
+export const judgeRegistrationCodePost = (eventId) => http.post(`/judgeassignment/registration-qrcode/${eventId}`);
diff --git a/src/views/match/manage/JudgeAssignmentPanel.vue b/src/views/match/manage/JudgeAssignmentPanel.vue
index c3c542e..cafd682 100644
--- a/src/views/match/manage/JudgeAssignmentPanel.vue
+++ b/src/views/match/manage/JudgeAssignmentPanel.vue
@@ -7,7 +7,7 @@
- 生成裁判报名码
+ 生成裁判报名二维码
-
{{ scope.row.roleNames?.join(' / ') || '-' }}
@@ -50,15 +50,14 @@
- 报名码:{{ registrationCode }}
下载二维码
+ 微信扫码后将直接打开小程序赛事详情,并进入裁判报名流程
报名码:{{ registrationCode }}
下载二维码
@@ -175,7 +183,8 @@ watch(() => props.active, value => value && load(), { immediate: true });
.candidate { width: calc(100% - 16px); margin: 8px 8px 0; }
.code-dialog { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.qrcode { width: 264px; height: 264px; padding: 12px; background: #fff; border: 1px solid var(--el-border-color-lighter); border-radius: 8px; box-shadow: var(--el-box-shadow-light); }
-.qrcode :deep(img), .qrcode :deep(canvas) { display: block; width: 240px !important; height: 240px !important; }
+.qrcode img { display: block; width: 240px; height: 240px; }
+.scan-tip { max-width: 300px; font-size: 13px; line-height: 1.6; color: var(--el-text-color-secondary); text-align: center; }
.registration-code { font-size: 14px; color: var(--el-text-color-secondary); word-break: break-all; }
@media (max-width: 768px) { .judge-panel { padding: 0; } .project-heading { flex-direction: column; align-items: flex-start; gap: 6px; } .assign-layout { grid-template-columns: 1fr; } .role-slots { grid-template-columns: 1fr; } .submit-bar { position: sticky; bottom: 0; z-index: 2; padding: 12px; background: var(--el-bg-color); } }
diff --git a/vite.config.ts b/vite.config.ts
index 48d1ef3..e910c51 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -36,6 +36,9 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
port: env.VITE_PORT as unknown as number,
open: JSON.parse(env.VITE_OPEN),
hmr: true,
+ watch: {
+ ignored: ['**/[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/**', '**/dist/**'],
+ },
proxy: {
'/api': {
target: env.VITE_API_TARGET || 'https://event.yuedongsports.com',