() => {
            if (validationNotice.classList.contains('status-success') || validationNotice.classList.contains('status-error')) {
                const remainingWidth = progressBar.offsetWidth;
                const delay = (remainingWidth / validationNotice.offsetWidth) * 5000;
                progressBar.style.transition = `width ${delay}ms linear`;
                progressBar.style.width = '0';
                setAutoClose(delay);
            }
        });
    </script>

    <!--初始化时间控�