@@ -338,6 +338,14 @@ <h2 class="setup-title">QuantClass Sync 初始设置</h2>
338338 </ div >
339339 < span class ="qs-progress-text " x-text ="total > 0 ? completed + ' / ' + total : '准备中...' "> </ span >
340340 </ div >
341+ <!-- 进度指示行 -->
342+ < div x-show ="total === 0 " style ="font-size:0.92em; color:#6b7280; margin:6px 0 2px; ">
343+ 正在准备同步计划...
344+ </ div >
345+ < div x-show ="total > 0 " style ="font-size:0.92em; color:#6b7280; margin:6px 0 2px; ">
346+ < span x-text ="'已完成 ' + completed + '/' + total "> </ span >
347+ < span x-show ="currentProduct "> · 最新: < span style ="font-weight:600 " x-text ="currentProduct "> </ span > </ span >
348+ </ div >
341349 <!-- 耗时/预估 -->
342350 < div class ="qs-meta-row ">
343351 < span x-text ="'已用时: ' + formatDuration(elapsedSeconds) "> </ span >
@@ -346,8 +354,8 @@ <h2 class="setup-title">QuantClass Sync 初始设置</h2>
346354 <!-- 产品列表 -->
347355 < div class ="qs-card " style ="padding:10px 14px; ">
348356 < ul class ="qs-product-list ">
349- <!-- 已完成产品 -->
350- < template x-for ="sp in syncProducts " :key ="sp.name ">
357+ <!-- 已完成产品(倒序:最新完成的显示在最前面) -->
358+ < template x-for ="sp in syncProducts.slice().reverse() " :key ="sp.name ">
351359 < li class ="qs-product-item ">
352360 <!-- 状态图标:✓绿/✗红/–灰 -->
353361 < div class ="qs-product-icon "
@@ -366,9 +374,18 @@ <h2 class="setup-title">QuantClass Sync 初始设置</h2>
366374 </ template >
367375 </ li >
368376 </ template >
369- <!-- 等待中产品(灰色弱化) -->
377+ <!-- 等待中产品折叠头 -->
378+ < template x-if ="waitingProducts().length > 0 ">
379+ < li class ="qs-product-item " style ="cursor:pointer; user-select:none; "
380+ @click ="showWaiting = !showWaiting ">
381+ < div class ="qs-product-icon icon-wait " x-text ="showWaiting ? '▾' : '▸' " style ="color:#c4c8ce; "> </ div >
382+ < span class ="qs-product-name muted "
383+ x-text ="'还有 ' + waitingProducts().length + ' 个产品等待中' "> </ span >
384+ </ li >
385+ </ template >
386+ <!-- 等待中产品展开列表 -->
370387 < template x-for ="name in waitingProducts() " :key ="'wait-' + name ">
371- < li class ="qs-product-item ">
388+ < li class ="qs-product-item " x-show =" showWaiting " >
372389 < div class ="qs-product-icon icon-wait "> ·</ div >
373390 < span class ="qs-product-name muted " x-text ="name "> </ span >
374391 < span class ="qs-product-meta " style ="color:#d0d4da; "> 等待中</ span >
0 commit comments