From 2d410989d32380d31ae3fe6d42aa3b3ba9e09d00 Mon Sep 17 00:00:00 2001 From: lrj <owen.stl@gmail.com> Date: 星期五, 03 十月 2025 22:13:29 +0800 Subject: [PATCH] UI优化和bug修复: 1.调整小程序消息列表图标样式 2.优化web端比赛晋级页面布局 3.修复小程序消息列表日期显示问题 --- web/src/views/next-list.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/web/src/views/next-list.vue b/web/src/views/next-list.vue index addeb22..a8200db 100644 --- a/web/src/views/next-list.vue +++ b/web/src/views/next-list.vue @@ -27,7 +27,6 @@ <el-icon><Search /></el-icon> 鎼滅储 </el-button> - <el-button @click="resetSearch">閲嶇疆</el-button> </div> </div> @@ -222,6 +221,7 @@ import { ElMessage, ElMessageBox } from 'element-plus' import { Search, TrophyBase, InfoFilled } from '@element-plus/icons-vue' import PromotionApi from '@/api/promotion' +import { getActivity } from '@/api/activity' const router = useRouter() @@ -393,6 +393,8 @@ selectedParticipants.value = selection } + + // 纭鏅嬬骇 const confirmPromotion = async () => { if (selectedParticipants.value.length === 0) { @@ -418,10 +420,10 @@ const participantIds = selectedParticipants.value.map(p => p.id) const result = await PromotionApi.promoteParticipants( - selectedCompetition.value.id, - participantIds, - null // 鐩爣闃舵ID锛岃繖閲屽彲浠ユ牴鎹渶瑕佽缃� - ) + selectedCompetition.value.competitionId, // 涓绘瘮璧汭D + participantIds, + selectedCompetition.value.id // 褰撳墠闃舵ID浣滀负鐩爣闃舵ID + ) if (result && result.success) { ElMessage.success(result.message || `鎴愬姛鏅嬬骇 ${result.promotedCount} 鍚嶄汉鍛榒) @@ -558,7 +560,7 @@ .search-toolbar { display: flex; align-items: center; - justify-content: space-between; + justify-content: flex-end; margin-bottom: 20px; padding: 16px; background-color: #f9fafb; -- Gitblit v1.8.0