diff --git a/src/styles/apply-form-prototype.css b/src/styles/apply-form-prototype.css index c64c9c4..8eae95c 100644 --- a/src/styles/apply-form-prototype.css +++ b/src/styles/apply-form-prototype.css @@ -105,6 +105,26 @@ body.prototype-page .apply-form-scroll > .card > .card-body { filter: none !important; } +/** + * 承诺书弹窗「关闭」与保存弹窗「取消」同款(notice-cancel-btn)。 + * 写在本表并加 #promiseSignModal 限定,避免首访时仅命中裸 .btn 出现「无底色无边框」直至二次刷新。 + */ +body.prototype-page #promiseSignModal .notice-cancel-btn { + min-width: 72px !important; + background: #e3e5e9 !important; + border: 1px solid #d2d6dc !important; + color: #2f3136 !important; + font-weight: 500 !important; +} + +body.prototype-page #promiseSignModal .notice-cancel-btn:hover:not(:disabled), +body.prototype-page #promiseSignModal .notice-cancel-btn:focus:not(:disabled), +body.prototype-page #promiseSignModal .notice-cancel-btn:active:not(:disabled) { + background: #d4d9e0 !important; + border-color: #c4cad3 !important; + color: #2a2d33 !important; +} + .participant-layout #applyForm .btn-outline-primary { color: #052d62 !important; border-color: rgba(7, 59, 116, 0.55) !important; diff --git a/src/styles/login-page-overrides.css b/src/styles/login-page-overrides.css index 1c4aee1..8d6553d 100644 --- a/src/styles/login-page-overrides.css +++ b/src/styles/login-page-overrides.css @@ -55,14 +55,13 @@ body.login-page-wls .login-page-wls__hint--error { color: #052d62; } -/** 调试「本次验证码」等成功提示:与选手端浅蓝主题一致 */ +/** 「本次验证码」等成功提示:仅保留主题字色,无底色与描边 */ body.login-page-wls .login-page-wls__hint--success { color: #052d62 !important; - background: #eef7fc !important; - border: 1px solid rgba(5, 45, 98, 0.14) !important; - border-radius: 8px !important; - padding: 0.5rem 0.75rem !important; - margin-top: 0.75rem !important; + background: none !important; + border: none !important; + border-radius: 0 !important; + padding: 0 !important; box-sizing: border-box; } diff --git a/src/views/ApplyFormView.vue b/src/views/ApplyFormView.vue index d2b6cad..6ed7979 100644 --- a/src/views/ApplyFormView.vue +++ b/src/views/ApplyFormView.vue @@ -307,6 +307,12 @@ function fileItemDisplayName(item: FileItem) { return item.file ? item.file.name : item.original_name || '' } +/** 预览/下载链上建议保存名(与展示名一致);同源时部分浏览器会采用 */ +function fileItemSuggestedDownloadName(item: FileItem): string | undefined { + const n = fileItemDisplayName(item).trim() + return n || undefined +} + function formatApiErrSafe(data: Record) { const msg = (data.message as string) || '' const errObj = data.errors as Record | undefined @@ -1128,6 +1134,7 @@ onMounted(() => { 预览 { 预览 {
- +
diff --git a/src/views/reviewer/ReviewerApplicationDetailView.vue b/src/views/reviewer/ReviewerApplicationDetailView.vue index 0162b38..6235420 100644 --- a/src/views/reviewer/ReviewerApplicationDetailView.vue +++ b/src/views/reviewer/ReviewerApplicationDetailView.vue @@ -515,7 +515,7 @@ async function submitReviewScore() {
- +