//- 服务器反馈UI if flash&&flash.error .toast-container.top-0.end-0.p-3 each item in flash.error .toast.show(role='alert', aria-live='assertive', aria-atomic='true') .toast-header img.rounded.me-2(src='/public/image/icons/error.svg', alt='错误' style="width:20px;height: 20px;") strong.me-auto 提示 //- small.text-muted just now button.btn-close(type='button', data-bs-dismiss='toast', aria-label='Close') .toast-body. #{item} //- .toast-container.position-fixed.bottom-0.end-0.p-3 //- #liveToast.toast(role='alert', aria-live='assertive', aria-atomic='true') //- .toast-header //- img.rounded.me-2(src='...', alt='...') //- strong.me-auto Bootstrap //- small 11 mins ago //- button.btn-close(type='button', data-bs-dismiss='toast', aria-label='Close') //- .toast-body. //- Hello, world! This is a toast message. //- ul //- each item in flash.error //- li #{item}