平台订单列表:compact 失败原因行改用 row-warn-prefix 组件并更新测试

This commit is contained in:
萝卜
2026-03-14 14:26:17 +00:00
parent d9a08c93ec
commit 18cbad9b47
3 changed files with 16 additions and 6 deletions

View File

@@ -1132,10 +1132,16 @@
@if(! $isFullView)
@if($syncErr !== '')
<div class="muted muted-xs text-danger row-warn">原因:{{ mb_substr($syncErr, 0, $SYNC_FAILED_REASON_TRUNCATE_LEN) }}</div>
<div class="muted muted-xs text-danger row-warn">
<span class="row-warn-prefix">原因</span>
{{ mb_substr($syncErr, 0, $SYNC_FAILED_REASON_TRUNCATE_LEN) }}
</div>
@endif
@if($bmpaErrCompact !== '')
<div class="muted muted-xs text-danger row-warn">BMPA{{ mb_substr($bmpaErrCompact, 0, $SYNC_FAILED_REASON_TRUNCATE_LEN) }}</div>
<div class="muted muted-xs text-danger row-warn">
<span class="row-warn-prefix">BMPA</span>
{{ mb_substr($bmpaErrCompact, 0, $SYNC_FAILED_REASON_TRUNCATE_LEN) }}
</div>
@endif
@endif
</td>